Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
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) AccountsResultOutputpublic 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 dictionaryThe following arguments are supported:
- Output
File string - File name where to save data source results.
- Output
File string - File name where to save data source results.
- output
File String - File name where to save data source results.
- output
File string - File name where to save data source results.
- output_
file str - File name where to save data source results.
- output
File 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.
- Tls
Accounts List<AccountsTls Account> - The collection of tls account query.
- Total
Count int - The total count of tls account query.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Tls
Accounts []AccountsTls Account - The collection of tls account query.
- Total
Count int - The total count of tls account query.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- tls
Accounts List<AccountsTls Account> - The collection of tls account query.
- total
Count Integer - The total count of tls account query.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- tls
Accounts AccountsTls Account[] - The collection of tls account query.
- total
Count number - The total count of tls account query.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- tls_
accounts Sequence[AccountsTls Account] - 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.
- tls
Accounts List<Property Map> - The collection of tls account query.
- total
Count Number - The total count of tls account query.
- output
File String
Supporting Types
AccountsTlsAccount
- Arch
Version 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 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 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 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).
- arch
Version 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
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
