@pulumi/pulumiservice 0.40.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/config/vars.js +1 -1
- package/config/vars.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/provider.js +1 -1
- package/provider.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
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new webhook for a Pulumi ESC environment. Webhooks allow external services to be notified when environment events occur, such as updates or opens. The request body specifies the webhook configuration including the destination URL, event filters, and format. Returns 400 if the organization name in the request body does not match the URL path parameter. Returns 409 if a webhook with the same name already exists.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Webhook extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing Webhook 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): Webhook;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Webhook. 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 Webhook;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the webhook is active and will receive deliveries.
|
|
22
|
+
*/
|
|
23
|
+
readonly active: pulumi.Output<boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* The human-readable display name shown in the UI.
|
|
26
|
+
*/
|
|
27
|
+
readonly displayName: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The environment name. Set when the webhook is scoped to a specific environment.
|
|
30
|
+
*/
|
|
31
|
+
readonly envName: pulumi.Output<string | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Specific event types this webhook subscribes to. If empty, all events are delivered.
|
|
34
|
+
*/
|
|
35
|
+
readonly filters: pulumi.Output<string[] | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* The format of the webhook payload (e.g., 'raw', 'slack', 'ms_teams').
|
|
38
|
+
*/
|
|
39
|
+
readonly format: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* Event groups this webhook subscribes to (e.g., 'stacks', 'deployments').
|
|
42
|
+
*/
|
|
43
|
+
readonly groups: pulumi.Output<string[] | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* HasSecret is true if the webhook has a secret. This is used to determine whether
|
|
46
|
+
* to show that there is a secret in the UI.
|
|
47
|
+
*/
|
|
48
|
+
readonly hasSecret: pulumi.Output<boolean>;
|
|
49
|
+
/**
|
|
50
|
+
* The unique identifier name for the webhook within its scope.
|
|
51
|
+
*/
|
|
52
|
+
readonly name: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The organization that owns this webhook.
|
|
55
|
+
*/
|
|
56
|
+
readonly organizationName: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The URL to which webhook payloads are delivered.
|
|
59
|
+
*/
|
|
60
|
+
readonly payloadUrl: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The project name. Set when the webhook is scoped to a specific stack.
|
|
63
|
+
*/
|
|
64
|
+
readonly projectName: pulumi.Output<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Secret will be omitted when returned from the service.
|
|
67
|
+
*/
|
|
68
|
+
readonly secret: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* SecretCiphertext is the ciphertext value of the webhook's secret.
|
|
71
|
+
* It's used to check whether the secret was changed by the PSP
|
|
72
|
+
*/
|
|
73
|
+
readonly secretCiphertext: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The stack name. Set when the webhook is scoped to a specific stack.
|
|
76
|
+
*/
|
|
77
|
+
readonly stackName: pulumi.Output<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a Webhook resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name: string, args: WebhookArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a Webhook resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface WebhookArgs {
|
|
91
|
+
/**
|
|
92
|
+
* Whether the webhook is active and will receive deliveries.
|
|
93
|
+
*/
|
|
94
|
+
active: pulumi.Input<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* The human-readable display name shown in the UI.
|
|
97
|
+
*/
|
|
98
|
+
displayName: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The environment name. Set when the webhook is scoped to a specific environment.
|
|
101
|
+
*/
|
|
102
|
+
envName: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Specific event types this webhook subscribes to. If empty, all events are delivered.
|
|
105
|
+
*/
|
|
106
|
+
filters?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* The format of the webhook payload (e.g., 'raw', 'slack', 'ms_teams').
|
|
109
|
+
*/
|
|
110
|
+
format?: pulumi.Input<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Event groups this webhook subscribes to (e.g., 'stacks', 'deployments').
|
|
113
|
+
*/
|
|
114
|
+
groups?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* The unique identifier name for the webhook within its scope.
|
|
117
|
+
*/
|
|
118
|
+
name: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The organization that owns this webhook.
|
|
121
|
+
*/
|
|
122
|
+
organizationName: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The URL to which webhook payloads are delivered.
|
|
125
|
+
*/
|
|
126
|
+
payloadUrl: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The project name. Set when the webhook is scoped to a specific stack.
|
|
129
|
+
*/
|
|
130
|
+
projectName: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Secret will be omitted when returned from the service.
|
|
133
|
+
*/
|
|
134
|
+
secret?: pulumi.Input<string | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* The stack name. Set when the webhook is scoped to a specific stack.
|
|
137
|
+
*/
|
|
138
|
+
stackName?: pulumi.Input<string | undefined>;
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=webhook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../v1/esc/webhook.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;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,OAAO;IAO1G;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,OAAO;IAOlD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACvD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,C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,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD"}
|
|
@@ -0,0 +1,128 @@
|
|
|
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 = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new webhook for a Pulumi ESC environment. Webhooks allow external services to be notified when environment events occur, such as updates or opens. The request body specifies the webhook configuration including the destination URL, event filters, and format. Returns 400 if the organization name in the request body does not match the URL path parameter. Returns 409 if a webhook with the same name already exists.
|
|
33
|
+
*/
|
|
34
|
+
class Webhook extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Webhook 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 Webhook(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'pulumiservice:v1/esc:Webhook';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Webhook. 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'] === Webhook.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a Webhook 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?.active === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'active'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.displayName === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'displayName'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.envName === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'envName'");
|
|
77
|
+
}
|
|
78
|
+
if (args?.name === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'name'");
|
|
80
|
+
}
|
|
81
|
+
if (args?.organizationName === undefined && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'organizationName'");
|
|
83
|
+
}
|
|
84
|
+
if (args?.payloadUrl === undefined && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'payloadUrl'");
|
|
86
|
+
}
|
|
87
|
+
if (args?.projectName === undefined && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'projectName'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["active"] = args?.active;
|
|
91
|
+
resourceInputs["displayName"] = args?.displayName;
|
|
92
|
+
resourceInputs["envName"] = args?.envName;
|
|
93
|
+
resourceInputs["filters"] = args?.filters;
|
|
94
|
+
resourceInputs["format"] = args?.format;
|
|
95
|
+
resourceInputs["groups"] = args?.groups;
|
|
96
|
+
resourceInputs["name"] = args?.name;
|
|
97
|
+
resourceInputs["organizationName"] = args?.organizationName;
|
|
98
|
+
resourceInputs["payloadUrl"] = args?.payloadUrl;
|
|
99
|
+
resourceInputs["projectName"] = args?.projectName;
|
|
100
|
+
resourceInputs["secret"] = args?.secret ? pulumi.secret(args.secret) : undefined;
|
|
101
|
+
resourceInputs["stackName"] = args?.stackName;
|
|
102
|
+
resourceInputs["hasSecret"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["secretCiphertext"] = undefined /*out*/;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
resourceInputs["active"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["displayName"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["envName"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["filters"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["format"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["groups"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["hasSecret"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["organizationName"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["payloadUrl"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["projectName"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["secret"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["secretCiphertext"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["stackName"] = undefined /*out*/;
|
|
120
|
+
}
|
|
121
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
122
|
+
const secretOpts = { additionalSecretOutputs: ["hasSecret", "secret", "secretCiphertext"] };
|
|
123
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
124
|
+
super(Webhook.__pulumiType, name, resourceInputs, opts);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.Webhook = Webhook;
|
|
128
|
+
//# sourceMappingURL=webhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../v1/esc/webhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAE7C;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8BAA8B,CAAC;IAErE;;;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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA6DD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;QAC5E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAA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AAC;YAC3C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,EAAE,QAAQ,EAAE,kBAAkB,CAAC,EAAE,CAAC;QAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAxJL,0BAyJC"}
|
package/v1/gate.d.ts
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new change gate for an entity in the organization. Change gates enforce approval workflows by requiring one or more approvals before infrastructure changes can be applied to the protected resource.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Gate extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing Gate 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): Gate;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of Gate. 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 Gate;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the change gate is enabled
|
|
22
|
+
*/
|
|
23
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the change gate
|
|
26
|
+
*/
|
|
27
|
+
readonly gateID: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Name of the change gate
|
|
30
|
+
*/
|
|
31
|
+
readonly name: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Rule configuration for the gate
|
|
34
|
+
*/
|
|
35
|
+
readonly rule: pulumi.Output<any>;
|
|
36
|
+
/**
|
|
37
|
+
* Target configuration for the gate
|
|
38
|
+
*/
|
|
39
|
+
readonly target: pulumi.Output<any>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a Gate resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args: GateArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a Gate resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface GateArgs {
|
|
53
|
+
/**
|
|
54
|
+
* Whether the change gate is enabled
|
|
55
|
+
*/
|
|
56
|
+
enabled: pulumi.Input<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* The change gate identifier
|
|
59
|
+
*/
|
|
60
|
+
gateID?: pulumi.Input<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Name of the change gate
|
|
63
|
+
*/
|
|
64
|
+
name: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The organization name
|
|
67
|
+
*/
|
|
68
|
+
orgName: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Rule configuration for the gate
|
|
71
|
+
*/
|
|
72
|
+
rule: any;
|
|
73
|
+
/**
|
|
74
|
+
* Target configuration for the gate
|
|
75
|
+
*/
|
|
76
|
+
target: any;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=gate.d.ts.map
|
package/v1/gate.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gate.d.ts","sourceRoot":"","sources":["../../v1/gate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;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,IAAI;IAOvG;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,IAAI;IAO/C;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACjD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAEnD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmChF;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACrB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;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,IAAI,EAAE,GAAG,CAAC;IACV;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC;CACf"}
|
package/v1/gate.js
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
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.Gate = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new change gate for an entity in the organization. Change gates enforce approval workflows by requiring one or more approvals before infrastructure changes can be applied to the protected resource.
|
|
33
|
+
*/
|
|
34
|
+
class Gate extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Gate 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 Gate(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'pulumiservice:v1:Gate';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Gate. 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'] === Gate.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a Gate 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?.enabled === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'enabled'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.name === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'name'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.orgName === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'orgName'");
|
|
77
|
+
}
|
|
78
|
+
if (args?.rule === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'rule'");
|
|
80
|
+
}
|
|
81
|
+
if (args?.target === undefined && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'target'");
|
|
83
|
+
}
|
|
84
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
85
|
+
resourceInputs["gateID"] = args?.gateID;
|
|
86
|
+
resourceInputs["name"] = args?.name;
|
|
87
|
+
resourceInputs["orgName"] = args?.orgName;
|
|
88
|
+
resourceInputs["rule"] = args?.rule;
|
|
89
|
+
resourceInputs["target"] = args?.target;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
resourceInputs["enabled"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["gateID"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["rule"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["target"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
super(Gate.__pulumiType, name, resourceInputs, opts);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.Gate = Gate;
|
|
103
|
+
//# sourceMappingURL=gate.js.map
|
package/v1/gate.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gate.js","sourceRoot":"","sources":["../../v1/gate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,uBAAuB,CAAC;IAE9D;;;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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IAuBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAc,EAAE,IAAmC;QACzE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,IAAI,K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AAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAzFL,oBA0FC"}
|
package/v1/index.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export { AuditLogExportConfigurationArgs } from "./auditLogExportConfiguration";
|
|
2
|
+
export type AuditLogExportConfiguration = import("./auditLogExportConfiguration").AuditLogExportConfiguration;
|
|
3
|
+
export declare const AuditLogExportConfiguration: typeof import("./auditLogExportConfiguration").AuditLogExportConfiguration;
|
|
4
|
+
export { DefaultOrganizationArgs } from "./defaultOrganization";
|
|
5
|
+
export type DefaultOrganization = import("./defaultOrganization").DefaultOrganization;
|
|
6
|
+
export declare const DefaultOrganization: typeof import("./defaultOrganization").DefaultOrganization;
|
|
7
|
+
export { GateArgs } from "./gate";
|
|
8
|
+
export type Gate = import("./gate").Gate;
|
|
9
|
+
export declare const Gate: typeof import("./gate").Gate;
|
|
10
|
+
export { OrgTemplateCollectionArgs } from "./orgTemplateCollection";
|
|
11
|
+
export type OrgTemplateCollection = import("./orgTemplateCollection").OrgTemplateCollection;
|
|
12
|
+
export declare const OrgTemplateCollection: typeof import("./orgTemplateCollection").OrgTemplateCollection;
|
|
13
|
+
export { OrganizationMemberArgs } from "./organizationMember";
|
|
14
|
+
export type OrganizationMember = import("./organizationMember").OrganizationMember;
|
|
15
|
+
export declare const OrganizationMember: typeof import("./organizationMember").OrganizationMember;
|
|
16
|
+
export { OrganizationWebhookArgs } from "./organizationWebhook";
|
|
17
|
+
export type OrganizationWebhook = import("./organizationWebhook").OrganizationWebhook;
|
|
18
|
+
export declare const OrganizationWebhook: typeof import("./organizationWebhook").OrganizationWebhook;
|
|
19
|
+
export { PolicyGroupArgs } from "./policyGroup";
|
|
20
|
+
export type PolicyGroup = import("./policyGroup").PolicyGroup;
|
|
21
|
+
export declare const PolicyGroup: typeof import("./policyGroup").PolicyGroup;
|
|
22
|
+
export { RoleArgs } from "./role";
|
|
23
|
+
export type Role = import("./role").Role;
|
|
24
|
+
export declare const Role: typeof import("./role").Role;
|
|
25
|
+
import * as agents from "./agents";
|
|
26
|
+
import * as auth from "./auth";
|
|
27
|
+
import * as deployments from "./deployments";
|
|
28
|
+
import * as esc from "./esc";
|
|
29
|
+
import * as insights from "./insights";
|
|
30
|
+
import * as integrations from "./integrations";
|
|
31
|
+
import * as services from "./services";
|
|
32
|
+
import * as stacks from "./stacks";
|
|
33
|
+
import * as teams from "./teams";
|
|
34
|
+
import * as tokens from "./tokens";
|
|
35
|
+
export { agents, auth, deployments, esc, insights, integrations, services, stacks, teams, tokens, };
|
|
36
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../v1/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAChF,MAAM,MAAM,2BAA2B,GAAG,OAAO,+BAA+B,EAAE,2BAA2B,CAAC;AAC9G,eAAO,MAAM,2BAA2B,EAAE,cAAc,+BAA+B,EAAE,2BAAyC,CAAC;AAGnI,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,OAAO,uBAAuB,EAAE,mBAAmB,CAAC;AACtF,eAAO,MAAM,mBAAmB,EAAE,cAAc,uBAAuB,EAAE,mBAAiC,CAAC;AAG3G,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,MAAM,MAAM,IAAI,GAAG,OAAO,QAAQ,EAAE,IAAI,CAAC;AACzC,eAAO,MAAM,IAAI,EAAE,cAAc,QAAQ,EAAE,IAAkB,CAAC;AAG9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpE,MAAM,MAAM,qBAAqB,GAAG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O,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,OAAO,EACH,MAAM,EACN,IAAI,EACJ,WAAW,EACX,GAAG,EACH,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,KAAK,EACL,MAAM,GACT,CAAC"}
|
package/v1/index.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
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.tokens = exports.teams = exports.stacks = exports.services = exports.integrations = exports.insights = exports.esc = exports.deployments = exports.auth = exports.agents = exports.Role = exports.PolicyGroup = exports.OrganizationWebhook = exports.OrganizationMember = exports.OrgTemplateCollection = exports.Gate = exports.DefaultOrganization = exports.AuditLogExportConfiguration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
exports.AuditLogExportConfiguration = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["AuditLogExportConfiguration"], () => require("./auditLogExportConfiguration"));
|
|
33
|
+
exports.DefaultOrganization = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["DefaultOrganization"], () => require("./defaultOrganization"));
|
|
35
|
+
exports.Gate = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["Gate"], () => require("./gate"));
|
|
37
|
+
exports.OrgTemplateCollection = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["OrgTemplateCollection"], () => require("./orgTemplateCollection"));
|
|
39
|
+
exports.OrganizationMember = null;
|
|
40
|
+
utilities.lazyLoad(exports, ["OrganizationMember"], () => require("./organizationMember"));
|
|
41
|
+
exports.OrganizationWebhook = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["OrganizationWebhook"], () => require("./organizationWebhook"));
|
|
43
|
+
exports.PolicyGroup = null;
|
|
44
|
+
utilities.lazyLoad(exports, ["PolicyGroup"], () => require("./policyGroup"));
|
|
45
|
+
exports.Role = null;
|
|
46
|
+
utilities.lazyLoad(exports, ["Role"], () => require("./role"));
|
|
47
|
+
// Export sub-modules:
|
|
48
|
+
const agents = __importStar(require("./agents"));
|
|
49
|
+
exports.agents = agents;
|
|
50
|
+
const auth = __importStar(require("./auth"));
|
|
51
|
+
exports.auth = auth;
|
|
52
|
+
const deployments = __importStar(require("./deployments"));
|
|
53
|
+
exports.deployments = deployments;
|
|
54
|
+
const esc = __importStar(require("./esc"));
|
|
55
|
+
exports.esc = esc;
|
|
56
|
+
const insights = __importStar(require("./insights"));
|
|
57
|
+
exports.insights = insights;
|
|
58
|
+
const integrations = __importStar(require("./integrations"));
|
|
59
|
+
exports.integrations = integrations;
|
|
60
|
+
const services = __importStar(require("./services"));
|
|
61
|
+
exports.services = services;
|
|
62
|
+
const stacks = __importStar(require("./stacks"));
|
|
63
|
+
exports.stacks = stacks;
|
|
64
|
+
const teams = __importStar(require("./teams"));
|
|
65
|
+
exports.teams = teams;
|
|
66
|
+
const tokens = __importStar(require("./tokens"));
|
|
67
|
+
exports.tokens = tokens;
|
|
68
|
+
const _module = {
|
|
69
|
+
version: utilities.getVersion(),
|
|
70
|
+
construct: (name, type, urn) => {
|
|
71
|
+
switch (type) {
|
|
72
|
+
case "pulumiservice:v1:AuditLogExportConfiguration":
|
|
73
|
+
return new exports.AuditLogExportConfiguration(name, undefined, { urn });
|
|
74
|
+
case "pulumiservice:v1:DefaultOrganization":
|
|
75
|
+
return new exports.DefaultOrganization(name, undefined, { urn });
|
|
76
|
+
case "pulumiservice:v1:Gate":
|
|
77
|
+
return new exports.Gate(name, undefined, { urn });
|
|
78
|
+
case "pulumiservice:v1:OrgTemplateCollection":
|
|
79
|
+
return new exports.OrgTemplateCollection(name, undefined, { urn });
|
|
80
|
+
case "pulumiservice:v1:OrganizationMember":
|
|
81
|
+
return new exports.OrganizationMember(name, undefined, { urn });
|
|
82
|
+
case "pulumiservice:v1:OrganizationWebhook":
|
|
83
|
+
return new exports.OrganizationWebhook(name, undefined, { urn });
|
|
84
|
+
case "pulumiservice:v1:PolicyGroup":
|
|
85
|
+
return new exports.PolicyGroup(name, undefined, { urn });
|
|
86
|
+
case "pulumiservice:v1:Role":
|
|
87
|
+
return new exports.Role(name, undefined, { urn });
|
|
88
|
+
default:
|
|
89
|
+
throw new Error(`unknown resource type ${type}`);
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
pulumi.runtime.registerResourceModule("pulumiservice", "v1", _module);
|
|
94
|
+
//# sourceMappingURL=index.js.map
|
package/v1/index.js.map
ADDED
|
@@ -0,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