UNPKG

@pulumi/scm

Version:

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

64 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.getRemoteNetworkOutput = exports.getRemoteNetwork = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * RemoteNetwork data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single remote_network object. * // * // Look up a single Remote Network by its ID. * // Replace the ID with the UUID of the remote network you want to find. * const example = scm.getRemoteNetwork({ * id: "7fc59ec2-46b3-4a0e-9c86-9b7416426a70", * }); * export const remoteNetworkDetails = example; * ``` */ function getRemoteNetwork(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scm:index/getRemoteNetwork:getRemoteNetwork", { "id": args.id, "name": args.name, }, opts); } exports.getRemoteNetwork = getRemoteNetwork; /** * RemoteNetwork data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single remote_network object. * // * // Look up a single Remote Network by its ID. * // Replace the ID with the UUID of the remote network you want to find. * const example = scm.getRemoteNetwork({ * id: "7fc59ec2-46b3-4a0e-9c86-9b7416426a70", * }); * export const remoteNetworkDetails = example; * ``` */ function getRemoteNetworkOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scm:index/getRemoteNetwork:getRemoteNetwork", { "id": args.id, "name": args.name, }, opts); } exports.getRemoteNetworkOutput = getRemoteNetworkOutput; //# sourceMappingURL=getRemoteNetwork.js.map