pulumi-gcp 8.28.0a1745598508__py3-none-any.whl → 8.29.0a1746076904__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 +88 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +399 -0
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +54 -0
- pulumi_gcp/accesscontextmanager/outputs.py +369 -0
- pulumi_gcp/alloydb/_inputs.py +47 -1
- pulumi_gcp/alloydb/outputs.py +61 -3
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +8 -2
- pulumi_gcp/applicationintegration/client.py +34 -12
- pulumi_gcp/artifactregistry/outputs.py +2 -2
- pulumi_gcp/certificateauthority/_inputs.py +32 -0
- pulumi_gcp/certificateauthority/ca_pool.py +2 -0
- pulumi_gcp/certificateauthority/outputs.py +22 -0
- pulumi_gcp/clouddeploy/_inputs.py +0 -6
- pulumi_gcp/clouddeploy/delivery_pipeline.py +84 -77
- pulumi_gcp/clouddeploy/outputs.py +0 -4
- pulumi_gcp/cloudrunv2/_inputs.py +3 -3
- pulumi_gcp/cloudrunv2/outputs.py +4 -4
- pulumi_gcp/colab/runtime_template.py +3 -3
- pulumi_gcp/compute/__init__.py +7 -0
- pulumi_gcp/compute/_inputs.py +809 -1
- pulumi_gcp/compute/backend_service.py +89 -0
- pulumi_gcp/compute/firewall_policy_with_rules.py +2 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_storage_pool_iam_policy.py +183 -0
- pulumi_gcp/compute/get_storage_pool_types.py +268 -0
- pulumi_gcp/compute/outputs.py +743 -3
- pulumi_gcp/compute/resource_policy_attachment.py +476 -0
- pulumi_gcp/compute/storage_pool.py +1045 -0
- pulumi_gcp/compute/storage_pool_iam_binding.py +1088 -0
- pulumi_gcp/compute/storage_pool_iam_member.py +1088 -0
- pulumi_gcp/compute/storage_pool_iam_policy.py +907 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +63 -3
- pulumi_gcp/container/outputs.py +70 -6
- pulumi_gcp/dataproc/get_metastore_service.py +12 -1
- pulumi_gcp/dataproc/metastore_service.py +61 -0
- pulumi_gcp/datastream/connection_profile.py +40 -0
- pulumi_gcp/discoveryengine/_inputs.py +38 -0
- pulumi_gcp/discoveryengine/chat_engine.py +6 -4
- pulumi_gcp/discoveryengine/outputs.py +26 -0
- pulumi_gcp/firebaserules/_inputs.py +6 -6
- pulumi_gcp/firebaserules/outputs.py +4 -4
- pulumi_gcp/gkebackup/__init__.py +2 -0
- pulumi_gcp/gkebackup/backup_channel.py +737 -0
- pulumi_gcp/gkebackup/restore_channel.py +737 -0
- pulumi_gcp/gkehub/_inputs.py +208 -0
- pulumi_gcp/gkehub/outputs.py +171 -1
- pulumi_gcp/healthcare/pipeline_job.py +2 -2
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_cloud_run_service_iam_policy.py +183 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_binding.py +1089 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_member.py +1089 -0
- pulumi_gcp/iap/web_cloud_run_service_iam_policy.py +908 -0
- pulumi_gcp/kms/key_ring_import_job.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +8 -4
- pulumi_gcp/managedkafka/connector.py +8 -4
- pulumi_gcp/monitoring/uptime_check_config.py +49 -0
- pulumi_gcp/networkconnectivity/internal_range.py +82 -0
- pulumi_gcp/projects/_inputs.py +0 -6
- pulumi_gcp/projects/api_key.py +28 -0
- pulumi_gcp/projects/outputs.py +0 -4
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +61 -0
- pulumi_gcp/sql/_inputs.py +86 -6
- pulumi_gcp/sql/outputs.py +156 -12
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +457 -0
- pulumi_gcp/storage/batch_operations_job.py +776 -0
- pulumi_gcp/storage/outputs.py +403 -0
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/RECORD +78 -64
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/top_level.txt +0 -0
@@ -42,6 +42,7 @@ class BackendServiceArgs:
|
|
42
42
|
locality_lb_policies: Optional[pulumi.Input[Sequence[pulumi.Input['BackendServiceLocalityLbPolicyArgs']]]] = None,
|
43
43
|
locality_lb_policy: Optional[pulumi.Input[builtins.str]] = None,
|
44
44
|
log_config: Optional[pulumi.Input['BackendServiceLogConfigArgs']] = None,
|
45
|
+
max_stream_duration: Optional[pulumi.Input['BackendServiceMaxStreamDurationArgs']] = None,
|
45
46
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
46
47
|
outlier_detection: Optional[pulumi.Input['BackendServiceOutlierDetectionArgs']] = None,
|
47
48
|
port_name: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -169,6 +170,13 @@ class BackendServiceArgs:
|
|
169
170
|
:param pulumi.Input['BackendServiceLogConfigArgs'] log_config: This field denotes the logging options for the load balancer traffic served by this backend service.
|
170
171
|
If logging is enabled, logs will be exported to Stackdriver.
|
171
172
|
Structure is documented below.
|
173
|
+
:param pulumi.Input['BackendServiceMaxStreamDurationArgs'] max_stream_duration: Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the
|
174
|
+
beginning of the stream until the response has been completely processed, including all retries. A stream that
|
175
|
+
does not complete in this duration is closed.
|
176
|
+
If not specified, there will be no timeout limit, i.e. the maximum duration is infinite.
|
177
|
+
This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service.
|
178
|
+
This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED.
|
179
|
+
Structure is documented below.
|
172
180
|
:param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is
|
173
181
|
created. The name must be 1-63 characters long, and comply with
|
174
182
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -254,6 +262,8 @@ class BackendServiceArgs:
|
|
254
262
|
pulumi.set(__self__, "locality_lb_policy", locality_lb_policy)
|
255
263
|
if log_config is not None:
|
256
264
|
pulumi.set(__self__, "log_config", log_config)
|
265
|
+
if max_stream_duration is not None:
|
266
|
+
pulumi.set(__self__, "max_stream_duration", max_stream_duration)
|
257
267
|
if name is not None:
|
258
268
|
pulumi.set(__self__, "name", name)
|
259
269
|
if outlier_detection is not None:
|
@@ -612,6 +622,24 @@ class BackendServiceArgs:
|
|
612
622
|
def log_config(self, value: Optional[pulumi.Input['BackendServiceLogConfigArgs']]):
|
613
623
|
pulumi.set(self, "log_config", value)
|
614
624
|
|
625
|
+
@property
|
626
|
+
@pulumi.getter(name="maxStreamDuration")
|
627
|
+
def max_stream_duration(self) -> Optional[pulumi.Input['BackendServiceMaxStreamDurationArgs']]:
|
628
|
+
"""
|
629
|
+
Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the
|
630
|
+
beginning of the stream until the response has been completely processed, including all retries. A stream that
|
631
|
+
does not complete in this duration is closed.
|
632
|
+
If not specified, there will be no timeout limit, i.e. the maximum duration is infinite.
|
633
|
+
This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service.
|
634
|
+
This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED.
|
635
|
+
Structure is documented below.
|
636
|
+
"""
|
637
|
+
return pulumi.get(self, "max_stream_duration")
|
638
|
+
|
639
|
+
@max_stream_duration.setter
|
640
|
+
def max_stream_duration(self, value: Optional[pulumi.Input['BackendServiceMaxStreamDurationArgs']]):
|
641
|
+
pulumi.set(self, "max_stream_duration", value)
|
642
|
+
|
615
643
|
@property
|
616
644
|
@pulumi.getter
|
617
645
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -815,6 +843,7 @@ class _BackendServiceState:
|
|
815
843
|
locality_lb_policies: Optional[pulumi.Input[Sequence[pulumi.Input['BackendServiceLocalityLbPolicyArgs']]]] = None,
|
816
844
|
locality_lb_policy: Optional[pulumi.Input[builtins.str]] = None,
|
817
845
|
log_config: Optional[pulumi.Input['BackendServiceLogConfigArgs']] = None,
|
846
|
+
max_stream_duration: Optional[pulumi.Input['BackendServiceMaxStreamDurationArgs']] = None,
|
818
847
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
819
848
|
outlier_detection: Optional[pulumi.Input['BackendServiceOutlierDetectionArgs']] = None,
|
820
849
|
port_name: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -947,6 +976,13 @@ class _BackendServiceState:
|
|
947
976
|
:param pulumi.Input['BackendServiceLogConfigArgs'] log_config: This field denotes the logging options for the load balancer traffic served by this backend service.
|
948
977
|
If logging is enabled, logs will be exported to Stackdriver.
|
949
978
|
Structure is documented below.
|
979
|
+
:param pulumi.Input['BackendServiceMaxStreamDurationArgs'] max_stream_duration: Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the
|
980
|
+
beginning of the stream until the response has been completely processed, including all retries. A stream that
|
981
|
+
does not complete in this duration is closed.
|
982
|
+
If not specified, there will be no timeout limit, i.e. the maximum duration is infinite.
|
983
|
+
This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service.
|
984
|
+
This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED.
|
985
|
+
Structure is documented below.
|
950
986
|
:param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is
|
951
987
|
created. The name must be 1-63 characters long, and comply with
|
952
988
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -1039,6 +1075,8 @@ class _BackendServiceState:
|
|
1039
1075
|
pulumi.set(__self__, "locality_lb_policy", locality_lb_policy)
|
1040
1076
|
if log_config is not None:
|
1041
1077
|
pulumi.set(__self__, "log_config", log_config)
|
1078
|
+
if max_stream_duration is not None:
|
1079
|
+
pulumi.set(__self__, "max_stream_duration", max_stream_duration)
|
1042
1080
|
if name is not None:
|
1043
1081
|
pulumi.set(__self__, "name", name)
|
1044
1082
|
if outlier_detection is not None:
|
@@ -1436,6 +1474,24 @@ class _BackendServiceState:
|
|
1436
1474
|
def log_config(self, value: Optional[pulumi.Input['BackendServiceLogConfigArgs']]):
|
1437
1475
|
pulumi.set(self, "log_config", value)
|
1438
1476
|
|
1477
|
+
@property
|
1478
|
+
@pulumi.getter(name="maxStreamDuration")
|
1479
|
+
def max_stream_duration(self) -> Optional[pulumi.Input['BackendServiceMaxStreamDurationArgs']]:
|
1480
|
+
"""
|
1481
|
+
Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the
|
1482
|
+
beginning of the stream until the response has been completely processed, including all retries. A stream that
|
1483
|
+
does not complete in this duration is closed.
|
1484
|
+
If not specified, there will be no timeout limit, i.e. the maximum duration is infinite.
|
1485
|
+
This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service.
|
1486
|
+
This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED.
|
1487
|
+
Structure is documented below.
|
1488
|
+
"""
|
1489
|
+
return pulumi.get(self, "max_stream_duration")
|
1490
|
+
|
1491
|
+
@max_stream_duration.setter
|
1492
|
+
def max_stream_duration(self, value: Optional[pulumi.Input['BackendServiceMaxStreamDurationArgs']]):
|
1493
|
+
pulumi.set(self, "max_stream_duration", value)
|
1494
|
+
|
1439
1495
|
@property
|
1440
1496
|
@pulumi.getter
|
1441
1497
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -1650,6 +1706,7 @@ class BackendService(pulumi.CustomResource):
|
|
1650
1706
|
locality_lb_policies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BackendServiceLocalityLbPolicyArgs', 'BackendServiceLocalityLbPolicyArgsDict']]]]] = None,
|
1651
1707
|
locality_lb_policy: Optional[pulumi.Input[builtins.str]] = None,
|
1652
1708
|
log_config: Optional[pulumi.Input[Union['BackendServiceLogConfigArgs', 'BackendServiceLogConfigArgsDict']]] = None,
|
1709
|
+
max_stream_duration: Optional[pulumi.Input[Union['BackendServiceMaxStreamDurationArgs', 'BackendServiceMaxStreamDurationArgsDict']]] = None,
|
1653
1710
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
1654
1711
|
outlier_detection: Optional[pulumi.Input[Union['BackendServiceOutlierDetectionArgs', 'BackendServiceOutlierDetectionArgsDict']]] = None,
|
1655
1712
|
port_name: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -2185,6 +2242,13 @@ class BackendService(pulumi.CustomResource):
|
|
2185
2242
|
:param pulumi.Input[Union['BackendServiceLogConfigArgs', 'BackendServiceLogConfigArgsDict']] log_config: This field denotes the logging options for the load balancer traffic served by this backend service.
|
2186
2243
|
If logging is enabled, logs will be exported to Stackdriver.
|
2187
2244
|
Structure is documented below.
|
2245
|
+
:param pulumi.Input[Union['BackendServiceMaxStreamDurationArgs', 'BackendServiceMaxStreamDurationArgsDict']] max_stream_duration: Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the
|
2246
|
+
beginning of the stream until the response has been completely processed, including all retries. A stream that
|
2247
|
+
does not complete in this duration is closed.
|
2248
|
+
If not specified, there will be no timeout limit, i.e. the maximum duration is infinite.
|
2249
|
+
This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service.
|
2250
|
+
This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED.
|
2251
|
+
Structure is documented below.
|
2188
2252
|
:param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is
|
2189
2253
|
created. The name must be 1-63 characters long, and comply with
|
2190
2254
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -2678,6 +2742,7 @@ class BackendService(pulumi.CustomResource):
|
|
2678
2742
|
locality_lb_policies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BackendServiceLocalityLbPolicyArgs', 'BackendServiceLocalityLbPolicyArgsDict']]]]] = None,
|
2679
2743
|
locality_lb_policy: Optional[pulumi.Input[builtins.str]] = None,
|
2680
2744
|
log_config: Optional[pulumi.Input[Union['BackendServiceLogConfigArgs', 'BackendServiceLogConfigArgsDict']]] = None,
|
2745
|
+
max_stream_duration: Optional[pulumi.Input[Union['BackendServiceMaxStreamDurationArgs', 'BackendServiceMaxStreamDurationArgsDict']]] = None,
|
2681
2746
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
2682
2747
|
outlier_detection: Optional[pulumi.Input[Union['BackendServiceOutlierDetectionArgs', 'BackendServiceOutlierDetectionArgsDict']]] = None,
|
2683
2748
|
port_name: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -2719,6 +2784,7 @@ class BackendService(pulumi.CustomResource):
|
|
2719
2784
|
__props__.__dict__["locality_lb_policies"] = locality_lb_policies
|
2720
2785
|
__props__.__dict__["locality_lb_policy"] = locality_lb_policy
|
2721
2786
|
__props__.__dict__["log_config"] = log_config
|
2787
|
+
__props__.__dict__["max_stream_duration"] = max_stream_duration
|
2722
2788
|
__props__.__dict__["name"] = name
|
2723
2789
|
__props__.__dict__["outlier_detection"] = outlier_detection
|
2724
2790
|
__props__.__dict__["port_name"] = port_name
|
@@ -2768,6 +2834,7 @@ class BackendService(pulumi.CustomResource):
|
|
2768
2834
|
locality_lb_policies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BackendServiceLocalityLbPolicyArgs', 'BackendServiceLocalityLbPolicyArgsDict']]]]] = None,
|
2769
2835
|
locality_lb_policy: Optional[pulumi.Input[builtins.str]] = None,
|
2770
2836
|
log_config: Optional[pulumi.Input[Union['BackendServiceLogConfigArgs', 'BackendServiceLogConfigArgsDict']]] = None,
|
2837
|
+
max_stream_duration: Optional[pulumi.Input[Union['BackendServiceMaxStreamDurationArgs', 'BackendServiceMaxStreamDurationArgsDict']]] = None,
|
2771
2838
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
2772
2839
|
outlier_detection: Optional[pulumi.Input[Union['BackendServiceOutlierDetectionArgs', 'BackendServiceOutlierDetectionArgsDict']]] = None,
|
2773
2840
|
port_name: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -2905,6 +2972,13 @@ class BackendService(pulumi.CustomResource):
|
|
2905
2972
|
:param pulumi.Input[Union['BackendServiceLogConfigArgs', 'BackendServiceLogConfigArgsDict']] log_config: This field denotes the logging options for the load balancer traffic served by this backend service.
|
2906
2973
|
If logging is enabled, logs will be exported to Stackdriver.
|
2907
2974
|
Structure is documented below.
|
2975
|
+
:param pulumi.Input[Union['BackendServiceMaxStreamDurationArgs', 'BackendServiceMaxStreamDurationArgsDict']] max_stream_duration: Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the
|
2976
|
+
beginning of the stream until the response has been completely processed, including all retries. A stream that
|
2977
|
+
does not complete in this duration is closed.
|
2978
|
+
If not specified, there will be no timeout limit, i.e. the maximum duration is infinite.
|
2979
|
+
This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service.
|
2980
|
+
This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED.
|
2981
|
+
Structure is documented below.
|
2908
2982
|
:param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is
|
2909
2983
|
created. The name must be 1-63 characters long, and comply with
|
2910
2984
|
RFC1035. Specifically, the name must be 1-63 characters long and match
|
@@ -2978,6 +3052,7 @@ class BackendService(pulumi.CustomResource):
|
|
2978
3052
|
__props__.__dict__["locality_lb_policies"] = locality_lb_policies
|
2979
3053
|
__props__.__dict__["locality_lb_policy"] = locality_lb_policy
|
2980
3054
|
__props__.__dict__["log_config"] = log_config
|
3055
|
+
__props__.__dict__["max_stream_duration"] = max_stream_duration
|
2981
3056
|
__props__.__dict__["name"] = name
|
2982
3057
|
__props__.__dict__["outlier_detection"] = outlier_detection
|
2983
3058
|
__props__.__dict__["port_name"] = port_name
|
@@ -3271,6 +3346,20 @@ class BackendService(pulumi.CustomResource):
|
|
3271
3346
|
"""
|
3272
3347
|
return pulumi.get(self, "log_config")
|
3273
3348
|
|
3349
|
+
@property
|
3350
|
+
@pulumi.getter(name="maxStreamDuration")
|
3351
|
+
def max_stream_duration(self) -> pulumi.Output[Optional['outputs.BackendServiceMaxStreamDuration']]:
|
3352
|
+
"""
|
3353
|
+
Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the
|
3354
|
+
beginning of the stream until the response has been completely processed, including all retries. A stream that
|
3355
|
+
does not complete in this duration is closed.
|
3356
|
+
If not specified, there will be no timeout limit, i.e. the maximum duration is infinite.
|
3357
|
+
This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service.
|
3358
|
+
This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED.
|
3359
|
+
Structure is documented below.
|
3360
|
+
"""
|
3361
|
+
return pulumi.get(self, "max_stream_duration")
|
3362
|
+
|
3274
3363
|
@property
|
3275
3364
|
@pulumi.getter
|
3276
3365
|
def name(self) -> pulumi.Output[builtins.str]:
|
@@ -338,7 +338,7 @@ class FirewallPolicyWithRules(pulumi.CustomResource):
|
|
338
338
|
"enable_logging": True,
|
339
339
|
"action": "allow",
|
340
340
|
"direction": "EGRESS",
|
341
|
-
"target_resources": [f"https://www.googleapis.com/compute/beta/projects/{project.
|
341
|
+
"target_resources": [f"https://www.googleapis.com/compute/beta/projects/{project.project_id}/global/networks/default"],
|
342
342
|
"match": {
|
343
343
|
"dest_ip_ranges": ["11.100.0.1/32"],
|
344
344
|
"dest_fqdns": [
|
@@ -519,7 +519,7 @@ class FirewallPolicyWithRules(pulumi.CustomResource):
|
|
519
519
|
"enable_logging": True,
|
520
520
|
"action": "allow",
|
521
521
|
"direction": "EGRESS",
|
522
|
-
"target_resources": [f"https://www.googleapis.com/compute/beta/projects/{project.
|
522
|
+
"target_resources": [f"https://www.googleapis.com/compute/beta/projects/{project.project_id}/global/networks/default"],
|
523
523
|
"match": {
|
524
524
|
"dest_ip_ranges": ["11.100.0.1/32"],
|
525
525
|
"dest_fqdns": [
|
@@ -28,7 +28,7 @@ class GetBackendServiceResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getBackendService.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, affinity_cookie_ttl_sec=None, backends=None, cdn_policies=None, circuit_breakers=None, compression_mode=None, connection_draining_timeout_sec=None, consistent_hash=None, creation_timestamp=None, custom_metrics=None, custom_request_headers=None, custom_response_headers=None, description=None, edge_security_policy=None, enable_cdn=None, fingerprint=None, generated_id=None, health_checks=None, iaps=None, id=None, ip_address_selection_policy=None, load_balancing_scheme=None, locality_lb_policies=None, locality_lb_policy=None, log_configs=None, name=None, outlier_detections=None, port_name=None, project=None, protocol=None, security_policy=None, security_settings=None, self_link=None, service_lb_policy=None, session_affinity=None, strong_session_affinity_cookies=None, timeout_sec=None, tls_settings=None):
|
31
|
+
def __init__(__self__, affinity_cookie_ttl_sec=None, backends=None, cdn_policies=None, circuit_breakers=None, compression_mode=None, connection_draining_timeout_sec=None, consistent_hash=None, creation_timestamp=None, custom_metrics=None, custom_request_headers=None, custom_response_headers=None, description=None, edge_security_policy=None, enable_cdn=None, fingerprint=None, generated_id=None, health_checks=None, iaps=None, id=None, ip_address_selection_policy=None, load_balancing_scheme=None, locality_lb_policies=None, locality_lb_policy=None, log_configs=None, max_stream_durations=None, name=None, outlier_detections=None, port_name=None, project=None, protocol=None, security_policy=None, security_settings=None, self_link=None, service_lb_policy=None, session_affinity=None, strong_session_affinity_cookies=None, timeout_sec=None, tls_settings=None):
|
32
32
|
if affinity_cookie_ttl_sec and not isinstance(affinity_cookie_ttl_sec, int):
|
33
33
|
raise TypeError("Expected argument 'affinity_cookie_ttl_sec' to be a int")
|
34
34
|
pulumi.set(__self__, "affinity_cookie_ttl_sec", affinity_cookie_ttl_sec)
|
@@ -101,6 +101,9 @@ class GetBackendServiceResult:
|
|
101
101
|
if log_configs and not isinstance(log_configs, list):
|
102
102
|
raise TypeError("Expected argument 'log_configs' to be a list")
|
103
103
|
pulumi.set(__self__, "log_configs", log_configs)
|
104
|
+
if max_stream_durations and not isinstance(max_stream_durations, list):
|
105
|
+
raise TypeError("Expected argument 'max_stream_durations' to be a list")
|
106
|
+
pulumi.set(__self__, "max_stream_durations", max_stream_durations)
|
104
107
|
if name and not isinstance(name, str):
|
105
108
|
raise TypeError("Expected argument 'name' to be a str")
|
106
109
|
pulumi.set(__self__, "name", name)
|
@@ -285,6 +288,11 @@ class GetBackendServiceResult:
|
|
285
288
|
def log_configs(self) -> Sequence['outputs.GetBackendServiceLogConfigResult']:
|
286
289
|
return pulumi.get(self, "log_configs")
|
287
290
|
|
291
|
+
@property
|
292
|
+
@pulumi.getter(name="maxStreamDurations")
|
293
|
+
def max_stream_durations(self) -> Sequence['outputs.GetBackendServiceMaxStreamDurationResult']:
|
294
|
+
return pulumi.get(self, "max_stream_durations")
|
295
|
+
|
288
296
|
@property
|
289
297
|
@pulumi.getter
|
290
298
|
def name(self) -> builtins.str:
|
@@ -396,6 +404,7 @@ class AwaitableGetBackendServiceResult(GetBackendServiceResult):
|
|
396
404
|
locality_lb_policies=self.locality_lb_policies,
|
397
405
|
locality_lb_policy=self.locality_lb_policy,
|
398
406
|
log_configs=self.log_configs,
|
407
|
+
max_stream_durations=self.max_stream_durations,
|
399
408
|
name=self.name,
|
400
409
|
outlier_detections=self.outlier_detections,
|
401
410
|
port_name=self.port_name,
|
@@ -468,6 +477,7 @@ def get_backend_service(name: Optional[builtins.str] = None,
|
|
468
477
|
locality_lb_policies=pulumi.get(__ret__, 'locality_lb_policies'),
|
469
478
|
locality_lb_policy=pulumi.get(__ret__, 'locality_lb_policy'),
|
470
479
|
log_configs=pulumi.get(__ret__, 'log_configs'),
|
480
|
+
max_stream_durations=pulumi.get(__ret__, 'max_stream_durations'),
|
471
481
|
name=pulumi.get(__ret__, 'name'),
|
472
482
|
outlier_detections=pulumi.get(__ret__, 'outlier_detections'),
|
473
483
|
port_name=pulumi.get(__ret__, 'port_name'),
|
@@ -537,6 +547,7 @@ def get_backend_service_output(name: Optional[pulumi.Input[builtins.str]] = None
|
|
537
547
|
locality_lb_policies=pulumi.get(__response__, 'locality_lb_policies'),
|
538
548
|
locality_lb_policy=pulumi.get(__response__, 'locality_lb_policy'),
|
539
549
|
log_configs=pulumi.get(__response__, 'log_configs'),
|
550
|
+
max_stream_durations=pulumi.get(__response__, 'max_stream_durations'),
|
540
551
|
name=pulumi.get(__response__, 'name'),
|
541
552
|
outlier_detections=pulumi.get(__response__, 'outlier_detections'),
|
542
553
|
port_name=pulumi.get(__response__, 'port_name'),
|
@@ -0,0 +1,183 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetStoragePoolIamPolicyResult',
|
20
|
+
'AwaitableGetStoragePoolIamPolicyResult',
|
21
|
+
'get_storage_pool_iam_policy',
|
22
|
+
'get_storage_pool_iam_policy_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetStoragePoolIamPolicyResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getStoragePoolIamPolicy.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, etag=None, id=None, name=None, policy_data=None, project=None, zone=None):
|
31
|
+
if etag and not isinstance(etag, str):
|
32
|
+
raise TypeError("Expected argument 'etag' to be a str")
|
33
|
+
pulumi.set(__self__, "etag", etag)
|
34
|
+
if id and not isinstance(id, str):
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
36
|
+
pulumi.set(__self__, "id", id)
|
37
|
+
if name and not isinstance(name, str):
|
38
|
+
raise TypeError("Expected argument 'name' to be a str")
|
39
|
+
pulumi.set(__self__, "name", name)
|
40
|
+
if policy_data and not isinstance(policy_data, str):
|
41
|
+
raise TypeError("Expected argument 'policy_data' to be a str")
|
42
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
43
|
+
if project and not isinstance(project, str):
|
44
|
+
raise TypeError("Expected argument 'project' to be a str")
|
45
|
+
pulumi.set(__self__, "project", project)
|
46
|
+
if zone and not isinstance(zone, str):
|
47
|
+
raise TypeError("Expected argument 'zone' to be a str")
|
48
|
+
pulumi.set(__self__, "zone", zone)
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter
|
52
|
+
def etag(self) -> builtins.str:
|
53
|
+
"""
|
54
|
+
(Computed) The etag of the IAM policy.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "etag")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def id(self) -> builtins.str:
|
61
|
+
"""
|
62
|
+
The provider-assigned unique ID for this managed resource.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter
|
68
|
+
def name(self) -> builtins.str:
|
69
|
+
return pulumi.get(self, "name")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="policyData")
|
73
|
+
def policy_data(self) -> builtins.str:
|
74
|
+
"""
|
75
|
+
(Required only by `compute.StoragePoolIamPolicy`) The policy data generated by
|
76
|
+
a `organizations_get_iam_policy` data source.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "policy_data")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter
|
82
|
+
def project(self) -> builtins.str:
|
83
|
+
return pulumi.get(self, "project")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def zone(self) -> builtins.str:
|
88
|
+
return pulumi.get(self, "zone")
|
89
|
+
|
90
|
+
|
91
|
+
class AwaitableGetStoragePoolIamPolicyResult(GetStoragePoolIamPolicyResult):
|
92
|
+
# pylint: disable=using-constant-test
|
93
|
+
def __await__(self):
|
94
|
+
if False:
|
95
|
+
yield self
|
96
|
+
return GetStoragePoolIamPolicyResult(
|
97
|
+
etag=self.etag,
|
98
|
+
id=self.id,
|
99
|
+
name=self.name,
|
100
|
+
policy_data=self.policy_data,
|
101
|
+
project=self.project,
|
102
|
+
zone=self.zone)
|
103
|
+
|
104
|
+
|
105
|
+
def get_storage_pool_iam_policy(name: Optional[builtins.str] = None,
|
106
|
+
project: Optional[builtins.str] = None,
|
107
|
+
zone: Optional[builtins.str] = None,
|
108
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStoragePoolIamPolicyResult:
|
109
|
+
"""
|
110
|
+
Retrieves the current IAM policy data for storagepool
|
111
|
+
|
112
|
+
## Example Usage
|
113
|
+
|
114
|
+
```python
|
115
|
+
import pulumi
|
116
|
+
import pulumi_gcp as gcp
|
117
|
+
|
118
|
+
policy = gcp.compute.get_storage_pool_iam_policy(project=test_storage_pool_basic["project"],
|
119
|
+
zone=test_storage_pool_basic["zone"],
|
120
|
+
name=test_storage_pool_basic["name"])
|
121
|
+
```
|
122
|
+
|
123
|
+
|
124
|
+
:param builtins.str name: Used to find the parent resource to bind the IAM policy to
|
125
|
+
:param builtins.str project: The ID of the project in which the resource belongs.
|
126
|
+
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.
|
127
|
+
:param builtins.str zone: A reference to the zone where the storage pool resides. Used to find the parent resource to bind the IAM policy to. If not specified,
|
128
|
+
the value will be parsed from the identifier of the parent resource. If no zone is provided in the parent identifier and no
|
129
|
+
zone is specified, it is taken from the provider configuration.
|
130
|
+
"""
|
131
|
+
__args__ = dict()
|
132
|
+
__args__['name'] = name
|
133
|
+
__args__['project'] = project
|
134
|
+
__args__['zone'] = zone
|
135
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
136
|
+
__ret__ = pulumi.runtime.invoke('gcp:compute/getStoragePoolIamPolicy:getStoragePoolIamPolicy', __args__, opts=opts, typ=GetStoragePoolIamPolicyResult).value
|
137
|
+
|
138
|
+
return AwaitableGetStoragePoolIamPolicyResult(
|
139
|
+
etag=pulumi.get(__ret__, 'etag'),
|
140
|
+
id=pulumi.get(__ret__, 'id'),
|
141
|
+
name=pulumi.get(__ret__, 'name'),
|
142
|
+
policy_data=pulumi.get(__ret__, 'policy_data'),
|
143
|
+
project=pulumi.get(__ret__, 'project'),
|
144
|
+
zone=pulumi.get(__ret__, 'zone'))
|
145
|
+
def get_storage_pool_iam_policy_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
146
|
+
project: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
147
|
+
zone: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
148
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStoragePoolIamPolicyResult]:
|
149
|
+
"""
|
150
|
+
Retrieves the current IAM policy data for storagepool
|
151
|
+
|
152
|
+
## Example Usage
|
153
|
+
|
154
|
+
```python
|
155
|
+
import pulumi
|
156
|
+
import pulumi_gcp as gcp
|
157
|
+
|
158
|
+
policy = gcp.compute.get_storage_pool_iam_policy(project=test_storage_pool_basic["project"],
|
159
|
+
zone=test_storage_pool_basic["zone"],
|
160
|
+
name=test_storage_pool_basic["name"])
|
161
|
+
```
|
162
|
+
|
163
|
+
|
164
|
+
:param builtins.str name: Used to find the parent resource to bind the IAM policy to
|
165
|
+
:param builtins.str project: The ID of the project in which the resource belongs.
|
166
|
+
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.
|
167
|
+
:param builtins.str zone: A reference to the zone where the storage pool resides. Used to find the parent resource to bind the IAM policy to. If not specified,
|
168
|
+
the value will be parsed from the identifier of the parent resource. If no zone is provided in the parent identifier and no
|
169
|
+
zone is specified, it is taken from the provider configuration.
|
170
|
+
"""
|
171
|
+
__args__ = dict()
|
172
|
+
__args__['name'] = name
|
173
|
+
__args__['project'] = project
|
174
|
+
__args__['zone'] = zone
|
175
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
176
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:compute/getStoragePoolIamPolicy:getStoragePoolIamPolicy', __args__, opts=opts, typ=GetStoragePoolIamPolicyResult)
|
177
|
+
return __ret__.apply(lambda __response__: GetStoragePoolIamPolicyResult(
|
178
|
+
etag=pulumi.get(__response__, 'etag'),
|
179
|
+
id=pulumi.get(__response__, 'id'),
|
180
|
+
name=pulumi.get(__response__, 'name'),
|
181
|
+
policy_data=pulumi.get(__response__, 'policy_data'),
|
182
|
+
project=pulumi.get(__response__, 'project'),
|
183
|
+
zone=pulumi.get(__response__, 'zone')))
|