UNPKG

@spacelift-io/pulumi-spacelift

Version:

A Pulumi package for creating and managing Spacelift resources.

49 lines 2.07 kB
"use strict"; // *** 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.getAzureIntegrationOutput = exports.getAzureIntegration = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * `spacelift.AzureIntegration` represents an integration with an Azure AD tenant. This integration is account-level and needs to be explicitly attached to individual stacks in order to take effect. Note that you will need to provide admin consent manually for the integration to work * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as spacelift from "@pulumi/spacelift"; * * const example = spacelift.getAzureIntegration({ * name: "Production", * }); * ``` */ function getAzureIntegration(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("spacelift:index/getAzureIntegration:getAzureIntegration", { "integrationId": args.integrationId, "name": args.name, }, opts); } exports.getAzureIntegration = getAzureIntegration; /** * `spacelift.AzureIntegration` represents an integration with an Azure AD tenant. This integration is account-level and needs to be explicitly attached to individual stacks in order to take effect. Note that you will need to provide admin consent manually for the integration to work * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as spacelift from "@pulumi/spacelift"; * * const example = spacelift.getAzureIntegration({ * name: "Production", * }); * ``` */ function getAzureIntegrationOutput(args, opts) { return pulumi.output(args).apply((a) => getAzureIntegration(a, opts)); } exports.getAzureIntegrationOutput = getAzureIntegrationOutput; //# sourceMappingURL=getAzureIntegration.js.map