UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

56 lines (55 loc) 1.68 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get a list of bandwidths belong to a specific IEC site. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const sitesTest = huaweicloud.Iec.getSites({}); * const demo = sitesTest.then(sitesTest => huaweicloud.Iec.getBandwidths({ * siteId: sitesTest.sites?[0]?.id, * })); * ``` */ export declare function getBandwidths(args: GetBandwidthsArgs, opts?: pulumi.InvokeOptions): Promise<GetBandwidthsResult>; /** * A collection of arguments for invoking getBandwidths. */ export interface GetBandwidthsArgs { /** * Specifies the ID of the IEC site. */ siteId: string; } /** * A collection of values returned by getBandwidths. */ export interface GetBandwidthsResult { /** * A list of all the bandwidths found. The object is documented below. */ readonly bandwidths: outputs.Iec.GetBandwidthsBandwidth[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly siteId: string; /** * The located information of the iec site. It contains area, province and city. */ readonly siteInfo: string; } export declare function getBandwidthsOutput(args: GetBandwidthsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBandwidthsResult>; /** * A collection of arguments for invoking getBandwidths. */ export interface GetBandwidthsOutputArgs { /** * Specifies the ID of the IEC site. */ siteId: pulumi.Input<string>; }