@spacelift-io/pulumi-spacelift
Version:
A Pulumi package for creating and managing Spacelift resources.
51 lines • 2.03 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAzureIntegrationAttachmentOutput = exports.getAzureIntegrationAttachment = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* `spacelift.AzureIntegrationAttachment` represents the attachment between a reusable Azure integration and a single stack or module.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as spacelift from "@pulumi/spacelift";
*
* const example = spacelift.getAzureIntegrationAttachment({
* integrationId: "some-integration-id",
* stackId: "some-stack-id",
* });
* ```
*/
function getAzureIntegrationAttachment(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("spacelift:index/getAzureIntegrationAttachment:getAzureIntegrationAttachment", {
"integrationId": args.integrationId,
"moduleId": args.moduleId,
"stackId": args.stackId,
}, opts);
}
exports.getAzureIntegrationAttachment = getAzureIntegrationAttachment;
/**
* `spacelift.AzureIntegrationAttachment` represents the attachment between a reusable Azure integration and a single stack or module.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as spacelift from "@pulumi/spacelift";
*
* const example = spacelift.getAzureIntegrationAttachment({
* integrationId: "some-integration-id",
* stackId: "some-stack-id",
* });
* ```
*/
function getAzureIntegrationAttachmentOutput(args, opts) {
return pulumi.output(args).apply((a) => getAzureIntegrationAttachment(a, opts));
}
exports.getAzureIntegrationAttachmentOutput = getAzureIntegrationAttachmentOutput;
//# sourceMappingURL=getAzureIntegrationAttachment.js.map