tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getVpcAccountAttributes
Start a Neo task
Explain and create a tencentcloud.getVpcAccountAttributes resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of vpc account_attributes
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const accountAttributes = tencentcloud.getVpcAccountAttributes({});
import pulumi
import pulumi_tencentcloud as tencentcloud
account_attributes = tencentcloud.get_vpc_account_attributes()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetVpcAccountAttributes(ctx, &tencentcloud.GetVpcAccountAttributesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var accountAttributes = Tencentcloud.GetVpcAccountAttributes.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetVpcAccountAttributesArgs;
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 accountAttributes = TencentcloudFunctions.getVpcAccountAttributes(GetVpcAccountAttributesArgs.builder()
.build());
}
}
variables:
accountAttributes:
fn::invoke:
function: tencentcloud:getVpcAccountAttributes
arguments: {}
Using getVpcAccountAttributes
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 getVpcAccountAttributes(args: GetVpcAccountAttributesArgs, opts?: InvokeOptions): Promise<GetVpcAccountAttributesResult>
function getVpcAccountAttributesOutput(args: GetVpcAccountAttributesOutputArgs, opts?: InvokeOptions): Output<GetVpcAccountAttributesResult>def get_vpc_account_attributes(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcAccountAttributesResult
def get_vpc_account_attributes_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcAccountAttributesResult]func GetVpcAccountAttributes(ctx *Context, args *GetVpcAccountAttributesArgs, opts ...InvokeOption) (*GetVpcAccountAttributesResult, error)
func GetVpcAccountAttributesOutput(ctx *Context, args *GetVpcAccountAttributesOutputArgs, opts ...InvokeOption) GetVpcAccountAttributesResultOutput> Note: This function is named GetVpcAccountAttributes in the Go SDK.
public static class GetVpcAccountAttributes
{
public static Task<GetVpcAccountAttributesResult> InvokeAsync(GetVpcAccountAttributesArgs args, InvokeOptions? opts = null)
public static Output<GetVpcAccountAttributesResult> Invoke(GetVpcAccountAttributesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcAccountAttributesResult> getVpcAccountAttributes(GetVpcAccountAttributesArgs args, InvokeOptions options)
public static Output<GetVpcAccountAttributesResult> getVpcAccountAttributes(GetVpcAccountAttributesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getVpcAccountAttributes:getVpcAccountAttributes
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getVpcAccountAttributes Result
The following output properties are available:
- Account
Attribute List<GetSets Vpc Account Attributes Account Attribute Set> - User account attribute object.
- Id string
- Result
Output stringFile
- Account
Attribute []GetSets Vpc Account Attributes Account Attribute Set - User account attribute object.
- Id string
- Result
Output stringFile
- account
Attribute List<GetSets Vpc Account Attributes Account Attribute Set> - User account attribute object.
- id String
- result
Output StringFile
- account
Attribute GetSets Vpc Account Attributes Account Attribute Set[] - User account attribute object.
- id string
- result
Output stringFile
- account_
attribute_ Sequence[Getsets Vpc Account Attributes Account Attribute Set] - User account attribute object.
- id str
- result_
output_ strfile
- account
Attribute List<Property Map>Sets - User account attribute object.
- id String
- result
Output StringFile
Supporting Types
GetVpcAccountAttributesAccountAttributeSet
- Attribute
Name string - Attribute name.
- Attribute
Values List<string> - Attribute values.
- Attribute
Name string - Attribute name.
- Attribute
Values []string - Attribute values.
- attribute
Name String - Attribute name.
- attribute
Values List<String> - Attribute values.
- attribute
Name string - Attribute name.
- attribute
Values string[] - Attribute values.
- attribute_
name str - Attribute name.
- attribute_
values Sequence[str] - Attribute values.
- attribute
Name String - Attribute name.
- attribute
Values List<String> - Attribute values.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
