@pulumi/gcp 6.19.0 → 6.21.0-alpha.1650909033

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.
Files changed (33) hide show
  1. package/bigtable/gcpolicy.d.ts +64 -0
  2. package/bigtable/gcpolicy.js +54 -0
  3. package/bigtable/gcpolicy.js.map +1 -1
  4. package/bigtable/instance.d.ts +45 -1
  5. package/bigtable/instance.js +45 -1
  6. package/bigtable/instance.js.map +1 -1
  7. package/certificateauthority/certificateTemplateIamBinding.d.ts +136 -0
  8. package/certificateauthority/certificateTemplateIamBinding.js +95 -0
  9. package/certificateauthority/certificateTemplateIamBinding.js.map +1 -0
  10. package/certificateauthority/certificateTemplateIamMember.d.ts +136 -0
  11. package/certificateauthority/certificateTemplateIamMember.js +95 -0
  12. package/certificateauthority/certificateTemplateIamMember.js.map +1 -0
  13. package/certificateauthority/certificateTemplateIamPolicy.d.ts +114 -0
  14. package/certificateauthority/certificateTemplateIamPolicy.js +88 -0
  15. package/certificateauthority/certificateTemplateIamPolicy.js.map +1 -0
  16. package/certificateauthority/index.d.ts +3 -0
  17. package/certificateauthority/index.js +15 -0
  18. package/certificateauthority/index.js.map +1 -1
  19. package/compute/haVpnGateway.d.ts +0 -143
  20. package/compute/haVpnGateway.js +0 -143
  21. package/compute/haVpnGateway.js.map +1 -1
  22. package/dataproc/cluster.d.ts +1 -1
  23. package/dataproc/cluster.js +1 -1
  24. package/dataproc/metastoreService.d.ts +46 -0
  25. package/dataproc/metastoreService.js +30 -0
  26. package/dataproc/metastoreService.js.map +1 -1
  27. package/dataproc/workflowTemplate.d.ts +1 -1
  28. package/dataproc/workflowTemplate.js +1 -1
  29. package/package.json +2 -2
  30. package/package.json.dev +2 -2
  31. package/types/input.d.ts +36 -1
  32. package/types/output.d.ts +36 -1
  33. package/vpcaccess/connector.d.ts +1 -1
@@ -52,6 +52,58 @@ import { input as inputs, output as outputs } from "../types";
52
52
  * });
53
53
  * ```
54
54
  *
55
+ * For complex, nested policies, an optional `gcRules` field are supported. This field
56
+ * conflicts with `mode`, `maxAge` and `maxVersion`. This field is a serialized JSON
57
+ * string. Example:
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as gcp from "@pulumi/gcp";
61
+ *
62
+ * const instance = new gcp.bigtable.Instance("instance", {
63
+ * clusters: [{
64
+ * clusterId: "cid",
65
+ * zone: "us-central1-b",
66
+ * }],
67
+ * instanceType: "DEVELOPMENT",
68
+ * deletionProtection: false,
69
+ * });
70
+ * const table = new gcp.bigtable.Table("table", {
71
+ * instanceName: instance.id,
72
+ * columnFamilies: [{
73
+ * family: "cf1",
74
+ * }],
75
+ * });
76
+ * const policy = new gcp.bigtable.GCPolicy("policy", {
77
+ * instanceName: instance.id,
78
+ * table: table.name,
79
+ * columnFamily: "cf1",
80
+ * gcRules: `{
81
+ * "mode": "union",
82
+ * "rules": [
83
+ * {
84
+ * "max_age": "10h"
85
+ * },
86
+ * {
87
+ * "mode": "intersection",
88
+ * "rules": [
89
+ * {
90
+ * "max_age": "2h"
91
+ * },
92
+ * {
93
+ * "max_version": 2
94
+ * }
95
+ * ]
96
+ * }
97
+ * ]
98
+ * }
99
+ * `,
100
+ * });
101
+ * ```
102
+ * This is equivalent to running the following `cbt` command:
103
+ * ```typescript
104
+ * import * as pulumi from "@pulumi/pulumi";
105
+ * ```
106
+ *
55
107
  * ## Import
56
108
  *
57
109
  * This resource does not support import.
@@ -76,6 +128,10 @@ export declare class GCPolicy extends pulumi.CustomResource {
76
128
  * The name of the column family.
77
129
  */
78
130
  readonly columnFamily: pulumi.Output<string>;
131
+ /**
132
+ * Serialized JSON object to represent a more complex GC policy. Conflicts with `mode`, `maxAge` and `maxVersion`. Conflicts with `mode`, `maxAge` and `maxVersion`.
133
+ */
134
+ readonly gcRules: pulumi.Output<string | undefined>;
79
135
  /**
80
136
  * The name of the Bigtable instance.
81
137
  */
@@ -117,6 +173,10 @@ export interface GCPolicyState {
117
173
  * The name of the column family.
118
174
  */
119
175
  columnFamily?: pulumi.Input<string>;
176
+ /**
177
+ * Serialized JSON object to represent a more complex GC policy. Conflicts with `mode`, `maxAge` and `maxVersion`. Conflicts with `mode`, `maxAge` and `maxVersion`.
178
+ */
179
+ gcRules?: pulumi.Input<string>;
120
180
  /**
121
181
  * The name of the Bigtable instance.
122
182
  */
@@ -150,6 +210,10 @@ export interface GCPolicyArgs {
150
210
  * The name of the column family.
151
211
  */
152
212
  columnFamily: pulumi.Input<string>;
213
+ /**
214
+ * Serialized JSON object to represent a more complex GC policy. Conflicts with `mode`, `maxAge` and `maxVersion`. Conflicts with `mode`, `maxAge` and `maxVersion`.
215
+ */
216
+ gcRules?: pulumi.Input<string>;
153
217
  /**
154
218
  * The name of the Bigtable instance.
155
219
  */
@@ -57,6 +57,58 @@ const utilities = require("../utilities");
57
57
  * });
58
58
  * ```
59
59
  *
60
+ * For complex, nested policies, an optional `gcRules` field are supported. This field
61
+ * conflicts with `mode`, `maxAge` and `maxVersion`. This field is a serialized JSON
62
+ * string. Example:
63
+ * ```typescript
64
+ * import * as pulumi from "@pulumi/pulumi";
65
+ * import * as gcp from "@pulumi/gcp";
66
+ *
67
+ * const instance = new gcp.bigtable.Instance("instance", {
68
+ * clusters: [{
69
+ * clusterId: "cid",
70
+ * zone: "us-central1-b",
71
+ * }],
72
+ * instanceType: "DEVELOPMENT",
73
+ * deletionProtection: false,
74
+ * });
75
+ * const table = new gcp.bigtable.Table("table", {
76
+ * instanceName: instance.id,
77
+ * columnFamilies: [{
78
+ * family: "cf1",
79
+ * }],
80
+ * });
81
+ * const policy = new gcp.bigtable.GCPolicy("policy", {
82
+ * instanceName: instance.id,
83
+ * table: table.name,
84
+ * columnFamily: "cf1",
85
+ * gcRules: `{
86
+ * "mode": "union",
87
+ * "rules": [
88
+ * {
89
+ * "max_age": "10h"
90
+ * },
91
+ * {
92
+ * "mode": "intersection",
93
+ * "rules": [
94
+ * {
95
+ * "max_age": "2h"
96
+ * },
97
+ * {
98
+ * "max_version": 2
99
+ * }
100
+ * ]
101
+ * }
102
+ * ]
103
+ * }
104
+ * `,
105
+ * });
106
+ * ```
107
+ * This is equivalent to running the following `cbt` command:
108
+ * ```typescript
109
+ * import * as pulumi from "@pulumi/pulumi";
110
+ * ```
111
+ *
60
112
  * ## Import
61
113
  *
62
114
  * This resource does not support import.
@@ -68,6 +120,7 @@ class GCPolicy extends pulumi.CustomResource {
68
120
  if (opts.id) {
69
121
  const state = argsOrState;
70
122
  resourceInputs["columnFamily"] = state ? state.columnFamily : undefined;
123
+ resourceInputs["gcRules"] = state ? state.gcRules : undefined;
71
124
  resourceInputs["instanceName"] = state ? state.instanceName : undefined;
72
125
  resourceInputs["maxAge"] = state ? state.maxAge : undefined;
73
126
  resourceInputs["maxVersions"] = state ? state.maxVersions : undefined;
@@ -87,6 +140,7 @@ class GCPolicy extends pulumi.CustomResource {
87
140
  throw new Error("Missing required property 'table'");
88
141
  }
89
142
  resourceInputs["columnFamily"] = args ? args.columnFamily : undefined;
143
+ resourceInputs["gcRules"] = args ? args.gcRules : undefined;
90
144
  resourceInputs["instanceName"] = args ? args.instanceName : undefined;
91
145
  resourceInputs["maxAge"] = args ? args.maxAge : undefined;
92
146
  resourceInputs["maxVersions"] = args ? args.maxVersions : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"gcpolicy.js","sourceRoot":"","sources":["../../bigtable/gcpolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAiE/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,E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;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAyGC;AA3FG,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
@@ -1,6 +1,18 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "../types";
3
3
  /**
4
+ * ## +---
5
+ *
6
+ * subcategory: "Cloud Bigtable"
7
+ * layout: "google"
8
+ * page_title: "Google: gcp.bigtable.Instance"
9
+ * sidebar_current: "docs-google-bigtable-instance"
10
+ * description: |-
11
+ * Creates a Google Bigtable instance.
12
+ * ---
13
+ *
14
+ * # gcp.bigtable.Instance
15
+ *
4
16
  * Creates a Google Bigtable instance. For more information see:
5
17
  *
6
18
  * * [API documentation](https://cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.clusters)
@@ -8,7 +20,7 @@ import { input as inputs, output as outputs } from "../types";
8
20
  * * [Official Documentation](https://cloud.google.com/bigtable/docs)
9
21
  *
10
22
  * ## Example Usage
11
- * ### Production Instance
23
+ * ### Simple Instance
12
24
  *
13
25
  * ```typescript
14
26
  * import * as pulumi from "@pulumi/pulumi";
@@ -25,6 +37,38 @@ import { input as inputs, output as outputs } from "../types";
25
37
  * },
26
38
  * });
27
39
  * ```
40
+ * ### Replicated Instance
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as gcp from "@pulumi/gcp";
45
+ *
46
+ * const production_instance = new gcp.bigtable.Instance("production-instance", {
47
+ * clusters: [
48
+ * // A cluster with fixed number of nodes.
49
+ * {
50
+ * clusterId: "tf-instance-cluster1",
51
+ * numNodes: 1,
52
+ * storageType: "HDD",
53
+ * zone: "us-central1-c",
54
+ * },
55
+ * // a cluster with auto scaling.
56
+ * {
57
+ * autoscalingConfig: {
58
+ * cpuTarget: 50,
59
+ * maxNodes: 3,
60
+ * minNodes: 1,
61
+ * },
62
+ * clusterId: "tf-instance-cluster2",
63
+ * storageType: "HDD",
64
+ * zone: "us-central1-b",
65
+ * },
66
+ * ],
67
+ * labels: {
68
+ * "my-label": "prod-label",
69
+ * },
70
+ * });
71
+ * ```
28
72
  *
29
73
  * ## Import
30
74
  *
@@ -6,6 +6,18 @@ exports.Instance = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
+ * ## +---
10
+ *
11
+ * subcategory: "Cloud Bigtable"
12
+ * layout: "google"
13
+ * page_title: "Google: gcp.bigtable.Instance"
14
+ * sidebar_current: "docs-google-bigtable-instance"
15
+ * description: |-
16
+ * Creates a Google Bigtable instance.
17
+ * ---
18
+ *
19
+ * # gcp.bigtable.Instance
20
+ *
9
21
  * Creates a Google Bigtable instance. For more information see:
10
22
  *
11
23
  * * [API documentation](https://cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.clusters)
@@ -13,7 +25,7 @@ const utilities = require("../utilities");
13
25
  * * [Official Documentation](https://cloud.google.com/bigtable/docs)
14
26
  *
15
27
  * ## Example Usage
16
- * ### Production Instance
28
+ * ### Simple Instance
17
29
  *
18
30
  * ```typescript
19
31
  * import * as pulumi from "@pulumi/pulumi";
@@ -30,6 +42,38 @@ const utilities = require("../utilities");
30
42
  * },
31
43
  * });
32
44
  * ```
45
+ * ### Replicated Instance
46
+ *
47
+ * ```typescript
48
+ * import * as pulumi from "@pulumi/pulumi";
49
+ * import * as gcp from "@pulumi/gcp";
50
+ *
51
+ * const production_instance = new gcp.bigtable.Instance("production-instance", {
52
+ * clusters: [
53
+ * // A cluster with fixed number of nodes.
54
+ * {
55
+ * clusterId: "tf-instance-cluster1",
56
+ * numNodes: 1,
57
+ * storageType: "HDD",
58
+ * zone: "us-central1-c",
59
+ * },
60
+ * // a cluster with auto scaling.
61
+ * {
62
+ * autoscalingConfig: {
63
+ * cpuTarget: 50,
64
+ * maxNodes: 3,
65
+ * minNodes: 1,
66
+ * },
67
+ * clusterId: "tf-instance-cluster2",
68
+ * storageType: "HDD",
69
+ * zone: "us-central1-b",
70
+ * },
71
+ * ],
72
+ * labels: {
73
+ * "my-label": "prod-label",
74
+ * },
75
+ * });
76
+ * ```
33
77
  *
34
78
  * ## Import
35
79
  *
@@ -1 +1 @@
1
- {"version":3,"file":"instance.js","sourceRoot":"","sources":["../../bigtable/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA0E/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC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C,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAjGD;;;;;;;;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,4BAmGC;AArFG,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
@@ -0,0 +1,136 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * ## Import
5
+ *
6
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/certificateTemplates/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} Any variables not passed in the import command will be taken from the provider configuration. Certificate Authority Service certificatetemplate 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.
7
+ *
8
+ * ```sh
9
+ * $ pulumi import gcp:certificateauthority/certificateTemplateIamBinding:CertificateTemplateIamBinding editor "projects/{{project}}/locations/{{location}}/certificateTemplates/{{certificate_template}} roles/privateca.templateUser user:jane@example.com"
10
+ * ```
11
+ *
12
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
13
+ *
14
+ * ```sh
15
+ * $ pulumi import gcp:certificateauthority/certificateTemplateIamBinding:CertificateTemplateIamBinding editor "projects/{{project}}/locations/{{location}}/certificateTemplates/{{certificate_template}} roles/privateca.templateUser"
16
+ * ```
17
+ *
18
+ * IAM policy imports use the identifier of the resource in question, e.g.
19
+ *
20
+ * ```sh
21
+ * $ pulumi import gcp:certificateauthority/certificateTemplateIamBinding:CertificateTemplateIamBinding editor projects/{{project}}/locations/{{location}}/certificateTemplates/{{certificate_template}}
22
+ * ```
23
+ *
24
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
25
+ *
26
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
27
+ */
28
+ export declare class CertificateTemplateIamBinding extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing CertificateTemplateIamBinding resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param state Any extra arguments used during the lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateTemplateIamBindingState, opts?: pulumi.CustomResourceOptions): CertificateTemplateIamBinding;
39
+ /**
40
+ * Returns true if the given object is an instance of CertificateTemplateIamBinding. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is CertificateTemplateIamBinding;
44
+ /**
45
+ * Used to find the parent resource to bind the IAM policy to
46
+ */
47
+ readonly certificateTemplate: pulumi.Output<string>;
48
+ /**
49
+ * ) An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
50
+ * Structure is documented below.
51
+ */
52
+ readonly condition: pulumi.Output<outputs.certificateauthority.CertificateTemplateIamBindingCondition | undefined>;
53
+ /**
54
+ * (Computed) The etag of the IAM policy.
55
+ */
56
+ readonly etag: pulumi.Output<string>;
57
+ readonly location: pulumi.Output<string>;
58
+ readonly members: pulumi.Output<string[]>;
59
+ /**
60
+ * The ID of the project in which the resource belongs.
61
+ * 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.
62
+ */
63
+ readonly project: pulumi.Output<string>;
64
+ /**
65
+ * The role that should be applied. Only one
66
+ * `gcp.certificateauthority.CertificateTemplateIamBinding` can be used per role. Note that custom roles must be of the format
67
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
68
+ */
69
+ readonly role: pulumi.Output<string>;
70
+ /**
71
+ * Create a CertificateTemplateIamBinding resource with the given unique name, arguments, and options.
72
+ *
73
+ * @param name The _unique_ name of the resource.
74
+ * @param args The arguments to use to populate this resource's properties.
75
+ * @param opts A bag of options that control this resource's behavior.
76
+ */
77
+ constructor(name: string, args: CertificateTemplateIamBindingArgs, opts?: pulumi.CustomResourceOptions);
78
+ }
79
+ /**
80
+ * Input properties used for looking up and filtering CertificateTemplateIamBinding resources.
81
+ */
82
+ export interface CertificateTemplateIamBindingState {
83
+ /**
84
+ * Used to find the parent resource to bind the IAM policy to
85
+ */
86
+ certificateTemplate?: pulumi.Input<string>;
87
+ /**
88
+ * ) An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
89
+ * Structure is documented below.
90
+ */
91
+ condition?: pulumi.Input<inputs.certificateauthority.CertificateTemplateIamBindingCondition>;
92
+ /**
93
+ * (Computed) The etag of the IAM policy.
94
+ */
95
+ etag?: pulumi.Input<string>;
96
+ location?: pulumi.Input<string>;
97
+ members?: pulumi.Input<pulumi.Input<string>[]>;
98
+ /**
99
+ * The ID of the project in which the resource belongs.
100
+ * 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.
101
+ */
102
+ project?: pulumi.Input<string>;
103
+ /**
104
+ * The role that should be applied. Only one
105
+ * `gcp.certificateauthority.CertificateTemplateIamBinding` can be used per role. Note that custom roles must be of the format
106
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
107
+ */
108
+ role?: pulumi.Input<string>;
109
+ }
110
+ /**
111
+ * The set of arguments for constructing a CertificateTemplateIamBinding resource.
112
+ */
113
+ export interface CertificateTemplateIamBindingArgs {
114
+ /**
115
+ * Used to find the parent resource to bind the IAM policy to
116
+ */
117
+ certificateTemplate: pulumi.Input<string>;
118
+ /**
119
+ * ) An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
120
+ * Structure is documented below.
121
+ */
122
+ condition?: pulumi.Input<inputs.certificateauthority.CertificateTemplateIamBindingCondition>;
123
+ location?: pulumi.Input<string>;
124
+ members: pulumi.Input<pulumi.Input<string>[]>;
125
+ /**
126
+ * The ID of the project in which the resource belongs.
127
+ * 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.
128
+ */
129
+ project?: pulumi.Input<string>;
130
+ /**
131
+ * The role that should be applied. Only one
132
+ * `gcp.certificateauthority.CertificateTemplateIamBinding` can be used per role. Note that custom roles must be of the format
133
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
134
+ */
135
+ role: pulumi.Input<string>;
136
+ }
@@ -0,0 +1,95 @@
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.CertificateTemplateIamBinding = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/certificateTemplates/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} Any variables not passed in the import command will be taken from the provider configuration. Certificate Authority Service certificatetemplate 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.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import gcp:certificateauthority/certificateTemplateIamBinding:CertificateTemplateIamBinding editor "projects/{{project}}/locations/{{location}}/certificateTemplates/{{certificate_template}} roles/privateca.templateUser user:jane@example.com"
15
+ * ```
16
+ *
17
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import gcp:certificateauthority/certificateTemplateIamBinding:CertificateTemplateIamBinding editor "projects/{{project}}/locations/{{location}}/certificateTemplates/{{certificate_template}} roles/privateca.templateUser"
21
+ * ```
22
+ *
23
+ * IAM policy imports use the identifier of the resource in question, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import gcp:certificateauthority/certificateTemplateIamBinding:CertificateTemplateIamBinding editor projects/{{project}}/locations/{{location}}/certificateTemplates/{{certificate_template}}
27
+ * ```
28
+ *
29
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
30
+ *
31
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
32
+ */
33
+ class CertificateTemplateIamBinding extends pulumi.CustomResource {
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["certificateTemplate"] = state ? state.certificateTemplate : undefined;
40
+ resourceInputs["condition"] = state ? state.condition : undefined;
41
+ resourceInputs["etag"] = state ? state.etag : undefined;
42
+ resourceInputs["location"] = state ? state.location : undefined;
43
+ resourceInputs["members"] = state ? state.members : undefined;
44
+ resourceInputs["project"] = state ? state.project : undefined;
45
+ resourceInputs["role"] = state ? state.role : undefined;
46
+ }
47
+ else {
48
+ const args = argsOrState;
49
+ if ((!args || args.certificateTemplate === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'certificateTemplate'");
51
+ }
52
+ if ((!args || args.members === undefined) && !opts.urn) {
53
+ throw new Error("Missing required property 'members'");
54
+ }
55
+ if ((!args || args.role === undefined) && !opts.urn) {
56
+ throw new Error("Missing required property 'role'");
57
+ }
58
+ resourceInputs["certificateTemplate"] = args ? args.certificateTemplate : undefined;
59
+ resourceInputs["condition"] = args ? args.condition : undefined;
60
+ resourceInputs["location"] = args ? args.location : undefined;
61
+ resourceInputs["members"] = args ? args.members : undefined;
62
+ resourceInputs["project"] = args ? args.project : undefined;
63
+ resourceInputs["role"] = args ? args.role : undefined;
64
+ resourceInputs["etag"] = undefined /*out*/;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ super(CertificateTemplateIamBinding.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ /**
70
+ * Get an existing CertificateTemplateIamBinding resource's state with the given name, ID, and optional extra
71
+ * properties used to qualify the lookup.
72
+ *
73
+ * @param name The _unique_ name of the resulting resource.
74
+ * @param id The _unique_ provider ID of the resource to lookup.
75
+ * @param state Any extra arguments used during the lookup.
76
+ * @param opts Optional settings to control the behavior of the CustomResource.
77
+ */
78
+ static get(name, id, state, opts) {
79
+ return new CertificateTemplateIamBinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
80
+ }
81
+ /**
82
+ * Returns true if the given object is an instance of CertificateTemplateIamBinding. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj) {
86
+ if (obj === undefined || obj === null) {
87
+ return false;
88
+ }
89
+ return obj['__pulumiType'] === CertificateTemplateIamBinding.__pulumiType;
90
+ }
91
+ }
92
+ exports.CertificateTemplateIamBinding = CertificateTemplateIamBinding;
93
+ /** @internal */
94
+ CertificateTemplateIamBinding.__pulumiType = 'gcp:certificateauthority/certificateTemplateIamBinding:CertificateTemplateIamBinding';
95
+ //# sourceMappingURL=certificateTemplateIamBinding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"certificateTemplateIamBinding.js","sourceRoot":"","sources":["../../certificateauthority/certificateTemplateIamBinding.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