tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getSqlserverRegions
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of sqlserver datasource_regions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getSqlserverRegions({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_sqlserver_regions()
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.GetSqlserverRegions(ctx, &tencentcloud.GetSqlserverRegionsArgs{}, 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.GetSqlserverRegions.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.GetSqlserverRegionsArgs;
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.getSqlserverRegions();
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getSqlserverRegions
arguments: {}
Using getSqlserverRegions
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 getSqlserverRegions(args: GetSqlserverRegionsArgs, opts?: InvokeOptions): Promise<GetSqlserverRegionsResult>
function getSqlserverRegionsOutput(args: GetSqlserverRegionsOutputArgs, opts?: InvokeOptions): Output<GetSqlserverRegionsResult>
def get_sqlserver_regions(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlserverRegionsResult
def get_sqlserver_regions_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSqlserverRegionsResult]
func GetSqlserverRegions(ctx *Context, args *GetSqlserverRegionsArgs, opts ...InvokeOption) (*GetSqlserverRegionsResult, error)
func GetSqlserverRegionsOutput(ctx *Context, args *GetSqlserverRegionsOutputArgs, opts ...InvokeOption) GetSqlserverRegionsResultOutput
> Note: This function is named GetSqlserverRegions
in the Go SDK.
public static class GetSqlserverRegions
{
public static Task<GetSqlserverRegionsResult> InvokeAsync(GetSqlserverRegionsArgs args, InvokeOptions? opts = null)
public static Output<GetSqlserverRegionsResult> Invoke(GetSqlserverRegionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSqlserverRegionsResult> getSqlserverRegions(GetSqlserverRegionsArgs args, InvokeOptions options)
public static Output<GetSqlserverRegionsResult> getSqlserverRegions(GetSqlserverRegionsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getSqlserverRegions:getSqlserverRegions
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getSqlserverRegions Result
The following output properties are available:
- Id string
- Region
Sets List<GetSqlserver Regions Region Set> - Region information array.
- Result
Output stringFile
- Id string
- Region
Sets []GetSqlserver Regions Region Set - Region information array.
- Result
Output stringFile
- id String
- region
Sets List<GetSqlserver Regions Region Set> - Region information array.
- result
Output StringFile
- id string
- region
Sets GetSqlserver Regions Region Set[] - Region information array.
- result
Output stringFile
- id str
- region_
sets Sequence[GetSqlserver Regions Region Set] - Region information array.
- result_
output_ strfile
- id String
- region
Sets List<Property Map> - Region information array.
- result
Output StringFile
Supporting Types
GetSqlserverRegionsRegionSet
- Region string
- Region ID in the format of ap-guangzhou.
- Region
Id double - Numeric ID of region.
- Region
Name string - Region name.
- Region
State string - Current purchasability of this region. UNAVAILABLE: not purchasable, AVAILABLE: purchasable.
- Region string
- Region ID in the format of ap-guangzhou.
- Region
Id float64 - Numeric ID of region.
- Region
Name string - Region name.
- Region
State string - Current purchasability of this region. UNAVAILABLE: not purchasable, AVAILABLE: purchasable.
- region String
- Region ID in the format of ap-guangzhou.
- region
Id Double - Numeric ID of region.
- region
Name String - Region name.
- region
State String - Current purchasability of this region. UNAVAILABLE: not purchasable, AVAILABLE: purchasable.
- region string
- Region ID in the format of ap-guangzhou.
- region
Id number - Numeric ID of region.
- region
Name string - Region name.
- region
State string - Current purchasability of this region. UNAVAILABLE: not purchasable, AVAILABLE: purchasable.
- region str
- Region ID in the format of ap-guangzhou.
- region_
id float - Numeric ID of region.
- region_
name str - Region name.
- region_
state str - Current purchasability of this region. UNAVAILABLE: not purchasable, AVAILABLE: purchasable.
- region String
- Region ID in the format of ap-guangzhou.
- region
Id Number - Numeric ID of region.
- region
Name String - Region name.
- region
State String - Current purchasability of this region. UNAVAILABLE: not purchasable, AVAILABLE: purchasable.
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