pulumi-gcp 7.10.0a1708496697__py3-none-any.whl → 7.10.0a1708543111__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/bigtable/table_iam_binding.py +6 -6
- pulumi_gcp/bigtable/table_iam_member.py +6 -6
- pulumi_gcp/bigtable/table_iam_policy.py +6 -6
- pulumi_gcp/cloudbuildv2/_inputs.py +32 -12
- pulumi_gcp/cloudbuildv2/connection.py +140 -38
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +13 -0
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +13 -0
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +13 -0
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -0
- pulumi_gcp/cloudbuildv2/outputs.py +32 -12
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +277 -2
- pulumi_gcp/clouddeploy/custom_target_type.py +923 -0
- pulumi_gcp/clouddeploy/outputs.py +263 -2
- pulumi_gcp/cloudfunctions/function.py +32 -0
- pulumi_gcp/cloudfunctions/get_function.py +11 -1
- pulumi_gcp/cloudrunv2/service.py +18 -0
- pulumi_gcp/compute/_inputs.py +20 -20
- pulumi_gcp/compute/outputs.py +24 -24
- pulumi_gcp/config/vars.py +2 -2
- pulumi_gcp/container/_inputs.py +22 -0
- pulumi_gcp/container/outputs.py +28 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/get_managed_zone.py +2 -2
- pulumi_gcp/dns/get_managed_zones.py +35 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/eventarc/_inputs.py +78 -0
- pulumi_gcp/eventarc/outputs.py +83 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/app_check_debug_token.py +480 -0
- pulumi_gcp/healthcare/hl7_store.py +50 -1
- pulumi_gcp/identityplatform/_inputs.py +330 -0
- pulumi_gcp/identityplatform/config.py +216 -0
- pulumi_gcp/identityplatform/outputs.py +397 -0
- pulumi_gcp/networksecurity/__init__.py +2 -0
- pulumi_gcp/networksecurity/firewall_endpoint.py +631 -0
- pulumi_gcp/networksecurity/security_profile_group.py +654 -0
- pulumi_gcp/notebooks/instance.py +109 -4
- pulumi_gcp/provider.py +8 -0
- pulumi_gcp/recaptcha/enterprise_key.py +4 -4
- pulumi_gcp/securityposture/_inputs.py +48 -48
- pulumi_gcp/securityposture/outputs.py +40 -40
- pulumi_gcp/securityposture/posture.py +22 -2
- pulumi_gcp/vertex/_inputs.py +63 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +208 -0
- pulumi_gcp/vertex/outputs.py +87 -0
- pulumi_gcp/workbench/_inputs.py +4 -4
- pulumi_gcp/workbench/instance.py +59 -8
- pulumi_gcp/workbench/outputs.py +4 -4
- pulumi_gcp/workstations/_inputs.py +16 -0
- pulumi_gcp/workstations/outputs.py +14 -0
- pulumi_gcp/workstations/workstation_config.py +2 -0
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/RECORD +57 -53
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.10.0a1708543111.dist-info}/top_level.txt +0 -0
@@ -27,16 +27,22 @@ class ConnectionArgs:
|
|
27
27
|
"""
|
28
28
|
The set of arguments for constructing a Connection resource.
|
29
29
|
:param pulumi.Input[str] location: The location for the resource
|
30
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Allows clients to store small amounts of arbitrary data.
|
31
30
|
|
31
|
+
|
32
|
+
- - -
|
33
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Allows clients to store small amounts of arbitrary data.
|
32
34
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
33
35
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
34
36
|
:param pulumi.Input[bool] disabled: If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
35
37
|
:param pulumi.Input['ConnectionGithubConfigArgs'] github_config: Configuration for connections to github.com.
|
38
|
+
Structure is documented below.
|
36
39
|
:param pulumi.Input['ConnectionGithubEnterpriseConfigArgs'] github_enterprise_config: Configuration for connections to an instance of GitHub Enterprise.
|
40
|
+
Structure is documented below.
|
37
41
|
:param pulumi.Input['ConnectionGitlabConfigArgs'] gitlab_config: Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
|
38
|
-
|
39
|
-
:param pulumi.Input[str]
|
42
|
+
Structure is documented below.
|
43
|
+
:param pulumi.Input[str] name: Immutable. The resource name of the connection.
|
44
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
45
|
+
If it is not provided, the provider project is used.
|
40
46
|
"""
|
41
47
|
pulumi.set(__self__, "location", location)
|
42
48
|
if annotations is not None:
|
@@ -59,6 +65,9 @@ class ConnectionArgs:
|
|
59
65
|
def location(self) -> pulumi.Input[str]:
|
60
66
|
"""
|
61
67
|
The location for the resource
|
68
|
+
|
69
|
+
|
70
|
+
- - -
|
62
71
|
"""
|
63
72
|
return pulumi.get(self, "location")
|
64
73
|
|
@@ -71,7 +80,6 @@ class ConnectionArgs:
|
|
71
80
|
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
72
81
|
"""
|
73
82
|
Allows clients to store small amounts of arbitrary data.
|
74
|
-
|
75
83
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
76
84
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
77
85
|
"""
|
@@ -98,6 +106,7 @@ class ConnectionArgs:
|
|
98
106
|
def github_config(self) -> Optional[pulumi.Input['ConnectionGithubConfigArgs']]:
|
99
107
|
"""
|
100
108
|
Configuration for connections to github.com.
|
109
|
+
Structure is documented below.
|
101
110
|
"""
|
102
111
|
return pulumi.get(self, "github_config")
|
103
112
|
|
@@ -110,6 +119,7 @@ class ConnectionArgs:
|
|
110
119
|
def github_enterprise_config(self) -> Optional[pulumi.Input['ConnectionGithubEnterpriseConfigArgs']]:
|
111
120
|
"""
|
112
121
|
Configuration for connections to an instance of GitHub Enterprise.
|
122
|
+
Structure is documented below.
|
113
123
|
"""
|
114
124
|
return pulumi.get(self, "github_enterprise_config")
|
115
125
|
|
@@ -122,6 +132,7 @@ class ConnectionArgs:
|
|
122
132
|
def gitlab_config(self) -> Optional[pulumi.Input['ConnectionGitlabConfigArgs']]:
|
123
133
|
"""
|
124
134
|
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
|
135
|
+
Structure is documented below.
|
125
136
|
"""
|
126
137
|
return pulumi.get(self, "gitlab_config")
|
127
138
|
|
@@ -133,7 +144,7 @@ class ConnectionArgs:
|
|
133
144
|
@pulumi.getter
|
134
145
|
def name(self) -> Optional[pulumi.Input[str]]:
|
135
146
|
"""
|
136
|
-
Immutable. The resource name of the connection
|
147
|
+
Immutable. The resource name of the connection.
|
137
148
|
"""
|
138
149
|
return pulumi.get(self, "name")
|
139
150
|
|
@@ -145,7 +156,8 @@ class ConnectionArgs:
|
|
145
156
|
@pulumi.getter
|
146
157
|
def project(self) -> Optional[pulumi.Input[str]]:
|
147
158
|
"""
|
148
|
-
The project
|
159
|
+
The ID of the project in which the resource belongs.
|
160
|
+
If it is not provided, the provider project is used.
|
149
161
|
"""
|
150
162
|
return pulumi.get(self, "project")
|
151
163
|
|
@@ -160,7 +172,7 @@ class _ConnectionState:
|
|
160
172
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
161
173
|
create_time: Optional[pulumi.Input[str]] = None,
|
162
174
|
disabled: Optional[pulumi.Input[bool]] = None,
|
163
|
-
effective_annotations: Optional[pulumi.Input[Mapping[str,
|
175
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
164
176
|
etag: Optional[pulumi.Input[str]] = None,
|
165
177
|
github_config: Optional[pulumi.Input['ConnectionGithubConfigArgs']] = None,
|
166
178
|
github_enterprise_config: Optional[pulumi.Input['ConnectionGithubEnterpriseConfigArgs']] = None,
|
@@ -174,21 +186,28 @@ class _ConnectionState:
|
|
174
186
|
"""
|
175
187
|
Input properties used for looking up and filtering Connection resources.
|
176
188
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Allows clients to store small amounts of arbitrary data.
|
177
|
-
|
178
189
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
179
190
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
180
191
|
:param pulumi.Input[str] create_time: Output only. Server assigned timestamp for when the connection was created.
|
181
192
|
:param pulumi.Input[bool] disabled: If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
182
|
-
:param pulumi.Input[Mapping[str,
|
193
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
183
194
|
Terraform, other clients and services.
|
184
195
|
:param pulumi.Input[str] etag: This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
|
185
196
|
:param pulumi.Input['ConnectionGithubConfigArgs'] github_config: Configuration for connections to github.com.
|
197
|
+
Structure is documented below.
|
186
198
|
:param pulumi.Input['ConnectionGithubEnterpriseConfigArgs'] github_enterprise_config: Configuration for connections to an instance of GitHub Enterprise.
|
199
|
+
Structure is documented below.
|
187
200
|
:param pulumi.Input['ConnectionGitlabConfigArgs'] gitlab_config: Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
|
201
|
+
Structure is documented below.
|
188
202
|
:param pulumi.Input[Sequence[pulumi.Input['ConnectionInstallationStateArgs']]] installation_states: Output only. Installation state of the Connection.
|
203
|
+
Structure is documented below.
|
189
204
|
:param pulumi.Input[str] location: The location for the resource
|
190
|
-
|
191
|
-
|
205
|
+
|
206
|
+
|
207
|
+
- - -
|
208
|
+
:param pulumi.Input[str] name: Immutable. The resource name of the connection.
|
209
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
210
|
+
If it is not provided, the provider project is used.
|
192
211
|
:param pulumi.Input[bool] reconciling: Output only. Set to true when the connection is being set up or updated in the background.
|
193
212
|
:param pulumi.Input[str] update_time: Output only. Server assigned timestamp for when the connection was updated.
|
194
213
|
"""
|
@@ -226,7 +245,6 @@ class _ConnectionState:
|
|
226
245
|
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
227
246
|
"""
|
228
247
|
Allows clients to store small amounts of arbitrary data.
|
229
|
-
|
230
248
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
231
249
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
232
250
|
"""
|
@@ -262,7 +280,7 @@ class _ConnectionState:
|
|
262
280
|
|
263
281
|
@property
|
264
282
|
@pulumi.getter(name="effectiveAnnotations")
|
265
|
-
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str,
|
283
|
+
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
266
284
|
"""
|
267
285
|
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
268
286
|
Terraform, other clients and services.
|
@@ -270,7 +288,7 @@ class _ConnectionState:
|
|
270
288
|
return pulumi.get(self, "effective_annotations")
|
271
289
|
|
272
290
|
@effective_annotations.setter
|
273
|
-
def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str,
|
291
|
+
def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
274
292
|
pulumi.set(self, "effective_annotations", value)
|
275
293
|
|
276
294
|
@property
|
@@ -290,6 +308,7 @@ class _ConnectionState:
|
|
290
308
|
def github_config(self) -> Optional[pulumi.Input['ConnectionGithubConfigArgs']]:
|
291
309
|
"""
|
292
310
|
Configuration for connections to github.com.
|
311
|
+
Structure is documented below.
|
293
312
|
"""
|
294
313
|
return pulumi.get(self, "github_config")
|
295
314
|
|
@@ -302,6 +321,7 @@ class _ConnectionState:
|
|
302
321
|
def github_enterprise_config(self) -> Optional[pulumi.Input['ConnectionGithubEnterpriseConfigArgs']]:
|
303
322
|
"""
|
304
323
|
Configuration for connections to an instance of GitHub Enterprise.
|
324
|
+
Structure is documented below.
|
305
325
|
"""
|
306
326
|
return pulumi.get(self, "github_enterprise_config")
|
307
327
|
|
@@ -314,6 +334,7 @@ class _ConnectionState:
|
|
314
334
|
def gitlab_config(self) -> Optional[pulumi.Input['ConnectionGitlabConfigArgs']]:
|
315
335
|
"""
|
316
336
|
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
|
337
|
+
Structure is documented below.
|
317
338
|
"""
|
318
339
|
return pulumi.get(self, "gitlab_config")
|
319
340
|
|
@@ -326,6 +347,7 @@ class _ConnectionState:
|
|
326
347
|
def installation_states(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionInstallationStateArgs']]]]:
|
327
348
|
"""
|
328
349
|
Output only. Installation state of the Connection.
|
350
|
+
Structure is documented below.
|
329
351
|
"""
|
330
352
|
return pulumi.get(self, "installation_states")
|
331
353
|
|
@@ -338,6 +360,9 @@ class _ConnectionState:
|
|
338
360
|
def location(self) -> Optional[pulumi.Input[str]]:
|
339
361
|
"""
|
340
362
|
The location for the resource
|
363
|
+
|
364
|
+
|
365
|
+
- - -
|
341
366
|
"""
|
342
367
|
return pulumi.get(self, "location")
|
343
368
|
|
@@ -349,7 +374,7 @@ class _ConnectionState:
|
|
349
374
|
@pulumi.getter
|
350
375
|
def name(self) -> Optional[pulumi.Input[str]]:
|
351
376
|
"""
|
352
|
-
Immutable. The resource name of the connection
|
377
|
+
Immutable. The resource name of the connection.
|
353
378
|
"""
|
354
379
|
return pulumi.get(self, "name")
|
355
380
|
|
@@ -361,7 +386,8 @@ class _ConnectionState:
|
|
361
386
|
@pulumi.getter
|
362
387
|
def project(self) -> Optional[pulumi.Input[str]]:
|
363
388
|
"""
|
364
|
-
The project
|
389
|
+
The ID of the project in which the resource belongs.
|
390
|
+
If it is not provided, the provider project is used.
|
365
391
|
"""
|
366
392
|
return pulumi.get(self, "project")
|
367
393
|
|
@@ -409,10 +435,32 @@ class Connection(pulumi.CustomResource):
|
|
409
435
|
project: Optional[pulumi.Input[str]] = None,
|
410
436
|
__props__=None):
|
411
437
|
"""
|
412
|
-
|
438
|
+
A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center or GitLab.
|
439
|
+
|
440
|
+
To get more information about Connection, see:
|
441
|
+
|
442
|
+
* [API documentation](https://cloud.google.com/build/docs/api/reference/rest)
|
443
|
+
* How-to Guides
|
444
|
+
* [Official Documentation](https://cloud.google.com/build/docs)
|
413
445
|
|
414
446
|
## Example Usage
|
415
|
-
###
|
447
|
+
### Cloudbuildv2 Connection
|
448
|
+
|
449
|
+
```python
|
450
|
+
import pulumi
|
451
|
+
import pulumi_gcp as gcp
|
452
|
+
|
453
|
+
my_connection = gcp.cloudbuildv2.Connection("my-connection",
|
454
|
+
github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
|
455
|
+
app_installation_id=0,
|
456
|
+
authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
|
457
|
+
oauth_token_secret_version="projects/gcb-terraform-creds/secrets/github-pat/versions/1",
|
458
|
+
),
|
459
|
+
),
|
460
|
+
location="us-central1")
|
461
|
+
```
|
462
|
+
### Cloudbuildv2 Connection Ghe
|
463
|
+
|
416
464
|
```python
|
417
465
|
import pulumi
|
418
466
|
import pulumi_gcp as gcp
|
@@ -458,8 +506,8 @@ class Connection(pulumi.CustomResource):
|
|
458
506
|
policy_whs,
|
459
507
|
]))
|
460
508
|
```
|
461
|
-
###
|
462
|
-
|
509
|
+
### Cloudbuildv2 Connection Github
|
510
|
+
|
463
511
|
```python
|
464
512
|
import pulumi
|
465
513
|
import pulumi_gcp as gcp
|
@@ -480,7 +528,7 @@ class Connection(pulumi.CustomResource):
|
|
480
528
|
secret_id=github_token_secret.secret_id,
|
481
529
|
policy_data=p4sa_secret_accessor.policy_data)
|
482
530
|
my_connection = gcp.cloudbuildv2.Connection("my-connection",
|
483
|
-
location="us-
|
531
|
+
location="us-central1",
|
484
532
|
github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
|
485
533
|
app_installation_id=123123,
|
486
534
|
authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
|
@@ -499,6 +547,8 @@ class Connection(pulumi.CustomResource):
|
|
499
547
|
|
500
548
|
* `{{location}}/{{name}}`
|
501
549
|
|
550
|
+
* `{{name}}`
|
551
|
+
|
502
552
|
When using the `pulumi import` command, Connection can be imported using one of the formats above. For example:
|
503
553
|
|
504
554
|
```sh
|
@@ -513,19 +563,29 @@ class Connection(pulumi.CustomResource):
|
|
513
563
|
$ pulumi import gcp:cloudbuildv2/connection:Connection default {{location}}/{{name}}
|
514
564
|
```
|
515
565
|
|
566
|
+
```sh
|
567
|
+
$ pulumi import gcp:cloudbuildv2/connection:Connection default {{name}}
|
568
|
+
```
|
569
|
+
|
516
570
|
:param str resource_name: The name of the resource.
|
517
571
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
518
572
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Allows clients to store small amounts of arbitrary data.
|
519
|
-
|
520
573
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
521
574
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
522
575
|
:param pulumi.Input[bool] disabled: If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
523
576
|
:param pulumi.Input[pulumi.InputType['ConnectionGithubConfigArgs']] github_config: Configuration for connections to github.com.
|
577
|
+
Structure is documented below.
|
524
578
|
:param pulumi.Input[pulumi.InputType['ConnectionGithubEnterpriseConfigArgs']] github_enterprise_config: Configuration for connections to an instance of GitHub Enterprise.
|
579
|
+
Structure is documented below.
|
525
580
|
:param pulumi.Input[pulumi.InputType['ConnectionGitlabConfigArgs']] gitlab_config: Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
|
581
|
+
Structure is documented below.
|
526
582
|
:param pulumi.Input[str] location: The location for the resource
|
527
|
-
|
528
|
-
|
583
|
+
|
584
|
+
|
585
|
+
- - -
|
586
|
+
:param pulumi.Input[str] name: Immutable. The resource name of the connection.
|
587
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
588
|
+
If it is not provided, the provider project is used.
|
529
589
|
"""
|
530
590
|
...
|
531
591
|
@overload
|
@@ -534,10 +594,32 @@ class Connection(pulumi.CustomResource):
|
|
534
594
|
args: ConnectionArgs,
|
535
595
|
opts: Optional[pulumi.ResourceOptions] = None):
|
536
596
|
"""
|
537
|
-
|
597
|
+
A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center or GitLab.
|
598
|
+
|
599
|
+
To get more information about Connection, see:
|
600
|
+
|
601
|
+
* [API documentation](https://cloud.google.com/build/docs/api/reference/rest)
|
602
|
+
* How-to Guides
|
603
|
+
* [Official Documentation](https://cloud.google.com/build/docs)
|
538
604
|
|
539
605
|
## Example Usage
|
540
|
-
###
|
606
|
+
### Cloudbuildv2 Connection
|
607
|
+
|
608
|
+
```python
|
609
|
+
import pulumi
|
610
|
+
import pulumi_gcp as gcp
|
611
|
+
|
612
|
+
my_connection = gcp.cloudbuildv2.Connection("my-connection",
|
613
|
+
github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
|
614
|
+
app_installation_id=0,
|
615
|
+
authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
|
616
|
+
oauth_token_secret_version="projects/gcb-terraform-creds/secrets/github-pat/versions/1",
|
617
|
+
),
|
618
|
+
),
|
619
|
+
location="us-central1")
|
620
|
+
```
|
621
|
+
### Cloudbuildv2 Connection Ghe
|
622
|
+
|
541
623
|
```python
|
542
624
|
import pulumi
|
543
625
|
import pulumi_gcp as gcp
|
@@ -583,8 +665,8 @@ class Connection(pulumi.CustomResource):
|
|
583
665
|
policy_whs,
|
584
666
|
]))
|
585
667
|
```
|
586
|
-
###
|
587
|
-
|
668
|
+
### Cloudbuildv2 Connection Github
|
669
|
+
|
588
670
|
```python
|
589
671
|
import pulumi
|
590
672
|
import pulumi_gcp as gcp
|
@@ -605,7 +687,7 @@ class Connection(pulumi.CustomResource):
|
|
605
687
|
secret_id=github_token_secret.secret_id,
|
606
688
|
policy_data=p4sa_secret_accessor.policy_data)
|
607
689
|
my_connection = gcp.cloudbuildv2.Connection("my-connection",
|
608
|
-
location="us-
|
690
|
+
location="us-central1",
|
609
691
|
github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
|
610
692
|
app_installation_id=123123,
|
611
693
|
authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
|
@@ -624,6 +706,8 @@ class Connection(pulumi.CustomResource):
|
|
624
706
|
|
625
707
|
* `{{location}}/{{name}}`
|
626
708
|
|
709
|
+
* `{{name}}`
|
710
|
+
|
627
711
|
When using the `pulumi import` command, Connection can be imported using one of the formats above. For example:
|
628
712
|
|
629
713
|
```sh
|
@@ -638,6 +722,10 @@ class Connection(pulumi.CustomResource):
|
|
638
722
|
$ pulumi import gcp:cloudbuildv2/connection:Connection default {{location}}/{{name}}
|
639
723
|
```
|
640
724
|
|
725
|
+
```sh
|
726
|
+
$ pulumi import gcp:cloudbuildv2/connection:Connection default {{name}}
|
727
|
+
```
|
728
|
+
|
641
729
|
:param str resource_name: The name of the resource.
|
642
730
|
:param ConnectionArgs args: The arguments to use to populate this resource's properties.
|
643
731
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -699,7 +787,7 @@ class Connection(pulumi.CustomResource):
|
|
699
787
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
700
788
|
create_time: Optional[pulumi.Input[str]] = None,
|
701
789
|
disabled: Optional[pulumi.Input[bool]] = None,
|
702
|
-
effective_annotations: Optional[pulumi.Input[Mapping[str,
|
790
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
703
791
|
etag: Optional[pulumi.Input[str]] = None,
|
704
792
|
github_config: Optional[pulumi.Input[pulumi.InputType['ConnectionGithubConfigArgs']]] = None,
|
705
793
|
github_enterprise_config: Optional[pulumi.Input[pulumi.InputType['ConnectionGithubEnterpriseConfigArgs']]] = None,
|
@@ -718,21 +806,28 @@ class Connection(pulumi.CustomResource):
|
|
718
806
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
719
807
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
720
808
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Allows clients to store small amounts of arbitrary data.
|
721
|
-
|
722
809
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
723
810
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
724
811
|
:param pulumi.Input[str] create_time: Output only. Server assigned timestamp for when the connection was created.
|
725
812
|
:param pulumi.Input[bool] disabled: If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
726
|
-
:param pulumi.Input[Mapping[str,
|
813
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
727
814
|
Terraform, other clients and services.
|
728
815
|
:param pulumi.Input[str] etag: This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
|
729
816
|
:param pulumi.Input[pulumi.InputType['ConnectionGithubConfigArgs']] github_config: Configuration for connections to github.com.
|
817
|
+
Structure is documented below.
|
730
818
|
:param pulumi.Input[pulumi.InputType['ConnectionGithubEnterpriseConfigArgs']] github_enterprise_config: Configuration for connections to an instance of GitHub Enterprise.
|
819
|
+
Structure is documented below.
|
731
820
|
:param pulumi.Input[pulumi.InputType['ConnectionGitlabConfigArgs']] gitlab_config: Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
|
821
|
+
Structure is documented below.
|
732
822
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionInstallationStateArgs']]]] installation_states: Output only. Installation state of the Connection.
|
823
|
+
Structure is documented below.
|
733
824
|
:param pulumi.Input[str] location: The location for the resource
|
734
|
-
|
735
|
-
|
825
|
+
|
826
|
+
|
827
|
+
- - -
|
828
|
+
:param pulumi.Input[str] name: Immutable. The resource name of the connection.
|
829
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
830
|
+
If it is not provided, the provider project is used.
|
736
831
|
:param pulumi.Input[bool] reconciling: Output only. Set to true when the connection is being set up or updated in the background.
|
737
832
|
:param pulumi.Input[str] update_time: Output only. Server assigned timestamp for when the connection was updated.
|
738
833
|
"""
|
@@ -761,7 +856,6 @@ class Connection(pulumi.CustomResource):
|
|
761
856
|
def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
762
857
|
"""
|
763
858
|
Allows clients to store small amounts of arbitrary data.
|
764
|
-
|
765
859
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
766
860
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
767
861
|
"""
|
@@ -785,7 +879,7 @@ class Connection(pulumi.CustomResource):
|
|
785
879
|
|
786
880
|
@property
|
787
881
|
@pulumi.getter(name="effectiveAnnotations")
|
788
|
-
def effective_annotations(self) -> pulumi.Output[Mapping[str,
|
882
|
+
def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
|
789
883
|
"""
|
790
884
|
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
791
885
|
Terraform, other clients and services.
|
@@ -805,6 +899,7 @@ class Connection(pulumi.CustomResource):
|
|
805
899
|
def github_config(self) -> pulumi.Output[Optional['outputs.ConnectionGithubConfig']]:
|
806
900
|
"""
|
807
901
|
Configuration for connections to github.com.
|
902
|
+
Structure is documented below.
|
808
903
|
"""
|
809
904
|
return pulumi.get(self, "github_config")
|
810
905
|
|
@@ -813,6 +908,7 @@ class Connection(pulumi.CustomResource):
|
|
813
908
|
def github_enterprise_config(self) -> pulumi.Output[Optional['outputs.ConnectionGithubEnterpriseConfig']]:
|
814
909
|
"""
|
815
910
|
Configuration for connections to an instance of GitHub Enterprise.
|
911
|
+
Structure is documented below.
|
816
912
|
"""
|
817
913
|
return pulumi.get(self, "github_enterprise_config")
|
818
914
|
|
@@ -821,6 +917,7 @@ class Connection(pulumi.CustomResource):
|
|
821
917
|
def gitlab_config(self) -> pulumi.Output[Optional['outputs.ConnectionGitlabConfig']]:
|
822
918
|
"""
|
823
919
|
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
|
920
|
+
Structure is documented below.
|
824
921
|
"""
|
825
922
|
return pulumi.get(self, "gitlab_config")
|
826
923
|
|
@@ -829,6 +926,7 @@ class Connection(pulumi.CustomResource):
|
|
829
926
|
def installation_states(self) -> pulumi.Output[Sequence['outputs.ConnectionInstallationState']]:
|
830
927
|
"""
|
831
928
|
Output only. Installation state of the Connection.
|
929
|
+
Structure is documented below.
|
832
930
|
"""
|
833
931
|
return pulumi.get(self, "installation_states")
|
834
932
|
|
@@ -837,6 +935,9 @@ class Connection(pulumi.CustomResource):
|
|
837
935
|
def location(self) -> pulumi.Output[str]:
|
838
936
|
"""
|
839
937
|
The location for the resource
|
938
|
+
|
939
|
+
|
940
|
+
- - -
|
840
941
|
"""
|
841
942
|
return pulumi.get(self, "location")
|
842
943
|
|
@@ -844,7 +945,7 @@ class Connection(pulumi.CustomResource):
|
|
844
945
|
@pulumi.getter
|
845
946
|
def name(self) -> pulumi.Output[str]:
|
846
947
|
"""
|
847
|
-
Immutable. The resource name of the connection
|
948
|
+
Immutable. The resource name of the connection.
|
848
949
|
"""
|
849
950
|
return pulumi.get(self, "name")
|
850
951
|
|
@@ -852,7 +953,8 @@ class Connection(pulumi.CustomResource):
|
|
852
953
|
@pulumi.getter
|
853
954
|
def project(self) -> pulumi.Output[str]:
|
854
955
|
"""
|
855
|
-
The project
|
956
|
+
The ID of the project in which the resource belongs.
|
957
|
+
If it is not provided, the provider project is used.
|
856
958
|
"""
|
857
959
|
return pulumi.get(self, "project")
|
858
960
|
|
@@ -27,6 +27,7 @@ class ConnectionIAMBindingArgs:
|
|
27
27
|
:param pulumi.Input[str] role: The role that should be applied. Only one
|
28
28
|
`cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format
|
29
29
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
30
|
+
:param pulumi.Input[str] location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
30
31
|
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
31
32
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
32
33
|
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.
|
@@ -89,6 +90,9 @@ class ConnectionIAMBindingArgs:
|
|
89
90
|
@property
|
90
91
|
@pulumi.getter
|
91
92
|
def location(self) -> Optional[pulumi.Input[str]]:
|
93
|
+
"""
|
94
|
+
The location for the resource Used to find the parent resource to bind the IAM policy to
|
95
|
+
"""
|
92
96
|
return pulumi.get(self, "location")
|
93
97
|
|
94
98
|
@location.setter
|
@@ -146,6 +150,7 @@ class _ConnectionIAMBindingState:
|
|
146
150
|
"""
|
147
151
|
Input properties used for looking up and filtering ConnectionIAMBinding resources.
|
148
152
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
153
|
+
:param pulumi.Input[str] location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
149
154
|
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
150
155
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
151
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.
|
@@ -204,6 +209,9 @@ class _ConnectionIAMBindingState:
|
|
204
209
|
@property
|
205
210
|
@pulumi.getter
|
206
211
|
def location(self) -> Optional[pulumi.Input[str]]:
|
212
|
+
"""
|
213
|
+
The location for the resource Used to find the parent resource to bind the IAM policy to
|
214
|
+
"""
|
207
215
|
return pulumi.get(self, "location")
|
208
216
|
|
209
217
|
@location.setter
|
@@ -380,6 +388,7 @@ class ConnectionIAMBinding(pulumi.CustomResource):
|
|
380
388
|
|
381
389
|
:param str resource_name: The name of the resource.
|
382
390
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
391
|
+
:param pulumi.Input[str] location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
383
392
|
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
384
393
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
385
394
|
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.
|
@@ -566,6 +575,7 @@ class ConnectionIAMBinding(pulumi.CustomResource):
|
|
566
575
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
567
576
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
568
577
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
578
|
+
:param pulumi.Input[str] location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
569
579
|
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
570
580
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
571
581
|
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.
|
@@ -614,6 +624,9 @@ class ConnectionIAMBinding(pulumi.CustomResource):
|
|
614
624
|
@property
|
615
625
|
@pulumi.getter
|
616
626
|
def location(self) -> pulumi.Output[str]:
|
627
|
+
"""
|
628
|
+
The location for the resource Used to find the parent resource to bind the IAM policy to
|
629
|
+
"""
|
617
630
|
return pulumi.get(self, "location")
|
618
631
|
|
619
632
|
@property
|
@@ -27,6 +27,7 @@ class ConnectionIAMMemberArgs:
|
|
27
27
|
:param pulumi.Input[str] role: The role that should be applied. Only one
|
28
28
|
`cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format
|
29
29
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
30
|
+
:param pulumi.Input[str] location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
30
31
|
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
31
32
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
32
33
|
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.
|
@@ -89,6 +90,9 @@ class ConnectionIAMMemberArgs:
|
|
89
90
|
@property
|
90
91
|
@pulumi.getter
|
91
92
|
def location(self) -> Optional[pulumi.Input[str]]:
|
93
|
+
"""
|
94
|
+
The location for the resource Used to find the parent resource to bind the IAM policy to
|
95
|
+
"""
|
92
96
|
return pulumi.get(self, "location")
|
93
97
|
|
94
98
|
@location.setter
|
@@ -146,6 +150,7 @@ class _ConnectionIAMMemberState:
|
|
146
150
|
"""
|
147
151
|
Input properties used for looking up and filtering ConnectionIAMMember resources.
|
148
152
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
153
|
+
:param pulumi.Input[str] location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
149
154
|
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
150
155
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
151
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.
|
@@ -204,6 +209,9 @@ class _ConnectionIAMMemberState:
|
|
204
209
|
@property
|
205
210
|
@pulumi.getter
|
206
211
|
def location(self) -> Optional[pulumi.Input[str]]:
|
212
|
+
"""
|
213
|
+
The location for the resource Used to find the parent resource to bind the IAM policy to
|
214
|
+
"""
|
207
215
|
return pulumi.get(self, "location")
|
208
216
|
|
209
217
|
@location.setter
|
@@ -380,6 +388,7 @@ class ConnectionIAMMember(pulumi.CustomResource):
|
|
380
388
|
|
381
389
|
:param str resource_name: The name of the resource.
|
382
390
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
391
|
+
:param pulumi.Input[str] location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
383
392
|
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
384
393
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
385
394
|
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.
|
@@ -566,6 +575,7 @@ class ConnectionIAMMember(pulumi.CustomResource):
|
|
566
575
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
567
576
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
568
577
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
578
|
+
:param pulumi.Input[str] location: The location for the resource Used to find the parent resource to bind the IAM policy to
|
569
579
|
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
570
580
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
571
581
|
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.
|
@@ -614,6 +624,9 @@ class ConnectionIAMMember(pulumi.CustomResource):
|
|
614
624
|
@property
|
615
625
|
@pulumi.getter
|
616
626
|
def location(self) -> pulumi.Output[str]:
|
627
|
+
"""
|
628
|
+
The location for the resource Used to find the parent resource to bind the IAM policy to
|
629
|
+
"""
|
617
630
|
return pulumi.get(self, "location")
|
618
631
|
|
619
632
|
@property
|