UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

60 lines 2.26 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getBandwidthAllocationOutput = exports.getBandwidthAllocation = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * BandwidthAllocation data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up an existing Bandwidth Allocation by name * const example = scm.getBandwidthAllocation({ * name: "taiwan", * }); * export const allocatedBandwidth = example.then(example => example.allocatedBandwidth); * export const spnNameList = example.then(example => example.spnNameLists); * export const qosProfile = example.then(example => example.qos?.profile); * ``` */ function getBandwidthAllocation(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scm:index/getBandwidthAllocation:getBandwidthAllocation", { "name": args.name, }, opts); } exports.getBandwidthAllocation = getBandwidthAllocation; /** * BandwidthAllocation data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up an existing Bandwidth Allocation by name * const example = scm.getBandwidthAllocation({ * name: "taiwan", * }); * export const allocatedBandwidth = example.then(example => example.allocatedBandwidth); * export const spnNameList = example.then(example => example.spnNameLists); * export const qosProfile = example.then(example => example.qos?.profile); * ``` */ function getBandwidthAllocationOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scm:index/getBandwidthAllocation:getBandwidthAllocation", { "name": args.name, }, opts); } exports.getBandwidthAllocationOutput = getBandwidthAllocationOutput; //# sourceMappingURL=getBandwidthAllocation.js.map