@pulumi/pulumiservice 0.39.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessToken.d.ts +2 -1
- package/accessToken.d.ts.map +1 -0
- package/accessToken.js +30 -5
- package/accessToken.js.map +1 -1
- package/agentPool.d.ts +5 -4
- package/agentPool.d.ts.map +1 -0
- package/agentPool.js +30 -5
- package/agentPool.js.map +1 -1
- package/approvalRule.d.ts +1 -0
- package/approvalRule.d.ts.map +1 -0
- package/approvalRule.js +27 -4
- package/approvalRule.js.map +1 -1
- package/buildAllowPermissions.d.ts +30 -0
- package/buildAllowPermissions.d.ts.map +1 -0
- package/buildAllowPermissions.js +51 -0
- package/buildAllowPermissions.js.map +1 -0
- package/buildEnvironmentScopedPermissions.d.ts +4 -3
- package/buildEnvironmentScopedPermissions.d.ts.map +1 -0
- package/buildEnvironmentScopedPermissions.js +27 -4
- package/buildEnvironmentScopedPermissions.js.map +1 -1
- package/buildInsightsAccountScopedPermissions.d.ts +4 -3
- package/buildInsightsAccountScopedPermissions.d.ts.map +1 -0
- package/buildInsightsAccountScopedPermissions.js +27 -4
- package/buildInsightsAccountScopedPermissions.js.map +1 -1
- package/buildStackScopedPermissions.d.ts +4 -3
- package/buildStackScopedPermissions.d.ts.map +1 -0
- package/buildStackScopedPermissions.js +27 -4
- package/buildStackScopedPermissions.js.map +1 -1
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +26 -3
- package/config/vars.js.map +1 -1
- package/deploymentSchedule.d.ts +4 -3
- package/deploymentSchedule.d.ts.map +1 -0
- package/deploymentSchedule.js +29 -4
- package/deploymentSchedule.js.map +1 -1
- package/deploymentSettings.d.ts +8 -7
- package/deploymentSettings.d.ts.map +1 -0
- package/deploymentSettings.js +31 -8
- package/deploymentSettings.js.map +1 -1
- package/driftSchedule.d.ts +2 -1
- package/driftSchedule.d.ts.map +1 -0
- package/driftSchedule.js +29 -4
- package/driftSchedule.js.map +1 -1
- package/environment.d.ts +3 -2
- package/environment.d.ts.map +1 -0
- package/environment.js +27 -4
- package/environment.js.map +1 -1
- package/environmentRotationSchedule.d.ts +3 -2
- package/environmentRotationSchedule.d.ts.map +1 -0
- package/environmentRotationSchedule.js +29 -4
- package/environmentRotationSchedule.js.map +1 -1
- package/environmentVersionTag.d.ts +2 -1
- package/environmentVersionTag.d.ts.map +1 -0
- package/environmentVersionTag.js +27 -4
- package/environmentVersionTag.js.map +1 -1
- package/getCurrentUser.d.ts +1 -0
- package/getCurrentUser.d.ts.map +1 -0
- package/getCurrentUser.js +25 -2
- package/getCurrentUser.js.map +1 -1
- package/getEnvironment.d.ts +5 -4
- package/getEnvironment.d.ts.map +1 -0
- package/getEnvironment.js +27 -4
- package/getEnvironment.js.map +1 -1
- package/getInsightsAccount.d.ts +1 -0
- package/getInsightsAccount.d.ts.map +1 -0
- package/getInsightsAccount.js +25 -2
- package/getInsightsAccount.js.map +1 -1
- package/getInsightsAccounts.d.ts +1 -0
- package/getInsightsAccounts.d.ts.map +1 -0
- package/getInsightsAccounts.js +25 -2
- package/getInsightsAccounts.js.map +1 -1
- package/getOrganizationMember.d.ts +1 -0
- package/getOrganizationMember.d.ts.map +1 -0
- package/getOrganizationMember.js +25 -2
- package/getOrganizationMember.js.map +1 -1
- package/getOrganizationMembers.d.ts +3 -2
- package/getOrganizationMembers.d.ts.map +1 -0
- package/getOrganizationMembers.js +27 -4
- package/getOrganizationMembers.js.map +1 -1
- package/getOrganizationRoleScopes.d.ts +1 -0
- package/getOrganizationRoleScopes.d.ts.map +1 -0
- package/getOrganizationRoleScopes.js +25 -2
- package/getOrganizationRoleScopes.js.map +1 -1
- package/getPolicyPack.d.ts +2 -1
- package/getPolicyPack.d.ts.map +1 -0
- package/getPolicyPack.js +25 -2
- package/getPolicyPack.js.map +1 -1
- package/getPolicyPacks.d.ts +1 -0
- package/getPolicyPacks.d.ts.map +1 -0
- package/getPolicyPacks.js +25 -2
- package/getPolicyPacks.js.map +1 -1
- package/index.d.ts +6 -1
- package/index.d.ts.map +1 -0
- package/index.js +23 -6
- package/index.js.map +1 -1
- package/insightsAccount.d.ts +3 -2
- package/insightsAccount.d.ts.map +1 -0
- package/insightsAccount.js +27 -4
- package/insightsAccount.js.map +1 -1
- package/oidcIssuer.d.ts +4 -3
- package/oidcIssuer.d.ts.map +1 -0
- package/oidcIssuer.js +27 -4
- package/oidcIssuer.js.map +1 -1
- package/orgAccessToken.d.ts +4 -3
- package/orgAccessToken.d.ts.map +1 -0
- package/orgAccessToken.js +29 -4
- package/orgAccessToken.js.map +1 -1
- package/organizationMember.d.ts +3 -2
- package/organizationMember.d.ts.map +1 -0
- package/organizationMember.js +27 -4
- package/organizationMember.js.map +1 -1
- package/organizationRole.d.ts +29 -4
- package/organizationRole.d.ts.map +1 -0
- package/organizationRole.js +27 -4
- package/organizationRole.js.map +1 -1
- package/package.json +4 -4
- package/policyGroup.d.ts +6 -5
- package/policyGroup.d.ts.map +1 -0
- package/policyGroup.js +27 -4
- package/policyGroup.js.map +1 -1
- package/provider.d.ts +3 -2
- package/provider.d.ts.map +1 -0
- package/provider.js +28 -5
- package/provider.js.map +1 -1
- package/stack.d.ts +2 -1
- package/stack.d.ts.map +1 -0
- package/stack.js +27 -4
- package/stack.js.map +1 -1
- package/stackTag.d.ts +1 -0
- package/stackTag.d.ts.map +1 -0
- package/stackTag.js +27 -4
- package/stackTag.js.map +1 -1
- package/stackTags.d.ts +1 -0
- package/stackTags.d.ts.map +1 -0
- package/stackTags.js +27 -4
- package/stackTags.js.map +1 -1
- package/team.d.ts +6 -5
- package/team.d.ts.map +1 -0
- package/team.js +27 -4
- package/team.js.map +1 -1
- package/teamAccessToken.d.ts +3 -2
- package/teamAccessToken.d.ts.map +1 -0
- package/teamAccessToken.js +29 -4
- package/teamAccessToken.js.map +1 -1
- package/teamEnvironmentPermission.d.ts +7 -6
- package/teamEnvironmentPermission.d.ts.map +1 -0
- package/teamEnvironmentPermission.js +29 -4
- package/teamEnvironmentPermission.js.map +1 -1
- package/teamRoleAssignment.d.ts +1 -0
- package/teamRoleAssignment.d.ts.map +1 -0
- package/teamRoleAssignment.js +27 -4
- package/teamRoleAssignment.js.map +1 -1
- package/teamStackPermission.d.ts +2 -1
- package/teamStackPermission.d.ts.map +1 -0
- package/teamStackPermission.js +29 -4
- package/teamStackPermission.js.map +1 -1
- package/templateSource.d.ts +3 -2
- package/templateSource.d.ts.map +1 -0
- package/templateSource.js +30 -5
- package/templateSource.js.map +1 -1
- package/ttlSchedule.d.ts +2 -1
- package/ttlSchedule.d.ts.map +1 -0
- package/ttlSchedule.js +29 -4
- package/ttlSchedule.js.map +1 -1
- package/types/enums/index.d.ts +1 -0
- package/types/enums/index.d.ts.map +1 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +26 -3
- package/types/index.js.map +1 -1
- package/types/input.d.ts +52 -47
- package/types/input.d.ts.map +1 -0
- package/types/input.js.map +1 -1
- package/types/output.d.ts +5 -0
- package/types/output.d.ts.map +1 -0
- package/types/output.js.map +1 -1
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +24 -1
- package/utilities.js.map +1 -1
- package/v1/agents/index.d.ts +7 -0
- package/v1/agents/index.d.ts.map +1 -0
- package/v1/agents/index.js +49 -0
- package/v1/agents/index.js.map +1 -0
- package/v1/agents/pool.d.ts +74 -0
- package/v1/agents/pool.d.ts.map +1 -0
- package/v1/agents/pool.js +101 -0
- package/v1/agents/pool.js.map +1 -0
- package/v1/agents/task.d.ts +158 -0
- package/v1/agents/task.d.ts.map +1 -0
- package/v1/agents/task.js +127 -0
- package/v1/agents/task.js.map +1 -0
- package/v1/auditLogExportConfiguration.d.ts +58 -0
- package/v1/auditLogExportConfiguration.d.ts.map +1 -0
- package/v1/auditLogExportConfiguration.js +95 -0
- package/v1/auditLogExportConfiguration.js.map +1 -0
- package/v1/auth/index.d.ts +10 -0
- package/v1/auth/index.d.ts.map +1 -0
- package/v1/auth/index.js +53 -0
- package/v1/auth/index.js.map +1 -0
- package/v1/auth/oidcIssuer.d.ts +102 -0
- package/v1/auth/oidcIssuer.d.ts.map +1 -0
- package/v1/auth/oidcIssuer.js +107 -0
- package/v1/auth/oidcIssuer.js.map +1 -0
- package/v1/auth/policy.d.ts +81 -0
- package/v1/auth/policy.d.ts.map +1 -0
- package/v1/auth/policy.js +109 -0
- package/v1/auth/policy.js.map +1 -0
- package/v1/auth/saml.d.ts +72 -0
- package/v1/auth/saml.d.ts.map +1 -0
- package/v1/auth/saml.js +96 -0
- package/v1/auth/saml.js.map +1 -0
- package/v1/defaultOrganization.d.ts +50 -0
- package/v1/defaultOrganization.d.ts.map +1 -0
- package/v1/defaultOrganization.js +85 -0
- package/v1/defaultOrganization.js.map +1 -0
- package/v1/deployments/index.d.ts +7 -0
- package/v1/deployments/index.d.ts.map +1 -0
- package/v1/deployments/index.js +49 -0
- package/v1/deployments/index.js.map +1 -0
- package/v1/deployments/scheduledDeployment.d.ts +108 -0
- package/v1/deployments/scheduledDeployment.d.ts.map +1 -0
- package/v1/deployments/scheduledDeployment.js +112 -0
- package/v1/deployments/scheduledDeployment.js.map +1 -0
- package/v1/deployments/settings.d.ts +118 -0
- package/v1/deployments/settings.d.ts.map +1 -0
- package/v1/deployments/settings.js +109 -0
- package/v1/deployments/settings.js.map +1 -0
- package/v1/esc/environment.d.ts +54 -0
- package/v1/esc/environment.d.ts.map +1 -0
- package/v1/esc/environment.js +93 -0
- package/v1/esc/environment.js.map +1 -0
- package/v1/esc/environmentDraft.d.ts +62 -0
- package/v1/esc/environmentDraft.d.ts.map +1 -0
- package/v1/esc/environmentDraft.js +97 -0
- package/v1/esc/environmentDraft.js.map +1 -0
- package/v1/esc/environmentSchedule.d.ts +108 -0
- package/v1/esc/environmentSchedule.d.ts.map +1 -0
- package/v1/esc/environmentSchedule.js +112 -0
- package/v1/esc/environmentSchedule.js.map +1 -0
- package/v1/esc/environmentSettings.d.ts +54 -0
- package/v1/esc/environmentSettings.d.ts.map +1 -0
- package/v1/esc/environmentSettings.js +91 -0
- package/v1/esc/environmentSettings.js.map +1 -0
- package/v1/esc/environmentTag.d.ts +78 -0
- package/v1/esc/environmentTag.d.ts.map +1 -0
- package/v1/esc/environmentTag.js +107 -0
- package/v1/esc/environmentTag.js.map +1 -0
- package/v1/esc/index.d.ts +25 -0
- package/v1/esc/index.d.ts.map +1 -0
- package/v1/esc/index.js +73 -0
- package/v1/esc/index.js.map +1 -0
- package/v1/esc/openEnvironmentRequest.d.ts +66 -0
- package/v1/esc/openEnvironmentRequest.d.ts.map +1 -0
- package/v1/esc/openEnvironmentRequest.js +100 -0
- package/v1/esc/openEnvironmentRequest.js.map +1 -0
- package/v1/esc/revisionTag.d.ts +78 -0
- package/v1/esc/revisionTag.d.ts.map +1 -0
- package/v1/esc/revisionTag.js +104 -0
- package/v1/esc/revisionTag.js.map +1 -0
- package/v1/esc/webhook.d.ts +140 -0
- package/v1/esc/webhook.d.ts.map +1 -0
- package/v1/esc/webhook.js +128 -0
- package/v1/esc/webhook.js.map +1 -0
- package/v1/gate.d.ts +78 -0
- package/v1/gate.d.ts.map +1 -0
- package/v1/gate.js +103 -0
- package/v1/gate.js.map +1 -0
- package/v1/index.d.ts +36 -0
- package/v1/index.d.ts.map +1 -0
- package/v1/index.js +94 -0
- package/v1/index.js.map +1 -0
- package/v1/insights/account.d.ts +110 -0
- package/v1/insights/account.d.ts.map +1 -0
- package/v1/insights/account.js +112 -0
- package/v1/insights/account.js.map +1 -0
- package/v1/insights/index.d.ts +7 -0
- package/v1/insights/index.d.ts.map +1 -0
- package/v1/insights/index.js +49 -0
- package/v1/insights/index.js.map +1 -0
- package/v1/insights/scheduledScanSettings.d.ts +90 -0
- package/v1/insights/scheduledScanSettings.d.ts.map +1 -0
- package/v1/insights/scheduledScanSettings.js +100 -0
- package/v1/insights/scheduledScanSettings.js.map +1 -0
- package/v1/integrations/azureDevOpsIntegration.d.ts +86 -0
- package/v1/integrations/azureDevOpsIntegration.d.ts.map +1 -0
- package/v1/integrations/azureDevOpsIntegration.js +101 -0
- package/v1/integrations/azureDevOpsIntegration.js.map +1 -0
- package/v1/integrations/bitBucketIntegration.d.ts +98 -0
- package/v1/integrations/bitBucketIntegration.d.ts.map +1 -0
- package/v1/integrations/bitBucketIntegration.js +107 -0
- package/v1/integrations/bitBucketIntegration.js.map +1 -0
- package/v1/integrations/customVCSIntegration.d.ts +98 -0
- package/v1/integrations/customVCSIntegration.d.ts.map +1 -0
- package/v1/integrations/customVCSIntegration.js +112 -0
- package/v1/integrations/customVCSIntegration.js.map +1 -0
- package/v1/integrations/customVCSRepository.d.ts +50 -0
- package/v1/integrations/customVCSRepository.d.ts.map +1 -0
- package/v1/integrations/customVCSRepository.js +90 -0
- package/v1/integrations/customVCSRepository.js.map +1 -0
- package/v1/integrations/gitHubEnterpriseIntegration.d.ts +118 -0
- package/v1/integrations/gitHubEnterpriseIntegration.d.ts.map +1 -0
- package/v1/integrations/gitHubEnterpriseIntegration.js +115 -0
- package/v1/integrations/gitHubEnterpriseIntegration.js.map +1 -0
- package/v1/integrations/gitHubIntegration.d.ts +118 -0
- package/v1/integrations/gitHubIntegration.d.ts.map +1 -0
- package/v1/integrations/gitHubIntegration.js +115 -0
- package/v1/integrations/gitHubIntegration.js.map +1 -0
- package/v1/integrations/gitLabIntegration.d.ts +102 -0
- package/v1/integrations/gitLabIntegration.d.ts.map +1 -0
- package/v1/integrations/gitLabIntegration.js +111 -0
- package/v1/integrations/gitLabIntegration.js.map +1 -0
- package/v1/integrations/index.d.ts +22 -0
- package/v1/integrations/index.d.ts.map +1 -0
- package/v1/integrations/index.js +69 -0
- package/v1/integrations/index.js.map +1 -0
- package/v1/orgTemplateCollection.d.ts +82 -0
- package/v1/orgTemplateCollection.d.ts.map +1 -0
- package/v1/orgTemplateCollection.js +101 -0
- package/v1/orgTemplateCollection.js.map +1 -0
- package/v1/organizationMember.d.ts +79 -0
- package/v1/organizationMember.d.ts.map +1 -0
- package/v1/organizationMember.js +106 -0
- package/v1/organizationMember.js.map +1 -0
- package/v1/organizationWebhook.d.ts +146 -0
- package/v1/organizationWebhook.d.ts.map +1 -0
- package/v1/organizationWebhook.js +128 -0
- package/v1/organizationWebhook.js.map +1 -0
- package/v1/policyGroup.d.ts +86 -0
- package/v1/policyGroup.d.ts.map +1 -0
- package/v1/policyGroup.js +103 -0
- package/v1/policyGroup.js.map +1 -0
- package/v1/role.d.ts +114 -0
- package/v1/role.d.ts.map +1 -0
- package/v1/role.js +106 -0
- package/v1/role.js.map +1 -0
- package/v1/services/index.d.ts +7 -0
- package/v1/services/index.d.ts.map +1 -0
- package/v1/services/index.js +49 -0
- package/v1/services/index.js.map +1 -0
- package/v1/services/item.d.ts +67 -0
- package/v1/services/item.d.ts.map +1 -0
- package/v1/services/item.js +102 -0
- package/v1/services/item.js.map +1 -0
- package/v1/services/service.d.ts +71 -0
- package/v1/services/service.d.ts.map +1 -0
- package/v1/services/service.js +108 -0
- package/v1/services/service.js.map +1 -0
- package/v1/stacks/config.d.ts +78 -0
- package/v1/stacks/config.d.ts.map +1 -0
- package/v1/stacks/config.js +102 -0
- package/v1/stacks/config.js.map +1 -0
- package/v1/stacks/index.d.ts +13 -0
- package/v1/stacks/index.d.ts.map +1 -0
- package/v1/stacks/index.js +57 -0
- package/v1/stacks/index.js.map +1 -0
- package/v1/stacks/stack.d.ts +105 -0
- package/v1/stacks/stack.d.ts.map +1 -0
- package/v1/stacks/stack.js +110 -0
- package/v1/stacks/stack.js.map +1 -0
- package/v1/stacks/tag.d.ts +54 -0
- package/v1/stacks/tag.d.ts.map +1 -0
- package/v1/stacks/tag.js +97 -0
- package/v1/stacks/tag.js.map +1 -0
- package/v1/stacks/webhook.d.ts +148 -0
- package/v1/stacks/webhook.d.ts.map +1 -0
- package/v1/stacks/webhook.js +136 -0
- package/v1/stacks/webhook.js.map +1 -0
- package/v1/teams/index.d.ts +7 -0
- package/v1/teams/index.d.ts.map +1 -0
- package/v1/teams/index.js +49 -0
- package/v1/teams/index.js.map +1 -0
- package/v1/teams/role.d.ts +47 -0
- package/v1/teams/role.d.ts.map +1 -0
- package/v1/teams/role.js +90 -0
- package/v1/teams/role.js.map +1 -0
- package/v1/teams/team.d.ts +98 -0
- package/v1/teams/team.d.ts.map +1 -0
- package/v1/teams/team.js +113 -0
- package/v1/teams/team.js.map +1 -0
- package/v1/tokens/index.d.ts +10 -0
- package/v1/tokens/index.d.ts.map +1 -0
- package/v1/tokens/index.js +53 -0
- package/v1/tokens/index.js.map +1 -0
- package/v1/tokens/orgToken.d.ts +74 -0
- package/v1/tokens/orgToken.d.ts.map +1 -0
- package/v1/tokens/orgToken.js +109 -0
- package/v1/tokens/orgToken.js.map +1 -0
- package/v1/tokens/personalToken.d.ts +54 -0
- package/v1/tokens/personalToken.d.ts.map +1 -0
- package/v1/tokens/personalToken.js +92 -0
- package/v1/tokens/personalToken.js.map +1 -0
- package/v1/tokens/teamToken.d.ts +70 -0
- package/v1/tokens/teamToken.d.ts.map +1 -0
- package/v1/tokens/teamToken.js +108 -0
- package/v1/tokens/teamToken.js.map +1 -0
- package/webhook.d.ts +8 -7
- package/webhook.d.ts.map +1 -0
- package/webhook.js +27 -4
- package/webhook.js.map +1 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Config = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Updates the service-managed configuration for a stack. The request body may include the ESC environment reference, secrets provider type, encrypted key, and encryption salt. If stack configuration is returned by the API, it is used in place of the local stack config file (e.g. Pulumi.[stack].yaml). Returns the updated configuration object. Returns 400 if the environment reference is invalid or not found.
|
|
33
|
+
*/
|
|
34
|
+
class Config extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Config resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new Config(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'pulumiservice:v1/stacks:Config';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Config. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === Config.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a Config resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.environment === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'environment'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.orgName === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'orgName'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.projectName === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'projectName'");
|
|
77
|
+
}
|
|
78
|
+
if (args?.stackName === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'stackName'");
|
|
80
|
+
}
|
|
81
|
+
resourceInputs["encryptedKey"] = args?.encryptedKey;
|
|
82
|
+
resourceInputs["encryptionSalt"] = args?.encryptionSalt;
|
|
83
|
+
resourceInputs["environment"] = args?.environment;
|
|
84
|
+
resourceInputs["orgName"] = args?.orgName;
|
|
85
|
+
resourceInputs["projectName"] = args?.projectName;
|
|
86
|
+
resourceInputs["secretsProvider"] = args?.secretsProvider ? pulumi.secret(args.secretsProvider) : undefined;
|
|
87
|
+
resourceInputs["stackName"] = args?.stackName;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
resourceInputs["encryptedKey"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["encryptionSalt"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["environment"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["secretsProvider"] = undefined /*out*/;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
const secretOpts = { additionalSecretOutputs: ["secretsProvider"] };
|
|
97
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
98
|
+
super(Config.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.Config = Config;
|
|
102
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../v1/stacks/config.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;GAEG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,MAAM,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gCAAgC,CAAC;IAEvE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM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c,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;aAAM;YACH,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AApFL,wBAqFC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { ConfigArgs } from "./config";
|
|
2
|
+
export type Config = import("./config").Config;
|
|
3
|
+
export declare const Config: typeof import("./config").Config;
|
|
4
|
+
export { StackArgs } from "./stack";
|
|
5
|
+
export type Stack = import("./stack").Stack;
|
|
6
|
+
export declare const Stack: typeof import("./stack").Stack;
|
|
7
|
+
export { TagArgs } from "./tag";
|
|
8
|
+
export type Tag = import("./tag").Tag;
|
|
9
|
+
export declare const Tag: typeof import("./tag").Tag;
|
|
10
|
+
export { WebhookArgs } from "./webhook";
|
|
11
|
+
export type Webhook = import("./webhook").Webhook;
|
|
12
|
+
export declare const Webhook: typeof import("./webhook").Webhook;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v1/stacks/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,MAAM,MAAM,MAAM,GAAG,OAAO,UAAU,EAAE,MAAM,CAAC;AAC/C,eAAO,MAAM,MAAM,EAAE,cAAc,UAAU,EAAE,MAAoB,CAAC;AAGpE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,MAAM,MAAM,KAAK,GAAG,OAAO,SAAS,EAAE,KAAK,CAAC;AAC5C,eAAO,MAAM,KAAK,EAAE,cAAc,SAAS,EAAE,KAAmB,CAAC;AAGjE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,MAAM,MAAM,GAAG,GAAG,OAAO,OAAO,EAAE,GAAG,CAAC;AACtC,eAAO,MAAM,GAAG,EAAE,cAAc,OAAO,EAAE,GAAiB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,MAAM,MAAM,OAAO,GAAG,OAAO,WAAW,EAAE,OAAO,CAAC;AAClD,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Webhook = exports.Tag = exports.Stack = exports.Config = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
exports.Config = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["Config"], () => require("./config"));
|
|
33
|
+
exports.Stack = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["Stack"], () => require("./stack"));
|
|
35
|
+
exports.Tag = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["Tag"], () => require("./tag"));
|
|
37
|
+
exports.Webhook = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["Webhook"], () => require("./webhook"));
|
|
39
|
+
const _module = {
|
|
40
|
+
version: utilities.getVersion(),
|
|
41
|
+
construct: (name, type, urn) => {
|
|
42
|
+
switch (type) {
|
|
43
|
+
case "pulumiservice:v1/stacks:Config":
|
|
44
|
+
return new exports.Config(name, undefined, { urn });
|
|
45
|
+
case "pulumiservice:v1/stacks:Stack":
|
|
46
|
+
return new exports.Stack(name, undefined, { urn });
|
|
47
|
+
case "pulumiservice:v1/stacks:Tag":
|
|
48
|
+
return new exports.Tag(name, undefined, { urn });
|
|
49
|
+
case "pulumiservice:v1/stacks:Webhook":
|
|
50
|
+
return new exports.Webhook(name, undefined, { urn });
|
|
51
|
+
default:
|
|
52
|
+
throw new Error(`unknown resource type ${type}`);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
pulumi.runtime.registerResourceModule("pulumiservice", "v1/stacks", _module);
|
|
57
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/stacks/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAKhC,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAIhD,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGrE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,gCAAgC;gBACjC,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,+BAA+B;gBAChC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,WAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD,KAAK,iCAAiC;gBAClC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,eAAe,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new stack within a project in the organization. If the project does not exist, it will be created. A stack is an isolated, independently configurable instance of a Pulumi program, typically representing a deployment environment (e.g., development, staging, production). The stack name must be unique within the project.
|
|
4
|
+
*
|
|
5
|
+
* The optional `config` object supports:
|
|
6
|
+
* - `environment`: reference to an ESC environment for storing stack configuration (must not already exist)
|
|
7
|
+
* - `secretsProvider`: the secrets provider for the stack
|
|
8
|
+
* - `encryptedKey`: KMS-encrypted ciphertext for the data key (cloud-based secrets providers only)
|
|
9
|
+
* - `encryptionSalt`: base64-encoded encryption salt (passphrase-based secrets providers only)
|
|
10
|
+
*/
|
|
11
|
+
export declare class Stack extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Stack resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Stack;
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Stack. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj: any): obj is Stack;
|
|
26
|
+
/**
|
|
27
|
+
* The active update
|
|
28
|
+
*/
|
|
29
|
+
readonly activeUpdate: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Optional cloud-persisted stack configuration.
|
|
32
|
+
* If set, then the stack's configuration is loaded from the cloud and not a file on disk.
|
|
33
|
+
*/
|
|
34
|
+
readonly config: pulumi.Output<any | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* CurrentOperation provides information about a stack operation in-progress, as applicable.
|
|
37
|
+
*/
|
|
38
|
+
readonly currentOperation: pulumi.Output<any | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The organization name
|
|
41
|
+
*/
|
|
42
|
+
readonly orgName: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The project name
|
|
45
|
+
*/
|
|
46
|
+
readonly projectName: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The stack name
|
|
49
|
+
*/
|
|
50
|
+
readonly stackName: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Map of tags
|
|
53
|
+
*/
|
|
54
|
+
readonly tags: pulumi.Output<{
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
} | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The version number
|
|
59
|
+
*/
|
|
60
|
+
readonly version: pulumi.Output<number>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a Stack resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: StackArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The set of arguments for constructing a Stack resource.
|
|
72
|
+
*/
|
|
73
|
+
export interface StackArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The configuration for the new stack.
|
|
76
|
+
*/
|
|
77
|
+
config?: any | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* The organization name
|
|
80
|
+
*/
|
|
81
|
+
orgName: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The project name
|
|
84
|
+
*/
|
|
85
|
+
projectName: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the stack being created.
|
|
88
|
+
*/
|
|
89
|
+
stackName: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* An optional state to initialize the stack with.
|
|
92
|
+
*/
|
|
93
|
+
state?: any | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* An optional set of tags to apply to the stack.
|
|
96
|
+
*/
|
|
97
|
+
tags?: pulumi.Input<{
|
|
98
|
+
[key: string]: any;
|
|
99
|
+
} | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* An optional set of teams to assign to the stack.
|
|
102
|
+
*/
|
|
103
|
+
teams?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../v1/stacks/stack.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;GAQG;AACH,qBAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;WACW,GAAG,C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AC;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC5D"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Stack = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new stack within a project in the organization. If the project does not exist, it will be created. A stack is an isolated, independently configurable instance of a Pulumi program, typically representing a deployment environment (e.g., development, staging, production). The stack name must be unique within the project.
|
|
33
|
+
*
|
|
34
|
+
* The optional `config` object supports:
|
|
35
|
+
* - `environment`: reference to an ESC environment for storing stack configuration (must not already exist)
|
|
36
|
+
* - `secretsProvider`: the secrets provider for the stack
|
|
37
|
+
* - `encryptedKey`: KMS-encrypted ciphertext for the data key (cloud-based secrets providers only)
|
|
38
|
+
* - `encryptionSalt`: base64-encoded encryption salt (passphrase-based secrets providers only)
|
|
39
|
+
*/
|
|
40
|
+
class Stack extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing Stack resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name, id, opts) {
|
|
50
|
+
return new Stack(name, undefined, { ...opts, id: id });
|
|
51
|
+
}
|
|
52
|
+
/** @internal */
|
|
53
|
+
static __pulumiType = 'pulumiservice:v1/stacks:Stack';
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of Stack. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === Stack.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Create a Stack resource with the given unique name, arguments, and options.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resource.
|
|
68
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
69
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
70
|
+
*/
|
|
71
|
+
constructor(name, args, opts) {
|
|
72
|
+
let resourceInputs = {};
|
|
73
|
+
opts = opts || {};
|
|
74
|
+
if (!opts.id) {
|
|
75
|
+
if (args?.orgName === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'orgName'");
|
|
77
|
+
}
|
|
78
|
+
if (args?.projectName === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'projectName'");
|
|
80
|
+
}
|
|
81
|
+
if (args?.stackName === undefined && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'stackName'");
|
|
83
|
+
}
|
|
84
|
+
resourceInputs["config"] = args?.config;
|
|
85
|
+
resourceInputs["orgName"] = args?.orgName;
|
|
86
|
+
resourceInputs["projectName"] = args?.projectName;
|
|
87
|
+
resourceInputs["stackName"] = args?.stackName;
|
|
88
|
+
resourceInputs["state"] = args?.state;
|
|
89
|
+
resourceInputs["tags"] = args?.tags;
|
|
90
|
+
resourceInputs["teams"] = args?.teams;
|
|
91
|
+
resourceInputs["activeUpdate"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["currentOperation"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
resourceInputs["activeUpdate"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["config"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["currentOperation"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["orgName"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["projectName"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["stackName"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
104
|
+
}
|
|
105
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
106
|
+
super(Stack.__pulumiType, name, resourceInputs, opts);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.Stack = Stack;
|
|
110
|
+
//# sourceMappingURL=stack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.js","sourceRoot":"","sources":["../../../v1/stacks/stack.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;;;;;;;GAQG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,+BAA+B,CAAC;IAEtE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAoCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAe,EAAE,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AAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAvGL,sBAwGC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new tag on the specified stack. Tags are key-value metadata pairs that can be used for organization, filtering, and storing additional information about stacks. The request body must include both a tag name and value. Returns 400 if the tag name is invalid or the tag already exists. Built-in tags (such as those automatically set by the Pulumi CLI) follow specific naming conventions.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Tag extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing Tag resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Tag;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Tag. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is Tag;
|
|
20
|
+
/**
|
|
21
|
+
* Create a Tag resource with the given unique name, arguments, and options.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resource.
|
|
24
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
25
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
26
|
+
*/
|
|
27
|
+
constructor(name: string, args: TagArgs, opts?: pulumi.CustomResourceOptions);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The set of arguments for constructing a Tag resource.
|
|
31
|
+
*/
|
|
32
|
+
export interface TagArgs {
|
|
33
|
+
/**
|
|
34
|
+
* The tag key, which must conform to the stack tag naming rules.
|
|
35
|
+
*/
|
|
36
|
+
name: pulumi.Input<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The organization name
|
|
39
|
+
*/
|
|
40
|
+
orgName: pulumi.Input<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The project name
|
|
43
|
+
*/
|
|
44
|
+
projectName: pulumi.Input<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The stack name
|
|
47
|
+
*/
|
|
48
|
+
stackName: pulumi.Input<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The tag value associated with this key.
|
|
51
|
+
*/
|
|
52
|
+
value: pulumi.Input<string>;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../v1/stacks/tag.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,GAAG;IAOtG;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,GAAG;IAQ9C;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA6B/E;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
package/v1/stacks/tag.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Tag = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new tag on the specified stack. Tags are key-value metadata pairs that can be used for organization, filtering, and storing additional information about stacks. The request body must include both a tag name and value. Returns 400 if the tag name is invalid or the tag already exists. Built-in tags (such as those automatically set by the Pulumi CLI) follow specific naming conventions.
|
|
33
|
+
*/
|
|
34
|
+
class Tag extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Tag resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new Tag(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'pulumiservice:v1/stacks:Tag';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Tag. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === Tag.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a Tag resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.name === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'name'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.orgName === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'orgName'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.projectName === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'projectName'");
|
|
77
|
+
}
|
|
78
|
+
if (args?.stackName === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'stackName'");
|
|
80
|
+
}
|
|
81
|
+
if (args?.value === undefined && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'value'");
|
|
83
|
+
}
|
|
84
|
+
resourceInputs["name"] = args?.name;
|
|
85
|
+
resourceInputs["orgName"] = args?.orgName;
|
|
86
|
+
resourceInputs["projectName"] = args?.projectName;
|
|
87
|
+
resourceInputs["stackName"] = args?.stackName;
|
|
88
|
+
resourceInputs["value"] = args?.value;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
super(Tag.__pulumiType, name, resourceInputs, opts);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.Tag = Tag;
|
|
97
|
+
//# sourceMappingURL=tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../v1/stacks/tag.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;GAEG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,GAAG,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,6BAA6B,CAAC;IAEpE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAa,EAAE,IAAmC;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI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