@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
56 lines • 1.66 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");
/**
* Retrieves a config item.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const example = scm.getIkeGateway({
* id: "1234-56-789",
* });
* ```
*/
function getIkeGateway(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scm:index/getIkeGateway:getIkeGateway", {
"device": args.device,
"folder": args.folder,
"id": args.id,
"snippet": args.snippet,
}, opts);
}
exports.getIkeGateway = getIkeGateway;
/**
* Retrieves a config item.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const example = scm.getIkeGateway({
* id: "1234-56-789",
* });
* ```
*/
function getIkeGatewayOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scm:index/getIkeGateway:getIkeGateway", {
"device": args.device,
"folder": args.folder,
"id": args.id,
"snippet": args.snippet,
}, opts);
}
exports.getIkeGatewayOutput = getIkeGatewayOutput;
//# sourceMappingURL=getIkeGateway.js.map