@pulumi/gcp 10.3.0 → 10.5.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/agenticapplications/analystAgentPersona.d.ts +38 -2
- package/agenticapplications/analystAgentPersona.d.ts.map +1 -1
- package/agenticapplications/analystAgentPersona.js +38 -2
- package/agenticapplications/analystAgentPersona.js.map +1 -1
- package/agentidentity/authProvider.d.ts +89 -0
- package/agentidentity/authProvider.d.ts.map +1 -1
- package/agentidentity/authProvider.js +89 -0
- package/agentidentity/authProvider.js.map +1 -1
- package/apihub/addon.d.ts +331 -0
- package/apihub/addon.d.ts.map +1 -0
- package/apihub/addon.js +279 -0
- package/apihub/addon.js.map +1 -0
- package/apihub/index.d.ts +3 -0
- package/apihub/index.d.ts.map +1 -1
- package/apihub/index.js +6 -1
- package/apihub/index.js.map +1 -1
- package/backupdisasterrecovery/autoProtectionPolicyBinding.d.ts +1 -4
- package/backupdisasterrecovery/autoProtectionPolicyBinding.d.ts.map +1 -1
- package/backupdisasterrecovery/autoProtectionPolicyBinding.js +1 -4
- package/backupdisasterrecovery/autoProtectionPolicyBinding.js.map +1 -1
- package/bigquery/routine.d.ts +21 -0
- package/bigquery/routine.d.ts.map +1 -1
- package/bigquery/routine.js +21 -0
- package/bigquery/routine.js.map +1 -1
- package/bigquery/table.d.ts +54 -51
- package/bigquery/table.d.ts.map +1 -1
- package/bigquery/table.js.map +1 -1
- package/bigtable/gcpolicy.d.ts +6 -6
- package/bigtable/instanceIamBinding.d.ts +3 -3
- package/bigtable/instanceIamMember.d.ts +3 -3
- package/bigtable/instanceIamPolicy.d.ts +18 -3
- package/bigtable/instanceIamPolicy.d.ts.map +1 -1
- package/bigtable/instanceIamPolicy.js.map +1 -1
- package/bigtable/table.d.ts +3 -3
- package/ces/app.d.ts +1 -0
- package/ces/app.d.ts.map +1 -1
- package/ces/app.js +1 -0
- package/ces/app.js.map +1 -1
- package/cloudfunctions/function.d.ts +5 -5
- package/cloudfunctions/function.js +2 -2
- package/cloudfunctionsv2/function.d.ts +13 -13
- package/cloudfunctionsv2/function.js +13 -13
- package/cloudidentity/inboundOidcSsoProfile.d.ts +205 -0
- package/cloudidentity/inboundOidcSsoProfile.d.ts.map +1 -0
- package/cloudidentity/inboundOidcSsoProfile.js +155 -0
- package/cloudidentity/inboundOidcSsoProfile.js.map +1 -0
- package/cloudidentity/inboundSamlSsoProfile.d.ts +206 -0
- package/cloudidentity/inboundSamlSsoProfile.d.ts.map +1 -0
- package/cloudidentity/inboundSamlSsoProfile.js +156 -0
- package/cloudidentity/inboundSamlSsoProfile.js.map +1 -0
- package/cloudidentity/index.d.ts +6 -0
- package/cloudidentity/index.d.ts.map +1 -1
- package/cloudidentity/index.js +11 -1
- package/cloudidentity/index.js.map +1 -1
- package/cloudidentity/policy.d.ts +11 -11
- package/cloudidentity/policy.js +11 -11
- package/cloudquota/squotaPreference.d.ts +15 -9
- package/cloudquota/squotaPreference.d.ts.map +1 -1
- package/cloudquota/squotaPreference.js.map +1 -1
- package/cloudrunv2/instance.d.ts +38 -0
- package/cloudrunv2/instance.d.ts.map +1 -1
- package/cloudrunv2/instance.js +25 -0
- package/cloudrunv2/instance.js.map +1 -1
- package/cloudrunv2/job.d.ts +6 -0
- package/cloudrunv2/job.d.ts.map +1 -1
- package/cloudrunv2/job.js +6 -0
- package/cloudrunv2/job.js.map +1 -1
- package/cloudrunv2/workerPool.d.ts +26 -0
- package/cloudrunv2/workerPool.d.ts.map +1 -1
- package/cloudrunv2/workerPool.js +26 -0
- package/cloudrunv2/workerPool.js.map +1 -1
- package/compute/backendService.d.ts +3 -3
- package/compute/getGlobalForwardingRule.d.ts +2 -0
- package/compute/getGlobalForwardingRule.d.ts.map +1 -1
- package/compute/getGlobalForwardingRule.js.map +1 -1
- package/compute/getInstanceGroupManager.d.ts +1 -0
- package/compute/getInstanceGroupManager.d.ts.map +1 -1
- package/compute/getInstanceGroupManager.js.map +1 -1
- package/compute/getRegionInstanceGroupManager.d.ts +1 -0
- package/compute/getRegionInstanceGroupManager.d.ts.map +1 -1
- package/compute/getRegionInstanceGroupManager.js.map +1 -1
- package/compute/getStoragePoolTypes.d.ts +91 -0
- package/compute/getStoragePoolTypes.d.ts.map +1 -1
- package/compute/getStoragePoolTypes.js +20 -0
- package/compute/getStoragePoolTypes.js.map +1 -1
- package/compute/globalAddress.d.ts +6 -0
- package/compute/globalAddress.d.ts.map +1 -1
- package/compute/globalAddress.js.map +1 -1
- package/compute/globalForwardingRule.d.ts +42 -6
- package/compute/globalForwardingRule.d.ts.map +1 -1
- package/compute/globalForwardingRule.js +4 -3
- package/compute/globalForwardingRule.js.map +1 -1
- package/compute/instanceGroupManager.d.ts +12 -0
- package/compute/instanceGroupManager.d.ts.map +1 -1
- package/compute/instanceGroupManager.js +2 -0
- package/compute/instanceGroupManager.js.map +1 -1
- package/compute/perInstanceConfig.d.ts +36 -0
- package/compute/perInstanceConfig.d.ts.map +1 -1
- package/compute/perInstanceConfig.js +2 -0
- package/compute/perInstanceConfig.js.map +1 -1
- package/compute/regionInstanceGroupManager.d.ts +17 -5
- package/compute/regionInstanceGroupManager.d.ts.map +1 -1
- package/compute/regionInstanceGroupManager.js +2 -0
- package/compute/regionInstanceGroupManager.js.map +1 -1
- package/compute/regionNetworkEndpointGroup.d.ts +1 -1
- package/compute/regionNetworkEndpointGroup.js +1 -1
- package/compute/regionPerInstanceConfig.d.ts +36 -0
- package/compute/regionPerInstanceConfig.d.ts.map +1 -1
- package/compute/regionPerInstanceConfig.js +2 -0
- package/compute/regionPerInstanceConfig.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/container/cluster.d.ts +19 -0
- package/container/cluster.d.ts.map +1 -1
- package/container/cluster.js +19 -0
- package/container/cluster.js.map +1 -1
- package/designcenter/application.d.ts +433 -0
- package/designcenter/application.d.ts.map +1 -0
- package/designcenter/application.js +187 -0
- package/designcenter/application.js.map +1 -0
- package/designcenter/getSpaceIamPolicy.d.ts +97 -0
- package/designcenter/getSpaceIamPolicy.d.ts.map +1 -0
- package/designcenter/getSpaceIamPolicy.js +81 -0
- package/designcenter/getSpaceIamPolicy.js.map +1 -0
- package/designcenter/index.d.ts +19 -0
- package/designcenter/index.d.ts.map +1 -0
- package/designcenter/index.js +68 -0
- package/designcenter/index.js.map +1 -0
- package/designcenter/space.d.ts +265 -0
- package/designcenter/space.d.ts.map +1 -0
- package/designcenter/space.js +156 -0
- package/designcenter/space.js.map +1 -0
- package/designcenter/spaceIamBinding.d.ts +332 -0
- package/designcenter/spaceIamBinding.d.ts.map +1 -0
- package/designcenter/spaceIamBinding.js +269 -0
- package/designcenter/spaceIamBinding.js.map +1 -0
- package/designcenter/spaceIamMember.d.ts +332 -0
- package/designcenter/spaceIamMember.d.ts.map +1 -0
- package/designcenter/spaceIamMember.js +269 -0
- package/designcenter/spaceIamMember.js.map +1 -0
- package/designcenter/spaceIamPolicy.d.ts +279 -0
- package/designcenter/spaceIamPolicy.d.ts.map +1 -0
- package/designcenter/spaceIamPolicy.js +262 -0
- package/designcenter/spaceIamPolicy.js.map +1 -0
- package/discoveryengine/projectProvision.d.ts +36 -0
- package/discoveryengine/projectProvision.d.ts.map +1 -1
- package/discoveryengine/projectProvision.js +2 -0
- package/discoveryengine/projectProvision.js.map +1 -1
- package/endpoints/service.d.ts +6 -6
- package/firebase/appHostingTraffic.d.ts +53 -0
- package/firebase/appHostingTraffic.d.ts.map +1 -1
- package/firebase/appHostingTraffic.js +53 -0
- package/firebase/appHostingTraffic.js.map +1 -1
- package/firebaserules/ruleset.d.ts +5 -0
- package/firebaserules/ruleset.d.ts.map +1 -1
- package/firebaserules/ruleset.js.map +1 -1
- package/gemini/geminiGcpEnablementSetting.d.ts +24 -0
- package/gemini/geminiGcpEnablementSetting.d.ts.map +1 -1
- package/gemini/geminiGcpEnablementSetting.js +2 -0
- package/gemini/geminiGcpEnablementSetting.js.map +1 -1
- package/iam/getWorkloadIdentityPoolProvider.d.ts +1 -0
- package/iam/getWorkloadIdentityPoolProvider.d.ts.map +1 -1
- package/iam/getWorkloadIdentityPoolProvider.js.map +1 -1
- package/iam/workforcePoolProvider.d.ts +9 -3
- package/iam/workforcePoolProvider.d.ts.map +1 -1
- package/iam/workforcePoolProvider.js.map +1 -1
- package/iam/workloadIdentityPoolProvider.d.ts +48 -0
- package/iam/workloadIdentityPoolProvider.d.ts.map +1 -1
- package/iam/workloadIdentityPoolProvider.js +14 -0
- package/iam/workloadIdentityPoolProvider.js.map +1 -1
- package/identityplatform/tenantOauthIdpConfig.d.ts +27 -0
- package/identityplatform/tenantOauthIdpConfig.d.ts.map +1 -1
- package/identityplatform/tenantOauthIdpConfig.js +6 -0
- package/identityplatform/tenantOauthIdpConfig.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/memorystore/instance.d.ts +46 -0
- package/memorystore/instance.d.ts.map +1 -1
- package/memorystore/instance.js +46 -0
- package/memorystore/instance.js.map +1 -1
- package/monitoring/uptimeCheckConfig.d.ts +1 -1
- package/monitoring/uptimeCheckConfig.js +1 -1
- package/package.json +2 -2
- package/provider.d.ts +2 -0
- package/provider.d.ts.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/runtimeconfig/variable.d.ts +17 -17
- package/runtimeconfig/variable.d.ts.map +1 -1
- package/saasruntime/release.d.ts +0 -3
- package/saasruntime/release.d.ts.map +1 -1
- package/saasruntime/release.js +0 -3
- package/saasruntime/release.js.map +1 -1
- package/saasruntime/rolloutKind.d.ts +0 -3
- package/saasruntime/rolloutKind.d.ts.map +1 -1
- package/saasruntime/rolloutKind.js +0 -3
- package/saasruntime/rolloutKind.js.map +1 -1
- package/saasruntime/saaS.d.ts +0 -3
- package/saasruntime/saaS.d.ts.map +1 -1
- package/saasruntime/saaS.js +0 -3
- package/saasruntime/saaS.js.map +1 -1
- package/saasruntime/tenant.d.ts +0 -3
- package/saasruntime/tenant.d.ts.map +1 -1
- package/saasruntime/tenant.js +0 -3
- package/saasruntime/tenant.js.map +1 -1
- package/saasruntime/unitKind.d.ts +0 -3
- package/saasruntime/unitKind.d.ts.map +1 -1
- package/saasruntime/unitKind.js +0 -3
- package/saasruntime/unitKind.js.map +1 -1
- package/serviceaccount/getIamPolicy.d.ts +4 -2
- package/serviceaccount/getIamPolicy.d.ts.map +1 -1
- package/serviceaccount/getIamPolicy.js.map +1 -1
- package/serviceaccount/iambinding.d.ts +12 -3
- package/serviceaccount/iambinding.d.ts.map +1 -1
- package/serviceaccount/iambinding.js +3 -0
- package/serviceaccount/iambinding.js.map +1 -1
- package/serviceaccount/iammember.d.ts +12 -3
- package/serviceaccount/iammember.d.ts.map +1 -1
- package/serviceaccount/iammember.js +3 -0
- package/serviceaccount/iammember.js.map +1 -1
- package/serviceaccount/iampolicy.d.ts +12 -3
- package/serviceaccount/iampolicy.d.ts.map +1 -1
- package/serviceaccount/iampolicy.js +3 -0
- package/serviceaccount/iampolicy.js.map +1 -1
- package/sql/user.d.ts +15 -0
- package/sql/user.d.ts.map +1 -1
- package/sql/user.js.map +1 -1
- package/storage/bucket.d.ts +2 -2
- package/types/input.d.ts +1301 -286
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1485 -287
- package/types/output.d.ts.map +1 -1
- package/vertex/aiAgentAnomalyDetectionScope.d.ts +54 -0
- package/vertex/aiAgentAnomalyDetectionScope.d.ts.map +1 -1
- package/vertex/aiAgentAnomalyDetectionScope.js +8 -0
- package/vertex/aiAgentAnomalyDetectionScope.js.map +1 -1
- package/vertex/aiCustomJob.d.ts +34 -1
- package/vertex/aiCustomJob.d.ts.map +1 -1
- package/vertex/aiCustomJob.js +34 -1
- package/vertex/aiCustomJob.js.map +1 -1
|
@@ -0,0 +1,269 @@
|
|
|
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.SpaceIamBinding = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Three different resources help you manage your IAM policy for Application Design Center Space. Each of these resources serves a different use case:
|
|
33
|
+
*
|
|
34
|
+
* * `gcp.designcenter.SpaceIamPolicy`: Authoritative. Sets the IAM policy for the space and replaces any existing policy already attached.
|
|
35
|
+
* * `gcp.designcenter.SpaceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the space are preserved. Members added outside of Terraform for the same role will be detected as drift and removed on the next `pulumi up`.
|
|
36
|
+
* * `gcp.designcenter.SpaceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the space are preserved. Members added outside of Terraform will **not** be detected as drift.
|
|
37
|
+
*
|
|
38
|
+
* A data source can be used to retrieve policy data in advent you do not need creation
|
|
39
|
+
*
|
|
40
|
+
* * `gcp.designcenter.SpaceIamPolicy`: Retrieves the IAM policy for the space
|
|
41
|
+
*
|
|
42
|
+
* > **Note:** `gcp.designcenter.SpaceIamPolicy` **cannot** be used in conjunction with `gcp.designcenter.SpaceIamBinding` and `gcp.designcenter.SpaceIamMember` or they will fight over what your policy should be.
|
|
43
|
+
*
|
|
44
|
+
* > **Note:** `gcp.designcenter.SpaceIamBinding` resources **can be** used in conjunction with `gcp.designcenter.SpaceIamMember` resources **only if** they do not grant privilege to the same role.
|
|
45
|
+
*
|
|
46
|
+
* ## gcp.designcenter.SpaceIamPolicy
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as gcp from "@pulumi/gcp";
|
|
51
|
+
*
|
|
52
|
+
* const admin = gcp.organizations.getIAMPolicy({
|
|
53
|
+
* bindings: [{
|
|
54
|
+
* role: "roles/viewer",
|
|
55
|
+
* members: ["user:jane@example.com"],
|
|
56
|
+
* }],
|
|
57
|
+
* });
|
|
58
|
+
* const policy = new gcp.designcenter.SpaceIamPolicy("policy", {
|
|
59
|
+
* project: example.project,
|
|
60
|
+
* location: example.location,
|
|
61
|
+
* spaceId: example.spaceId,
|
|
62
|
+
* policyData: admin.then(admin => admin.policyData),
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* ## gcp.designcenter.SpaceIamBinding
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as gcp from "@pulumi/gcp";
|
|
71
|
+
*
|
|
72
|
+
* const binding = new gcp.designcenter.SpaceIamBinding("binding", {
|
|
73
|
+
* project: example.project,
|
|
74
|
+
* location: example.location,
|
|
75
|
+
* spaceId: example.spaceId,
|
|
76
|
+
* role: "roles/viewer",
|
|
77
|
+
* members: ["user:jane@example.com"],
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* ## gcp.designcenter.SpaceIamMember
|
|
82
|
+
*
|
|
83
|
+
* ```typescript
|
|
84
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
+
* import * as gcp from "@pulumi/gcp";
|
|
86
|
+
*
|
|
87
|
+
* const member = new gcp.designcenter.SpaceIamMember("member", {
|
|
88
|
+
* project: example.project,
|
|
89
|
+
* location: example.location,
|
|
90
|
+
* spaceId: example.spaceId,
|
|
91
|
+
* role: "roles/viewer",
|
|
92
|
+
* member: "user:jane@example.com",
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* ## This resource supports User Project Overrides.
|
|
97
|
+
*
|
|
98
|
+
* -
|
|
99
|
+
*
|
|
100
|
+
* # IAM policy for Application Design Center Space
|
|
101
|
+
*
|
|
102
|
+
* Three different resources help you manage your IAM policy for Application Design Center Space. Each of these resources serves a different use case:
|
|
103
|
+
*
|
|
104
|
+
* * `gcp.designcenter.SpaceIamPolicy`: Authoritative. Sets the IAM policy for the space and replaces any existing policy already attached.
|
|
105
|
+
* * `gcp.designcenter.SpaceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the space are preserved. Members added outside of Terraform for the same role will be detected as drift and removed on the next `pulumi up`.
|
|
106
|
+
* * `gcp.designcenter.SpaceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the space are preserved. Members added outside of Terraform will **not** be detected as drift.
|
|
107
|
+
*
|
|
108
|
+
* A data source can be used to retrieve policy data in advent you do not need creation
|
|
109
|
+
*
|
|
110
|
+
* * `gcp.designcenter.SpaceIamPolicy`: Retrieves the IAM policy for the space
|
|
111
|
+
*
|
|
112
|
+
* > **Note:** `gcp.designcenter.SpaceIamPolicy` **cannot** be used in conjunction with `gcp.designcenter.SpaceIamBinding` and `gcp.designcenter.SpaceIamMember` or they will fight over what your policy should be.
|
|
113
|
+
*
|
|
114
|
+
* > **Note:** `gcp.designcenter.SpaceIamBinding` resources **can be** used in conjunction with `gcp.designcenter.SpaceIamMember` resources **only if** they do not grant privilege to the same role.
|
|
115
|
+
*
|
|
116
|
+
* ## gcp.designcenter.SpaceIamPolicy
|
|
117
|
+
*
|
|
118
|
+
* ```typescript
|
|
119
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
120
|
+
* import * as gcp from "@pulumi/gcp";
|
|
121
|
+
*
|
|
122
|
+
* const admin = gcp.organizations.getIAMPolicy({
|
|
123
|
+
* bindings: [{
|
|
124
|
+
* role: "roles/viewer",
|
|
125
|
+
* members: ["user:jane@example.com"],
|
|
126
|
+
* }],
|
|
127
|
+
* });
|
|
128
|
+
* const policy = new gcp.designcenter.SpaceIamPolicy("policy", {
|
|
129
|
+
* project: example.project,
|
|
130
|
+
* location: example.location,
|
|
131
|
+
* spaceId: example.spaceId,
|
|
132
|
+
* policyData: admin.then(admin => admin.policyData),
|
|
133
|
+
* });
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
136
|
+
* ## gcp.designcenter.SpaceIamBinding
|
|
137
|
+
*
|
|
138
|
+
* ```typescript
|
|
139
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
140
|
+
* import * as gcp from "@pulumi/gcp";
|
|
141
|
+
*
|
|
142
|
+
* const binding = new gcp.designcenter.SpaceIamBinding("binding", {
|
|
143
|
+
* project: example.project,
|
|
144
|
+
* location: example.location,
|
|
145
|
+
* spaceId: example.spaceId,
|
|
146
|
+
* role: "roles/viewer",
|
|
147
|
+
* members: ["user:jane@example.com"],
|
|
148
|
+
* });
|
|
149
|
+
* ```
|
|
150
|
+
*
|
|
151
|
+
* ## gcp.designcenter.SpaceIamMember
|
|
152
|
+
*
|
|
153
|
+
* ```typescript
|
|
154
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
155
|
+
* import * as gcp from "@pulumi/gcp";
|
|
156
|
+
*
|
|
157
|
+
* const member = new gcp.designcenter.SpaceIamMember("member", {
|
|
158
|
+
* project: example.project,
|
|
159
|
+
* location: example.location,
|
|
160
|
+
* spaceId: example.spaceId,
|
|
161
|
+
* role: "roles/viewer",
|
|
162
|
+
* member: "user:jane@example.com",
|
|
163
|
+
* });
|
|
164
|
+
* ```
|
|
165
|
+
*
|
|
166
|
+
* ## Import
|
|
167
|
+
*
|
|
168
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms:
|
|
169
|
+
*
|
|
170
|
+
* * projects/{{project}}/locations/{{location}}/spaces/{{space_id}}
|
|
171
|
+
* * {{project}}/{{location}}/{{space_id}}
|
|
172
|
+
* * {{location}}/{{space_id}}
|
|
173
|
+
* * {{space_id}}
|
|
174
|
+
*
|
|
175
|
+
* Any variables not passed in the import command will be taken from the provider configuration.
|
|
176
|
+
*
|
|
177
|
+
* Application Design Center space IAM resources can be imported using the resource identifiers, role, and member.
|
|
178
|
+
*
|
|
179
|
+
* IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
|
180
|
+
* ```sh
|
|
181
|
+
* $ terraform import google_design_center_space_iam_member.editor "projects/{{project}}/locations/{{location}}/spaces/{{space_id}} roles/viewer user:jane@example.com"
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
184
|
+
* IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
|
185
|
+
* ```sh
|
|
186
|
+
* $ terraform import google_design_center_space_iam_binding.editor "projects/{{project}}/locations/{{location}}/spaces/{{space_id}} roles/viewer"
|
|
187
|
+
* ```
|
|
188
|
+
*
|
|
189
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
190
|
+
* ```sh
|
|
191
|
+
* $ pulumi import gcp:designcenter/spaceIamBinding:SpaceIamBinding editor projects/{{project}}/locations/{{location}}/spaces/{{space_id}}
|
|
192
|
+
* ```
|
|
193
|
+
*
|
|
194
|
+
* > **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
|
195
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
196
|
+
*/
|
|
197
|
+
class SpaceIamBinding extends pulumi.CustomResource {
|
|
198
|
+
/**
|
|
199
|
+
* Get an existing SpaceIamBinding resource's state with the given name, ID, and optional extra
|
|
200
|
+
* properties used to qualify the lookup.
|
|
201
|
+
*
|
|
202
|
+
* @param name The _unique_ name of the resulting resource.
|
|
203
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
204
|
+
* @param state Any extra arguments used during the lookup.
|
|
205
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
206
|
+
*/
|
|
207
|
+
static get(name, id, state, opts) {
|
|
208
|
+
return new SpaceIamBinding(name, state, { ...opts, id: id });
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Check whether an existing SpaceIamBinding resource with the given ID exists.
|
|
212
|
+
*
|
|
213
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
214
|
+
* @param state Any extra arguments used during the lookup.
|
|
215
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
216
|
+
*/
|
|
217
|
+
static exists(id, state, opts) {
|
|
218
|
+
return pulumi.runtime.existsResource("gcp:designcenter/spaceIamBinding:SpaceIamBinding", id, state || {}, { ...opts }, undefined);
|
|
219
|
+
}
|
|
220
|
+
/** @internal */
|
|
221
|
+
static __pulumiType = 'gcp:designcenter/spaceIamBinding:SpaceIamBinding';
|
|
222
|
+
/**
|
|
223
|
+
* Returns true if the given object is an instance of SpaceIamBinding. This is designed to work even
|
|
224
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
225
|
+
*/
|
|
226
|
+
static isInstance(obj) {
|
|
227
|
+
if (obj === undefined || obj === null) {
|
|
228
|
+
return false;
|
|
229
|
+
}
|
|
230
|
+
return obj['__pulumiType'] === SpaceIamBinding.__pulumiType;
|
|
231
|
+
}
|
|
232
|
+
constructor(name, argsOrState, opts) {
|
|
233
|
+
let resourceInputs = {};
|
|
234
|
+
opts = opts || {};
|
|
235
|
+
if (opts.id) {
|
|
236
|
+
const state = argsOrState;
|
|
237
|
+
resourceInputs["condition"] = state?.condition;
|
|
238
|
+
resourceInputs["etag"] = state?.etag;
|
|
239
|
+
resourceInputs["location"] = state?.location;
|
|
240
|
+
resourceInputs["members"] = state?.members;
|
|
241
|
+
resourceInputs["project"] = state?.project;
|
|
242
|
+
resourceInputs["role"] = state?.role;
|
|
243
|
+
resourceInputs["spaceId"] = state?.spaceId;
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
const args = argsOrState;
|
|
247
|
+
if (args?.members === undefined && !opts.urn) {
|
|
248
|
+
throw new Error("Missing required property 'members'");
|
|
249
|
+
}
|
|
250
|
+
if (args?.role === undefined && !opts.urn) {
|
|
251
|
+
throw new Error("Missing required property 'role'");
|
|
252
|
+
}
|
|
253
|
+
if (args?.spaceId === undefined && !opts.urn) {
|
|
254
|
+
throw new Error("Missing required property 'spaceId'");
|
|
255
|
+
}
|
|
256
|
+
resourceInputs["condition"] = args?.condition;
|
|
257
|
+
resourceInputs["location"] = args?.location;
|
|
258
|
+
resourceInputs["members"] = args?.members;
|
|
259
|
+
resourceInputs["project"] = args?.project;
|
|
260
|
+
resourceInputs["role"] = args?.role;
|
|
261
|
+
resourceInputs["spaceId"] = args?.spaceId;
|
|
262
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
263
|
+
}
|
|
264
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
265
|
+
super(SpaceIamBinding.__pulumiType, name, resourceInputs, opts);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
exports.SpaceIamBinding = SpaceIamBinding;
|
|
269
|
+
//# sourceMappingURL=spaceIamBinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spaceIamBinding.js","sourceRoot":"","sources":["../../designcenter/spaceIamBinding.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Three different resources help you manage your IAM policy for Application Design Center Space. Each of these resources serves a different use case:
|
|
6
|
+
*
|
|
7
|
+
* * `gcp.designcenter.SpaceIamPolicy`: Authoritative. Sets the IAM policy for the space and replaces any existing policy already attached.
|
|
8
|
+
* * `gcp.designcenter.SpaceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the space are preserved. Members added outside of Terraform for the same role will be detected as drift and removed on the next `pulumi up`.
|
|
9
|
+
* * `gcp.designcenter.SpaceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the space are preserved. Members added outside of Terraform will **not** be detected as drift.
|
|
10
|
+
*
|
|
11
|
+
* A data source can be used to retrieve policy data in advent you do not need creation
|
|
12
|
+
*
|
|
13
|
+
* * `gcp.designcenter.SpaceIamPolicy`: Retrieves the IAM policy for the space
|
|
14
|
+
*
|
|
15
|
+
* > **Note:** `gcp.designcenter.SpaceIamPolicy` **cannot** be used in conjunction with `gcp.designcenter.SpaceIamBinding` and `gcp.designcenter.SpaceIamMember` or they will fight over what your policy should be.
|
|
16
|
+
*
|
|
17
|
+
* > **Note:** `gcp.designcenter.SpaceIamBinding` resources **can be** used in conjunction with `gcp.designcenter.SpaceIamMember` resources **only if** they do not grant privilege to the same role.
|
|
18
|
+
*
|
|
19
|
+
* ## gcp.designcenter.SpaceIamPolicy
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as gcp from "@pulumi/gcp";
|
|
24
|
+
*
|
|
25
|
+
* const admin = gcp.organizations.getIAMPolicy({
|
|
26
|
+
* bindings: [{
|
|
27
|
+
* role: "roles/viewer",
|
|
28
|
+
* members: ["user:jane@example.com"],
|
|
29
|
+
* }],
|
|
30
|
+
* });
|
|
31
|
+
* const policy = new gcp.designcenter.SpaceIamPolicy("policy", {
|
|
32
|
+
* project: example.project,
|
|
33
|
+
* location: example.location,
|
|
34
|
+
* spaceId: example.spaceId,
|
|
35
|
+
* policyData: admin.then(admin => admin.policyData),
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## gcp.designcenter.SpaceIamBinding
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as gcp from "@pulumi/gcp";
|
|
44
|
+
*
|
|
45
|
+
* const binding = new gcp.designcenter.SpaceIamBinding("binding", {
|
|
46
|
+
* project: example.project,
|
|
47
|
+
* location: example.location,
|
|
48
|
+
* spaceId: example.spaceId,
|
|
49
|
+
* role: "roles/viewer",
|
|
50
|
+
* members: ["user:jane@example.com"],
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ## gcp.designcenter.SpaceIamMember
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as gcp from "@pulumi/gcp";
|
|
59
|
+
*
|
|
60
|
+
* const member = new gcp.designcenter.SpaceIamMember("member", {
|
|
61
|
+
* project: example.project,
|
|
62
|
+
* location: example.location,
|
|
63
|
+
* spaceId: example.spaceId,
|
|
64
|
+
* role: "roles/viewer",
|
|
65
|
+
* member: "user:jane@example.com",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* ## This resource supports User Project Overrides.
|
|
70
|
+
*
|
|
71
|
+
* -
|
|
72
|
+
*
|
|
73
|
+
* # IAM policy for Application Design Center Space
|
|
74
|
+
*
|
|
75
|
+
* Three different resources help you manage your IAM policy for Application Design Center Space. Each of these resources serves a different use case:
|
|
76
|
+
*
|
|
77
|
+
* * `gcp.designcenter.SpaceIamPolicy`: Authoritative. Sets the IAM policy for the space and replaces any existing policy already attached.
|
|
78
|
+
* * `gcp.designcenter.SpaceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the space are preserved. Members added outside of Terraform for the same role will be detected as drift and removed on the next `pulumi up`.
|
|
79
|
+
* * `gcp.designcenter.SpaceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the space are preserved. Members added outside of Terraform will **not** be detected as drift.
|
|
80
|
+
*
|
|
81
|
+
* A data source can be used to retrieve policy data in advent you do not need creation
|
|
82
|
+
*
|
|
83
|
+
* * `gcp.designcenter.SpaceIamPolicy`: Retrieves the IAM policy for the space
|
|
84
|
+
*
|
|
85
|
+
* > **Note:** `gcp.designcenter.SpaceIamPolicy` **cannot** be used in conjunction with `gcp.designcenter.SpaceIamBinding` and `gcp.designcenter.SpaceIamMember` or they will fight over what your policy should be.
|
|
86
|
+
*
|
|
87
|
+
* > **Note:** `gcp.designcenter.SpaceIamBinding` resources **can be** used in conjunction with `gcp.designcenter.SpaceIamMember` resources **only if** they do not grant privilege to the same role.
|
|
88
|
+
*
|
|
89
|
+
* ## gcp.designcenter.SpaceIamPolicy
|
|
90
|
+
*
|
|
91
|
+
* ```typescript
|
|
92
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
93
|
+
* import * as gcp from "@pulumi/gcp";
|
|
94
|
+
*
|
|
95
|
+
* const admin = gcp.organizations.getIAMPolicy({
|
|
96
|
+
* bindings: [{
|
|
97
|
+
* role: "roles/viewer",
|
|
98
|
+
* members: ["user:jane@example.com"],
|
|
99
|
+
* }],
|
|
100
|
+
* });
|
|
101
|
+
* const policy = new gcp.designcenter.SpaceIamPolicy("policy", {
|
|
102
|
+
* project: example.project,
|
|
103
|
+
* location: example.location,
|
|
104
|
+
* spaceId: example.spaceId,
|
|
105
|
+
* policyData: admin.then(admin => admin.policyData),
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* ## gcp.designcenter.SpaceIamBinding
|
|
110
|
+
*
|
|
111
|
+
* ```typescript
|
|
112
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
113
|
+
* import * as gcp from "@pulumi/gcp";
|
|
114
|
+
*
|
|
115
|
+
* const binding = new gcp.designcenter.SpaceIamBinding("binding", {
|
|
116
|
+
* project: example.project,
|
|
117
|
+
* location: example.location,
|
|
118
|
+
* spaceId: example.spaceId,
|
|
119
|
+
* role: "roles/viewer",
|
|
120
|
+
* members: ["user:jane@example.com"],
|
|
121
|
+
* });
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* ## gcp.designcenter.SpaceIamMember
|
|
125
|
+
*
|
|
126
|
+
* ```typescript
|
|
127
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
128
|
+
* import * as gcp from "@pulumi/gcp";
|
|
129
|
+
*
|
|
130
|
+
* const member = new gcp.designcenter.SpaceIamMember("member", {
|
|
131
|
+
* project: example.project,
|
|
132
|
+
* location: example.location,
|
|
133
|
+
* spaceId: example.spaceId,
|
|
134
|
+
* role: "roles/viewer",
|
|
135
|
+
* member: "user:jane@example.com",
|
|
136
|
+
* });
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
139
|
+
* ## Import
|
|
140
|
+
*
|
|
141
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms:
|
|
142
|
+
*
|
|
143
|
+
* * projects/{{project}}/locations/{{location}}/spaces/{{space_id}}
|
|
144
|
+
* * {{project}}/{{location}}/{{space_id}}
|
|
145
|
+
* * {{location}}/{{space_id}}
|
|
146
|
+
* * {{space_id}}
|
|
147
|
+
*
|
|
148
|
+
* Any variables not passed in the import command will be taken from the provider configuration.
|
|
149
|
+
*
|
|
150
|
+
* Application Design Center space IAM resources can be imported using the resource identifiers, role, and member.
|
|
151
|
+
*
|
|
152
|
+
* IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
|
153
|
+
* ```sh
|
|
154
|
+
* $ terraform import google_design_center_space_iam_member.editor "projects/{{project}}/locations/{{location}}/spaces/{{space_id}} roles/viewer user:jane@example.com"
|
|
155
|
+
* ```
|
|
156
|
+
*
|
|
157
|
+
* IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
|
158
|
+
* ```sh
|
|
159
|
+
* $ terraform import google_design_center_space_iam_binding.editor "projects/{{project}}/locations/{{location}}/spaces/{{space_id}} roles/viewer"
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
163
|
+
* ```sh
|
|
164
|
+
* $ pulumi import gcp:designcenter/spaceIamMember:SpaceIamMember editor projects/{{project}}/locations/{{location}}/spaces/{{space_id}}
|
|
165
|
+
* ```
|
|
166
|
+
*
|
|
167
|
+
* > **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
|
168
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
169
|
+
*/
|
|
170
|
+
export declare class SpaceIamMember extends pulumi.CustomResource {
|
|
171
|
+
/**
|
|
172
|
+
* Get an existing SpaceIamMember resource's state with the given name, ID, and optional extra
|
|
173
|
+
* properties used to qualify the lookup.
|
|
174
|
+
*
|
|
175
|
+
* @param name The _unique_ name of the resulting resource.
|
|
176
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
177
|
+
* @param state Any extra arguments used during the lookup.
|
|
178
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
179
|
+
*/
|
|
180
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SpaceIamMemberState, opts?: pulumi.CustomResourceOptions): SpaceIamMember;
|
|
181
|
+
/**
|
|
182
|
+
* Check whether an existing SpaceIamMember resource with the given ID exists.
|
|
183
|
+
*
|
|
184
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
185
|
+
* @param state Any extra arguments used during the lookup.
|
|
186
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
187
|
+
*/
|
|
188
|
+
static exists(id: pulumi.Input<string>, state?: SpaceIamMemberState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
189
|
+
/**
|
|
190
|
+
* Returns true if the given object is an instance of SpaceIamMember. This is designed to work even
|
|
191
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
192
|
+
*/
|
|
193
|
+
static isInstance(obj: any): obj is SpaceIamMember;
|
|
194
|
+
readonly condition: pulumi.Output<outputs.designcenter.SpaceIamMemberCondition | undefined>;
|
|
195
|
+
/**
|
|
196
|
+
* (Computed) The etag of the IAM policy.
|
|
197
|
+
*/
|
|
198
|
+
readonly etag: pulumi.Output<string>;
|
|
199
|
+
/**
|
|
200
|
+
* The location of the space. Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
201
|
+
* the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
|
202
|
+
* location is specified, it is taken from the provider configuration.
|
|
203
|
+
*/
|
|
204
|
+
readonly location: pulumi.Output<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Identities that will be granted the privilege in `role`.
|
|
207
|
+
* Each entry can have one of the following values:
|
|
208
|
+
* * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
|
209
|
+
* * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
|
210
|
+
* * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
|
211
|
+
* * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
|
212
|
+
* * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
|
213
|
+
* * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
|
214
|
+
* * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
|
215
|
+
* * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
|
216
|
+
* * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
|
217
|
+
* * **Federated identities**: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the [Principal identifiers documentation](https://cloud.google.com/iam/docs/principal-identifiers#allow) for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
|
|
218
|
+
*/
|
|
219
|
+
readonly member: pulumi.Output<string>;
|
|
220
|
+
/**
|
|
221
|
+
* The ID of the project in which the resource belongs.
|
|
222
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
223
|
+
*/
|
|
224
|
+
readonly project: pulumi.Output<string>;
|
|
225
|
+
/**
|
|
226
|
+
* The role that should be applied. Only one
|
|
227
|
+
* `gcp.designcenter.SpaceIamBinding` can be used per role. Note that custom roles must be of the format
|
|
228
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
229
|
+
*/
|
|
230
|
+
readonly role: pulumi.Output<string>;
|
|
231
|
+
/**
|
|
232
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
233
|
+
*/
|
|
234
|
+
readonly spaceId: pulumi.Output<string>;
|
|
235
|
+
/**
|
|
236
|
+
* Create a SpaceIamMember resource with the given unique name, arguments, and options.
|
|
237
|
+
*
|
|
238
|
+
* @param name The _unique_ name of the resource.
|
|
239
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
240
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
241
|
+
*/
|
|
242
|
+
constructor(name: string, args: SpaceIamMemberArgs, opts?: pulumi.CustomResourceOptions);
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Input properties used for looking up and filtering SpaceIamMember resources.
|
|
246
|
+
*/
|
|
247
|
+
export interface SpaceIamMemberState {
|
|
248
|
+
condition?: pulumi.Input<inputs.designcenter.SpaceIamMemberCondition | undefined>;
|
|
249
|
+
/**
|
|
250
|
+
* (Computed) The etag of the IAM policy.
|
|
251
|
+
*/
|
|
252
|
+
etag?: pulumi.Input<string | undefined>;
|
|
253
|
+
/**
|
|
254
|
+
* The location of the space. Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
255
|
+
* the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
|
256
|
+
* location is specified, it is taken from the provider configuration.
|
|
257
|
+
*/
|
|
258
|
+
location?: pulumi.Input<string | undefined>;
|
|
259
|
+
/**
|
|
260
|
+
* Identities that will be granted the privilege in `role`.
|
|
261
|
+
* Each entry can have one of the following values:
|
|
262
|
+
* * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
|
263
|
+
* * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
|
264
|
+
* * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
|
265
|
+
* * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
|
266
|
+
* * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
|
267
|
+
* * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
|
268
|
+
* * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
|
269
|
+
* * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
|
270
|
+
* * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
|
271
|
+
* * **Federated identities**: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the [Principal identifiers documentation](https://cloud.google.com/iam/docs/principal-identifiers#allow) for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
|
|
272
|
+
*/
|
|
273
|
+
member?: pulumi.Input<string | undefined>;
|
|
274
|
+
/**
|
|
275
|
+
* The ID of the project in which the resource belongs.
|
|
276
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
277
|
+
*/
|
|
278
|
+
project?: pulumi.Input<string | undefined>;
|
|
279
|
+
/**
|
|
280
|
+
* The role that should be applied. Only one
|
|
281
|
+
* `gcp.designcenter.SpaceIamBinding` can be used per role. Note that custom roles must be of the format
|
|
282
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
283
|
+
*/
|
|
284
|
+
role?: pulumi.Input<string | undefined>;
|
|
285
|
+
/**
|
|
286
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
287
|
+
*/
|
|
288
|
+
spaceId?: pulumi.Input<string | undefined>;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* The set of arguments for constructing a SpaceIamMember resource.
|
|
292
|
+
*/
|
|
293
|
+
export interface SpaceIamMemberArgs {
|
|
294
|
+
condition?: pulumi.Input<inputs.designcenter.SpaceIamMemberCondition | undefined>;
|
|
295
|
+
/**
|
|
296
|
+
* The location of the space. Used to find the parent resource to bind the IAM policy to. If not specified,
|
|
297
|
+
* the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
|
|
298
|
+
* location is specified, it is taken from the provider configuration.
|
|
299
|
+
*/
|
|
300
|
+
location?: pulumi.Input<string | undefined>;
|
|
301
|
+
/**
|
|
302
|
+
* Identities that will be granted the privilege in `role`.
|
|
303
|
+
* Each entry can have one of the following values:
|
|
304
|
+
* * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
|
305
|
+
* * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
|
306
|
+
* * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
|
307
|
+
* * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
|
308
|
+
* * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
|
309
|
+
* * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
|
310
|
+
* * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
|
311
|
+
* * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
|
312
|
+
* * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
|
313
|
+
* * **Federated identities**: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the [Principal identifiers documentation](https://cloud.google.com/iam/docs/principal-identifiers#allow) for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
|
|
314
|
+
*/
|
|
315
|
+
member: pulumi.Input<string>;
|
|
316
|
+
/**
|
|
317
|
+
* The ID of the project in which the resource belongs.
|
|
318
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
319
|
+
*/
|
|
320
|
+
project?: pulumi.Input<string | undefined>;
|
|
321
|
+
/**
|
|
322
|
+
* The role that should be applied. Only one
|
|
323
|
+
* `gcp.designcenter.SpaceIamBinding` can be used per role. Note that custom roles must be of the format
|
|
324
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
325
|
+
*/
|
|
326
|
+
role: pulumi.Input<string>;
|
|
327
|
+
/**
|
|
328
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
329
|
+
*/
|
|
330
|
+
spaceId: pulumi.Input<string>;
|
|
331
|
+
}
|
|
332
|
+
//# sourceMappingURL=spaceIamMember.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spaceIamMember.d.ts","sourceRoot":"","sources":["../../designcenter/spaceIamMember.ts"],"names":[],"mappings":"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"}
|