UNPKG

@pulumi/scm

Version:

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

62 lines 2.11 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.getUrlAccessProfileOutput = exports.getUrlAccessProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * UrlAccessProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single URL Access Profile object by its ID. * // * // Replace the ID with the UUID of the URL Access Profile you want to find. * const example = scm.getUrlAccessProfile({ * id: "e97c7e7e-9906-42d6-90a8-606ed5527125", * }); * export const urlAccessProfileDetails = example; * ``` */ function getUrlAccessProfile(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scm:index/getUrlAccessProfile:getUrlAccessProfile", { "id": args.id, "name": args.name, }, opts); } exports.getUrlAccessProfile = getUrlAccessProfile; /** * UrlAccessProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single URL Access Profile object by its ID. * // * // Replace the ID with the UUID of the URL Access Profile you want to find. * const example = scm.getUrlAccessProfile({ * id: "e97c7e7e-9906-42d6-90a8-606ed5527125", * }); * export const urlAccessProfileDetails = example; * ``` */ function getUrlAccessProfileOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scm:index/getUrlAccessProfile:getUrlAccessProfile", { "id": args.id, "name": args.name, }, opts); } exports.getUrlAccessProfileOutput = getUrlAccessProfileOutput; //# sourceMappingURL=getUrlAccessProfile.js.map