@pulumi/gcp 6.48.0-alpha.1674147598 → 6.48.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/billing/budget.d.ts +5 -1
- package/billing/budget.js +5 -1
- package/billing/budget.js.map +1 -1
- package/cloudrunv2/index.d.ts +18 -0
- package/cloudrunv2/index.js +31 -1
- package/cloudrunv2/index.js.map +1 -1
- package/cloudrunv2/jobIamBinding.d.ts +191 -0
- package/cloudrunv2/jobIamBinding.js +149 -0
- package/cloudrunv2/jobIamBinding.js.map +1 -0
- package/cloudrunv2/jobIamMember.d.ts +191 -0
- package/cloudrunv2/jobIamMember.js +149 -0
- package/cloudrunv2/jobIamMember.js.map +1 -0
- package/cloudrunv2/jobIamPolicy.d.ts +180 -0
- package/cloudrunv2/jobIamPolicy.js +142 -0
- package/cloudrunv2/jobIamPolicy.js.map +1 -0
- package/cloudrunv2/service.d.ts +24 -0
- package/cloudrunv2/service.js +2 -0
- package/cloudrunv2/service.js.map +1 -1
- package/cloudrunv2/serviceIamBinding.d.ts +191 -0
- package/cloudrunv2/serviceIamBinding.js +149 -0
- package/cloudrunv2/serviceIamBinding.js.map +1 -0
- package/cloudrunv2/serviceIamMember.d.ts +191 -0
- package/cloudrunv2/serviceIamMember.js +149 -0
- package/cloudrunv2/serviceIamMember.js.map +1 -0
- package/cloudrunv2/serviceIamPolicy.d.ts +180 -0
- package/cloudrunv2/serviceIamPolicy.js +142 -0
- package/cloudrunv2/serviceIamPolicy.js.map +1 -0
- package/compute/backendService.d.ts +12 -0
- package/compute/backendService.js +2 -0
- package/compute/backendService.js.map +1 -1
- package/compute/getBackendService.d.ts +1 -0
- package/compute/getBackendService.js.map +1 -1
- package/compute/getNetworkPeering.d.ts +103 -0
- package/compute/getNetworkPeering.js +76 -0
- package/compute/getNetworkPeering.js.map +1 -0
- package/compute/getRouterNat.d.ts +116 -0
- package/compute/getRouterNat.js +60 -0
- package/compute/getRouterNat.js.map +1 -0
- package/compute/index.d.ts +6 -0
- package/compute/index.js +10 -3
- package/compute/index.js.map +1 -1
- package/dataloss/preventionDeidentifyTemplate.d.ts +36 -0
- package/dataloss/preventionDeidentifyTemplate.js.map +1 -1
- package/firebase/databaseInstance.d.ts +10 -6
- package/firebase/databaseInstance.js +7 -6
- package/firebase/databaseInstance.js.map +1 -1
- package/gkebackup/backupPlanIamBinding.d.ts +194 -0
- package/gkebackup/backupPlanIamBinding.js +149 -0
- package/gkebackup/backupPlanIamBinding.js.map +1 -0
- package/gkebackup/backupPlanIamMember.d.ts +194 -0
- package/gkebackup/backupPlanIamMember.js +149 -0
- package/gkebackup/backupPlanIamMember.js.map +1 -0
- package/gkebackup/backupPlanIamPolicy.d.ts +183 -0
- package/gkebackup/backupPlanIamPolicy.js +142 -0
- package/gkebackup/backupPlanIamPolicy.js.map +1 -0
- package/gkebackup/index.d.ts +9 -0
- package/gkebackup/index.js +16 -1
- package/gkebackup/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/sql/sourceRepresentationInstance.d.ts +72 -0
- package/sql/sourceRepresentationInstance.js +12 -0
- package/sql/sourceRepresentationInstance.js.map +1 -1
- package/types/input.d.ts +1028 -116
- package/types/output.d.ts +1057 -102
package/billing/budget.d.ts
CHANGED
|
@@ -79,8 +79,12 @@ import * as outputs from "../types/output";
|
|
|
79
79
|
* displayName: "Example Billing Budget",
|
|
80
80
|
* budgetFilter: {
|
|
81
81
|
* projects: [project.then(project => `projects/${project.number}`)],
|
|
82
|
-
* creditTypesTreatment: "
|
|
82
|
+
* creditTypesTreatment: "INCLUDE_SPECIFIED_CREDITS",
|
|
83
83
|
* services: ["services/24E6-581D-38E5"],
|
|
84
|
+
* creditTypes: [
|
|
85
|
+
* "PROMOTION",
|
|
86
|
+
* "FREE_TIER",
|
|
87
|
+
* ],
|
|
84
88
|
* },
|
|
85
89
|
* amount: {
|
|
86
90
|
* specifiedAmount: {
|
package/billing/budget.js
CHANGED
|
@@ -83,8 +83,12 @@ const utilities = require("../utilities");
|
|
|
83
83
|
* displayName: "Example Billing Budget",
|
|
84
84
|
* budgetFilter: {
|
|
85
85
|
* projects: [project.then(project => `projects/${project.number}`)],
|
|
86
|
-
* creditTypesTreatment: "
|
|
86
|
+
* creditTypesTreatment: "INCLUDE_SPECIFIED_CREDITS",
|
|
87
87
|
* services: ["services/24E6-581D-38E5"],
|
|
88
|
+
* creditTypes: [
|
|
89
|
+
* "PROMOTION",
|
|
90
|
+
* "FREE_TIER",
|
|
91
|
+
* ],
|
|
88
92
|
* },
|
|
89
93
|
* amount: {
|
|
90
94
|
* specifiedAmount: {
|
package/billing/budget.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"budget.js","sourceRoot":"","sources":["../../billing/budget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"budget.js","sourceRoot":"","sources":["../../billing/budget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgNG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD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AC;IAC3D,CAAC;;AA1GL,wBA2GC;AA7FG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
|
package/cloudrunv2/index.d.ts
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
export { JobArgs, JobState } from "./job";
|
|
2
2
|
export type Job = import("./job").Job;
|
|
3
3
|
export declare const Job: typeof import("./job").Job;
|
|
4
|
+
export { JobIamBindingArgs, JobIamBindingState } from "./jobIamBinding";
|
|
5
|
+
export type JobIamBinding = import("./jobIamBinding").JobIamBinding;
|
|
6
|
+
export declare const JobIamBinding: typeof import("./jobIamBinding").JobIamBinding;
|
|
7
|
+
export { JobIamMemberArgs, JobIamMemberState } from "./jobIamMember";
|
|
8
|
+
export type JobIamMember = import("./jobIamMember").JobIamMember;
|
|
9
|
+
export declare const JobIamMember: typeof import("./jobIamMember").JobIamMember;
|
|
10
|
+
export { JobIamPolicyArgs, JobIamPolicyState } from "./jobIamPolicy";
|
|
11
|
+
export type JobIamPolicy = import("./jobIamPolicy").JobIamPolicy;
|
|
12
|
+
export declare const JobIamPolicy: typeof import("./jobIamPolicy").JobIamPolicy;
|
|
4
13
|
export { ServiceArgs, ServiceState } from "./service";
|
|
5
14
|
export type Service = import("./service").Service;
|
|
6
15
|
export declare const Service: typeof import("./service").Service;
|
|
16
|
+
export { ServiceIamBindingArgs, ServiceIamBindingState } from "./serviceIamBinding";
|
|
17
|
+
export type ServiceIamBinding = import("./serviceIamBinding").ServiceIamBinding;
|
|
18
|
+
export declare const ServiceIamBinding: typeof import("./serviceIamBinding").ServiceIamBinding;
|
|
19
|
+
export { ServiceIamMemberArgs, ServiceIamMemberState } from "./serviceIamMember";
|
|
20
|
+
export type ServiceIamMember = import("./serviceIamMember").ServiceIamMember;
|
|
21
|
+
export declare const ServiceIamMember: typeof import("./serviceIamMember").ServiceIamMember;
|
|
22
|
+
export { ServiceIamPolicyArgs, ServiceIamPolicyState } from "./serviceIamPolicy";
|
|
23
|
+
export type ServiceIamPolicy = import("./serviceIamPolicy").ServiceIamPolicy;
|
|
24
|
+
export declare const ServiceIamPolicy: typeof import("./serviceIamPolicy").ServiceIamPolicy;
|
package/cloudrunv2/index.js
CHANGED
|
@@ -2,26 +2,56 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Service = exports.Job = void 0;
|
|
5
|
+
exports.ServiceIamPolicy = exports.ServiceIamMember = exports.ServiceIamBinding = exports.Service = exports.JobIamPolicy = exports.JobIamMember = exports.JobIamBinding = exports.Job = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Job = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Job"], () => require("./job"));
|
|
10
|
+
exports.JobIamBinding = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["JobIamBinding"], () => require("./jobIamBinding"));
|
|
12
|
+
exports.JobIamMember = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["JobIamMember"], () => require("./jobIamMember"));
|
|
14
|
+
exports.JobIamPolicy = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["JobIamPolicy"], () => require("./jobIamPolicy"));
|
|
10
16
|
exports.Service = null;
|
|
11
17
|
utilities.lazyLoad(exports, ["Service"], () => require("./service"));
|
|
18
|
+
exports.ServiceIamBinding = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["ServiceIamBinding"], () => require("./serviceIamBinding"));
|
|
20
|
+
exports.ServiceIamMember = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["ServiceIamMember"], () => require("./serviceIamMember"));
|
|
22
|
+
exports.ServiceIamPolicy = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["ServiceIamPolicy"], () => require("./serviceIamPolicy"));
|
|
12
24
|
const _module = {
|
|
13
25
|
version: utilities.getVersion(),
|
|
14
26
|
construct: (name, type, urn) => {
|
|
15
27
|
switch (type) {
|
|
16
28
|
case "gcp:cloudrunv2/job:Job":
|
|
17
29
|
return new exports.Job(name, undefined, { urn });
|
|
30
|
+
case "gcp:cloudrunv2/jobIamBinding:JobIamBinding":
|
|
31
|
+
return new exports.JobIamBinding(name, undefined, { urn });
|
|
32
|
+
case "gcp:cloudrunv2/jobIamMember:JobIamMember":
|
|
33
|
+
return new exports.JobIamMember(name, undefined, { urn });
|
|
34
|
+
case "gcp:cloudrunv2/jobIamPolicy:JobIamPolicy":
|
|
35
|
+
return new exports.JobIamPolicy(name, undefined, { urn });
|
|
18
36
|
case "gcp:cloudrunv2/service:Service":
|
|
19
37
|
return new exports.Service(name, undefined, { urn });
|
|
38
|
+
case "gcp:cloudrunv2/serviceIamBinding:ServiceIamBinding":
|
|
39
|
+
return new exports.ServiceIamBinding(name, undefined, { urn });
|
|
40
|
+
case "gcp:cloudrunv2/serviceIamMember:ServiceIamMember":
|
|
41
|
+
return new exports.ServiceIamMember(name, undefined, { urn });
|
|
42
|
+
case "gcp:cloudrunv2/serviceIamPolicy:ServiceIamPolicy":
|
|
43
|
+
return new exports.ServiceIamPolicy(name, undefined, { urn });
|
|
20
44
|
default:
|
|
21
45
|
throw new Error(`unknown resource type ${type}`);
|
|
22
46
|
}
|
|
23
47
|
},
|
|
24
48
|
};
|
|
25
49
|
pulumi.runtime.registerResourceModule("gcp", "cloudrunv2/job", _module);
|
|
50
|
+
pulumi.runtime.registerResourceModule("gcp", "cloudrunv2/jobIamBinding", _module);
|
|
51
|
+
pulumi.runtime.registerResourceModule("gcp", "cloudrunv2/jobIamMember", _module);
|
|
52
|
+
pulumi.runtime.registerResourceModule("gcp", "cloudrunv2/jobIamPolicy", _module);
|
|
26
53
|
pulumi.runtime.registerResourceModule("gcp", "cloudrunv2/service", _module);
|
|
54
|
+
pulumi.runtime.registerResourceModule("gcp", "cloudrunv2/serviceIamBinding", _module);
|
|
55
|
+
pulumi.runtime.registerResourceModule("gcp", "cloudrunv2/serviceIamMember", _module);
|
|
56
|
+
pulumi.runtime.registerResourceModule("gcp", "cloudrunv2/serviceIamPolicy", _module);
|
|
27
57
|
//# sourceMappingURL=index.js.map
|
package/cloudrunv2/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudrunv2/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAIhD,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudrunv2/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAIhD,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAIpE,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GA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AC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,191 @@
|
|
|
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 Cloud Run (v2 API) Job. Each of these resources serves a different use case:
|
|
6
|
+
*
|
|
7
|
+
* * `gcp.cloudrunv2.JobIamPolicy`: Authoritative. Sets the IAM policy for the job and replaces any existing policy already attached.
|
|
8
|
+
* * `gcp.cloudrunv2.JobIamBinding`: 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 job are preserved.
|
|
9
|
+
* * `gcp.cloudrunv2.JobIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the job are preserved.
|
|
10
|
+
*
|
|
11
|
+
* > **Note:** `gcp.cloudrunv2.JobIamPolicy` **cannot** be used in conjunction with `gcp.cloudrunv2.JobIamBinding` and `gcp.cloudrunv2.JobIamMember` or they will fight over what your policy should be.
|
|
12
|
+
*
|
|
13
|
+
* > **Note:** `gcp.cloudrunv2.JobIamBinding` resources **can be** used in conjunction with `gcp.cloudrunv2.JobIamMember` resources **only if** they do not grant privilege to the same role.
|
|
14
|
+
*
|
|
15
|
+
* ## google\_cloud\_run\_v2\_job\_iam\_policy
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as gcp from "@pulumi/gcp";
|
|
20
|
+
*
|
|
21
|
+
* const admin = gcp.organizations.getIAMPolicy({
|
|
22
|
+
* bindings: [{
|
|
23
|
+
* role: "roles/viewer",
|
|
24
|
+
* members: ["user:jane@example.com"],
|
|
25
|
+
* }],
|
|
26
|
+
* });
|
|
27
|
+
* const policy = new gcp.cloudrunv2.JobIamPolicy("policy", {
|
|
28
|
+
* project: google_cloud_run_v2_job["default"].project,
|
|
29
|
+
* location: google_cloud_run_v2_job["default"].location,
|
|
30
|
+
* policyData: admin.then(admin => admin.policyData),
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## google\_cloud\_run\_v2\_job\_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.cloudrunv2.JobIamBinding("binding", {
|
|
41
|
+
* project: google_cloud_run_v2_job["default"].project,
|
|
42
|
+
* location: google_cloud_run_v2_job["default"].location,
|
|
43
|
+
* role: "roles/viewer",
|
|
44
|
+
* members: ["user:jane@example.com"],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## google\_cloud\_run\_v2\_job\_iam\_member
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as gcp from "@pulumi/gcp";
|
|
53
|
+
*
|
|
54
|
+
* const member = new gcp.cloudrunv2.JobIamMember("member", {
|
|
55
|
+
* project: google_cloud_run_v2_job["default"].project,
|
|
56
|
+
* location: google_cloud_run_v2_job["default"].location,
|
|
57
|
+
* role: "roles/viewer",
|
|
58
|
+
* member: "user:jane@example.com",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* ## Import
|
|
63
|
+
*
|
|
64
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/jobs/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Run (v2 API) job 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.
|
|
65
|
+
*
|
|
66
|
+
* ```sh
|
|
67
|
+
* $ pulumi import gcp:cloudrunv2/jobIamBinding:JobIamBinding editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer user:jane@example.com"
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
71
|
+
*
|
|
72
|
+
* ```sh
|
|
73
|
+
* $ pulumi import gcp:cloudrunv2/jobIamBinding:JobIamBinding editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer"
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
77
|
+
*
|
|
78
|
+
* ```sh
|
|
79
|
+
* $ pulumi import gcp:cloudrunv2/jobIamBinding:JobIamBinding editor projects/{{project}}/locations/{{location}}/jobs/{{job}}
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
83
|
+
*
|
|
84
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
85
|
+
*/
|
|
86
|
+
export declare class JobIamBinding extends pulumi.CustomResource {
|
|
87
|
+
/**
|
|
88
|
+
* Get an existing JobIamBinding resource's state with the given name, ID, and optional extra
|
|
89
|
+
* properties used to qualify the lookup.
|
|
90
|
+
*
|
|
91
|
+
* @param name The _unique_ name of the resulting resource.
|
|
92
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
93
|
+
* @param state Any extra arguments used during the lookup.
|
|
94
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
95
|
+
*/
|
|
96
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: JobIamBindingState, opts?: pulumi.CustomResourceOptions): JobIamBinding;
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of JobIamBinding. This is designed to work even
|
|
99
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
100
|
+
*/
|
|
101
|
+
static isInstance(obj: any): obj is JobIamBinding;
|
|
102
|
+
readonly condition: pulumi.Output<outputs.cloudrunv2.JobIamBindingCondition | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* (Computed) The etag of the IAM policy.
|
|
105
|
+
*/
|
|
106
|
+
readonly etag: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The location of the cloud run job Used to find the parent resource to bind the IAM policy to
|
|
109
|
+
*/
|
|
110
|
+
readonly location: pulumi.Output<string>;
|
|
111
|
+
readonly members: pulumi.Output<string[]>;
|
|
112
|
+
/**
|
|
113
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
114
|
+
*/
|
|
115
|
+
readonly name: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the project in which the resource belongs.
|
|
118
|
+
* 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.
|
|
119
|
+
*/
|
|
120
|
+
readonly project: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The role that should be applied. Only one
|
|
123
|
+
* `gcp.cloudrunv2.JobIamBinding` can be used per role. Note that custom roles must be of the format
|
|
124
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
125
|
+
*/
|
|
126
|
+
readonly role: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Create a JobIamBinding resource with the given unique name, arguments, and options.
|
|
129
|
+
*
|
|
130
|
+
* @param name The _unique_ name of the resource.
|
|
131
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
132
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
133
|
+
*/
|
|
134
|
+
constructor(name: string, args: JobIamBindingArgs, opts?: pulumi.CustomResourceOptions);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Input properties used for looking up and filtering JobIamBinding resources.
|
|
138
|
+
*/
|
|
139
|
+
export interface JobIamBindingState {
|
|
140
|
+
condition?: pulumi.Input<inputs.cloudrunv2.JobIamBindingCondition>;
|
|
141
|
+
/**
|
|
142
|
+
* (Computed) The etag of the IAM policy.
|
|
143
|
+
*/
|
|
144
|
+
etag?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The location of the cloud run job Used to find the parent resource to bind the IAM policy to
|
|
147
|
+
*/
|
|
148
|
+
location?: pulumi.Input<string>;
|
|
149
|
+
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
150
|
+
/**
|
|
151
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
152
|
+
*/
|
|
153
|
+
name?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* The ID of the project in which the resource belongs.
|
|
156
|
+
* 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.
|
|
157
|
+
*/
|
|
158
|
+
project?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The role that should be applied. Only one
|
|
161
|
+
* `gcp.cloudrunv2.JobIamBinding` can be used per role. Note that custom roles must be of the format
|
|
162
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
163
|
+
*/
|
|
164
|
+
role?: pulumi.Input<string>;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The set of arguments for constructing a JobIamBinding resource.
|
|
168
|
+
*/
|
|
169
|
+
export interface JobIamBindingArgs {
|
|
170
|
+
condition?: pulumi.Input<inputs.cloudrunv2.JobIamBindingCondition>;
|
|
171
|
+
/**
|
|
172
|
+
* The location of the cloud run job Used to find the parent resource to bind the IAM policy to
|
|
173
|
+
*/
|
|
174
|
+
location?: pulumi.Input<string>;
|
|
175
|
+
members: pulumi.Input<pulumi.Input<string>[]>;
|
|
176
|
+
/**
|
|
177
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
178
|
+
*/
|
|
179
|
+
name?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The ID of the project in which the resource belongs.
|
|
182
|
+
* 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.
|
|
183
|
+
*/
|
|
184
|
+
project?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* The role that should be applied. Only one
|
|
187
|
+
* `gcp.cloudrunv2.JobIamBinding` can be used per role. Note that custom roles must be of the format
|
|
188
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
189
|
+
*/
|
|
190
|
+
role: pulumi.Input<string>;
|
|
191
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
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.JobIamBinding = 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 Run (v2 API) Job. Each of these resources serves a different use case:
|
|
10
|
+
*
|
|
11
|
+
* * `gcp.cloudrunv2.JobIamPolicy`: Authoritative. Sets the IAM policy for the job and replaces any existing policy already attached.
|
|
12
|
+
* * `gcp.cloudrunv2.JobIamBinding`: 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 job are preserved.
|
|
13
|
+
* * `gcp.cloudrunv2.JobIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the job are preserved.
|
|
14
|
+
*
|
|
15
|
+
* > **Note:** `gcp.cloudrunv2.JobIamPolicy` **cannot** be used in conjunction with `gcp.cloudrunv2.JobIamBinding` and `gcp.cloudrunv2.JobIamMember` or they will fight over what your policy should be.
|
|
16
|
+
*
|
|
17
|
+
* > **Note:** `gcp.cloudrunv2.JobIamBinding` resources **can be** used in conjunction with `gcp.cloudrunv2.JobIamMember` resources **only if** they do not grant privilege to the same role.
|
|
18
|
+
*
|
|
19
|
+
* ## google\_cloud\_run\_v2\_job\_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.cloudrunv2.JobIamPolicy("policy", {
|
|
32
|
+
* project: google_cloud_run_v2_job["default"].project,
|
|
33
|
+
* location: google_cloud_run_v2_job["default"].location,
|
|
34
|
+
* policyData: admin.then(admin => admin.policyData),
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## google\_cloud\_run\_v2\_job\_iam\_binding
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as gcp from "@pulumi/gcp";
|
|
43
|
+
*
|
|
44
|
+
* const binding = new gcp.cloudrunv2.JobIamBinding("binding", {
|
|
45
|
+
* project: google_cloud_run_v2_job["default"].project,
|
|
46
|
+
* location: google_cloud_run_v2_job["default"].location,
|
|
47
|
+
* role: "roles/viewer",
|
|
48
|
+
* members: ["user:jane@example.com"],
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ## google\_cloud\_run\_v2\_job\_iam\_member
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as gcp from "@pulumi/gcp";
|
|
57
|
+
*
|
|
58
|
+
* const member = new gcp.cloudrunv2.JobIamMember("member", {
|
|
59
|
+
* project: google_cloud_run_v2_job["default"].project,
|
|
60
|
+
* location: google_cloud_run_v2_job["default"].location,
|
|
61
|
+
* role: "roles/viewer",
|
|
62
|
+
* member: "user:jane@example.com",
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* ## Import
|
|
67
|
+
*
|
|
68
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/jobs/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Run (v2 API) job 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.
|
|
69
|
+
*
|
|
70
|
+
* ```sh
|
|
71
|
+
* $ pulumi import gcp:cloudrunv2/jobIamBinding:JobIamBinding editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer user:jane@example.com"
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
75
|
+
*
|
|
76
|
+
* ```sh
|
|
77
|
+
* $ pulumi import gcp:cloudrunv2/jobIamBinding:JobIamBinding editor "projects/{{project}}/locations/{{location}}/jobs/{{job}} roles/viewer"
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
81
|
+
*
|
|
82
|
+
* ```sh
|
|
83
|
+
* $ pulumi import gcp:cloudrunv2/jobIamBinding:JobIamBinding editor projects/{{project}}/locations/{{location}}/jobs/{{job}}
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
87
|
+
*
|
|
88
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
89
|
+
*/
|
|
90
|
+
class JobIamBinding extends pulumi.CustomResource {
|
|
91
|
+
/**
|
|
92
|
+
* Get an existing JobIamBinding resource's state with the given name, ID, and optional extra
|
|
93
|
+
* properties used to qualify the lookup.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resulting resource.
|
|
96
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
97
|
+
* @param state Any extra arguments used during the lookup.
|
|
98
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
99
|
+
*/
|
|
100
|
+
static get(name, id, state, opts) {
|
|
101
|
+
return new JobIamBinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Returns true if the given object is an instance of JobIamBinding. This is designed to work even
|
|
105
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
+
*/
|
|
107
|
+
static isInstance(obj) {
|
|
108
|
+
if (obj === undefined || obj === null) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
return obj['__pulumiType'] === JobIamBinding.__pulumiType;
|
|
112
|
+
}
|
|
113
|
+
constructor(name, argsOrState, opts) {
|
|
114
|
+
let resourceInputs = {};
|
|
115
|
+
opts = opts || {};
|
|
116
|
+
if (opts.id) {
|
|
117
|
+
const state = argsOrState;
|
|
118
|
+
resourceInputs["condition"] = state ? state.condition : undefined;
|
|
119
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
120
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
121
|
+
resourceInputs["members"] = state ? state.members : undefined;
|
|
122
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
123
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
124
|
+
resourceInputs["role"] = state ? state.role : undefined;
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
const args = argsOrState;
|
|
128
|
+
if ((!args || args.members === undefined) && !opts.urn) {
|
|
129
|
+
throw new Error("Missing required property 'members'");
|
|
130
|
+
}
|
|
131
|
+
if ((!args || args.role === undefined) && !opts.urn) {
|
|
132
|
+
throw new Error("Missing required property 'role'");
|
|
133
|
+
}
|
|
134
|
+
resourceInputs["condition"] = args ? args.condition : undefined;
|
|
135
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
136
|
+
resourceInputs["members"] = args ? args.members : undefined;
|
|
137
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
138
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
139
|
+
resourceInputs["role"] = args ? args.role : undefined;
|
|
140
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
141
|
+
}
|
|
142
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
143
|
+
super(JobIamBinding.__pulumiType, name, resourceInputs, opts);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
exports.JobIamBinding = JobIamBinding;
|
|
147
|
+
/** @internal */
|
|
148
|
+
JobIamBinding.__pulumiType = 'gcp:cloudrunv2/jobIamBinding:JobIamBinding';
|
|
149
|
+
//# sourceMappingURL=jobIamBinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobIamBinding.js","sourceRoot":"","sources":["../../cloudrunv2/jobIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CA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