UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

77 lines (76 loc) 2.06 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get the available of HuaweiCloud IEC sites. * * ## Example Usage * ### Basic IEC Sites * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const iecSites = pulumi.output(huaweicloud.Iec.getSites()); * ``` */ export declare function getSites(args?: GetSitesArgs, opts?: pulumi.InvokeOptions): Promise<GetSitesResult>; /** * A collection of arguments for invoking getSites. */ export interface GetSitesArgs { /** * Specifies the area of the IEC sites located. */ area?: string; /** * Specifies the city of the IEC sites located. */ city?: string; /** * Specifies the province of the IEC sites located. */ province?: string; } /** * A collection of values returned by getSites. */ export interface GetSitesResult { /** * The area of the IEC service site located. */ readonly area?: string; /** * The city of the IEC service site located. */ readonly city?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The province of the IEC service site located. */ readonly province?: string; /** * An array of one or more IEC service sites. The sites object structure is documented below. */ readonly sites: outputs.Iec.GetSitesSite[]; } export declare function getSitesOutput(args?: GetSitesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSitesResult>; /** * A collection of arguments for invoking getSites. */ export interface GetSitesOutputArgs { /** * Specifies the area of the IEC sites located. */ area?: pulumi.Input<string>; /** * Specifies the city of the IEC sites located. */ city?: pulumi.Input<string>; /** * Specifies the province of the IEC sites located. */ province?: pulumi.Input<string>; }