1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. Accounts
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.tls.Accounts has been deprecated in favor of volcengine.tls.getAccounts

    Use this data source to query detailed information of tls accounts

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.tls.getAccounts({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.tls.get_accounts()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tls.GetAccounts(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Tls.GetAccounts.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.tls.TlsFunctions;
    import com.pulumi.volcengine.tls.inputs.GetAccountsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var default = TlsFunctions.getAccounts();
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:tls:getAccounts
          Arguments: {}
    

    Using Accounts

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function accounts(args: AccountsArgs, opts?: InvokeOptions): Promise<AccountsResult>
    function accountsOutput(args: AccountsOutputArgs, opts?: InvokeOptions): Output<AccountsResult>
    def accounts(output_file: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> AccountsResult
    def accounts_output(output_file: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[AccountsResult]
    func Accounts(ctx *Context, args *AccountsArgs, opts ...InvokeOption) (*AccountsResult, error)
    func AccountsOutput(ctx *Context, args *AccountsOutputArgs, opts ...InvokeOption) AccountsResultOutput
    public static class Accounts 
    {
        public static Task<AccountsResult> InvokeAsync(AccountsArgs args, InvokeOptions? opts = null)
        public static Output<AccountsResult> Invoke(AccountsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<AccountsResult> accounts(AccountsArgs args, InvokeOptions options)
    public static Output<AccountsResult> accounts(AccountsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:tls:Accounts
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OutputFile string
    File name where to save data source results.
    OutputFile string
    File name where to save data source results.
    outputFile String
    File name where to save data source results.
    outputFile string
    File name where to save data source results.
    output_file str
    File name where to save data source results.
    outputFile String
    File name where to save data source results.

    Accounts Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    TlsAccounts List<AccountsTlsAccount>
    The collection of tls account query.
    TotalCount int
    The total count of tls account query.
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    TlsAccounts []AccountsTlsAccount
    The collection of tls account query.
    TotalCount int
    The total count of tls account query.
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    tlsAccounts List<AccountsTlsAccount>
    The collection of tls account query.
    totalCount Integer
    The total count of tls account query.
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    tlsAccounts AccountsTlsAccount[]
    The collection of tls account query.
    totalCount number
    The total count of tls account query.
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    tls_accounts Sequence[AccountsTlsAccount]
    The collection of tls account query.
    total_count int
    The total count of tls account query.
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    tlsAccounts List<Property Map>
    The collection of tls account query.
    totalCount Number
    The total count of tls account query.
    outputFile String

    Supporting Types

    AccountsTlsAccount

    ArchVersion string
    The version of the log service architecture. Valid values: 2.0 (new architecture), 1.0 (old architecture).
    Status string
    The status of the log service. Valid values: Activated (already activated), NonActivated (not activated).
    ArchVersion string
    The version of the log service architecture. Valid values: 2.0 (new architecture), 1.0 (old architecture).
    Status string
    The status of the log service. Valid values: Activated (already activated), NonActivated (not activated).
    archVersion String
    The version of the log service architecture. Valid values: 2.0 (new architecture), 1.0 (old architecture).
    status String
    The status of the log service. Valid values: Activated (already activated), NonActivated (not activated).
    archVersion string
    The version of the log service architecture. Valid values: 2.0 (new architecture), 1.0 (old architecture).
    status string
    The status of the log service. Valid values: Activated (already activated), NonActivated (not activated).
    arch_version str
    The version of the log service architecture. Valid values: 2.0 (new architecture), 1.0 (old architecture).
    status str
    The status of the log service. Valid values: Activated (already activated), NonActivated (not activated).
    archVersion String
    The version of the log service architecture. Valid values: 2.0 (new architecture), 1.0 (old architecture).
    status String
    The status of the log service. Valid values: Activated (already activated), NonActivated (not activated).

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate