Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
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 getAccounts
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 getAccounts(args: GetAccountsArgs, opts?: InvokeOptions): Promise<GetAccountsResult>
function getAccountsOutput(args: GetAccountsOutputArgs, opts?: InvokeOptions): Output<GetAccountsResult>def get_accounts(output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountsResult
def get_accounts_output(output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccountsResult]func GetAccounts(ctx *Context, args *GetAccountsArgs, opts ...InvokeOption) (*GetAccountsResult, error)
func GetAccountsOutput(ctx *Context, args *GetAccountsOutputArgs, opts ...InvokeOption) GetAccountsResultOutput> Note: This function is named GetAccounts in the Go SDK.
public static class GetAccounts
{
public static Task<GetAccountsResult> InvokeAsync(GetAccountsArgs args, InvokeOptions? opts = null)
public static Output<GetAccountsResult> Invoke(GetAccountsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAccountsResult> getAccounts(GetAccountsArgs args, InvokeOptions options)
public static Output<GetAccountsResult> getAccounts(GetAccountsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls/getAccounts:getAccounts
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.
getAccounts Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Tls
Accounts List<GetAccounts Tls 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 []GetAccounts Tls 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<GetAccounts Tls 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 GetAccounts Tls 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[GetAccounts Tls 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
GetAccountsTlsAccount
- 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
