UNPKG

@pulumi/scm

Version:

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

68 lines 2.97 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.getAggregateInterfaceOutput = exports.getAggregateInterface = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * AggregateInterface data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up aggregate interface by its ID. * const scmAggregateInterfaceDs = scm.getAggregateInterface({ * id: "ddad1e64-0b64-41a4-b361-c6199761a8f1", * }); * export const aggregateInterfaceDataSourceResults = { * id: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.id), * name: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.name), * comment: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.comment), * layer3: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.layer3), * folder: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.folder), * }; * ``` */ function getAggregateInterface(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scm:index/getAggregateInterface:getAggregateInterface", { "id": args.id, "name": args.name, }, opts); } exports.getAggregateInterface = getAggregateInterface; /** * AggregateInterface data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Look up aggregate interface by its ID. * const scmAggregateInterfaceDs = scm.getAggregateInterface({ * id: "ddad1e64-0b64-41a4-b361-c6199761a8f1", * }); * export const aggregateInterfaceDataSourceResults = { * id: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.id), * name: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.name), * comment: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.comment), * layer3: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.layer3), * folder: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.folder), * }; * ``` */ function getAggregateInterfaceOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scm:index/getAggregateInterface:getAggregateInterface", { "id": args.id, "name": args.name, }, opts); } exports.getAggregateInterfaceOutput = getAggregateInterfaceOutput; //# sourceMappingURL=getAggregateInterface.js.map