@pulumi/gcp 6.4.0 → 6.6.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/apigee/environmentIamBinding.d.ts +166 -0
- package/apigee/environmentIamBinding.js +155 -0
- package/apigee/environmentIamBinding.js.map +1 -0
- package/apigee/environmentIamMember.d.ts +166 -0
- package/apigee/environmentIamMember.js +155 -0
- package/apigee/environmentIamMember.js.map +1 -0
- package/apigee/environmentIamPolicy.d.ts +156 -0
- package/apigee/environmentIamPolicy.js +148 -0
- package/apigee/environmentIamPolicy.js.map +1 -0
- package/apigee/index.d.ts +3 -0
- package/apigee/index.js +15 -0
- package/apigee/index.js.map +1 -1
- package/bigquery/dataTransferConfig.d.ts +3 -3
- package/bigquery/routine.d.ts +24 -3
- package/bigquery/routine.js +2 -0
- package/bigquery/routine.js.map +1 -1
- package/certificateauthority/authority.d.ts +2 -1
- package/certificateauthority/authority.js +2 -1
- package/certificateauthority/authority.js.map +1 -1
- package/certificateauthority/certificate.d.ts +2 -0
- package/certificateauthority/certificate.js +2 -0
- package/certificateauthority/certificate.js.map +1 -1
- package/certificateauthority/certificateTemplate.d.ts +3 -0
- package/certificateauthority/certificateTemplate.js +3 -0
- package/certificateauthority/certificateTemplate.js.map +1 -1
- package/cloudbuild/trigger.d.ts +7 -0
- package/cloudbuild/trigger.js +7 -0
- package/cloudbuild/trigger.js.map +1 -1
- package/cloudbuild/workerPool.d.ts +60 -0
- package/cloudbuild/workerPool.js +60 -0
- package/cloudbuild/workerPool.js.map +1 -1
- package/cloudfunctions/function.d.ts +12 -0
- package/cloudfunctions/function.js +2 -0
- package/cloudfunctions/function.js.map +1 -1
- package/cloudfunctions/getFunction.d.ts +1 -0
- package/cloudfunctions/getFunction.js.map +1 -1
- package/compute/forwardingRule.d.ts +199 -10
- package/compute/forwardingRule.js +190 -4
- package/compute/forwardingRule.js.map +1 -1
- package/compute/networkPeering.d.ts +5 -5
- package/compute/networkPeering.js +5 -5
- package/compute/packetMirroring.d.ts +1 -1
- package/compute/packetMirroring.js +1 -1
- package/compute/regionBackendService.d.ts +6 -6
- package/compute/subnetwork.d.ts +9 -15
- package/compute/subnetwork.js.map +1 -1
- package/config/vars.d.ts +3 -0
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/container/awsCluster.d.ts +326 -0
- package/container/awsCluster.js +198 -0
- package/container/awsCluster.js.map +1 -0
- package/container/awsNodePool.d.ts +355 -0
- package/container/awsNodePool.js +242 -0
- package/container/awsNodePool.js.map +1 -0
- package/container/azureClient.d.ts +156 -0
- package/container/azureClient.js +110 -0
- package/container/azureClient.js.map +1 -0
- package/container/azureCluster.d.ts +322 -0
- package/container/azureCluster.js +180 -0
- package/container/azureCluster.js.map +1 -0
- package/container/azureNodePool.d.ts +323 -0
- package/container/azureNodePool.js +200 -0
- package/container/azureNodePool.js.map +1 -0
- package/container/getAwsVersions.d.ts +66 -0
- package/container/getAwsVersions.js +42 -0
- package/container/getAwsVersions.js.map +1 -0
- package/container/getAzureVersions.d.ts +66 -0
- package/container/getAzureVersions.js +42 -0
- package/container/getAzureVersions.js.map +1 -0
- package/container/index.d.ts +7 -0
- package/container/index.js +27 -0
- package/container/index.js.map +1 -1
- package/filestore/instance.d.ts +33 -13
- package/filestore/instance.js +7 -12
- package/filestore/instance.js.map +1 -1
- package/notebooks/index.d.ts +3 -0
- package/notebooks/index.js +15 -0
- package/notebooks/index.js.map +1 -1
- package/notebooks/runtimeIamBinding.d.ts +193 -0
- package/notebooks/runtimeIamBinding.js +157 -0
- package/notebooks/runtimeIamBinding.js.map +1 -0
- package/notebooks/runtimeIamMember.d.ts +193 -0
- package/notebooks/runtimeIamMember.js +157 -0
- package/notebooks/runtimeIamMember.js.map +1 -0
- package/notebooks/runtimeIamPolicy.d.ts +183 -0
- package/notebooks/runtimeIamPolicy.js +150 -0
- package/notebooks/runtimeIamPolicy.js.map +1 -0
- package/osconfig/index.d.ts +1 -0
- package/osconfig/index.js +5 -0
- package/osconfig/index.js.map +1 -1
- package/osconfig/osPolicyAssignment.d.ts +672 -0
- package/osconfig/osPolicyAssignment.js +568 -0
- package/osconfig/osPolicyAssignment.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/provider.d.ts +6 -0
- package/provider.js +3 -0
- package/provider.js.map +1 -1
- package/storage/bucket.d.ts +12 -0
- package/storage/bucket.js +2 -0
- package/storage/bucket.js.map +1 -1
- package/storage/getBucket.d.ts +1 -0
- package/storage/getBucket.js.map +1 -1
- package/types/input.d.ts +7380 -6218
- package/types/output.d.ts +6360 -5196
- package/vertex/aiMetadataStore.d.ts +3 -3
package/filestore/instance.js
CHANGED
|
@@ -28,12 +28,12 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* capacityGb: 2660,
|
|
29
29
|
* name: "share1",
|
|
30
30
|
* },
|
|
31
|
+
* location: "us-central1-b",
|
|
31
32
|
* networks: [{
|
|
32
33
|
* modes: ["MODE_IPV4"],
|
|
33
34
|
* network: "default",
|
|
34
35
|
* }],
|
|
35
36
|
* tier: "PREMIUM",
|
|
36
|
-
* zone: "us-central1-b",
|
|
37
37
|
* });
|
|
38
38
|
* ```
|
|
39
39
|
* ### Filestore Instance Full
|
|
@@ -43,7 +43,7 @@ const utilities = require("../utilities");
|
|
|
43
43
|
* import * as gcp from "@pulumi/gcp";
|
|
44
44
|
*
|
|
45
45
|
* const instance = new gcp.filestore.Instance("instance", {
|
|
46
|
-
*
|
|
46
|
+
* location: "us-central1-b",
|
|
47
47
|
* tier: "BASIC_SSD",
|
|
48
48
|
* fileShares: {
|
|
49
49
|
* capacityGb: 2660,
|
|
@@ -78,19 +78,15 @@ const utilities = require("../utilities");
|
|
|
78
78
|
* Instance can be imported using any of these accepted formats
|
|
79
79
|
*
|
|
80
80
|
* ```sh
|
|
81
|
-
* $ pulumi import gcp:filestore/instance:Instance default projects/{{project}}/locations/{{
|
|
81
|
+
* $ pulumi import gcp:filestore/instance:Instance default projects/{{project}}/locations/{{location}}/instances/{{name}}
|
|
82
82
|
* ```
|
|
83
83
|
*
|
|
84
84
|
* ```sh
|
|
85
|
-
* $ pulumi import gcp:filestore/instance:Instance default {{project}}/{{
|
|
85
|
+
* $ pulumi import gcp:filestore/instance:Instance default {{project}}/{{location}}/{{name}}
|
|
86
86
|
* ```
|
|
87
87
|
*
|
|
88
88
|
* ```sh
|
|
89
|
-
* $ pulumi import gcp:filestore/instance:Instance default {{
|
|
90
|
-
* ```
|
|
91
|
-
*
|
|
92
|
-
* ```sh
|
|
93
|
-
* $ pulumi import gcp:filestore/instance:Instance default {{name}}
|
|
89
|
+
* $ pulumi import gcp:filestore/instance:Instance default {{location}}/{{name}}
|
|
94
90
|
* ```
|
|
95
91
|
*/
|
|
96
92
|
class Instance extends pulumi.CustomResource {
|
|
@@ -104,6 +100,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
104
100
|
inputs["etag"] = state ? state.etag : undefined;
|
|
105
101
|
inputs["fileShares"] = state ? state.fileShares : undefined;
|
|
106
102
|
inputs["labels"] = state ? state.labels : undefined;
|
|
103
|
+
inputs["location"] = state ? state.location : undefined;
|
|
107
104
|
inputs["name"] = state ? state.name : undefined;
|
|
108
105
|
inputs["networks"] = state ? state.networks : undefined;
|
|
109
106
|
inputs["project"] = state ? state.project : undefined;
|
|
@@ -121,12 +118,10 @@ class Instance extends pulumi.CustomResource {
|
|
|
121
118
|
if ((!args || args.tier === undefined) && !opts.urn) {
|
|
122
119
|
throw new Error("Missing required property 'tier'");
|
|
123
120
|
}
|
|
124
|
-
if ((!args || args.zone === undefined) && !opts.urn) {
|
|
125
|
-
throw new Error("Missing required property 'zone'");
|
|
126
|
-
}
|
|
127
121
|
inputs["description"] = args ? args.description : undefined;
|
|
128
122
|
inputs["fileShares"] = args ? args.fileShares : undefined;
|
|
129
123
|
inputs["labels"] = args ? args.labels : undefined;
|
|
124
|
+
inputs["location"] = args ? args.location : undefined;
|
|
130
125
|
inputs["name"] = args ? args.name : undefined;
|
|
131
126
|
inputs["networks"] = args ? args.networks : undefined;
|
|
132
127
|
inputs["project"] = args ? args.project : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../filestore/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../filestore/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA2F/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CA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S,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IArID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAuIC;AAzHG,gBAAgB;AACO,qBAAY,GAAG,iCAAiC,CAAC"}
|
package/notebooks/index.d.ts
CHANGED
package/notebooks/index.js
CHANGED
|
@@ -22,6 +22,9 @@ __exportStar(require("./instanceIamMember"), exports);
|
|
|
22
22
|
__exportStar(require("./instanceIamPolicy"), exports);
|
|
23
23
|
__exportStar(require("./location"), exports);
|
|
24
24
|
__exportStar(require("./runtime"), exports);
|
|
25
|
+
__exportStar(require("./runtimeIamBinding"), exports);
|
|
26
|
+
__exportStar(require("./runtimeIamMember"), exports);
|
|
27
|
+
__exportStar(require("./runtimeIamPolicy"), exports);
|
|
25
28
|
// Import resources to register:
|
|
26
29
|
const environment_1 = require("./environment");
|
|
27
30
|
const instance_1 = require("./instance");
|
|
@@ -30,6 +33,9 @@ const instanceIamMember_1 = require("./instanceIamMember");
|
|
|
30
33
|
const instanceIamPolicy_1 = require("./instanceIamPolicy");
|
|
31
34
|
const location_1 = require("./location");
|
|
32
35
|
const runtime_1 = require("./runtime");
|
|
36
|
+
const runtimeIamBinding_1 = require("./runtimeIamBinding");
|
|
37
|
+
const runtimeIamMember_1 = require("./runtimeIamMember");
|
|
38
|
+
const runtimeIamPolicy_1 = require("./runtimeIamPolicy");
|
|
33
39
|
const _module = {
|
|
34
40
|
version: utilities.getVersion(),
|
|
35
41
|
construct: (name, type, urn) => {
|
|
@@ -48,6 +54,12 @@ const _module = {
|
|
|
48
54
|
return new location_1.Location(name, undefined, { urn });
|
|
49
55
|
case "gcp:notebooks/runtime:Runtime":
|
|
50
56
|
return new runtime_1.Runtime(name, undefined, { urn });
|
|
57
|
+
case "gcp:notebooks/runtimeIamBinding:RuntimeIamBinding":
|
|
58
|
+
return new runtimeIamBinding_1.RuntimeIamBinding(name, undefined, { urn });
|
|
59
|
+
case "gcp:notebooks/runtimeIamMember:RuntimeIamMember":
|
|
60
|
+
return new runtimeIamMember_1.RuntimeIamMember(name, undefined, { urn });
|
|
61
|
+
case "gcp:notebooks/runtimeIamPolicy:RuntimeIamPolicy":
|
|
62
|
+
return new runtimeIamPolicy_1.RuntimeIamPolicy(name, undefined, { urn });
|
|
51
63
|
default:
|
|
52
64
|
throw new Error(`unknown resource type ${type}`);
|
|
53
65
|
}
|
|
@@ -60,4 +72,7 @@ pulumi.runtime.registerResourceModule("gcp", "notebooks/instanceIamMember", _mod
|
|
|
60
72
|
pulumi.runtime.registerResourceModule("gcp", "notebooks/instanceIamPolicy", _module);
|
|
61
73
|
pulumi.runtime.registerResourceModule("gcp", "notebooks/location", _module);
|
|
62
74
|
pulumi.runtime.registerResourceModule("gcp", "notebooks/runtime", _module);
|
|
75
|
+
pulumi.runtime.registerResourceModule("gcp", "notebooks/runtimeIamBinding", _module);
|
|
76
|
+
pulumi.runtime.registerResourceModule("gcp", "notebooks/runtimeIamMember", _module);
|
|
77
|
+
pulumi.runtime.registerResourceModule("gcp", "notebooks/runtimeIamPolicy", _module);
|
|
63
78
|
//# sourceMappingURL=index.js.map
|
package/notebooks/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../notebooks/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,gDAA8B;AAC9B,6CAA2B;AAC3B,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,6CAA2B;AAC3B,4CAA0B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../notebooks/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,gDAA8B;AAC9B,6CAA2B;AAC3B,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,6CAA2B;AAC3B,4CAA0B;AAC1B,sDAAoC;AACpC,qDAAmC;AACnC,qDAAmC;AAEnC,gCAAgC;AAChC,+CAA4C;AAC5C,yCAAsC;AACtC,6DAA0D;AAC1D,2DAAwD;AACxD,2DAAwD;AACxD,yCAAsC;AACtC,uCAAoC;AACpC,2DAAwD;AACxD,yDAAsD;AACtD,yDAAsD;AAEtD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,uCAAuC;gBACxC,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,iCAAiC;gBAClC,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,qDAAqD;gBACtD,OAAO,IAAI,uCAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,KAAK,mDAAmD;gB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,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
|
|
5
|
+
*
|
|
6
|
+
* * `gcp.notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached.
|
|
7
|
+
* * `gcp.notebooks.RuntimeIamBinding`: 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 runtime are preserved.
|
|
8
|
+
* * `gcp.notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
|
|
9
|
+
*
|
|
10
|
+
* > **Note:** `gcp.notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `gcp.notebooks.RuntimeIamBinding` and `gcp.notebooks.RuntimeIamMember` or they will fight over what your policy should be.
|
|
11
|
+
*
|
|
12
|
+
* > **Note:** `gcp.notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `gcp.notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
|
|
13
|
+
*
|
|
14
|
+
* ## google\_notebooks\_runtime\_iam\_policy
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as gcp from "@pulumi/gcp";
|
|
19
|
+
*
|
|
20
|
+
* const admin = gcp.organizations.getIAMPolicy({
|
|
21
|
+
* bindings: [{
|
|
22
|
+
* role: "roles/viewer",
|
|
23
|
+
* members: ["user:jane@example.com"],
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* const policy = new gcp.notebooks.RuntimeIamPolicy("policy", {
|
|
27
|
+
* project: google_notebooks_runtime.runtime.project,
|
|
28
|
+
* location: google_notebooks_runtime.runtime.location,
|
|
29
|
+
* runtimeName: google_notebooks_runtime.runtime.name,
|
|
30
|
+
* policyData: admin.then(admin => admin.policyData),
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## google\_notebooks\_runtime\_iam\_binding
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as gcp from "@pulumi/gcp";
|
|
39
|
+
*
|
|
40
|
+
* const binding = new gcp.notebooks.RuntimeIamBinding("binding", {
|
|
41
|
+
* project: google_notebooks_runtime.runtime.project,
|
|
42
|
+
* location: google_notebooks_runtime.runtime.location,
|
|
43
|
+
* runtimeName: google_notebooks_runtime.runtime.name,
|
|
44
|
+
* role: "roles/viewer",
|
|
45
|
+
* members: ["user:jane@example.com"],
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## google\_notebooks\_runtime\_iam\_member
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as gcp from "@pulumi/gcp";
|
|
54
|
+
*
|
|
55
|
+
* const member = new gcp.notebooks.RuntimeIamMember("member", {
|
|
56
|
+
* project: google_notebooks_runtime.runtime.project,
|
|
57
|
+
* location: google_notebooks_runtime.runtime.location,
|
|
58
|
+
* runtimeName: google_notebooks_runtime.runtime.name,
|
|
59
|
+
* role: "roles/viewer",
|
|
60
|
+
* member: "user:jane@example.com",
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* ## Import
|
|
65
|
+
*
|
|
66
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} * {{project}}/{{location}}/{{runtime_name}} * {{location}}/{{runtime_name}} * {{runtime_name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud AI Notebooks runtime IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
67
|
+
*
|
|
68
|
+
* ```sh
|
|
69
|
+
* $ pulumi import gcp:notebooks/runtimeIamBinding:RuntimeIamBinding editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} roles/viewer user:jane@example.com"
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
73
|
+
*
|
|
74
|
+
* ```sh
|
|
75
|
+
* $ pulumi import gcp:notebooks/runtimeIamBinding:RuntimeIamBinding editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} roles/viewer"
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
79
|
+
*
|
|
80
|
+
* ```sh
|
|
81
|
+
* $ pulumi import gcp:notebooks/runtimeIamBinding:RuntimeIamBinding editor projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}}
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
85
|
+
*
|
|
86
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
87
|
+
*/
|
|
88
|
+
export declare class RuntimeIamBinding extends pulumi.CustomResource {
|
|
89
|
+
/**
|
|
90
|
+
* Get an existing RuntimeIamBinding resource's state with the given name, ID, and optional extra
|
|
91
|
+
* properties used to qualify the lookup.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resulting resource.
|
|
94
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
+
* @param state Any extra arguments used during the lookup.
|
|
96
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
+
*/
|
|
98
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuntimeIamBindingState, opts?: pulumi.CustomResourceOptions): RuntimeIamBinding;
|
|
99
|
+
/**
|
|
100
|
+
* Returns true if the given object is an instance of RuntimeIamBinding. This is designed to work even
|
|
101
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
102
|
+
*/
|
|
103
|
+
static isInstance(obj: any): obj is RuntimeIamBinding;
|
|
104
|
+
readonly condition: pulumi.Output<outputs.notebooks.RuntimeIamBindingCondition | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* (Computed) The etag of the IAM policy.
|
|
107
|
+
*/
|
|
108
|
+
readonly etag: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* A reference to the zone where the machine resides. Used to find the parent resource to bind the IAM policy to
|
|
111
|
+
*/
|
|
112
|
+
readonly location: pulumi.Output<string>;
|
|
113
|
+
readonly members: pulumi.Output<string[]>;
|
|
114
|
+
/**
|
|
115
|
+
* The ID of the project in which the resource belongs.
|
|
116
|
+
* 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.
|
|
117
|
+
*/
|
|
118
|
+
readonly project: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The role that should be applied. Only one
|
|
121
|
+
* `gcp.notebooks.RuntimeIamBinding` can be used per role. Note that custom roles must be of the format
|
|
122
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
123
|
+
*/
|
|
124
|
+
readonly role: pulumi.Output<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
127
|
+
*/
|
|
128
|
+
readonly runtimeName: pulumi.Output<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Create a RuntimeIamBinding resource with the given unique name, arguments, and options.
|
|
131
|
+
*
|
|
132
|
+
* @param name The _unique_ name of the resource.
|
|
133
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
134
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
135
|
+
*/
|
|
136
|
+
constructor(name: string, args: RuntimeIamBindingArgs, opts?: pulumi.CustomResourceOptions);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Input properties used for looking up and filtering RuntimeIamBinding resources.
|
|
140
|
+
*/
|
|
141
|
+
export interface RuntimeIamBindingState {
|
|
142
|
+
condition?: pulumi.Input<inputs.notebooks.RuntimeIamBindingCondition>;
|
|
143
|
+
/**
|
|
144
|
+
* (Computed) The etag of the IAM policy.
|
|
145
|
+
*/
|
|
146
|
+
etag?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* A reference to the zone where the machine resides. Used to find the parent resource to bind the IAM policy to
|
|
149
|
+
*/
|
|
150
|
+
location?: pulumi.Input<string>;
|
|
151
|
+
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
152
|
+
/**
|
|
153
|
+
* The ID of the project in which the resource belongs.
|
|
154
|
+
* 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.
|
|
155
|
+
*/
|
|
156
|
+
project?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The role that should be applied. Only one
|
|
159
|
+
* `gcp.notebooks.RuntimeIamBinding` can be used per role. Note that custom roles must be of the format
|
|
160
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
161
|
+
*/
|
|
162
|
+
role?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
165
|
+
*/
|
|
166
|
+
runtimeName?: pulumi.Input<string>;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* The set of arguments for constructing a RuntimeIamBinding resource.
|
|
170
|
+
*/
|
|
171
|
+
export interface RuntimeIamBindingArgs {
|
|
172
|
+
condition?: pulumi.Input<inputs.notebooks.RuntimeIamBindingCondition>;
|
|
173
|
+
/**
|
|
174
|
+
* A reference to the zone where the machine resides. Used to find the parent resource to bind the IAM policy to
|
|
175
|
+
*/
|
|
176
|
+
location?: pulumi.Input<string>;
|
|
177
|
+
members: pulumi.Input<pulumi.Input<string>[]>;
|
|
178
|
+
/**
|
|
179
|
+
* The ID of the project in which the resource belongs.
|
|
180
|
+
* 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.
|
|
181
|
+
*/
|
|
182
|
+
project?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* The role that should be applied. Only one
|
|
185
|
+
* `gcp.notebooks.RuntimeIamBinding` can be used per role. Note that custom roles must be of the format
|
|
186
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
187
|
+
*/
|
|
188
|
+
role: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
191
|
+
*/
|
|
192
|
+
runtimeName: pulumi.Input<string>;
|
|
193
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RuntimeIamBinding = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
|
|
10
|
+
*
|
|
11
|
+
* * `gcp.notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached.
|
|
12
|
+
* * `gcp.notebooks.RuntimeIamBinding`: 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 runtime are preserved.
|
|
13
|
+
* * `gcp.notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
|
|
14
|
+
*
|
|
15
|
+
* > **Note:** `gcp.notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `gcp.notebooks.RuntimeIamBinding` and `gcp.notebooks.RuntimeIamMember` or they will fight over what your policy should be.
|
|
16
|
+
*
|
|
17
|
+
* > **Note:** `gcp.notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `gcp.notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
|
|
18
|
+
*
|
|
19
|
+
* ## google\_notebooks\_runtime\_iam\_policy
|
|
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.notebooks.RuntimeIamPolicy("policy", {
|
|
32
|
+
* project: google_notebooks_runtime.runtime.project,
|
|
33
|
+
* location: google_notebooks_runtime.runtime.location,
|
|
34
|
+
* runtimeName: google_notebooks_runtime.runtime.name,
|
|
35
|
+
* policyData: admin.then(admin => admin.policyData),
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## google\_notebooks\_runtime\_iam\_binding
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as gcp from "@pulumi/gcp";
|
|
44
|
+
*
|
|
45
|
+
* const binding = new gcp.notebooks.RuntimeIamBinding("binding", {
|
|
46
|
+
* project: google_notebooks_runtime.runtime.project,
|
|
47
|
+
* location: google_notebooks_runtime.runtime.location,
|
|
48
|
+
* runtimeName: google_notebooks_runtime.runtime.name,
|
|
49
|
+
* role: "roles/viewer",
|
|
50
|
+
* members: ["user:jane@example.com"],
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ## google\_notebooks\_runtime\_iam\_member
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as gcp from "@pulumi/gcp";
|
|
59
|
+
*
|
|
60
|
+
* const member = new gcp.notebooks.RuntimeIamMember("member", {
|
|
61
|
+
* project: google_notebooks_runtime.runtime.project,
|
|
62
|
+
* location: google_notebooks_runtime.runtime.location,
|
|
63
|
+
* runtimeName: google_notebooks_runtime.runtime.name,
|
|
64
|
+
* role: "roles/viewer",
|
|
65
|
+
* member: "user:jane@example.com",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* ## Import
|
|
70
|
+
*
|
|
71
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} * {{project}}/{{location}}/{{runtime_name}} * {{location}}/{{runtime_name}} * {{runtime_name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud AI Notebooks runtime IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
72
|
+
*
|
|
73
|
+
* ```sh
|
|
74
|
+
* $ pulumi import gcp:notebooks/runtimeIamBinding:RuntimeIamBinding editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} roles/viewer user:jane@example.com"
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
78
|
+
*
|
|
79
|
+
* ```sh
|
|
80
|
+
* $ pulumi import gcp:notebooks/runtimeIamBinding:RuntimeIamBinding editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} roles/viewer"
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
84
|
+
*
|
|
85
|
+
* ```sh
|
|
86
|
+
* $ pulumi import gcp:notebooks/runtimeIamBinding:RuntimeIamBinding editor projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}}
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
90
|
+
*
|
|
91
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
92
|
+
*/
|
|
93
|
+
class RuntimeIamBinding extends pulumi.CustomResource {
|
|
94
|
+
constructor(name, argsOrState, opts) {
|
|
95
|
+
let inputs = {};
|
|
96
|
+
opts = opts || {};
|
|
97
|
+
if (opts.id) {
|
|
98
|
+
const state = argsOrState;
|
|
99
|
+
inputs["condition"] = state ? state.condition : undefined;
|
|
100
|
+
inputs["etag"] = state ? state.etag : undefined;
|
|
101
|
+
inputs["location"] = state ? state.location : undefined;
|
|
102
|
+
inputs["members"] = state ? state.members : undefined;
|
|
103
|
+
inputs["project"] = state ? state.project : undefined;
|
|
104
|
+
inputs["role"] = state ? state.role : undefined;
|
|
105
|
+
inputs["runtimeName"] = state ? state.runtimeName : undefined;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
const args = argsOrState;
|
|
109
|
+
if ((!args || args.members === undefined) && !opts.urn) {
|
|
110
|
+
throw new Error("Missing required property 'members'");
|
|
111
|
+
}
|
|
112
|
+
if ((!args || args.role === undefined) && !opts.urn) {
|
|
113
|
+
throw new Error("Missing required property 'role'");
|
|
114
|
+
}
|
|
115
|
+
if ((!args || args.runtimeName === undefined) && !opts.urn) {
|
|
116
|
+
throw new Error("Missing required property 'runtimeName'");
|
|
117
|
+
}
|
|
118
|
+
inputs["condition"] = args ? args.condition : undefined;
|
|
119
|
+
inputs["location"] = args ? args.location : undefined;
|
|
120
|
+
inputs["members"] = args ? args.members : undefined;
|
|
121
|
+
inputs["project"] = args ? args.project : undefined;
|
|
122
|
+
inputs["role"] = args ? args.role : undefined;
|
|
123
|
+
inputs["runtimeName"] = args ? args.runtimeName : undefined;
|
|
124
|
+
inputs["etag"] = undefined /*out*/;
|
|
125
|
+
}
|
|
126
|
+
if (!opts.version) {
|
|
127
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
128
|
+
}
|
|
129
|
+
super(RuntimeIamBinding.__pulumiType, name, inputs, opts);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Get an existing RuntimeIamBinding resource's state with the given name, ID, and optional extra
|
|
133
|
+
* properties used to qualify the lookup.
|
|
134
|
+
*
|
|
135
|
+
* @param name The _unique_ name of the resulting resource.
|
|
136
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
137
|
+
* @param state Any extra arguments used during the lookup.
|
|
138
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
139
|
+
*/
|
|
140
|
+
static get(name, id, state, opts) {
|
|
141
|
+
return new RuntimeIamBinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Returns true if the given object is an instance of RuntimeIamBinding. This is designed to work even
|
|
145
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
146
|
+
*/
|
|
147
|
+
static isInstance(obj) {
|
|
148
|
+
if (obj === undefined || obj === null) {
|
|
149
|
+
return false;
|
|
150
|
+
}
|
|
151
|
+
return obj['__pulumiType'] === RuntimeIamBinding.__pulumiType;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.RuntimeIamBinding = RuntimeIamBinding;
|
|
155
|
+
/** @internal */
|
|
156
|
+
RuntimeIamBinding.__pulumiType = 'gcp:notebooks/runtimeIamBinding:RuntimeIamBinding';
|
|
157
|
+
//# sourceMappingURL=runtimeIamBinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtimeIamBinding.js","sourceRoot":"","sources":["../../notebooks/runtimeIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IA8DxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK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