1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getEipNetworkAccountType
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getEipNetworkAccountType

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of eip network_account_type

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const networkAccountType = tencentcloud.getEipNetworkAccountType({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    network_account_type = tencentcloud.get_eip_network_account_type()
    
    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.GetEipNetworkAccountType(ctx, &tencentcloud.GetEipNetworkAccountTypeArgs{}, 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 networkAccountType = Tencentcloud.GetEipNetworkAccountType.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.GetEipNetworkAccountTypeArgs;
    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 networkAccountType = TencentcloudFunctions.getEipNetworkAccountType();
    
        }
    }
    
    variables:
      networkAccountType:
        fn::invoke:
          function: tencentcloud:getEipNetworkAccountType
          arguments: {}
    

    Using getEipNetworkAccountType

    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 getEipNetworkAccountType(args: GetEipNetworkAccountTypeArgs, opts?: InvokeOptions): Promise<GetEipNetworkAccountTypeResult>
    function getEipNetworkAccountTypeOutput(args: GetEipNetworkAccountTypeOutputArgs, opts?: InvokeOptions): Output<GetEipNetworkAccountTypeResult>
    def get_eip_network_account_type(id: Optional[str] = None,
                                     result_output_file: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetEipNetworkAccountTypeResult
    def get_eip_network_account_type_output(id: Optional[pulumi.Input[str]] = None,
                                     result_output_file: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetEipNetworkAccountTypeResult]
    func GetEipNetworkAccountType(ctx *Context, args *GetEipNetworkAccountTypeArgs, opts ...InvokeOption) (*GetEipNetworkAccountTypeResult, error)
    func GetEipNetworkAccountTypeOutput(ctx *Context, args *GetEipNetworkAccountTypeOutputArgs, opts ...InvokeOption) GetEipNetworkAccountTypeResultOutput

    > Note: This function is named GetEipNetworkAccountType in the Go SDK.

    public static class GetEipNetworkAccountType 
    {
        public static Task<GetEipNetworkAccountTypeResult> InvokeAsync(GetEipNetworkAccountTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetEipNetworkAccountTypeResult> Invoke(GetEipNetworkAccountTypeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEipNetworkAccountTypeResult> getEipNetworkAccountType(GetEipNetworkAccountTypeArgs args, InvokeOptions options)
    public static Output<GetEipNetworkAccountTypeResult> getEipNetworkAccountType(GetEipNetworkAccountTypeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getEipNetworkAccountType:getEipNetworkAccountType
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    Id string
    ResultOutputFile string
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.
    id string
    resultOutputFile string
    Used to save results.
    id str
    result_output_file str
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.

    getEipNetworkAccountType Result

    The following output properties are available:

    Id string
    NetworkAccountType string
    The network type of the user account, STANDARD is a standard user, LEGACY is a traditional user.
    ResultOutputFile string
    Id string
    NetworkAccountType string
    The network type of the user account, STANDARD is a standard user, LEGACY is a traditional user.
    ResultOutputFile string
    id String
    networkAccountType String
    The network type of the user account, STANDARD is a standard user, LEGACY is a traditional user.
    resultOutputFile String
    id string
    networkAccountType string
    The network type of the user account, STANDARD is a standard user, LEGACY is a traditional user.
    resultOutputFile string
    id str
    network_account_type str
    The network type of the user account, STANDARD is a standard user, LEGACY is a traditional user.
    result_output_file str
    id String
    networkAccountType String
    The network type of the user account, STANDARD is a standard user, LEGACY is a traditional user.
    resultOutputFile String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack