@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
58 lines • 2.06 kB
JavaScript
;
// *** 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.getIkeGatewayOutput = exports.getIkeGateway = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* IkeGateway data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Data source to retrieve a single IKE Gateway by its ID.
* // Replace the placeholder ID with the actual UUID of the gateway you want to fetch.
* const exampleSingularIkeGatewayDs = scm.getIkeGateway({
* id: "1ba42513-2985-4783-8bdf-c83cf20d6dd1",
* });
* export const ikeGatewaySingularExample = exampleSingularIkeGatewayDs;
* ```
*/
function getIkeGateway(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scm:index/getIkeGateway:getIkeGateway", {
"id": args.id,
"name": args.name,
}, opts);
}
exports.getIkeGateway = getIkeGateway;
/**
* IkeGateway data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Data source to retrieve a single IKE Gateway by its ID.
* // Replace the placeholder ID with the actual UUID of the gateway you want to fetch.
* const exampleSingularIkeGatewayDs = scm.getIkeGateway({
* id: "1ba42513-2985-4783-8bdf-c83cf20d6dd1",
* });
* export const ikeGatewaySingularExample = exampleSingularIkeGatewayDs;
* ```
*/
function getIkeGatewayOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scm:index/getIkeGateway:getIkeGateway", {
"id": args.id,
"name": args.name,
}, opts);
}
exports.getIkeGatewayOutput = getIkeGatewayOutput;
//# sourceMappingURL=getIkeGateway.js.map