UNPKG

@pulumi/scm

Version:

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

56 lines 2.18 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.getInterfaceManagementProfileOutput = exports.getInterfaceManagementProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * InterfaceManagementProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const singleProfileById = scm.getInterfaceManagementProfile({ * id: "f4358615-daba-4b71-a0ea-bd3ebb412fe3", * }); * export const fetchedProfileName = singleProfileById.then(singleProfileById => singleProfileById.name); * export const fetchedProfile = singleProfileById; * ``` */ function getInterfaceManagementProfile(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scm:index/getInterfaceManagementProfile:getInterfaceManagementProfile", { "id": args.id, "name": args.name, }, opts); } exports.getInterfaceManagementProfile = getInterfaceManagementProfile; /** * InterfaceManagementProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const singleProfileById = scm.getInterfaceManagementProfile({ * id: "f4358615-daba-4b71-a0ea-bd3ebb412fe3", * }); * export const fetchedProfileName = singleProfileById.then(singleProfileById => singleProfileById.name); * export const fetchedProfile = singleProfileById; * ``` */ function getInterfaceManagementProfileOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scm:index/getInterfaceManagementProfile:getInterfaceManagementProfile", { "id": args.id, "name": args.name, }, opts); } exports.getInterfaceManagementProfileOutput = getInterfaceManagementProfileOutput; //# sourceMappingURL=getInterfaceManagementProfile.js.map