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

tencentcloud.getCfsAvailableZone

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 cfs available_zone

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const availableZone = tencentcloud.getCfsAvailableZone({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    available_zone = tencentcloud.get_cfs_available_zone()
    
    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.GetCfsAvailableZone(ctx, &tencentcloud.GetCfsAvailableZoneArgs{}, 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 availableZone = Tencentcloud.GetCfsAvailableZone.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.GetCfsAvailableZoneArgs;
    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 availableZone = TencentcloudFunctions.getCfsAvailableZone();
    
        }
    }
    
    variables:
      availableZone:
        fn::invoke:
          function: tencentcloud:getCfsAvailableZone
          arguments: {}
    

    Using getCfsAvailableZone

    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 getCfsAvailableZone(args: GetCfsAvailableZoneArgs, opts?: InvokeOptions): Promise<GetCfsAvailableZoneResult>
    function getCfsAvailableZoneOutput(args: GetCfsAvailableZoneOutputArgs, opts?: InvokeOptions): Output<GetCfsAvailableZoneResult>
    def get_cfs_available_zone(id: Optional[str] = None,
                               result_output_file: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetCfsAvailableZoneResult
    def get_cfs_available_zone_output(id: Optional[pulumi.Input[str]] = None,
                               result_output_file: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetCfsAvailableZoneResult]
    func GetCfsAvailableZone(ctx *Context, args *GetCfsAvailableZoneArgs, opts ...InvokeOption) (*GetCfsAvailableZoneResult, error)
    func GetCfsAvailableZoneOutput(ctx *Context, args *GetCfsAvailableZoneOutputArgs, opts ...InvokeOption) GetCfsAvailableZoneResultOutput

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

    public static class GetCfsAvailableZone 
    {
        public static Task<GetCfsAvailableZoneResult> InvokeAsync(GetCfsAvailableZoneArgs args, InvokeOptions? opts = null)
        public static Output<GetCfsAvailableZoneResult> Invoke(GetCfsAvailableZoneInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCfsAvailableZoneResult> getCfsAvailableZone(GetCfsAvailableZoneArgs args, InvokeOptions options)
    public static Output<GetCfsAvailableZoneResult> getCfsAvailableZone(GetCfsAvailableZoneArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCfsAvailableZone:getCfsAvailableZone
      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.

    getCfsAvailableZone Result

    The following output properties are available:

    Id string
    RegionZones List<GetCfsAvailableZoneRegionZone>
    Information such as resource availability in each AZ and the supported storage classes and protocols.
    ResultOutputFile string
    Id string
    RegionZones []GetCfsAvailableZoneRegionZone
    Information such as resource availability in each AZ and the supported storage classes and protocols.
    ResultOutputFile string
    id String
    regionZones List<GetCfsAvailableZoneRegionZone>
    Information such as resource availability in each AZ and the supported storage classes and protocols.
    resultOutputFile String
    id string
    regionZones GetCfsAvailableZoneRegionZone[]
    Information such as resource availability in each AZ and the supported storage classes and protocols.
    resultOutputFile string
    id str
    region_zones Sequence[GetCfsAvailableZoneRegionZone]
    Information such as resource availability in each AZ and the supported storage classes and protocols.
    result_output_file str
    id String
    regionZones List<Property Map>
    Information such as resource availability in each AZ and the supported storage classes and protocols.
    resultOutputFile String

    Supporting Types

    GetCfsAvailableZoneRegionZone

    Region string
    Region name, such as ap-beijing.
    RegionCnName string
    Region chinese name, such as Guangzhou.
    RegionName string
    Region name, such as bj.
    RegionStatus string
    Region availability. If a region has at least one AZ where resources are purchasable, this value will be AVAILABLE; otherwise, it will be UNAVAILABLE.
    Zones List<GetCfsAvailableZoneRegionZoneZone>
    Array of AZs.
    Region string
    Region name, such as ap-beijing.
    RegionCnName string
    Region chinese name, such as Guangzhou.
    RegionName string
    Region name, such as bj.
    RegionStatus string
    Region availability. If a region has at least one AZ where resources are purchasable, this value will be AVAILABLE; otherwise, it will be UNAVAILABLE.
    Zones []GetCfsAvailableZoneRegionZoneZone
    Array of AZs.
    region String
    Region name, such as ap-beijing.
    regionCnName String
    Region chinese name, such as Guangzhou.
    regionName String
    Region name, such as bj.
    regionStatus String
    Region availability. If a region has at least one AZ where resources are purchasable, this value will be AVAILABLE; otherwise, it will be UNAVAILABLE.
    zones List<GetCfsAvailableZoneRegionZoneZone>
    Array of AZs.
    region string
    Region name, such as ap-beijing.
    regionCnName string
    Region chinese name, such as Guangzhou.
    regionName string
    Region name, such as bj.
    regionStatus string
    Region availability. If a region has at least one AZ where resources are purchasable, this value will be AVAILABLE; otherwise, it will be UNAVAILABLE.
    zones GetCfsAvailableZoneRegionZoneZone[]
    Array of AZs.
    region str
    Region name, such as ap-beijing.
    region_cn_name str
    Region chinese name, such as Guangzhou.
    region_name str
    Region name, such as bj.
    region_status str
    Region availability. If a region has at least one AZ where resources are purchasable, this value will be AVAILABLE; otherwise, it will be UNAVAILABLE.
    zones Sequence[GetCfsAvailableZoneRegionZoneZone]
    Array of AZs.
    region String
    Region name, such as ap-beijing.
    regionCnName String
    Region chinese name, such as Guangzhou.
    regionName String
    Region name, such as bj.
    regionStatus String
    Region availability. If a region has at least one AZ where resources are purchasable, this value will be AVAILABLE; otherwise, it will be UNAVAILABLE.
    zones List<Property Map>
    Array of AZs.

    GetCfsAvailableZoneRegionZoneZone

    Types List<GetCfsAvailableZoneRegionZoneZoneType>
    Array of classes.
    Zone string
    AZ name.
    ZoneCnName string
    Chinese name of an AZ.
    ZoneId double
    AZ ID.
    ZoneName string
    Chinese and English names of an AZ.
    Types []GetCfsAvailableZoneRegionZoneZoneType
    Array of classes.
    Zone string
    AZ name.
    ZoneCnName string
    Chinese name of an AZ.
    ZoneId float64
    AZ ID.
    ZoneName string
    Chinese and English names of an AZ.
    types List<GetCfsAvailableZoneRegionZoneZoneType>
    Array of classes.
    zone String
    AZ name.
    zoneCnName String
    Chinese name of an AZ.
    zoneId Double
    AZ ID.
    zoneName String
    Chinese and English names of an AZ.
    types GetCfsAvailableZoneRegionZoneZoneType[]
    Array of classes.
    zone string
    AZ name.
    zoneCnName string
    Chinese name of an AZ.
    zoneId number
    AZ ID.
    zoneName string
    Chinese and English names of an AZ.
    types Sequence[GetCfsAvailableZoneRegionZoneZoneType]
    Array of classes.
    zone str
    AZ name.
    zone_cn_name str
    Chinese name of an AZ.
    zone_id float
    AZ ID.
    zone_name str
    Chinese and English names of an AZ.
    types List<Property Map>
    Array of classes.
    zone String
    AZ name.
    zoneCnName String
    Chinese name of an AZ.
    zoneId Number
    AZ ID.
    zoneName String
    Chinese and English names of an AZ.

    GetCfsAvailableZoneRegionZoneZoneType

    Prepayment bool
    Indicates whether prepaid is supported. true: yes; false: no.
    Protocols List<GetCfsAvailableZoneRegionZoneZoneTypeProtocol>
    Protocol and sale details.
    Type string
    Storage class. Valid values: SD (standard storage) and HP (high-performance storage).
    Prepayment bool
    Indicates whether prepaid is supported. true: yes; false: no.
    Protocols []GetCfsAvailableZoneRegionZoneZoneTypeProtocol
    Protocol and sale details.
    Type string
    Storage class. Valid values: SD (standard storage) and HP (high-performance storage).
    prepayment Boolean
    Indicates whether prepaid is supported. true: yes; false: no.
    protocols List<GetCfsAvailableZoneRegionZoneZoneTypeProtocol>
    Protocol and sale details.
    type String
    Storage class. Valid values: SD (standard storage) and HP (high-performance storage).
    prepayment boolean
    Indicates whether prepaid is supported. true: yes; false: no.
    protocols GetCfsAvailableZoneRegionZoneZoneTypeProtocol[]
    Protocol and sale details.
    type string
    Storage class. Valid values: SD (standard storage) and HP (high-performance storage).
    prepayment bool
    Indicates whether prepaid is supported. true: yes; false: no.
    protocols Sequence[GetCfsAvailableZoneRegionZoneZoneTypeProtocol]
    Protocol and sale details.
    type str
    Storage class. Valid values: SD (standard storage) and HP (high-performance storage).
    prepayment Boolean
    Indicates whether prepaid is supported. true: yes; false: no.
    protocols List<Property Map>
    Protocol and sale details.
    type String
    Storage class. Valid values: SD (standard storage) and HP (high-performance storage).

    GetCfsAvailableZoneRegionZoneZoneTypeProtocol

    Protocol string
    Protocol type. Valid values: NFS, CIFS.
    SaleStatus string
    Sale status. Valid values: sale_out (sold out), saling (purchasable), no_saling (non-purchasable).
    Protocol string
    Protocol type. Valid values: NFS, CIFS.
    SaleStatus string
    Sale status. Valid values: sale_out (sold out), saling (purchasable), no_saling (non-purchasable).
    protocol String
    Protocol type. Valid values: NFS, CIFS.
    saleStatus String
    Sale status. Valid values: sale_out (sold out), saling (purchasable), no_saling (non-purchasable).
    protocol string
    Protocol type. Valid values: NFS, CIFS.
    saleStatus string
    Sale status. Valid values: sale_out (sold out), saling (purchasable), no_saling (non-purchasable).
    protocol str
    Protocol type. Valid values: NFS, CIFS.
    sale_status str
    Sale status. Valid values: sale_out (sold out), saling (purchasable), no_saling (non-purchasable).
    protocol String
    Protocol type. Valid values: NFS, CIFS.
    saleStatus String
    Sale status. Valid values: sale_out (sold out), saling (purchasable), no_saling (non-purchasable).

    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