1. Packages
  2. Volcengine
  3. API Docs
  4. rds_mssql
  5. Zones
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.rds_mssql.Zones

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

Use this data source to query detailed information of rds mssql zones

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";

const foo = volcengine.rds_mssql.Zones({});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.rds_mssql.zones()
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mssql"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rds_mssql.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Rds_mssql.Zones.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_mssql.Rds_mssqlFunctions;
import com.pulumi.volcengine.rds_mssql.inputs.ZonesArgs;
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 foo = Rds_mssqlFunctions.Zones();

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:rds_mssql:Zones
      Arguments: {}
Copy

Using Zones

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 zones(args: ZonesArgs, opts?: InvokeOptions): Promise<ZonesResult>
function zonesOutput(args: ZonesOutputArgs, opts?: InvokeOptions): Output<ZonesResult>
Copy
def zones(output_file: Optional[str] = None,
          region_id: Optional[str] = None,
          opts: Optional[InvokeOptions] = None) -> ZonesResult
def zones_output(output_file: Optional[pulumi.Input[str]] = None,
          region_id: Optional[pulumi.Input[str]] = None,
          opts: Optional[InvokeOptions] = None) -> Output[ZonesResult]
Copy
func Zones(ctx *Context, args *ZonesArgs, opts ...InvokeOption) (*ZonesResult, error)
func ZonesOutput(ctx *Context, args *ZonesOutputArgs, opts ...InvokeOption) ZonesResultOutput
Copy
public static class Zones 
{
    public static Task<ZonesResult> InvokeAsync(ZonesArgs args, InvokeOptions? opts = null)
    public static Output<ZonesResult> Invoke(ZonesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ZonesResult> zones(ZonesArgs args, InvokeOptions options)
public static Output<ZonesResult> zones(ZonesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:rds_mssql:Zones
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

OutputFile string
File name where to save data source results.
RegionId string
The Id of Region.
OutputFile string
File name where to save data source results.
RegionId string
The Id of Region.
outputFile String
File name where to save data source results.
regionId String
The Id of Region.
outputFile string
File name where to save data source results.
regionId string
The Id of Region.
output_file str
File name where to save data source results.
region_id str
The Id of Region.
outputFile String
File name where to save data source results.
regionId String
The Id of Region.

Zones Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
TotalCount int
The total count of zone query.
Zones List<ZonesZone>
The collection of zone query.
OutputFile string
RegionId string
Id string
The provider-assigned unique ID for this managed resource.
TotalCount int
The total count of zone query.
Zones []ZonesZone
The collection of zone query.
OutputFile string
RegionId string
id String
The provider-assigned unique ID for this managed resource.
totalCount Integer
The total count of zone query.
zones List<ZonesZone>
The collection of zone query.
outputFile String
regionId String
id string
The provider-assigned unique ID for this managed resource.
totalCount number
The total count of zone query.
zones ZonesZone[]
The collection of zone query.
outputFile string
regionId string
id str
The provider-assigned unique ID for this managed resource.
total_count int
The total count of zone query.
zones Sequence[ZonesZone]
The collection of zone query.
output_file str
region_id str
id String
The provider-assigned unique ID for this managed resource.
totalCount Number
The total count of zone query.
zones List<Property Map>
The collection of zone query.
outputFile String
regionId String

Supporting Types

ZonesZone

Description This property is required. string
The description of the zone.
Id This property is required. string
The id of the zone.
ZoneId This property is required. string
The id of the zone.
ZoneName This property is required. string
The name of the zone.
Description This property is required. string
The description of the zone.
Id This property is required. string
The id of the zone.
ZoneId This property is required. string
The id of the zone.
ZoneName This property is required. string
The name of the zone.
description This property is required. String
The description of the zone.
id This property is required. String
The id of the zone.
zoneId This property is required. String
The id of the zone.
zoneName This property is required. String
The name of the zone.
description This property is required. string
The description of the zone.
id This property is required. string
The id of the zone.
zoneId This property is required. string
The id of the zone.
zoneName This property is required. string
The name of the zone.
description This property is required. str
The description of the zone.
id This property is required. str
The id of the zone.
zone_id This property is required. str
The id of the zone.
zone_name This property is required. str
The name of the zone.
description This property is required. String
The description of the zone.
id This property is required. String
The id of the zone.
zoneId This property is required. String
The id of the zone.
zoneName This property is required. String
The name of the zone.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine