@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
76 lines (75 loc) • 1.93 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of redis zones
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.redis.getZones({
* regionId: "cn-north-3",
* });
* ```
*/
export declare function getZones(args: GetZonesArgs, opts?: pulumi.InvokeOptions): Promise<GetZonesResult>;
/**
* A collection of arguments for invoking getZones.
*/
export interface GetZonesArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The Id of Region.
*/
regionId: string;
}
/**
* A collection of values returned by getZones.
*/
export interface GetZonesResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
readonly regionId: string;
/**
* The total count of zone query.
*/
readonly totalCount: number;
/**
* The collection of zone query.
*/
readonly zones: outputs.redis.GetZonesZone[];
}
/**
* Use this data source to query detailed information of redis zones
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.redis.getZones({
* regionId: "cn-north-3",
* });
* ```
*/
export declare function getZonesOutput(args: GetZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetZonesResult>;
/**
* A collection of arguments for invoking getZones.
*/
export interface GetZonesOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The Id of Region.
*/
regionId: pulumi.Input<string>;
}