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

tencentcloud.getSqlserverZoneConfig

Explore with Pulumi AI

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

    Use this data source to query purchasable specification configuration for each availability zone in this specific region.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getSqlserverZoneConfig({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_sqlserver_zone_config()
    
    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.GetSqlserverZoneConfig(ctx, &tencentcloud.GetSqlserverZoneConfigArgs{}, 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 example = Tencentcloud.GetSqlserverZoneConfig.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.GetSqlserverZoneConfigArgs;
    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 example = TencentcloudFunctions.getSqlserverZoneConfig();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getSqlserverZoneConfig
          arguments: {}
    

    Using getSqlserverZoneConfig

    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 getSqlserverZoneConfig(args: GetSqlserverZoneConfigArgs, opts?: InvokeOptions): Promise<GetSqlserverZoneConfigResult>
    function getSqlserverZoneConfigOutput(args: GetSqlserverZoneConfigOutputArgs, opts?: InvokeOptions): Output<GetSqlserverZoneConfigResult>
    def get_sqlserver_zone_config(id: Optional[str] = None,
                                  result_output_file: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSqlserverZoneConfigResult
    def get_sqlserver_zone_config_output(id: Optional[pulumi.Input[str]] = None,
                                  result_output_file: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetSqlserverZoneConfigResult]
    func GetSqlserverZoneConfig(ctx *Context, args *GetSqlserverZoneConfigArgs, opts ...InvokeOption) (*GetSqlserverZoneConfigResult, error)
    func GetSqlserverZoneConfigOutput(ctx *Context, args *GetSqlserverZoneConfigOutputArgs, opts ...InvokeOption) GetSqlserverZoneConfigResultOutput

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

    public static class GetSqlserverZoneConfig 
    {
        public static Task<GetSqlserverZoneConfigResult> InvokeAsync(GetSqlserverZoneConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetSqlserverZoneConfigResult> Invoke(GetSqlserverZoneConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSqlserverZoneConfigResult> getSqlserverZoneConfig(GetSqlserverZoneConfigArgs args, InvokeOptions options)
    public static Output<GetSqlserverZoneConfigResult> getSqlserverZoneConfig(GetSqlserverZoneConfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getSqlserverZoneConfig:getSqlserverZoneConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getSqlserverZoneConfig Result

    The following output properties are available:

    Id string
    ZoneLists List<GetSqlserverZoneConfigZoneList>
    A list of availability zones. Each element contains the following attributes:
    ResultOutputFile string
    Id string
    ZoneLists []GetSqlserverZoneConfigZoneList
    A list of availability zones. Each element contains the following attributes:
    ResultOutputFile string
    id String
    zoneLists List<GetSqlserverZoneConfigZoneList>
    A list of availability zones. Each element contains the following attributes:
    resultOutputFile String
    id string
    zoneLists GetSqlserverZoneConfigZoneList[]
    A list of availability zones. Each element contains the following attributes:
    resultOutputFile string
    id str
    zone_lists Sequence[GetSqlserverZoneConfigZoneList]
    A list of availability zones. Each element contains the following attributes:
    result_output_file str
    id String
    zoneLists List<Property Map>
    A list of availability zones. Each element contains the following attributes:
    resultOutputFile String

    Supporting Types

    GetSqlserverZoneConfigZoneList

    AvailabilityZone string
    Alphabet ID of availability zone.
    SpecinfoLists List<GetSqlserverZoneConfigZoneListSpecinfoList>
    A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
    ZoneId double
    Number ID of availability zone.
    AvailabilityZone string
    Alphabet ID of availability zone.
    SpecinfoLists []GetSqlserverZoneConfigZoneListSpecinfoList
    A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
    ZoneId float64
    Number ID of availability zone.
    availabilityZone String
    Alphabet ID of availability zone.
    specinfoLists List<GetSqlserverZoneConfigZoneListSpecinfoList>
    A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
    zoneId Double
    Number ID of availability zone.
    availabilityZone string
    Alphabet ID of availability zone.
    specinfoLists GetSqlserverZoneConfigZoneListSpecinfoList[]
    A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
    zoneId number
    Number ID of availability zone.
    availability_zone str
    Alphabet ID of availability zone.
    specinfo_lists Sequence[GetSqlserverZoneConfigZoneListSpecinfoList]
    A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
    zone_id float
    Number ID of availability zone.
    availabilityZone String
    Alphabet ID of availability zone.
    specinfoLists List<Property Map>
    A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
    zoneId Number
    Number ID of availability zone.

    GetSqlserverZoneConfigZoneListSpecinfoList

    ChargeType string
    Billing mode under this specification. Valid values are POSTPAID_BY_HOUR, PREPAID and ALL. ALL means both POSTPAID_BY_HOUR and PREPAID.
    Cpu double
    Number of CPU cores.
    DbVersion string
    Database version information. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise).
    DbVersionName string
    Version name corresponding to the db_version field.
    MachineType string
    Model ID.
    MaxStorageSize double
    Maximum disk size under this specification in GB.
    Memory double
    Memory size in GB.
    MinStorageSize double
    Minimum disk size under this specification in GB.
    Qps double
    QPS of this specification.
    SpecId double
    Instance specification ID.
    ChargeType string
    Billing mode under this specification. Valid values are POSTPAID_BY_HOUR, PREPAID and ALL. ALL means both POSTPAID_BY_HOUR and PREPAID.
    Cpu float64
    Number of CPU cores.
    DbVersion string
    Database version information. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise).
    DbVersionName string
    Version name corresponding to the db_version field.
    MachineType string
    Model ID.
    MaxStorageSize float64
    Maximum disk size under this specification in GB.
    Memory float64
    Memory size in GB.
    MinStorageSize float64
    Minimum disk size under this specification in GB.
    Qps float64
    QPS of this specification.
    SpecId float64
    Instance specification ID.
    chargeType String
    Billing mode under this specification. Valid values are POSTPAID_BY_HOUR, PREPAID and ALL. ALL means both POSTPAID_BY_HOUR and PREPAID.
    cpu Double
    Number of CPU cores.
    dbVersion String
    Database version information. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise).
    dbVersionName String
    Version name corresponding to the db_version field.
    machineType String
    Model ID.
    maxStorageSize Double
    Maximum disk size under this specification in GB.
    memory Double
    Memory size in GB.
    minStorageSize Double
    Minimum disk size under this specification in GB.
    qps Double
    QPS of this specification.
    specId Double
    Instance specification ID.
    chargeType string
    Billing mode under this specification. Valid values are POSTPAID_BY_HOUR, PREPAID and ALL. ALL means both POSTPAID_BY_HOUR and PREPAID.
    cpu number
    Number of CPU cores.
    dbVersion string
    Database version information. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise).
    dbVersionName string
    Version name corresponding to the db_version field.
    machineType string
    Model ID.
    maxStorageSize number
    Maximum disk size under this specification in GB.
    memory number
    Memory size in GB.
    minStorageSize number
    Minimum disk size under this specification in GB.
    qps number
    QPS of this specification.
    specId number
    Instance specification ID.
    charge_type str
    Billing mode under this specification. Valid values are POSTPAID_BY_HOUR, PREPAID and ALL. ALL means both POSTPAID_BY_HOUR and PREPAID.
    cpu float
    Number of CPU cores.
    db_version str
    Database version information. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise).
    db_version_name str
    Version name corresponding to the db_version field.
    machine_type str
    Model ID.
    max_storage_size float
    Maximum disk size under this specification in GB.
    memory float
    Memory size in GB.
    min_storage_size float
    Minimum disk size under this specification in GB.
    qps float
    QPS of this specification.
    spec_id float
    Instance specification ID.
    chargeType String
    Billing mode under this specification. Valid values are POSTPAID_BY_HOUR, PREPAID and ALL. ALL means both POSTPAID_BY_HOUR and PREPAID.
    cpu Number
    Number of CPU cores.
    dbVersion String
    Database version information. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise).
    dbVersionName String
    Version name corresponding to the db_version field.
    machineType String
    Model ID.
    maxStorageSize Number
    Maximum disk size under this specification in GB.
    memory Number
    Memory size in GB.
    minStorageSize Number
    Minimum disk size under this specification in GB.
    qps Number
    QPS of this specification.
    specId Number
    Instance specification ID.

    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