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

tencentcloud.getTeoZoneAvailablePlans

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 teo zoneAvailablePlans

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const zoneAvailablePlans = tencentcloud.getTeoZoneAvailablePlans({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    zone_available_plans = tencentcloud.get_teo_zone_available_plans()
    
    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.GetTeoZoneAvailablePlans(ctx, &tencentcloud.GetTeoZoneAvailablePlansArgs{}, 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 zoneAvailablePlans = Tencentcloud.GetTeoZoneAvailablePlans.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.GetTeoZoneAvailablePlansArgs;
    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 zoneAvailablePlans = TencentcloudFunctions.getTeoZoneAvailablePlans();
    
        }
    }
    
    variables:
      zoneAvailablePlans:
        fn::invoke:
          function: tencentcloud:getTeoZoneAvailablePlans
          arguments: {}
    

    Using getTeoZoneAvailablePlans

    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 getTeoZoneAvailablePlans(args: GetTeoZoneAvailablePlansArgs, opts?: InvokeOptions): Promise<GetTeoZoneAvailablePlansResult>
    function getTeoZoneAvailablePlansOutput(args: GetTeoZoneAvailablePlansOutputArgs, opts?: InvokeOptions): Output<GetTeoZoneAvailablePlansResult>
    def get_teo_zone_available_plans(id: Optional[str] = None,
                                     result_output_file: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetTeoZoneAvailablePlansResult
    def get_teo_zone_available_plans_output(id: Optional[pulumi.Input[str]] = None,
                                     result_output_file: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetTeoZoneAvailablePlansResult]
    func GetTeoZoneAvailablePlans(ctx *Context, args *GetTeoZoneAvailablePlansArgs, opts ...InvokeOption) (*GetTeoZoneAvailablePlansResult, error)
    func GetTeoZoneAvailablePlansOutput(ctx *Context, args *GetTeoZoneAvailablePlansOutputArgs, opts ...InvokeOption) GetTeoZoneAvailablePlansResultOutput

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

    public static class GetTeoZoneAvailablePlans 
    {
        public static Task<GetTeoZoneAvailablePlansResult> InvokeAsync(GetTeoZoneAvailablePlansArgs args, InvokeOptions? opts = null)
        public static Output<GetTeoZoneAvailablePlansResult> Invoke(GetTeoZoneAvailablePlansInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTeoZoneAvailablePlansResult> getTeoZoneAvailablePlans(GetTeoZoneAvailablePlansArgs args, InvokeOptions options)
    public static Output<GetTeoZoneAvailablePlansResult> getTeoZoneAvailablePlans(GetTeoZoneAvailablePlansArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTeoZoneAvailablePlans:getTeoZoneAvailablePlans
      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.

    getTeoZoneAvailablePlans Result

    The following output properties are available:

    Id string
    PlanInfoLists List<GetTeoZoneAvailablePlansPlanInfoList>
    Zone plans which current account can use.
    ResultOutputFile string
    Id string
    PlanInfoLists []GetTeoZoneAvailablePlansPlanInfoList
    Zone plans which current account can use.
    ResultOutputFile string
    id String
    planInfoLists List<GetTeoZoneAvailablePlansPlanInfoList>
    Zone plans which current account can use.
    resultOutputFile String
    id string
    planInfoLists GetTeoZoneAvailablePlansPlanInfoList[]
    Zone plans which current account can use.
    resultOutputFile string
    id String
    planInfoLists List<Property Map>
    Zone plans which current account can use.
    resultOutputFile String

    Supporting Types

    GetTeoZoneAvailablePlansPlanInfoList

    Area string
    Acceleration area of the plan. Valid value: mainland, overseas.
    Currency string
    Settlement Currency Type. Valid values: CNY, USD.
    Flux double
    The number of fluxes included in the zone plan. Unit: Byte.
    Frequency string
    Billing cycle. Valid values:
    PlanType string
    Plan type.
    Price double
    Price of the plan. Unit: cent.
    Request double
    The number of requests included in the zone plan.
    SiteNumber double
    The number of zones this zone plan can bind.
    Area string
    Acceleration area of the plan. Valid value: mainland, overseas.
    Currency string
    Settlement Currency Type. Valid values: CNY, USD.
    Flux float64
    The number of fluxes included in the zone plan. Unit: Byte.
    Frequency string
    Billing cycle. Valid values:
    PlanType string
    Plan type.
    Price float64
    Price of the plan. Unit: cent.
    Request float64
    The number of requests included in the zone plan.
    SiteNumber float64
    The number of zones this zone plan can bind.
    area String
    Acceleration area of the plan. Valid value: mainland, overseas.
    currency String
    Settlement Currency Type. Valid values: CNY, USD.
    flux Double
    The number of fluxes included in the zone plan. Unit: Byte.
    frequency String
    Billing cycle. Valid values:
    planType String
    Plan type.
    price Double
    Price of the plan. Unit: cent.
    request Double
    The number of requests included in the zone plan.
    siteNumber Double
    The number of zones this zone plan can bind.
    area string
    Acceleration area of the plan. Valid value: mainland, overseas.
    currency string
    Settlement Currency Type. Valid values: CNY, USD.
    flux number
    The number of fluxes included in the zone plan. Unit: Byte.
    frequency string
    Billing cycle. Valid values:
    planType string
    Plan type.
    price number
    Price of the plan. Unit: cent.
    request number
    The number of requests included in the zone plan.
    siteNumber number
    The number of zones this zone plan can bind.
    area str
    Acceleration area of the plan. Valid value: mainland, overseas.
    currency str
    Settlement Currency Type. Valid values: CNY, USD.
    flux float
    The number of fluxes included in the zone plan. Unit: Byte.
    frequency str
    Billing cycle. Valid values:
    plan_type str
    Plan type.
    price float
    Price of the plan. Unit: cent.
    request float
    The number of requests included in the zone plan.
    site_number float
    The number of zones this zone plan can bind.
    area String
    Acceleration area of the plan. Valid value: mainland, overseas.
    currency String
    Settlement Currency Type. Valid values: CNY, USD.
    flux Number
    The number of fluxes included in the zone plan. Unit: Byte.
    frequency String
    Billing cycle. Valid values:
    planType String
    Plan type.
    price Number
    Price of the plan. Unit: cent.
    request Number
    The number of requests included in the zone plan.
    siteNumber Number
    The number of zones this zone plan can bind.

    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