UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

74 lines (73 loc) 2.13 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of rds postgresql zones * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getZones({}); * ``` */ /** @deprecated volcengine.rds_postgresql.Zones has been deprecated in favor of volcengine.rds_postgresql.getZones */ export declare function zones(args?: ZonesArgs, opts?: pulumi.InvokeOptions): Promise<ZonesResult>; /** * A collection of arguments for invoking Zones. */ export interface ZonesArgs { /** * File name where to save data source results. */ outputFile?: string; /** * The region id of the resource. */ regionId?: string; } /** * A collection of values returned by Zones. */ export interface ZonesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; readonly regionId: string; /** * The total count of query. */ readonly totalCount: number; /** * The collection of zone query. */ readonly zones: outputs.rds_postgresql.ZonesZone[]; } /** * Use this data source to query detailed information of rds postgresql zones * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getZones({}); * ``` */ /** @deprecated volcengine.rds_postgresql.Zones has been deprecated in favor of volcengine.rds_postgresql.getZones */ export declare function zonesOutput(args?: ZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ZonesResult>; /** * A collection of arguments for invoking Zones. */ export interface ZonesOutputArgs { /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The region id of the resource. */ regionId?: pulumi.Input<string>; }