UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

78 lines (77 loc) 2.09 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of kafka zones * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.kafka.getZones({ * regionId: "cn-beijing", * }); * ``` */ /** @deprecated volcengine.kafka.Zones has been deprecated in favor of volcengine.kafka.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 Id of Region. */ 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 zone query. */ readonly totalCount: number; /** * The collection of zone query. */ readonly zones: outputs.kafka.ZonesZone[]; } /** * Use this data source to query detailed information of kafka zones * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.kafka.getZones({ * regionId: "cn-beijing", * }); * ``` */ /** @deprecated volcengine.kafka.Zones has been deprecated in favor of volcengine.kafka.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 Id of Region. */ regionId: pulumi.Input<string>; }