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

tencentcloud.getCkafkaRegion

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 ckafka region

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const region = tencentcloud.getCkafkaRegion({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    region = tencentcloud.get_ckafka_region()
    
    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.LookupCkafkaRegion(ctx, &tencentcloud.LookupCkafkaRegionArgs{}, 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 region = Tencentcloud.GetCkafkaRegion.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.GetCkafkaRegionArgs;
    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 region = TencentcloudFunctions.getCkafkaRegion();
    
        }
    }
    
    variables:
      region:
        fn::invoke:
          function: tencentcloud:getCkafkaRegion
          arguments: {}
    

    Using getCkafkaRegion

    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 getCkafkaRegion(args: GetCkafkaRegionArgs, opts?: InvokeOptions): Promise<GetCkafkaRegionResult>
    function getCkafkaRegionOutput(args: GetCkafkaRegionOutputArgs, opts?: InvokeOptions): Output<GetCkafkaRegionResult>
    def get_ckafka_region(id: Optional[str] = None,
                          result_output_file: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCkafkaRegionResult
    def get_ckafka_region_output(id: Optional[pulumi.Input[str]] = None,
                          result_output_file: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCkafkaRegionResult]
    func LookupCkafkaRegion(ctx *Context, args *LookupCkafkaRegionArgs, opts ...InvokeOption) (*LookupCkafkaRegionResult, error)
    func LookupCkafkaRegionOutput(ctx *Context, args *LookupCkafkaRegionOutputArgs, opts ...InvokeOption) LookupCkafkaRegionResultOutput

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

    public static class GetCkafkaRegion 
    {
        public static Task<GetCkafkaRegionResult> InvokeAsync(GetCkafkaRegionArgs args, InvokeOptions? opts = null)
        public static Output<GetCkafkaRegionResult> Invoke(GetCkafkaRegionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCkafkaRegionResult> getCkafkaRegion(GetCkafkaRegionArgs args, InvokeOptions options)
    public static Output<GetCkafkaRegionResult> getCkafkaRegion(GetCkafkaRegionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCkafkaRegion:getCkafkaRegion
      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.

    getCkafkaRegion Result

    The following output properties are available:

    Id string
    Results List<GetCkafkaRegionResult>
    Return a list of region enumeration results.
    ResultOutputFile string
    Id string
    Results []GetCkafkaRegionResult
    Return a list of region enumeration results.
    ResultOutputFile string
    id String
    results List<GetCkafkaRegionResult>
    Return a list of region enumeration results.
    resultOutputFile String
    id string
    results GetCkafkaRegionResult[]
    Return a list of region enumeration results.
    resultOutputFile string
    id str
    results Sequence[GetCkafkaRegionResult]
    Return a list of region enumeration results.
    result_output_file str
    id String
    results List<Property Map>
    Return a list of region enumeration results.
    resultOutputFile String

    Supporting Types

    GetCkafkaRegionResult

    AreaName string
    area name.
    Ipv6 double
    Whether to support ipv6, 0: means not supported, 1: means supported.
    MultiZone double
    Whether to support cross-availability zones, 0: means not supported, 1: means supported.
    RegionCode string
    Region Code.
    RegionCodeV3 string
    Region Code(V3 version).
    RegionId double
    region ID.
    RegionName string
    geographical name.
    Support string
    NONE: The default value does not support any special models CVM: Supports CVM types.
    AreaName string
    area name.
    Ipv6 float64
    Whether to support ipv6, 0: means not supported, 1: means supported.
    MultiZone float64
    Whether to support cross-availability zones, 0: means not supported, 1: means supported.
    RegionCode string
    Region Code.
    RegionCodeV3 string
    Region Code(V3 version).
    RegionId float64
    region ID.
    RegionName string
    geographical name.
    Support string
    NONE: The default value does not support any special models CVM: Supports CVM types.
    areaName String
    area name.
    ipv6 Double
    Whether to support ipv6, 0: means not supported, 1: means supported.
    multiZone Double
    Whether to support cross-availability zones, 0: means not supported, 1: means supported.
    regionCode String
    Region Code.
    regionCodeV3 String
    Region Code(V3 version).
    regionId Double
    region ID.
    regionName String
    geographical name.
    support String
    NONE: The default value does not support any special models CVM: Supports CVM types.
    areaName string
    area name.
    ipv6 number
    Whether to support ipv6, 0: means not supported, 1: means supported.
    multiZone number
    Whether to support cross-availability zones, 0: means not supported, 1: means supported.
    regionCode string
    Region Code.
    regionCodeV3 string
    Region Code(V3 version).
    regionId number
    region ID.
    regionName string
    geographical name.
    support string
    NONE: The default value does not support any special models CVM: Supports CVM types.
    area_name str
    area name.
    ipv6 float
    Whether to support ipv6, 0: means not supported, 1: means supported.
    multi_zone float
    Whether to support cross-availability zones, 0: means not supported, 1: means supported.
    region_code str
    Region Code.
    region_code_v3 str
    Region Code(V3 version).
    region_id float
    region ID.
    region_name str
    geographical name.
    support str
    NONE: The default value does not support any special models CVM: Supports CVM types.
    areaName String
    area name.
    ipv6 Number
    Whether to support ipv6, 0: means not supported, 1: means supported.
    multiZone Number
    Whether to support cross-availability zones, 0: means not supported, 1: means supported.
    regionCode String
    Region Code.
    regionCodeV3 String
    Region Code(V3 version).
    regionId Number
    region ID.
    regionName String
    geographical name.
    support String
    NONE: The default value does not support any special models CVM: Supports CVM types.

    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