pulumi-gcp 8.21.0a1741156431__py3-none-any.whl → 8.22.0__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 +96 -0
- pulumi_gcp/alloydb/_inputs.py +66 -0
- pulumi_gcp/alloydb/cluster.py +148 -0
- pulumi_gcp/alloydb/instance.py +28 -28
- pulumi_gcp/alloydb/outputs.py +95 -0
- pulumi_gcp/apihub/__init__.py +1 -0
- pulumi_gcp/apihub/host_project_registration.py +535 -0
- pulumi_gcp/backupdisasterrecovery/_inputs.py +3 -3
- pulumi_gcp/backupdisasterrecovery/outputs.py +4 -4
- pulumi_gcp/bigquery/table.py +1 -1
- pulumi_gcp/certificatemanager/certificate.py +53 -7
- pulumi_gcp/certificatemanager/outputs.py +8 -2
- pulumi_gcp/compute/__init__.py +6 -0
- pulumi_gcp/compute/_inputs.py +1370 -17
- pulumi_gcp/compute/backend_service.py +209 -14
- pulumi_gcp/compute/ca_external_account_key.py +48 -3
- pulumi_gcp/compute/disk.py +403 -0
- pulumi_gcp/compute/firewall_policy_association.py +28 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_disk.py +78 -1
- pulumi_gcp/compute/get_instant_snapshot_iam_policy.py +182 -0
- pulumi_gcp/compute/get_region_disk.py +23 -1
- pulumi_gcp/compute/get_region_ssl_policy.py +203 -0
- pulumi_gcp/compute/instant_snapshot.py +796 -0
- pulumi_gcp/compute/instant_snapshot_iam_binding.py +1087 -0
- pulumi_gcp/compute/instant_snapshot_iam_member.py +1087 -0
- pulumi_gcp/compute/instant_snapshot_iam_policy.py +906 -0
- pulumi_gcp/compute/outputs.py +1952 -29
- pulumi_gcp/compute/region_backend_service.py +207 -14
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/route.py +228 -2
- pulumi_gcp/compute/shared_vpc_service_project.py +0 -4
- pulumi_gcp/compute/subnetwork.py +147 -0
- pulumi_gcp/compute/url_map.py +8 -0
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/outputs.py +8 -8
- pulumi_gcp/datacatalog/entry.py +4 -0
- pulumi_gcp/datacatalog/tag.py +4 -0
- pulumi_gcp/dataproc/_inputs.py +12 -15
- pulumi_gcp/dataproc/outputs.py +8 -10
- pulumi_gcp/datastream/_inputs.py +273 -0
- pulumi_gcp/datastream/connection_profile.py +54 -2
- pulumi_gcp/datastream/outputs.py +224 -0
- pulumi_gcp/discoveryengine/target_site.py +4 -4
- pulumi_gcp/eventarc/__init__.py +2 -0
- pulumi_gcp/eventarc/_inputs.py +80 -0
- pulumi_gcp/eventarc/channel.py +85 -93
- pulumi_gcp/eventarc/google_api_source.py +997 -0
- pulumi_gcp/eventarc/message_bus.py +927 -0
- pulumi_gcp/eventarc/outputs.py +82 -0
- pulumi_gcp/firebase/data_connect_service.py +40 -2
- pulumi_gcp/gemini/__init__.py +1 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +20 -8
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +6 -0
- pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +734 -0
- pulumi_gcp/gemini/logging_setting_binding.py +7 -7
- pulumi_gcp/iam/__init__.py +2 -0
- pulumi_gcp/iam/_inputs.py +84 -27
- pulumi_gcp/iam/folders_policy_binding.py +10 -26
- pulumi_gcp/iam/oauth_client.py +979 -0
- pulumi_gcp/iam/oauth_client_credential.py +641 -0
- pulumi_gcp/iam/organizations_policy_binding.py +8 -24
- pulumi_gcp/iam/outputs.py +56 -18
- pulumi_gcp/iam/principal_access_boundary_policy.py +58 -22
- pulumi_gcp/iam/projects_policy_binding.py +8 -24
- pulumi_gcp/iam/workforce_pool_provider.py +2 -2
- pulumi_gcp/kms/crypto_key_version.py +14 -7
- pulumi_gcp/memorystore/__init__.py +1 -0
- pulumi_gcp/memorystore/get_instance.py +425 -0
- pulumi_gcp/memorystore/outputs.py +582 -0
- pulumi_gcp/monitoring/_inputs.py +15 -18
- pulumi_gcp/monitoring/alert_policy.py +46 -0
- pulumi_gcp/monitoring/outputs.py +10 -12
- pulumi_gcp/networkconnectivity/hub.py +84 -0
- pulumi_gcp/networksecurity/__init__.py +1 -0
- pulumi_gcp/networksecurity/_inputs.py +30 -18
- pulumi_gcp/networksecurity/backend_authentication_config.py +847 -0
- pulumi_gcp/networksecurity/intercept_deployment.py +178 -94
- pulumi_gcp/networksecurity/intercept_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +161 -66
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +137 -80
- pulumi_gcp/networksecurity/mirroring_deployment.py +178 -94
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +161 -80
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +137 -105
- pulumi_gcp/networksecurity/outputs.py +20 -12
- pulumi_gcp/networkservices/endpoint_policy.py +12 -0
- pulumi_gcp/networkservices/grpc_route.py +128 -12
- pulumi_gcp/networkservices/http_route.py +16 -0
- pulumi_gcp/networkservices/mesh.py +16 -0
- pulumi_gcp/networkservices/service_binding.py +14 -0
- pulumi_gcp/networkservices/tcp_route.py +16 -0
- pulumi_gcp/networkservices/tls_route.py +12 -0
- pulumi_gcp/notebooks/location.py +4 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +74 -0
- pulumi_gcp/storage/anywhere_cache.py +552 -0
- pulumi_gcp/storage/outputs.py +65 -0
- pulumi_gcp/storage/transfer_job.py +67 -0
- pulumi_gcp/tpu/_inputs.py +21 -1
- pulumi_gcp/tpu/outputs.py +13 -1
- pulumi_gcp/tpu/v2_vm.py +2 -0
- pulumi_gcp/vmwareengine/_inputs.py +6 -0
- pulumi_gcp/vmwareengine/outputs.py +8 -0
- pulumi_gcp/workstations/workstation_cluster.py +137 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/RECORD +110 -95
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/top_level.txt +0 -0
@@ -455,6 +455,12 @@ class EndpointPolicy(pulumi.CustomResource):
|
|
455
455
|
type: Optional[pulumi.Input[str]] = None,
|
456
456
|
__props__=None):
|
457
457
|
"""
|
458
|
+
EndpointPolicy is a resource that helps apply desired configuration on the endpoints that match specific criteria.
|
459
|
+
|
460
|
+
To get more information about EndpointPolicy, see:
|
461
|
+
|
462
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.endpointPolicies)
|
463
|
+
|
458
464
|
## Example Usage
|
459
465
|
|
460
466
|
### Network Services Endpoint Policy Basic
|
@@ -556,6 +562,12 @@ class EndpointPolicy(pulumi.CustomResource):
|
|
556
562
|
args: EndpointPolicyArgs,
|
557
563
|
opts: Optional[pulumi.ResourceOptions] = None):
|
558
564
|
"""
|
565
|
+
EndpointPolicy is a resource that helps apply desired configuration on the endpoints that match specific criteria.
|
566
|
+
|
567
|
+
To get more information about EndpointPolicy, see:
|
568
|
+
|
569
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.endpointPolicies)
|
570
|
+
|
559
571
|
## Example Usage
|
560
572
|
|
561
573
|
### Network Services Endpoint Policy Basic
|
@@ -26,6 +26,7 @@ class GrpcRouteArgs:
|
|
26
26
|
description: Optional[pulumi.Input[str]] = None,
|
27
27
|
gateways: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
28
28
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
29
|
+
location: Optional[pulumi.Input[str]] = None,
|
29
30
|
meshes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
30
31
|
name: Optional[pulumi.Input[str]] = None,
|
31
32
|
project: Optional[pulumi.Input[str]] = None):
|
@@ -39,6 +40,8 @@ class GrpcRouteArgs:
|
|
39
40
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Set of label tags associated with the GrpcRoute resource. **Note**: This field is non-authoritative, and will only
|
40
41
|
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
41
42
|
present on the resource.
|
43
|
+
:param pulumi.Input[str] location: Location (region) of the GRPCRoute resource to be created. Only the value 'global' is currently allowed; defaults to
|
44
|
+
'global' if omitted.
|
42
45
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] meshes: List of meshes this GrpcRoute is attached to, as one of the routing rules to route the requests served by the mesh.
|
43
46
|
:param pulumi.Input[str] name: Name of the GrpcRoute resource.
|
44
47
|
"""
|
@@ -50,6 +53,8 @@ class GrpcRouteArgs:
|
|
50
53
|
pulumi.set(__self__, "gateways", gateways)
|
51
54
|
if labels is not None:
|
52
55
|
pulumi.set(__self__, "labels", labels)
|
56
|
+
if location is not None:
|
57
|
+
pulumi.set(__self__, "location", location)
|
53
58
|
if meshes is not None:
|
54
59
|
pulumi.set(__self__, "meshes", meshes)
|
55
60
|
if name is not None:
|
@@ -120,6 +125,19 @@ class GrpcRouteArgs:
|
|
120
125
|
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
121
126
|
pulumi.set(self, "labels", value)
|
122
127
|
|
128
|
+
@property
|
129
|
+
@pulumi.getter
|
130
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
131
|
+
"""
|
132
|
+
Location (region) of the GRPCRoute resource to be created. Only the value 'global' is currently allowed; defaults to
|
133
|
+
'global' if omitted.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "location")
|
136
|
+
|
137
|
+
@location.setter
|
138
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
139
|
+
pulumi.set(self, "location", value)
|
140
|
+
|
123
141
|
@property
|
124
142
|
@pulumi.getter
|
125
143
|
def meshes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -163,6 +181,7 @@ class _GrpcRouteState:
|
|
163
181
|
gateways: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
164
182
|
hostnames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
165
183
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
184
|
+
location: Optional[pulumi.Input[str]] = None,
|
166
185
|
meshes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
167
186
|
name: Optional[pulumi.Input[str]] = None,
|
168
187
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -180,6 +199,8 @@ class _GrpcRouteState:
|
|
180
199
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Set of label tags associated with the GrpcRoute resource. **Note**: This field is non-authoritative, and will only
|
181
200
|
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
182
201
|
present on the resource.
|
202
|
+
:param pulumi.Input[str] location: Location (region) of the GRPCRoute resource to be created. Only the value 'global' is currently allowed; defaults to
|
203
|
+
'global' if omitted.
|
183
204
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] meshes: List of meshes this GrpcRoute is attached to, as one of the routing rules to route the requests served by the mesh.
|
184
205
|
:param pulumi.Input[str] name: Name of the GrpcRoute resource.
|
185
206
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
@@ -201,6 +222,8 @@ class _GrpcRouteState:
|
|
201
222
|
pulumi.set(__self__, "hostnames", hostnames)
|
202
223
|
if labels is not None:
|
203
224
|
pulumi.set(__self__, "labels", labels)
|
225
|
+
if location is not None:
|
226
|
+
pulumi.set(__self__, "location", location)
|
204
227
|
if meshes is not None:
|
205
228
|
pulumi.set(__self__, "meshes", meshes)
|
206
229
|
if name is not None:
|
@@ -290,6 +313,19 @@ class _GrpcRouteState:
|
|
290
313
|
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
291
314
|
pulumi.set(self, "labels", value)
|
292
315
|
|
316
|
+
@property
|
317
|
+
@pulumi.getter
|
318
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
319
|
+
"""
|
320
|
+
Location (region) of the GRPCRoute resource to be created. Only the value 'global' is currently allowed; defaults to
|
321
|
+
'global' if omitted.
|
322
|
+
"""
|
323
|
+
return pulumi.get(self, "location")
|
324
|
+
|
325
|
+
@location.setter
|
326
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
327
|
+
pulumi.set(self, "location", value)
|
328
|
+
|
293
329
|
@property
|
294
330
|
@pulumi.getter
|
295
331
|
def meshes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -383,12 +419,19 @@ class GrpcRoute(pulumi.CustomResource):
|
|
383
419
|
gateways: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
384
420
|
hostnames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
385
421
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
422
|
+
location: Optional[pulumi.Input[str]] = None,
|
386
423
|
meshes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
387
424
|
name: Optional[pulumi.Input[str]] = None,
|
388
425
|
project: Optional[pulumi.Input[str]] = None,
|
389
426
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrpcRouteRuleArgs', 'GrpcRouteRuleArgsDict']]]]] = None,
|
390
427
|
__props__=None):
|
391
428
|
"""
|
429
|
+
GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed.
|
430
|
+
|
431
|
+
To get more information about GrpcRoute, see:
|
432
|
+
|
433
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.grpcRoutes)
|
434
|
+
|
392
435
|
## Example Usage
|
393
436
|
|
394
437
|
### Network Services Grpc Route Basic
|
@@ -502,29 +545,54 @@ class GrpcRoute(pulumi.CustomResource):
|
|
502
545
|
},
|
503
546
|
}])
|
504
547
|
```
|
548
|
+
### Network Services Grpc Route Location
|
549
|
+
|
550
|
+
```python
|
551
|
+
import pulumi
|
552
|
+
import pulumi_gcp as gcp
|
553
|
+
|
554
|
+
default = gcp.networkservices.GrpcRoute("default",
|
555
|
+
name="my-grpc-route",
|
556
|
+
location="global",
|
557
|
+
hostnames=["example"],
|
558
|
+
rules=[{
|
559
|
+
"matches": [{
|
560
|
+
"headers": [{
|
561
|
+
"key": "key",
|
562
|
+
"value": "value",
|
563
|
+
}],
|
564
|
+
}],
|
565
|
+
"action": {
|
566
|
+
"retry_policy": {
|
567
|
+
"retry_conditions": ["cancelled"],
|
568
|
+
"num_retries": 1,
|
569
|
+
},
|
570
|
+
},
|
571
|
+
}])
|
572
|
+
```
|
505
573
|
|
506
574
|
## Import
|
507
575
|
|
508
576
|
GrpcRoute can be imported using any of these accepted formats:
|
509
577
|
|
510
|
-
* `projects/{{project}}/locations/
|
578
|
+
* `projects/{{project}}/locations/{{location}}/grpcRoutes/{{name}}`
|
511
579
|
|
512
|
-
* `{{project}}/{{name}}`
|
580
|
+
* `{{project}}/{{location}}/{{name}}`
|
513
581
|
|
514
|
-
* `{{name}}`
|
582
|
+
* `{{location}}/{{name}}`
|
515
583
|
|
516
584
|
When using the `pulumi import` command, GrpcRoute can be imported using one of the formats above. For example:
|
517
585
|
|
518
586
|
```sh
|
519
|
-
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default projects/{{project}}/locations/
|
587
|
+
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default projects/{{project}}/locations/{{location}}/grpcRoutes/{{name}}
|
520
588
|
```
|
521
589
|
|
522
590
|
```sh
|
523
|
-
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default {{project}}/{{name}}
|
591
|
+
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default {{project}}/{{location}}/{{name}}
|
524
592
|
```
|
525
593
|
|
526
594
|
```sh
|
527
|
-
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default {{name}}
|
595
|
+
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default {{location}}/{{name}}
|
528
596
|
```
|
529
597
|
|
530
598
|
:param str resource_name: The name of the resource.
|
@@ -535,6 +603,8 @@ class GrpcRoute(pulumi.CustomResource):
|
|
535
603
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Set of label tags associated with the GrpcRoute resource. **Note**: This field is non-authoritative, and will only
|
536
604
|
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
537
605
|
present on the resource.
|
606
|
+
:param pulumi.Input[str] location: Location (region) of the GRPCRoute resource to be created. Only the value 'global' is currently allowed; defaults to
|
607
|
+
'global' if omitted.
|
538
608
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] meshes: List of meshes this GrpcRoute is attached to, as one of the routing rules to route the requests served by the mesh.
|
539
609
|
:param pulumi.Input[str] name: Name of the GrpcRoute resource.
|
540
610
|
:param pulumi.Input[Sequence[pulumi.Input[Union['GrpcRouteRuleArgs', 'GrpcRouteRuleArgsDict']]]] rules: Rules that define how traffic is routed and handled.
|
@@ -547,6 +617,12 @@ class GrpcRoute(pulumi.CustomResource):
|
|
547
617
|
args: GrpcRouteArgs,
|
548
618
|
opts: Optional[pulumi.ResourceOptions] = None):
|
549
619
|
"""
|
620
|
+
GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or Gateway resource is routed.
|
621
|
+
|
622
|
+
To get more information about GrpcRoute, see:
|
623
|
+
|
624
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.grpcRoutes)
|
625
|
+
|
550
626
|
## Example Usage
|
551
627
|
|
552
628
|
### Network Services Grpc Route Basic
|
@@ -660,29 +736,54 @@ class GrpcRoute(pulumi.CustomResource):
|
|
660
736
|
},
|
661
737
|
}])
|
662
738
|
```
|
739
|
+
### Network Services Grpc Route Location
|
740
|
+
|
741
|
+
```python
|
742
|
+
import pulumi
|
743
|
+
import pulumi_gcp as gcp
|
744
|
+
|
745
|
+
default = gcp.networkservices.GrpcRoute("default",
|
746
|
+
name="my-grpc-route",
|
747
|
+
location="global",
|
748
|
+
hostnames=["example"],
|
749
|
+
rules=[{
|
750
|
+
"matches": [{
|
751
|
+
"headers": [{
|
752
|
+
"key": "key",
|
753
|
+
"value": "value",
|
754
|
+
}],
|
755
|
+
}],
|
756
|
+
"action": {
|
757
|
+
"retry_policy": {
|
758
|
+
"retry_conditions": ["cancelled"],
|
759
|
+
"num_retries": 1,
|
760
|
+
},
|
761
|
+
},
|
762
|
+
}])
|
763
|
+
```
|
663
764
|
|
664
765
|
## Import
|
665
766
|
|
666
767
|
GrpcRoute can be imported using any of these accepted formats:
|
667
768
|
|
668
|
-
* `projects/{{project}}/locations/
|
769
|
+
* `projects/{{project}}/locations/{{location}}/grpcRoutes/{{name}}`
|
669
770
|
|
670
|
-
* `{{project}}/{{name}}`
|
771
|
+
* `{{project}}/{{location}}/{{name}}`
|
671
772
|
|
672
|
-
* `{{name}}`
|
773
|
+
* `{{location}}/{{name}}`
|
673
774
|
|
674
775
|
When using the `pulumi import` command, GrpcRoute can be imported using one of the formats above. For example:
|
675
776
|
|
676
777
|
```sh
|
677
|
-
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default projects/{{project}}/locations/
|
778
|
+
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default projects/{{project}}/locations/{{location}}/grpcRoutes/{{name}}
|
678
779
|
```
|
679
780
|
|
680
781
|
```sh
|
681
|
-
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default {{project}}/{{name}}
|
782
|
+
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default {{project}}/{{location}}/{{name}}
|
682
783
|
```
|
683
784
|
|
684
785
|
```sh
|
685
|
-
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default {{name}}
|
786
|
+
$ pulumi import gcp:networkservices/grpcRoute:GrpcRoute default {{location}}/{{name}}
|
686
787
|
```
|
687
788
|
|
688
789
|
:param str resource_name: The name of the resource.
|
@@ -704,6 +805,7 @@ class GrpcRoute(pulumi.CustomResource):
|
|
704
805
|
gateways: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
705
806
|
hostnames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
706
807
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
808
|
+
location: Optional[pulumi.Input[str]] = None,
|
707
809
|
meshes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
708
810
|
name: Optional[pulumi.Input[str]] = None,
|
709
811
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -723,6 +825,7 @@ class GrpcRoute(pulumi.CustomResource):
|
|
723
825
|
raise TypeError("Missing required property 'hostnames'")
|
724
826
|
__props__.__dict__["hostnames"] = hostnames
|
725
827
|
__props__.__dict__["labels"] = labels
|
828
|
+
__props__.__dict__["location"] = location
|
726
829
|
__props__.__dict__["meshes"] = meshes
|
727
830
|
__props__.__dict__["name"] = name
|
728
831
|
__props__.__dict__["project"] = project
|
@@ -752,6 +855,7 @@ class GrpcRoute(pulumi.CustomResource):
|
|
752
855
|
gateways: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
753
856
|
hostnames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
754
857
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
858
|
+
location: Optional[pulumi.Input[str]] = None,
|
755
859
|
meshes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
756
860
|
name: Optional[pulumi.Input[str]] = None,
|
757
861
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -774,6 +878,8 @@ class GrpcRoute(pulumi.CustomResource):
|
|
774
878
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Set of label tags associated with the GrpcRoute resource. **Note**: This field is non-authoritative, and will only
|
775
879
|
manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels
|
776
880
|
present on the resource.
|
881
|
+
:param pulumi.Input[str] location: Location (region) of the GRPCRoute resource to be created. Only the value 'global' is currently allowed; defaults to
|
882
|
+
'global' if omitted.
|
777
883
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] meshes: List of meshes this GrpcRoute is attached to, as one of the routing rules to route the requests served by the mesh.
|
778
884
|
:param pulumi.Input[str] name: Name of the GrpcRoute resource.
|
779
885
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
@@ -793,6 +899,7 @@ class GrpcRoute(pulumi.CustomResource):
|
|
793
899
|
__props__.__dict__["gateways"] = gateways
|
794
900
|
__props__.__dict__["hostnames"] = hostnames
|
795
901
|
__props__.__dict__["labels"] = labels
|
902
|
+
__props__.__dict__["location"] = location
|
796
903
|
__props__.__dict__["meshes"] = meshes
|
797
904
|
__props__.__dict__["name"] = name
|
798
905
|
__props__.__dict__["project"] = project
|
@@ -852,6 +959,15 @@ class GrpcRoute(pulumi.CustomResource):
|
|
852
959
|
"""
|
853
960
|
return pulumi.get(self, "labels")
|
854
961
|
|
962
|
+
@property
|
963
|
+
@pulumi.getter
|
964
|
+
def location(self) -> pulumi.Output[Optional[str]]:
|
965
|
+
"""
|
966
|
+
Location (region) of the GRPCRoute resource to be created. Only the value 'global' is currently allowed; defaults to
|
967
|
+
'global' if omitted.
|
968
|
+
"""
|
969
|
+
return pulumi.get(self, "location")
|
970
|
+
|
855
971
|
@property
|
856
972
|
@pulumi.getter
|
857
973
|
def meshes(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
@@ -405,6 +405,14 @@ class HttpRoute(pulumi.CustomResource):
|
|
405
405
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HttpRouteRuleArgs', 'HttpRouteRuleArgsDict']]]]] = None,
|
406
406
|
__props__=None):
|
407
407
|
"""
|
408
|
+
HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh or Gateway resource.
|
409
|
+
|
410
|
+
To get more information about HttpRoute, see:
|
411
|
+
|
412
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.httpRoutes)
|
413
|
+
* How-to Guides
|
414
|
+
* [Setup HTTP Services](https://cloud.google.com/traffic-director/docs/set-up-envoy-http-mesh)
|
415
|
+
|
408
416
|
## Example Usage
|
409
417
|
|
410
418
|
### Network Services Http Route Basic
|
@@ -690,6 +698,14 @@ class HttpRoute(pulumi.CustomResource):
|
|
690
698
|
args: HttpRouteArgs,
|
691
699
|
opts: Optional[pulumi.ResourceOptions] = None):
|
692
700
|
"""
|
701
|
+
HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh or Gateway resource.
|
702
|
+
|
703
|
+
To get more information about HttpRoute, see:
|
704
|
+
|
705
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.httpRoutes)
|
706
|
+
* How-to Guides
|
707
|
+
* [Setup HTTP Services](https://cloud.google.com/traffic-director/docs/set-up-envoy-http-mesh)
|
708
|
+
|
693
709
|
## Example Usage
|
694
710
|
|
695
711
|
### Network Services Http Route Basic
|
@@ -359,6 +359,14 @@ class Mesh(pulumi.CustomResource):
|
|
359
359
|
project: Optional[pulumi.Input[str]] = None,
|
360
360
|
__props__=None):
|
361
361
|
"""
|
362
|
+
Mesh represents a logical configuration grouping for workload to workload communication within a
|
363
|
+
service mesh. Routes that point to mesh dictate how requests are routed within this logical
|
364
|
+
mesh boundary.
|
365
|
+
|
366
|
+
To get more information about Mesh, see:
|
367
|
+
|
368
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.meshes)
|
369
|
+
|
362
370
|
## Example Usage
|
363
371
|
|
364
372
|
### Network Services Mesh Basic
|
@@ -449,6 +457,14 @@ class Mesh(pulumi.CustomResource):
|
|
449
457
|
args: Optional[MeshArgs] = None,
|
450
458
|
opts: Optional[pulumi.ResourceOptions] = None):
|
451
459
|
"""
|
460
|
+
Mesh represents a logical configuration grouping for workload to workload communication within a
|
461
|
+
service mesh. Routes that point to mesh dictate how requests are routed within this logical
|
462
|
+
mesh boundary.
|
463
|
+
|
464
|
+
To get more information about Mesh, see:
|
465
|
+
|
466
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.meshes)
|
467
|
+
|
452
468
|
## Example Usage
|
453
469
|
|
454
470
|
### Network Services Mesh Basic
|
@@ -297,6 +297,13 @@ class ServiceBinding(pulumi.CustomResource):
|
|
297
297
|
service: Optional[pulumi.Input[str]] = None,
|
298
298
|
__props__=None):
|
299
299
|
"""
|
300
|
+
ServiceBinding is the resource that defines a Service Directory Service to be used in a
|
301
|
+
BackendService resource.
|
302
|
+
|
303
|
+
To get more information about ServiceBinding, see:
|
304
|
+
|
305
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.serviceBindings)
|
306
|
+
|
300
307
|
## Example Usage
|
301
308
|
|
302
309
|
### Network Services Service Binding Basic
|
@@ -370,6 +377,13 @@ class ServiceBinding(pulumi.CustomResource):
|
|
370
377
|
args: ServiceBindingArgs,
|
371
378
|
opts: Optional[pulumi.ResourceOptions] = None):
|
372
379
|
"""
|
380
|
+
ServiceBinding is the resource that defines a Service Directory Service to be used in a
|
381
|
+
BackendService resource.
|
382
|
+
|
383
|
+
To get more information about ServiceBinding, see:
|
384
|
+
|
385
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.serviceBindings)
|
386
|
+
|
373
387
|
## Example Usage
|
374
388
|
|
375
389
|
### Network Services Service Binding Basic
|
@@ -377,6 +377,14 @@ class TcpRoute(pulumi.CustomResource):
|
|
377
377
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TcpRouteRuleArgs', 'TcpRouteRuleArgsDict']]]]] = None,
|
378
378
|
__props__=None):
|
379
379
|
"""
|
380
|
+
TcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource.
|
381
|
+
|
382
|
+
To get more information about TcpRoute, see:
|
383
|
+
|
384
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.tcpRoutes)
|
385
|
+
* How-to Guides
|
386
|
+
* [Setup TCP Services](https://cloud.google.com/traffic-director/docs/set-up-tcp-route)
|
387
|
+
|
380
388
|
## Example Usage
|
381
389
|
|
382
390
|
### Network Services Tcp Route Basic
|
@@ -578,6 +586,14 @@ class TcpRoute(pulumi.CustomResource):
|
|
578
586
|
args: TcpRouteArgs,
|
579
587
|
opts: Optional[pulumi.ResourceOptions] = None):
|
580
588
|
"""
|
589
|
+
TcpRoute is the resource defining how TCP traffic should be routed by a Mesh/Gateway resource.
|
590
|
+
|
591
|
+
To get more information about TcpRoute, see:
|
592
|
+
|
593
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.tcpRoutes)
|
594
|
+
* How-to Guides
|
595
|
+
* [Setup TCP Services](https://cloud.google.com/traffic-director/docs/set-up-tcp-route)
|
596
|
+
|
581
597
|
## Example Usage
|
582
598
|
|
583
599
|
### Network Services Tcp Route Basic
|
@@ -298,6 +298,12 @@ class TlsRoute(pulumi.CustomResource):
|
|
298
298
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TlsRouteRuleArgs', 'TlsRouteRuleArgsDict']]]]] = None,
|
299
299
|
__props__=None):
|
300
300
|
"""
|
301
|
+
TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.
|
302
|
+
|
303
|
+
To get more information about TlsRoute, see:
|
304
|
+
|
305
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.tlsRoutes)
|
306
|
+
|
301
307
|
## Example Usage
|
302
308
|
|
303
309
|
### Network Services Tls Route Basic
|
@@ -452,6 +458,12 @@ class TlsRoute(pulumi.CustomResource):
|
|
452
458
|
args: TlsRouteArgs,
|
453
459
|
opts: Optional[pulumi.ResourceOptions] = None):
|
454
460
|
"""
|
461
|
+
TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.
|
462
|
+
|
463
|
+
To get more information about TlsRoute, see:
|
464
|
+
|
465
|
+
* [API documentation](https://cloud.google.com/traffic-director/docs/reference/network-services/rest/v1beta1/projects.locations.tlsRoutes)
|
466
|
+
|
455
467
|
## Example Usage
|
456
468
|
|
457
469
|
### Network Services Tls Route Basic
|
pulumi_gcp/notebooks/location.py
CHANGED
@@ -125,6 +125,8 @@ class Location(pulumi.CustomResource):
|
|
125
125
|
project: Optional[pulumi.Input[str]] = None,
|
126
126
|
__props__=None):
|
127
127
|
"""
|
128
|
+
> **Warning:** `notebooks.Location` is deprecated and will be removed in a future major release. This resource is not functional.
|
129
|
+
|
128
130
|
Represents a Location resource.
|
129
131
|
|
130
132
|
## Import
|
@@ -164,6 +166,8 @@ class Location(pulumi.CustomResource):
|
|
164
166
|
args: Optional[LocationArgs] = None,
|
165
167
|
opts: Optional[pulumi.ResourceOptions] = None):
|
166
168
|
"""
|
169
|
+
> **Warning:** `notebooks.Location` is deprecated and will be removed in a future major release. This resource is not functional.
|
170
|
+
|
167
171
|
Represents a Location resource.
|
168
172
|
|
169
173
|
## Import
|
pulumi_gcp/pulumi-plugin.json
CHANGED
pulumi_gcp/storage/__init__.py
CHANGED
pulumi_gcp/storage/_inputs.py
CHANGED
@@ -75,6 +75,8 @@ __all__ = [
|
|
75
75
|
'TransferAgentPoolBandwidthLimitArgsDict',
|
76
76
|
'TransferJobEventStreamArgs',
|
77
77
|
'TransferJobEventStreamArgsDict',
|
78
|
+
'TransferJobLoggingConfigArgs',
|
79
|
+
'TransferJobLoggingConfigArgsDict',
|
78
80
|
'TransferJobNotificationConfigArgs',
|
79
81
|
'TransferJobNotificationConfigArgsDict',
|
80
82
|
'TransferJobReplicationSpecArgs',
|
@@ -2124,6 +2126,78 @@ class TransferJobEventStreamArgs:
|
|
2124
2126
|
pulumi.set(self, "event_stream_start_time", value)
|
2125
2127
|
|
2126
2128
|
|
2129
|
+
if not MYPY:
|
2130
|
+
class TransferJobLoggingConfigArgsDict(TypedDict):
|
2131
|
+
enable_on_prem_gcs_transfer_logs: NotRequired[pulumi.Input[bool]]
|
2132
|
+
"""
|
2133
|
+
For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
|
2134
|
+
"""
|
2135
|
+
log_action_states: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
2136
|
+
"""
|
2137
|
+
States in which logActions are logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
|
2138
|
+
"""
|
2139
|
+
log_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
2140
|
+
"""
|
2141
|
+
Specifies the actions to be logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
|
2142
|
+
"""
|
2143
|
+
elif False:
|
2144
|
+
TransferJobLoggingConfigArgsDict: TypeAlias = Mapping[str, Any]
|
2145
|
+
|
2146
|
+
@pulumi.input_type
|
2147
|
+
class TransferJobLoggingConfigArgs:
|
2148
|
+
def __init__(__self__, *,
|
2149
|
+
enable_on_prem_gcs_transfer_logs: Optional[pulumi.Input[bool]] = None,
|
2150
|
+
log_action_states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2151
|
+
log_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
2152
|
+
"""
|
2153
|
+
:param pulumi.Input[bool] enable_on_prem_gcs_transfer_logs: For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
|
2154
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] log_action_states: States in which logActions are logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
|
2155
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] log_actions: Specifies the actions to be logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
|
2156
|
+
"""
|
2157
|
+
if enable_on_prem_gcs_transfer_logs is not None:
|
2158
|
+
pulumi.set(__self__, "enable_on_prem_gcs_transfer_logs", enable_on_prem_gcs_transfer_logs)
|
2159
|
+
if log_action_states is not None:
|
2160
|
+
pulumi.set(__self__, "log_action_states", log_action_states)
|
2161
|
+
if log_actions is not None:
|
2162
|
+
pulumi.set(__self__, "log_actions", log_actions)
|
2163
|
+
|
2164
|
+
@property
|
2165
|
+
@pulumi.getter(name="enableOnPremGcsTransferLogs")
|
2166
|
+
def enable_on_prem_gcs_transfer_logs(self) -> Optional[pulumi.Input[bool]]:
|
2167
|
+
"""
|
2168
|
+
For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
|
2169
|
+
"""
|
2170
|
+
return pulumi.get(self, "enable_on_prem_gcs_transfer_logs")
|
2171
|
+
|
2172
|
+
@enable_on_prem_gcs_transfer_logs.setter
|
2173
|
+
def enable_on_prem_gcs_transfer_logs(self, value: Optional[pulumi.Input[bool]]):
|
2174
|
+
pulumi.set(self, "enable_on_prem_gcs_transfer_logs", value)
|
2175
|
+
|
2176
|
+
@property
|
2177
|
+
@pulumi.getter(name="logActionStates")
|
2178
|
+
def log_action_states(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
2179
|
+
"""
|
2180
|
+
States in which logActions are logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
|
2181
|
+
"""
|
2182
|
+
return pulumi.get(self, "log_action_states")
|
2183
|
+
|
2184
|
+
@log_action_states.setter
|
2185
|
+
def log_action_states(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
2186
|
+
pulumi.set(self, "log_action_states", value)
|
2187
|
+
|
2188
|
+
@property
|
2189
|
+
@pulumi.getter(name="logActions")
|
2190
|
+
def log_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
2191
|
+
"""
|
2192
|
+
Specifies the actions to be logged. Not supported for transfers with PosifxFilesystem data sources; use enable_on_prem_gcs_transfer_logs instead.
|
2193
|
+
"""
|
2194
|
+
return pulumi.get(self, "log_actions")
|
2195
|
+
|
2196
|
+
@log_actions.setter
|
2197
|
+
def log_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
2198
|
+
pulumi.set(self, "log_actions", value)
|
2199
|
+
|
2200
|
+
|
2127
2201
|
if not MYPY:
|
2128
2202
|
class TransferJobNotificationConfigArgsDict(TypedDict):
|
2129
2203
|
payload_format: pulumi.Input[str]
|