tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getSqlserverZoneConfig
Explore with Pulumi AI
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
- Result
Output stringFile - Used to store results.
- Id string
- Result
Output stringFile - Used to store results.
- id String
- result
Output StringFile - Used to store results.
- id string
- result
Output stringFile - Used to store results.
- id str
- result_
output_ strfile - Used to store results.
- id String
- result
Output StringFile - Used to store results.
getSqlserverZoneConfig Result
The following output properties are available:
- Id string
- Zone
Lists List<GetSqlserver Zone Config Zone List> - A list of availability zones. Each element contains the following attributes:
- Result
Output stringFile
- Id string
- Zone
Lists []GetSqlserver Zone Config Zone List - A list of availability zones. Each element contains the following attributes:
- Result
Output stringFile
- id String
- zone
Lists List<GetSqlserver Zone Config Zone List> - A list of availability zones. Each element contains the following attributes:
- result
Output StringFile
- id string
- zone
Lists GetSqlserver Zone Config Zone List[] - A list of availability zones. Each element contains the following attributes:
- result
Output stringFile
- id str
- zone_
lists Sequence[GetSqlserver Zone Config Zone List] - A list of availability zones. Each element contains the following attributes:
- result_
output_ strfile
- id String
- zone
Lists List<Property Map> - A list of availability zones. Each element contains the following attributes:
- result
Output StringFile
Supporting Types
GetSqlserverZoneConfigZoneList
- Availability
Zone string - Alphabet ID of availability zone.
- Specinfo
Lists List<GetSqlserver Zone Config Zone List Specinfo List> - A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
- Zone
Id double - Number ID of availability zone.
- Availability
Zone string - Alphabet ID of availability zone.
- Specinfo
Lists []GetSqlserver Zone Config Zone List Specinfo List - A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
- Zone
Id float64 - Number ID of availability zone.
- availability
Zone String - Alphabet ID of availability zone.
- specinfo
Lists List<GetSqlserver Zone Config Zone List Specinfo List> - A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
- zone
Id Double - Number ID of availability zone.
- availability
Zone string - Alphabet ID of availability zone.
- specinfo
Lists GetSqlserver Zone Config Zone List Specinfo List[] - A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
- zone
Id number - Number ID of availability zone.
- availability_
zone str - Alphabet ID of availability zone.
- specinfo_
lists Sequence[GetSqlserver Zone Config Zone List Specinfo List] - A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
- zone_
id float - Number ID of availability zone.
- availability
Zone String - Alphabet ID of availability zone.
- specinfo
Lists List<Property Map> - A list of specinfo configurations for the specific availability zone. Each element contains the following attributes:
- zone
Id Number - Number ID of availability zone.
GetSqlserverZoneConfigZoneListSpecinfoList
- Charge
Type string - Billing mode under this specification. Valid values are
POSTPAID_BY_HOUR
,PREPAID
andALL
.ALL
means both POSTPAID_BY_HOUR and PREPAID. - Cpu double
- Number of CPU cores.
- Db
Version 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)
. - Db
Version stringName - Version name corresponding to the
db_version
field. - Machine
Type string - Model ID.
- Max
Storage doubleSize - Maximum disk size under this specification in GB.
- Memory double
- Memory size in GB.
- Min
Storage doubleSize - Minimum disk size under this specification in GB.
- Qps double
- QPS of this specification.
- Spec
Id double - Instance specification ID.
- Charge
Type string - Billing mode under this specification. Valid values are
POSTPAID_BY_HOUR
,PREPAID
andALL
.ALL
means both POSTPAID_BY_HOUR and PREPAID. - Cpu float64
- Number of CPU cores.
- Db
Version 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)
. - Db
Version stringName - Version name corresponding to the
db_version
field. - Machine
Type string - Model ID.
- Max
Storage float64Size - Maximum disk size under this specification in GB.
- Memory float64
- Memory size in GB.
- Min
Storage float64Size - Minimum disk size under this specification in GB.
- Qps float64
- QPS of this specification.
- Spec
Id float64 - Instance specification ID.
- charge
Type String - Billing mode under this specification. Valid values are
POSTPAID_BY_HOUR
,PREPAID
andALL
.ALL
means both POSTPAID_BY_HOUR and PREPAID. - cpu Double
- Number of CPU cores.
- db
Version 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)
. - db
Version StringName - Version name corresponding to the
db_version
field. - machine
Type String - Model ID.
- max
Storage DoubleSize - Maximum disk size under this specification in GB.
- memory Double
- Memory size in GB.
- min
Storage DoubleSize - Minimum disk size under this specification in GB.
- qps Double
- QPS of this specification.
- spec
Id Double - Instance specification ID.
- charge
Type string - Billing mode under this specification. Valid values are
POSTPAID_BY_HOUR
,PREPAID
andALL
.ALL
means both POSTPAID_BY_HOUR and PREPAID. - cpu number
- Number of CPU cores.
- db
Version 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)
. - db
Version stringName - Version name corresponding to the
db_version
field. - machine
Type string - Model ID.
- max
Storage numberSize - Maximum disk size under this specification in GB.
- memory number
- Memory size in GB.
- min
Storage numberSize - Minimum disk size under this specification in GB.
- qps number
- QPS of this specification.
- spec
Id number - Instance specification ID.
- charge_
type str - Billing mode under this specification. Valid values are
POSTPAID_BY_HOUR
,PREPAID
andALL
.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_ strname - Version name corresponding to the
db_version
field. - machine_
type str - Model ID.
- max_
storage_ floatsize - Maximum disk size under this specification in GB.
- memory float
- Memory size in GB.
- min_
storage_ floatsize - Minimum disk size under this specification in GB.
- qps float
- QPS of this specification.
- spec_
id float - Instance specification ID.
- charge
Type String - Billing mode under this specification. Valid values are
POSTPAID_BY_HOUR
,PREPAID
andALL
.ALL
means both POSTPAID_BY_HOUR and PREPAID. - cpu Number
- Number of CPU cores.
- db
Version 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)
. - db
Version StringName - Version name corresponding to the
db_version
field. - machine
Type String - Model ID.
- max
Storage NumberSize - Maximum disk size under this specification in GB.
- memory Number
- Memory size in GB.
- min
Storage NumberSize - Minimum disk size under this specification in GB.
- qps Number
- QPS of this specification.
- spec
Id 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack