pulumi-gcp 8.13.0__py3-none-any.whl → 8.13.0a1735021610__py3-none-any.whl
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.
- pulumi_gcp/__init__.py +0 -43
- pulumi_gcp/accesscontextmanager/_inputs.py +3 -3
- pulumi_gcp/accesscontextmanager/outputs.py +2 -2
- pulumi_gcp/artifactregistry/_inputs.py +0 -83
- pulumi_gcp/artifactregistry/get_repository.py +4 -15
- pulumi_gcp/artifactregistry/outputs.py +0 -112
- pulumi_gcp/artifactregistry/repository.py +7 -93
- pulumi_gcp/backupdisasterrecovery/get_backup.py +2 -38
- pulumi_gcp/backupdisasterrecovery/get_data_source.py +2 -38
- pulumi_gcp/backupdisasterrecovery/outputs.py +8 -8
- pulumi_gcp/bigquery/_inputs.py +0 -369
- pulumi_gcp/bigquery/dataset_access.py +0 -61
- pulumi_gcp/bigquery/job.py +18 -6
- pulumi_gcp/bigquery/outputs.py +0 -350
- pulumi_gcp/bigquery/table.py +0 -47
- pulumi_gcp/cloudrunv2/_inputs.py +3 -6
- pulumi_gcp/cloudrunv2/outputs.py +6 -10
- pulumi_gcp/composer/_inputs.py +5 -80
- pulumi_gcp/composer/outputs.py +4 -111
- pulumi_gcp/compute/_inputs.py +87 -181
- pulumi_gcp/compute/firewall_policy_association.py +39 -50
- pulumi_gcp/compute/get_network.py +2 -17
- pulumi_gcp/compute/get_subnetwork.py +4 -18
- pulumi_gcp/compute/network.py +2 -39
- pulumi_gcp/compute/outputs.py +58 -157
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -1
- pulumi_gcp/compute/resize_request.py +40 -26
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/dataproc/batch.py +18 -4
- pulumi_gcp/datastream/_inputs.py +0 -68
- pulumi_gcp/datastream/outputs.py +1 -41
- pulumi_gcp/developerconnect/connection.py +12 -58
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/filestore/backup.py +3 -71
- pulumi_gcp/firebase/hosting_custom_domain.py +4 -4
- pulumi_gcp/firestore/_inputs.py +3 -3
- pulumi_gcp/firestore/outputs.py +2 -2
- pulumi_gcp/gkehub/__init__.py +0 -1
- pulumi_gcp/gkehub/outputs.py +0 -1153
- pulumi_gcp/gkeonprem/__init__.py +0 -1
- pulumi_gcp/gkeonprem/_inputs.py +0 -2364
- pulumi_gcp/gkeonprem/outputs.py +0 -1780
- pulumi_gcp/integrationconnectors/_inputs.py +6 -6
- pulumi_gcp/integrationconnectors/connection.py +7 -7
- pulumi_gcp/integrationconnectors/outputs.py +4 -4
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/netapp/kmsconfig.py +14 -2
- pulumi_gcp/networkconnectivity/hub.py +0 -108
- pulumi_gcp/networkconnectivity/spoke.py +0 -195
- pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +0 -4
- pulumi_gcp/networksecurity/__init__.py +0 -2
- pulumi_gcp/networksecurity/_inputs.py +0 -78
- pulumi_gcp/networksecurity/outputs.py +0 -48
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parallelstore/instance.py +0 -149
- pulumi_gcp/projects/usage_export_bucket.py +110 -42
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/instance.py +16 -4
- pulumi_gcp/spanner/instance_iam_binding.py +0 -14
- pulumi_gcp/spanner/instance_iam_member.py +0 -14
- pulumi_gcp/sql/database_instance.py +7 -7
- pulumi_gcp/storage/__init__.py +0 -1
- pulumi_gcp/storage/_inputs.py +0 -431
- pulumi_gcp/storage/outputs.py +0 -363
- pulumi_gcp/storage/transfer_job.py +38 -84
- pulumi_gcp/vertex/_inputs.py +25 -26
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +14 -15
- pulumi_gcp/workstations/workstation.py +1 -55
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1735021610.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1735021610.dist-info}/RECORD +79 -90
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1735021610.dist-info}/WHEEL +1 -1
- pulumi_gcp/chronicle/__init__.py +0 -10
- pulumi_gcp/chronicle/_inputs.py +0 -169
- pulumi_gcp/chronicle/outputs.py +0 -107
- pulumi_gcp/chronicle/watchlist.py +0 -776
- pulumi_gcp/gkehub/get_feature.py +0 -226
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +0 -1715
- pulumi_gcp/kms/get_autokey_config.py +0 -121
- pulumi_gcp/kms/get_key_handle.py +0 -185
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +0 -723
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +0 -815
- pulumi_gcp/storage/folder.py +0 -483
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1735021610.dist-info}/top_level.txt +0 -0
@@ -1481,7 +1481,7 @@ class RegionNetworkEndpointGroup(pulumi.CustomResource):
|
|
1481
1481
|
|
1482
1482
|
@property
|
1483
1483
|
@pulumi.getter(name="pscData")
|
1484
|
-
def psc_data(self) -> pulumi.Output['outputs.RegionNetworkEndpointGroupPscData']:
|
1484
|
+
def psc_data(self) -> pulumi.Output[Optional['outputs.RegionNetworkEndpointGroupPscData']]:
|
1485
1485
|
"""
|
1486
1486
|
This field is only used for PSC NEGs.
|
1487
1487
|
Structure is documented below.
|
@@ -30,12 +30,14 @@ class ResizeRequestArgs:
|
|
30
30
|
requested_run_duration: Optional[pulumi.Input['ResizeRequestRequestedRunDurationArgs']] = None):
|
31
31
|
"""
|
32
32
|
The set of arguments for constructing a ResizeRequest resource.
|
33
|
-
:param pulumi.Input[str] instance_group_manager: The
|
33
|
+
:param pulumi.Input[str] instance_group_manager: The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
|
34
|
+
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
|
35
|
+
*compute.instanceGroupManagers.update
|
34
36
|
|
35
37
|
|
36
38
|
- - -
|
37
39
|
:param pulumi.Input[int] resize_by: The number of instances to be created by this resize request. The group's target size will be increased by this number.
|
38
|
-
:param pulumi.Input[str] zone:
|
40
|
+
:param pulumi.Input[str] zone: Name of the compute zone scoping this request. Name should conform to RFC1035.
|
39
41
|
:param pulumi.Input[str] description: An optional description of this resize-request.
|
40
42
|
:param pulumi.Input[str] name: The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
|
41
43
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -59,7 +61,9 @@ class ResizeRequestArgs:
|
|
59
61
|
@pulumi.getter(name="instanceGroupManager")
|
60
62
|
def instance_group_manager(self) -> pulumi.Input[str]:
|
61
63
|
"""
|
62
|
-
The
|
64
|
+
The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
|
65
|
+
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
|
66
|
+
*compute.instanceGroupManagers.update
|
63
67
|
|
64
68
|
|
65
69
|
- - -
|
@@ -86,7 +90,7 @@ class ResizeRequestArgs:
|
|
86
90
|
@pulumi.getter
|
87
91
|
def zone(self) -> pulumi.Input[str]:
|
88
92
|
"""
|
89
|
-
|
93
|
+
Name of the compute zone scoping this request. Name should conform to RFC1035.
|
90
94
|
"""
|
91
95
|
return pulumi.get(self, "zone")
|
92
96
|
|
@@ -162,7 +166,9 @@ class _ResizeRequestState:
|
|
162
166
|
Input properties used for looking up and filtering ResizeRequest resources.
|
163
167
|
:param pulumi.Input[str] creation_timestamp: The creation timestamp for this resize request in RFC3339 text format.
|
164
168
|
:param pulumi.Input[str] description: An optional description of this resize-request.
|
165
|
-
:param pulumi.Input[str] instance_group_manager: The
|
169
|
+
:param pulumi.Input[str] instance_group_manager: The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
|
170
|
+
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
|
171
|
+
*compute.instanceGroupManagers.update
|
166
172
|
|
167
173
|
|
168
174
|
- - -
|
@@ -172,10 +178,10 @@ class _ResizeRequestState:
|
|
172
178
|
:param pulumi.Input['ResizeRequestRequestedRunDurationArgs'] requested_run_duration: Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
|
173
179
|
Structure is documented below.
|
174
180
|
:param pulumi.Input[int] resize_by: The number of instances to be created by this resize request. The group's target size will be increased by this number.
|
175
|
-
:param pulumi.Input[str] state: Current state of the request.
|
176
|
-
:param pulumi.Input[Sequence[pulumi.Input['ResizeRequestStatusArgs']]] statuses: Status of the request.
|
181
|
+
:param pulumi.Input[str] state: [Output only] Current state of the request.
|
182
|
+
:param pulumi.Input[Sequence[pulumi.Input['ResizeRequestStatusArgs']]] statuses: [Output only] Status of the request.
|
177
183
|
Structure is documented below.
|
178
|
-
:param pulumi.Input[str] zone:
|
184
|
+
:param pulumi.Input[str] zone: Name of the compute zone scoping this request. Name should conform to RFC1035.
|
179
185
|
"""
|
180
186
|
if creation_timestamp is not None:
|
181
187
|
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
@@ -226,7 +232,9 @@ class _ResizeRequestState:
|
|
226
232
|
@pulumi.getter(name="instanceGroupManager")
|
227
233
|
def instance_group_manager(self) -> Optional[pulumi.Input[str]]:
|
228
234
|
"""
|
229
|
-
The
|
235
|
+
The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
|
236
|
+
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
|
237
|
+
*compute.instanceGroupManagers.update
|
230
238
|
|
231
239
|
|
232
240
|
- - -
|
@@ -291,7 +299,7 @@ class _ResizeRequestState:
|
|
291
299
|
@pulumi.getter
|
292
300
|
def state(self) -> Optional[pulumi.Input[str]]:
|
293
301
|
"""
|
294
|
-
Current state of the request.
|
302
|
+
[Output only] Current state of the request.
|
295
303
|
"""
|
296
304
|
return pulumi.get(self, "state")
|
297
305
|
|
@@ -303,7 +311,7 @@ class _ResizeRequestState:
|
|
303
311
|
@pulumi.getter
|
304
312
|
def statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResizeRequestStatusArgs']]]]:
|
305
313
|
"""
|
306
|
-
Status of the request.
|
314
|
+
[Output only] Status of the request.
|
307
315
|
Structure is documented below.
|
308
316
|
"""
|
309
317
|
return pulumi.get(self, "statuses")
|
@@ -316,7 +324,7 @@ class _ResizeRequestState:
|
|
316
324
|
@pulumi.getter
|
317
325
|
def zone(self) -> Optional[pulumi.Input[str]]:
|
318
326
|
"""
|
319
|
-
|
327
|
+
Name of the compute zone scoping this request. Name should conform to RFC1035.
|
320
328
|
"""
|
321
329
|
return pulumi.get(self, "zone")
|
322
330
|
|
@@ -343,13 +351,13 @@ class ResizeRequest(pulumi.CustomResource):
|
|
343
351
|
|
344
352
|
Resize Requests are the Managed Instance Group implementation of Dynamic Workload Scheduler Flex Start.
|
345
353
|
|
346
|
-
With Dynamic Workload Scheduler in Flex Start mode, you submit a GPU capacity request for your AI/ML jobs by indicating how many you need, a duration, and your preferred
|
354
|
+
With Dynamic Workload Scheduler in Flex Start mode, you submit a GPU capacity request for your AI/ML jobs by indicating how many you need, a duration, and your preferred region. Dynamic Workload Scheduler intelligently persists the request; once the capacity becomes available, it automatically provisions your VMs enabling your workloads to run continuously for the entire duration of the capacity allocation.
|
347
355
|
|
348
356
|
To get more information about ResizeRequest, see:
|
349
357
|
|
350
358
|
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/instanceGroupManagerResizeRequests)
|
351
359
|
* How-to Guides
|
352
|
-
* [
|
360
|
+
* [QUICKSTART_TITLE](https://cloud.google.com/compute/docs/instance-groups/create-resize-requests-mig)
|
353
361
|
|
354
362
|
## Example Usage
|
355
363
|
|
@@ -448,7 +456,9 @@ class ResizeRequest(pulumi.CustomResource):
|
|
448
456
|
:param str resource_name: The name of the resource.
|
449
457
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
450
458
|
:param pulumi.Input[str] description: An optional description of this resize-request.
|
451
|
-
:param pulumi.Input[str] instance_group_manager: The
|
459
|
+
:param pulumi.Input[str] instance_group_manager: The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
|
460
|
+
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
|
461
|
+
*compute.instanceGroupManagers.update
|
452
462
|
|
453
463
|
|
454
464
|
- - -
|
@@ -458,7 +468,7 @@ class ResizeRequest(pulumi.CustomResource):
|
|
458
468
|
:param pulumi.Input[Union['ResizeRequestRequestedRunDurationArgs', 'ResizeRequestRequestedRunDurationArgsDict']] requested_run_duration: Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
|
459
469
|
Structure is documented below.
|
460
470
|
:param pulumi.Input[int] resize_by: The number of instances to be created by this resize request. The group's target size will be increased by this number.
|
461
|
-
:param pulumi.Input[str] zone:
|
471
|
+
:param pulumi.Input[str] zone: Name of the compute zone scoping this request. Name should conform to RFC1035.
|
462
472
|
"""
|
463
473
|
...
|
464
474
|
@overload
|
@@ -471,13 +481,13 @@ class ResizeRequest(pulumi.CustomResource):
|
|
471
481
|
|
472
482
|
Resize Requests are the Managed Instance Group implementation of Dynamic Workload Scheduler Flex Start.
|
473
483
|
|
474
|
-
With Dynamic Workload Scheduler in Flex Start mode, you submit a GPU capacity request for your AI/ML jobs by indicating how many you need, a duration, and your preferred
|
484
|
+
With Dynamic Workload Scheduler in Flex Start mode, you submit a GPU capacity request for your AI/ML jobs by indicating how many you need, a duration, and your preferred region. Dynamic Workload Scheduler intelligently persists the request; once the capacity becomes available, it automatically provisions your VMs enabling your workloads to run continuously for the entire duration of the capacity allocation.
|
475
485
|
|
476
486
|
To get more information about ResizeRequest, see:
|
477
487
|
|
478
488
|
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/instanceGroupManagerResizeRequests)
|
479
489
|
* How-to Guides
|
480
|
-
* [
|
490
|
+
* [QUICKSTART_TITLE](https://cloud.google.com/compute/docs/instance-groups/create-resize-requests-mig)
|
481
491
|
|
482
492
|
## Example Usage
|
483
493
|
|
@@ -649,7 +659,9 @@ class ResizeRequest(pulumi.CustomResource):
|
|
649
659
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
650
660
|
:param pulumi.Input[str] creation_timestamp: The creation timestamp for this resize request in RFC3339 text format.
|
651
661
|
:param pulumi.Input[str] description: An optional description of this resize-request.
|
652
|
-
:param pulumi.Input[str] instance_group_manager: The
|
662
|
+
:param pulumi.Input[str] instance_group_manager: The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
|
663
|
+
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
|
664
|
+
*compute.instanceGroupManagers.update
|
653
665
|
|
654
666
|
|
655
667
|
- - -
|
@@ -659,10 +671,10 @@ class ResizeRequest(pulumi.CustomResource):
|
|
659
671
|
:param pulumi.Input[Union['ResizeRequestRequestedRunDurationArgs', 'ResizeRequestRequestedRunDurationArgsDict']] requested_run_duration: Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
|
660
672
|
Structure is documented below.
|
661
673
|
:param pulumi.Input[int] resize_by: The number of instances to be created by this resize request. The group's target size will be increased by this number.
|
662
|
-
:param pulumi.Input[str] state: Current state of the request.
|
663
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ResizeRequestStatusArgs', 'ResizeRequestStatusArgsDict']]]] statuses: Status of the request.
|
674
|
+
:param pulumi.Input[str] state: [Output only] Current state of the request.
|
675
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ResizeRequestStatusArgs', 'ResizeRequestStatusArgsDict']]]] statuses: [Output only] Status of the request.
|
664
676
|
Structure is documented below.
|
665
|
-
:param pulumi.Input[str] zone:
|
677
|
+
:param pulumi.Input[str] zone: Name of the compute zone scoping this request. Name should conform to RFC1035.
|
666
678
|
"""
|
667
679
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
668
680
|
|
@@ -700,7 +712,9 @@ class ResizeRequest(pulumi.CustomResource):
|
|
700
712
|
@pulumi.getter(name="instanceGroupManager")
|
701
713
|
def instance_group_manager(self) -> pulumi.Output[str]:
|
702
714
|
"""
|
703
|
-
The
|
715
|
+
The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
|
716
|
+
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
|
717
|
+
*compute.instanceGroupManagers.update
|
704
718
|
|
705
719
|
|
706
720
|
- - -
|
@@ -745,7 +759,7 @@ class ResizeRequest(pulumi.CustomResource):
|
|
745
759
|
@pulumi.getter
|
746
760
|
def state(self) -> pulumi.Output[str]:
|
747
761
|
"""
|
748
|
-
Current state of the request.
|
762
|
+
[Output only] Current state of the request.
|
749
763
|
"""
|
750
764
|
return pulumi.get(self, "state")
|
751
765
|
|
@@ -753,7 +767,7 @@ class ResizeRequest(pulumi.CustomResource):
|
|
753
767
|
@pulumi.getter
|
754
768
|
def statuses(self) -> pulumi.Output[Sequence['outputs.ResizeRequestStatus']]:
|
755
769
|
"""
|
756
|
-
Status of the request.
|
770
|
+
[Output only] Status of the request.
|
757
771
|
Structure is documented below.
|
758
772
|
"""
|
759
773
|
return pulumi.get(self, "statuses")
|
@@ -762,7 +776,7 @@ class ResizeRequest(pulumi.CustomResource):
|
|
762
776
|
@pulumi.getter
|
763
777
|
def zone(self) -> pulumi.Output[str]:
|
764
778
|
"""
|
765
|
-
|
779
|
+
Name of the compute zone scoping this request. Name should conform to RFC1035.
|
766
780
|
"""
|
767
781
|
return pulumi.get(self, "zone")
|
768
782
|
|
pulumi_gcp/config/__init__.pyi
CHANGED
pulumi_gcp/config/vars.py
CHANGED
@@ -137,10 +137,6 @@ class _ExportableConfig(types.ModuleType):
|
|
137
137
|
def certificate_manager_custom_endpoint(self) -> Optional[str]:
|
138
138
|
return __config__.get('certificateManagerCustomEndpoint')
|
139
139
|
|
140
|
-
@property
|
141
|
-
def chronicle_custom_endpoint(self) -> Optional[str]:
|
142
|
-
return __config__.get('chronicleCustomEndpoint')
|
143
|
-
|
144
140
|
@property
|
145
141
|
def cloud_asset_custom_endpoint(self) -> Optional[str]:
|
146
142
|
return __config__.get('cloudAssetCustomEndpoint')
|
pulumi_gcp/dataproc/batch.py
CHANGED
@@ -672,8 +672,15 @@ class Batch(pulumi.CustomResource):
|
|
672
672
|
name="dataproc-bucket",
|
673
673
|
location="US",
|
674
674
|
force_destroy=True)
|
675
|
+
key_ring = gcp.kms.KeyRing("key_ring",
|
676
|
+
name="example-keyring",
|
677
|
+
location="us-central1")
|
678
|
+
crypto_key = gcp.kms.CryptoKey("crypto_key",
|
679
|
+
name="example-key",
|
680
|
+
key_ring=key_ring.id,
|
681
|
+
purpose="ENCRYPT_DECRYPT")
|
675
682
|
crypto_key_member1 = gcp.kms.CryptoKeyIAMMember("crypto_key_member_1",
|
676
|
-
crypto_key_id=
|
683
|
+
crypto_key_id=crypto_key.id,
|
677
684
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
678
685
|
member=f"serviceAccount:service-{project.number}@dataproc-accounts.iam.gserviceaccount.com")
|
679
686
|
ms = gcp.dataproc.MetastoreService("ms",
|
@@ -729,7 +736,7 @@ class Batch(pulumi.CustomResource):
|
|
729
736
|
"execution_config": {
|
730
737
|
"ttl": "3600s",
|
731
738
|
"network_tags": ["tag1"],
|
732
|
-
"kms_key":
|
739
|
+
"kms_key": crypto_key.id,
|
733
740
|
"network_uri": "default",
|
734
741
|
"service_account": f"{project.number}-compute@developer.gserviceaccount.com",
|
735
742
|
"staging_bucket": bucket.name,
|
@@ -988,8 +995,15 @@ class Batch(pulumi.CustomResource):
|
|
988
995
|
name="dataproc-bucket",
|
989
996
|
location="US",
|
990
997
|
force_destroy=True)
|
998
|
+
key_ring = gcp.kms.KeyRing("key_ring",
|
999
|
+
name="example-keyring",
|
1000
|
+
location="us-central1")
|
1001
|
+
crypto_key = gcp.kms.CryptoKey("crypto_key",
|
1002
|
+
name="example-key",
|
1003
|
+
key_ring=key_ring.id,
|
1004
|
+
purpose="ENCRYPT_DECRYPT")
|
991
1005
|
crypto_key_member1 = gcp.kms.CryptoKeyIAMMember("crypto_key_member_1",
|
992
|
-
crypto_key_id=
|
1006
|
+
crypto_key_id=crypto_key.id,
|
993
1007
|
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
994
1008
|
member=f"serviceAccount:service-{project.number}@dataproc-accounts.iam.gserviceaccount.com")
|
995
1009
|
ms = gcp.dataproc.MetastoreService("ms",
|
@@ -1045,7 +1059,7 @@ class Batch(pulumi.CustomResource):
|
|
1045
1059
|
"execution_config": {
|
1046
1060
|
"ttl": "3600s",
|
1047
1061
|
"network_tags": ["tag1"],
|
1048
|
-
"kms_key":
|
1062
|
+
"kms_key": crypto_key.id,
|
1049
1063
|
"network_uri": "default",
|
1050
1064
|
"service_account": f"{project.number}-compute@developer.gserviceaccount.com",
|
1051
1065
|
"staging_bucket": bucket.name,
|
pulumi_gcp/datastream/_inputs.py
CHANGED
@@ -97,8 +97,6 @@ __all__ = [
|
|
97
97
|
'StreamSourceConfigArgsDict',
|
98
98
|
'StreamSourceConfigMysqlSourceConfigArgs',
|
99
99
|
'StreamSourceConfigMysqlSourceConfigArgsDict',
|
100
|
-
'StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgs',
|
101
|
-
'StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgsDict',
|
102
100
|
'StreamSourceConfigMysqlSourceConfigExcludeObjectsArgs',
|
103
101
|
'StreamSourceConfigMysqlSourceConfigExcludeObjectsArgsDict',
|
104
102
|
'StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseArgs',
|
@@ -107,8 +105,6 @@ __all__ = [
|
|
107
105
|
'StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableArgsDict',
|
108
106
|
'StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableMysqlColumnArgs',
|
109
107
|
'StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableMysqlColumnArgsDict',
|
110
|
-
'StreamSourceConfigMysqlSourceConfigGtidArgs',
|
111
|
-
'StreamSourceConfigMysqlSourceConfigGtidArgsDict',
|
112
108
|
'StreamSourceConfigMysqlSourceConfigIncludeObjectsArgs',
|
113
109
|
'StreamSourceConfigMysqlSourceConfigIncludeObjectsArgsDict',
|
114
110
|
'StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabaseArgs',
|
@@ -3288,19 +3284,11 @@ class StreamSourceConfigArgs:
|
|
3288
3284
|
|
3289
3285
|
if not MYPY:
|
3290
3286
|
class StreamSourceConfigMysqlSourceConfigArgsDict(TypedDict):
|
3291
|
-
binary_log_position: NotRequired[pulumi.Input['StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgsDict']]
|
3292
|
-
"""
|
3293
|
-
CDC reader reads from binary logs replication cdc method.
|
3294
|
-
"""
|
3295
3287
|
exclude_objects: NotRequired[pulumi.Input['StreamSourceConfigMysqlSourceConfigExcludeObjectsArgsDict']]
|
3296
3288
|
"""
|
3297
3289
|
MySQL objects to exclude from the stream.
|
3298
3290
|
Structure is documented below.
|
3299
3291
|
"""
|
3300
|
-
gtid: NotRequired[pulumi.Input['StreamSourceConfigMysqlSourceConfigGtidArgsDict']]
|
3301
|
-
"""
|
3302
|
-
CDC reader reads from gtid based replication.
|
3303
|
-
"""
|
3304
3292
|
include_objects: NotRequired[pulumi.Input['StreamSourceConfigMysqlSourceConfigIncludeObjectsArgsDict']]
|
3305
3293
|
"""
|
3306
3294
|
MySQL objects to retrieve from the source.
|
@@ -3322,17 +3310,13 @@ elif False:
|
|
3322
3310
|
@pulumi.input_type
|
3323
3311
|
class StreamSourceConfigMysqlSourceConfigArgs:
|
3324
3312
|
def __init__(__self__, *,
|
3325
|
-
binary_log_position: Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgs']] = None,
|
3326
3313
|
exclude_objects: Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigExcludeObjectsArgs']] = None,
|
3327
|
-
gtid: Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigGtidArgs']] = None,
|
3328
3314
|
include_objects: Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigIncludeObjectsArgs']] = None,
|
3329
3315
|
max_concurrent_backfill_tasks: Optional[pulumi.Input[int]] = None,
|
3330
3316
|
max_concurrent_cdc_tasks: Optional[pulumi.Input[int]] = None):
|
3331
3317
|
"""
|
3332
|
-
:param pulumi.Input['StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgs'] binary_log_position: CDC reader reads from binary logs replication cdc method.
|
3333
3318
|
:param pulumi.Input['StreamSourceConfigMysqlSourceConfigExcludeObjectsArgs'] exclude_objects: MySQL objects to exclude from the stream.
|
3334
3319
|
Structure is documented below.
|
3335
|
-
:param pulumi.Input['StreamSourceConfigMysqlSourceConfigGtidArgs'] gtid: CDC reader reads from gtid based replication.
|
3336
3320
|
:param pulumi.Input['StreamSourceConfigMysqlSourceConfigIncludeObjectsArgs'] include_objects: MySQL objects to retrieve from the source.
|
3337
3321
|
Structure is documented below.
|
3338
3322
|
:param pulumi.Input[int] max_concurrent_backfill_tasks: Maximum number of concurrent backfill tasks. The number should be non negative.
|
@@ -3340,12 +3324,8 @@ class StreamSourceConfigMysqlSourceConfigArgs:
|
|
3340
3324
|
:param pulumi.Input[int] max_concurrent_cdc_tasks: Maximum number of concurrent CDC tasks. The number should be non negative.
|
3341
3325
|
If not set (or set to 0), the system's default value will be used.
|
3342
3326
|
"""
|
3343
|
-
if binary_log_position is not None:
|
3344
|
-
pulumi.set(__self__, "binary_log_position", binary_log_position)
|
3345
3327
|
if exclude_objects is not None:
|
3346
3328
|
pulumi.set(__self__, "exclude_objects", exclude_objects)
|
3347
|
-
if gtid is not None:
|
3348
|
-
pulumi.set(__self__, "gtid", gtid)
|
3349
3329
|
if include_objects is not None:
|
3350
3330
|
pulumi.set(__self__, "include_objects", include_objects)
|
3351
3331
|
if max_concurrent_backfill_tasks is not None:
|
@@ -3353,18 +3333,6 @@ class StreamSourceConfigMysqlSourceConfigArgs:
|
|
3353
3333
|
if max_concurrent_cdc_tasks is not None:
|
3354
3334
|
pulumi.set(__self__, "max_concurrent_cdc_tasks", max_concurrent_cdc_tasks)
|
3355
3335
|
|
3356
|
-
@property
|
3357
|
-
@pulumi.getter(name="binaryLogPosition")
|
3358
|
-
def binary_log_position(self) -> Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgs']]:
|
3359
|
-
"""
|
3360
|
-
CDC reader reads from binary logs replication cdc method.
|
3361
|
-
"""
|
3362
|
-
return pulumi.get(self, "binary_log_position")
|
3363
|
-
|
3364
|
-
@binary_log_position.setter
|
3365
|
-
def binary_log_position(self, value: Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgs']]):
|
3366
|
-
pulumi.set(self, "binary_log_position", value)
|
3367
|
-
|
3368
3336
|
@property
|
3369
3337
|
@pulumi.getter(name="excludeObjects")
|
3370
3338
|
def exclude_objects(self) -> Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigExcludeObjectsArgs']]:
|
@@ -3378,18 +3346,6 @@ class StreamSourceConfigMysqlSourceConfigArgs:
|
|
3378
3346
|
def exclude_objects(self, value: Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigExcludeObjectsArgs']]):
|
3379
3347
|
pulumi.set(self, "exclude_objects", value)
|
3380
3348
|
|
3381
|
-
@property
|
3382
|
-
@pulumi.getter
|
3383
|
-
def gtid(self) -> Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigGtidArgs']]:
|
3384
|
-
"""
|
3385
|
-
CDC reader reads from gtid based replication.
|
3386
|
-
"""
|
3387
|
-
return pulumi.get(self, "gtid")
|
3388
|
-
|
3389
|
-
@gtid.setter
|
3390
|
-
def gtid(self, value: Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigGtidArgs']]):
|
3391
|
-
pulumi.set(self, "gtid", value)
|
3392
|
-
|
3393
3349
|
@property
|
3394
3350
|
@pulumi.getter(name="includeObjects")
|
3395
3351
|
def include_objects(self) -> Optional[pulumi.Input['StreamSourceConfigMysqlSourceConfigIncludeObjectsArgs']]:
|
@@ -3430,18 +3386,6 @@ class StreamSourceConfigMysqlSourceConfigArgs:
|
|
3430
3386
|
pulumi.set(self, "max_concurrent_cdc_tasks", value)
|
3431
3387
|
|
3432
3388
|
|
3433
|
-
if not MYPY:
|
3434
|
-
class StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgsDict(TypedDict):
|
3435
|
-
pass
|
3436
|
-
elif False:
|
3437
|
-
StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgsDict: TypeAlias = Mapping[str, Any]
|
3438
|
-
|
3439
|
-
@pulumi.input_type
|
3440
|
-
class StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgs:
|
3441
|
-
def __init__(__self__):
|
3442
|
-
pass
|
3443
|
-
|
3444
|
-
|
3445
3389
|
if not MYPY:
|
3446
3390
|
class StreamSourceConfigMysqlSourceConfigExcludeObjectsArgsDict(TypedDict):
|
3447
3391
|
mysql_databases: pulumi.Input[Sequence[pulumi.Input['StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseArgsDict']]]
|
@@ -3742,18 +3686,6 @@ class StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableMy
|
|
3742
3686
|
pulumi.set(self, "primary_key", value)
|
3743
3687
|
|
3744
3688
|
|
3745
|
-
if not MYPY:
|
3746
|
-
class StreamSourceConfigMysqlSourceConfigGtidArgsDict(TypedDict):
|
3747
|
-
pass
|
3748
|
-
elif False:
|
3749
|
-
StreamSourceConfigMysqlSourceConfigGtidArgsDict: TypeAlias = Mapping[str, Any]
|
3750
|
-
|
3751
|
-
@pulumi.input_type
|
3752
|
-
class StreamSourceConfigMysqlSourceConfigGtidArgs:
|
3753
|
-
def __init__(__self__):
|
3754
|
-
pass
|
3755
|
-
|
3756
|
-
|
3757
3689
|
if not MYPY:
|
3758
3690
|
class StreamSourceConfigMysqlSourceConfigIncludeObjectsArgsDict(TypedDict):
|
3759
3691
|
mysql_databases: pulumi.Input[Sequence[pulumi.Input['StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabaseArgsDict']]]
|
pulumi_gcp/datastream/outputs.py
CHANGED
@@ -57,12 +57,10 @@ __all__ = [
|
|
57
57
|
'StreamDestinationConfigGcsDestinationConfigJsonFileFormat',
|
58
58
|
'StreamSourceConfig',
|
59
59
|
'StreamSourceConfigMysqlSourceConfig',
|
60
|
-
'StreamSourceConfigMysqlSourceConfigBinaryLogPosition',
|
61
60
|
'StreamSourceConfigMysqlSourceConfigExcludeObjects',
|
62
61
|
'StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabase',
|
63
62
|
'StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTable',
|
64
63
|
'StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableMysqlColumn',
|
65
|
-
'StreamSourceConfigMysqlSourceConfigGtid',
|
66
64
|
'StreamSourceConfigMysqlSourceConfigIncludeObjects',
|
67
65
|
'StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabase',
|
68
66
|
'StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabaseMysqlTable',
|
@@ -2492,9 +2490,7 @@ class StreamSourceConfigMysqlSourceConfig(dict):
|
|
2492
2490
|
@staticmethod
|
2493
2491
|
def __key_warning(key: str):
|
2494
2492
|
suggest = None
|
2495
|
-
if key == "
|
2496
|
-
suggest = "binary_log_position"
|
2497
|
-
elif key == "excludeObjects":
|
2493
|
+
if key == "excludeObjects":
|
2498
2494
|
suggest = "exclude_objects"
|
2499
2495
|
elif key == "includeObjects":
|
2500
2496
|
suggest = "include_objects"
|
@@ -2515,17 +2511,13 @@ class StreamSourceConfigMysqlSourceConfig(dict):
|
|
2515
2511
|
return super().get(key, default)
|
2516
2512
|
|
2517
2513
|
def __init__(__self__, *,
|
2518
|
-
binary_log_position: Optional['outputs.StreamSourceConfigMysqlSourceConfigBinaryLogPosition'] = None,
|
2519
2514
|
exclude_objects: Optional['outputs.StreamSourceConfigMysqlSourceConfigExcludeObjects'] = None,
|
2520
|
-
gtid: Optional['outputs.StreamSourceConfigMysqlSourceConfigGtid'] = None,
|
2521
2515
|
include_objects: Optional['outputs.StreamSourceConfigMysqlSourceConfigIncludeObjects'] = None,
|
2522
2516
|
max_concurrent_backfill_tasks: Optional[int] = None,
|
2523
2517
|
max_concurrent_cdc_tasks: Optional[int] = None):
|
2524
2518
|
"""
|
2525
|
-
:param 'StreamSourceConfigMysqlSourceConfigBinaryLogPositionArgs' binary_log_position: CDC reader reads from binary logs replication cdc method.
|
2526
2519
|
:param 'StreamSourceConfigMysqlSourceConfigExcludeObjectsArgs' exclude_objects: MySQL objects to exclude from the stream.
|
2527
2520
|
Structure is documented below.
|
2528
|
-
:param 'StreamSourceConfigMysqlSourceConfigGtidArgs' gtid: CDC reader reads from gtid based replication.
|
2529
2521
|
:param 'StreamSourceConfigMysqlSourceConfigIncludeObjectsArgs' include_objects: MySQL objects to retrieve from the source.
|
2530
2522
|
Structure is documented below.
|
2531
2523
|
:param int max_concurrent_backfill_tasks: Maximum number of concurrent backfill tasks. The number should be non negative.
|
@@ -2533,12 +2525,8 @@ class StreamSourceConfigMysqlSourceConfig(dict):
|
|
2533
2525
|
:param int max_concurrent_cdc_tasks: Maximum number of concurrent CDC tasks. The number should be non negative.
|
2534
2526
|
If not set (or set to 0), the system's default value will be used.
|
2535
2527
|
"""
|
2536
|
-
if binary_log_position is not None:
|
2537
|
-
pulumi.set(__self__, "binary_log_position", binary_log_position)
|
2538
2528
|
if exclude_objects is not None:
|
2539
2529
|
pulumi.set(__self__, "exclude_objects", exclude_objects)
|
2540
|
-
if gtid is not None:
|
2541
|
-
pulumi.set(__self__, "gtid", gtid)
|
2542
2530
|
if include_objects is not None:
|
2543
2531
|
pulumi.set(__self__, "include_objects", include_objects)
|
2544
2532
|
if max_concurrent_backfill_tasks is not None:
|
@@ -2546,14 +2534,6 @@ class StreamSourceConfigMysqlSourceConfig(dict):
|
|
2546
2534
|
if max_concurrent_cdc_tasks is not None:
|
2547
2535
|
pulumi.set(__self__, "max_concurrent_cdc_tasks", max_concurrent_cdc_tasks)
|
2548
2536
|
|
2549
|
-
@property
|
2550
|
-
@pulumi.getter(name="binaryLogPosition")
|
2551
|
-
def binary_log_position(self) -> Optional['outputs.StreamSourceConfigMysqlSourceConfigBinaryLogPosition']:
|
2552
|
-
"""
|
2553
|
-
CDC reader reads from binary logs replication cdc method.
|
2554
|
-
"""
|
2555
|
-
return pulumi.get(self, "binary_log_position")
|
2556
|
-
|
2557
2537
|
@property
|
2558
2538
|
@pulumi.getter(name="excludeObjects")
|
2559
2539
|
def exclude_objects(self) -> Optional['outputs.StreamSourceConfigMysqlSourceConfigExcludeObjects']:
|
@@ -2563,14 +2543,6 @@ class StreamSourceConfigMysqlSourceConfig(dict):
|
|
2563
2543
|
"""
|
2564
2544
|
return pulumi.get(self, "exclude_objects")
|
2565
2545
|
|
2566
|
-
@property
|
2567
|
-
@pulumi.getter
|
2568
|
-
def gtid(self) -> Optional['outputs.StreamSourceConfigMysqlSourceConfigGtid']:
|
2569
|
-
"""
|
2570
|
-
CDC reader reads from gtid based replication.
|
2571
|
-
"""
|
2572
|
-
return pulumi.get(self, "gtid")
|
2573
|
-
|
2574
2546
|
@property
|
2575
2547
|
@pulumi.getter(name="includeObjects")
|
2576
2548
|
def include_objects(self) -> Optional['outputs.StreamSourceConfigMysqlSourceConfigIncludeObjects']:
|
@@ -2599,12 +2571,6 @@ class StreamSourceConfigMysqlSourceConfig(dict):
|
|
2599
2571
|
return pulumi.get(self, "max_concurrent_cdc_tasks")
|
2600
2572
|
|
2601
2573
|
|
2602
|
-
@pulumi.output_type
|
2603
|
-
class StreamSourceConfigMysqlSourceConfigBinaryLogPosition(dict):
|
2604
|
-
def __init__(__self__):
|
2605
|
-
pass
|
2606
|
-
|
2607
|
-
|
2608
2574
|
@pulumi.output_type
|
2609
2575
|
class StreamSourceConfigMysqlSourceConfigExcludeObjects(dict):
|
2610
2576
|
@staticmethod
|
@@ -2856,12 +2822,6 @@ class StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableMy
|
|
2856
2822
|
return pulumi.get(self, "primary_key")
|
2857
2823
|
|
2858
2824
|
|
2859
|
-
@pulumi.output_type
|
2860
|
-
class StreamSourceConfigMysqlSourceConfigGtid(dict):
|
2861
|
-
def __init__(__self__):
|
2862
|
-
pass
|
2863
|
-
|
2864
|
-
|
2865
2825
|
@pulumi.output_type
|
2866
2826
|
class StreamSourceConfigMysqlSourceConfigIncludeObjects(dict):
|
2867
2827
|
@staticmethod
|