pulumi-gcp 7.16.0a1711520590__py3-none-any.whl → 7.17.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 +35 -0
- pulumi_gcp/accesscontextmanager/__init__.py +1 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +345 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +80 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +86 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +4 -2
- pulumi_gcp/apphub/__init__.py +1 -0
- pulumi_gcp/apphub/get_application.py +220 -0
- pulumi_gcp/apphub/outputs.py +214 -0
- pulumi_gcp/applicationintegration/__init__.py +10 -0
- pulumi_gcp/applicationintegration/_inputs.py +119 -0
- pulumi_gcp/applicationintegration/client.py +566 -0
- pulumi_gcp/applicationintegration/outputs.py +122 -0
- pulumi_gcp/bigquery/_inputs.py +16 -0
- pulumi_gcp/bigquery/outputs.py +14 -0
- pulumi_gcp/bigquery/routine.py +98 -0
- pulumi_gcp/bigtable/_inputs.py +4 -4
- pulumi_gcp/bigtable/gc_policy.py +8 -0
- pulumi_gcp/bigtable/outputs.py +4 -4
- pulumi_gcp/billing/_inputs.py +4 -4
- pulumi_gcp/billing/outputs.py +4 -4
- pulumi_gcp/billing/project_info.py +4 -4
- pulumi_gcp/cloudfunctionsv2/_inputs.py +2 -2
- pulumi_gcp/cloudfunctionsv2/outputs.py +4 -4
- pulumi_gcp/cloudquota/__init__.py +3 -0
- pulumi_gcp/cloudquota/_inputs.py +131 -0
- pulumi_gcp/cloudquota/get_s_quota_infos.py +136 -0
- pulumi_gcp/cloudquota/outputs.py +388 -0
- pulumi_gcp/cloudquota/s_quota_preference.py +777 -0
- pulumi_gcp/cloudrunv2/_inputs.py +59 -2
- pulumi_gcp/cloudrunv2/outputs.py +107 -4
- pulumi_gcp/cloudrunv2/service.py +13 -13
- pulumi_gcp/composer/_inputs.py +30 -4
- pulumi_gcp/composer/outputs.py +45 -10
- pulumi_gcp/compute/_inputs.py +145 -51
- pulumi_gcp/compute/autoscaler.py +14 -14
- pulumi_gcp/compute/interconnect_attachment.py +64 -0
- pulumi_gcp/compute/network_endpoint.py +8 -0
- pulumi_gcp/compute/network_endpoint_list.py +8 -0
- pulumi_gcp/compute/outputs.py +202 -69
- pulumi_gcp/compute/region_autoscaler.py +14 -14
- pulumi_gcp/compute/region_backend_service.py +28 -0
- pulumi_gcp/compute/region_url_map.py +152 -0
- pulumi_gcp/compute/target_instance.py +4 -4
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +148 -16
- pulumi_gcp/container/outputs.py +148 -16
- pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
- pulumi_gcp/dataflow/flex_template_job.py +84 -112
- pulumi_gcp/dataform/repository.py +4 -74
- pulumi_gcp/dataloss/_inputs.py +6 -6
- pulumi_gcp/dataloss/outputs.py +6 -6
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/_inputs.py +85 -10
- pulumi_gcp/dataproc/get_metastore_service.py +11 -1
- pulumi_gcp/dataproc/metastore_service.py +120 -0
- pulumi_gcp/dataproc/outputs.py +142 -10
- pulumi_gcp/firebase/android_app.py +41 -40
- pulumi_gcp/firebase/app_check_service_config.py +2 -2
- pulumi_gcp/firestore/backup_schedule.py +14 -14
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/firestore/index.py +34 -48
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iam/_inputs.py +76 -0
- pulumi_gcp/iam/outputs.py +76 -0
- pulumi_gcp/iam/workforce_pool_provider.py +35 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +140 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/kms/_inputs.py +46 -0
- pulumi_gcp/kms/crypto_key.py +54 -0
- pulumi_gcp/kms/crypto_key_version.py +54 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
- pulumi_gcp/kms/outputs.py +54 -0
- pulumi_gcp/logging/_inputs.py +8 -8
- pulumi_gcp/logging/metric.py +7 -7
- pulumi_gcp/logging/outputs.py +8 -8
- pulumi_gcp/monitoring/_inputs.py +4 -2
- pulumi_gcp/monitoring/outputs.py +4 -2
- pulumi_gcp/monitoring/slo.py +4 -4
- pulumi_gcp/networksecurity/firewall_endpoint.py +48 -0
- pulumi_gcp/networkservices/_inputs.py +6 -6
- pulumi_gcp/networkservices/outputs.py +6 -6
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +108 -0
- pulumi_gcp/pubsub/get_topic.py +11 -1
- pulumi_gcp/pubsub/outputs.py +213 -0
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/pubsub/topic.py +92 -0
- pulumi_gcp/serviceusage/consumer_quota_override.py +7 -7
- pulumi_gcp/sql/_inputs.py +20 -2
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +20 -2
- pulumi_gcp/storage/_inputs.py +42 -2
- pulumi_gcp/storage/bucket.py +54 -0
- pulumi_gcp/storage/get_bucket.py +11 -1
- pulumi_gcp/storage/outputs.py +83 -2
- pulumi_gcp/vertex/__init__.py +1 -0
- pulumi_gcp/vertex/_inputs.py +175 -8
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +477 -0
- pulumi_gcp/vertex/outputs.py +202 -10
- pulumi_gcp/vpcaccess/connector.py +77 -28
- pulumi_gcp/workstations/_inputs.py +113 -0
- pulumi_gcp/workstations/outputs.py +109 -1
- pulumi_gcp/workstations/workstation_config.py +106 -0
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/RECORD +113 -103
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.16.0a1711520590.dist-info → pulumi_gcp-7.17.0.dist-info}/top_level.txt +0 -0
@@ -28,8 +28,8 @@ class RegionAutoscalerArgs:
|
|
28
28
|
define one or more of the policies for an autoscaler: cpuUtilization,
|
29
29
|
customMetricUtilizations, and loadBalancingUtilization.
|
30
30
|
If none of these are specified, the default will be to autoscale based
|
31
|
-
on cpuUtilization to 0.6 or 60
|
32
|
-
|
31
|
+
on cpuUtilization to 0.6 or 60%.
|
32
|
+
Structure is documented below.
|
33
33
|
:param pulumi.Input[str] target: URL of the managed instance group that this autoscaler will scale.
|
34
34
|
:param pulumi.Input[str] description: An optional description of this resource.
|
35
35
|
:param pulumi.Input[str] name: Name of the resource. The name must be 1-63 characters long and match
|
@@ -60,8 +60,8 @@ class RegionAutoscalerArgs:
|
|
60
60
|
define one or more of the policies for an autoscaler: cpuUtilization,
|
61
61
|
customMetricUtilizations, and loadBalancingUtilization.
|
62
62
|
If none of these are specified, the default will be to autoscale based
|
63
|
-
on cpuUtilization to 0.6 or 60
|
64
|
-
|
63
|
+
on cpuUtilization to 0.6 or 60%.
|
64
|
+
Structure is documented below.
|
65
65
|
"""
|
66
66
|
return pulumi.get(self, "autoscaling_policy")
|
67
67
|
|
@@ -152,8 +152,8 @@ class _RegionAutoscalerState:
|
|
152
152
|
define one or more of the policies for an autoscaler: cpuUtilization,
|
153
153
|
customMetricUtilizations, and loadBalancingUtilization.
|
154
154
|
If none of these are specified, the default will be to autoscale based
|
155
|
-
on cpuUtilization to 0.6 or 60
|
156
|
-
|
155
|
+
on cpuUtilization to 0.6 or 60%.
|
156
|
+
Structure is documented below.
|
157
157
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
158
158
|
:param pulumi.Input[str] description: An optional description of this resource.
|
159
159
|
:param pulumi.Input[str] name: Name of the resource. The name must be 1-63 characters long and match
|
@@ -192,8 +192,8 @@ class _RegionAutoscalerState:
|
|
192
192
|
define one or more of the policies for an autoscaler: cpuUtilization,
|
193
193
|
customMetricUtilizations, and loadBalancingUtilization.
|
194
194
|
If none of these are specified, the default will be to autoscale based
|
195
|
-
on cpuUtilization to 0.6 or 60
|
196
|
-
|
195
|
+
on cpuUtilization to 0.6 or 60%.
|
196
|
+
Structure is documented below.
|
197
197
|
"""
|
198
198
|
return pulumi.get(self, "autoscaling_policy")
|
199
199
|
|
@@ -412,8 +412,8 @@ class RegionAutoscaler(pulumi.CustomResource):
|
|
412
412
|
define one or more of the policies for an autoscaler: cpuUtilization,
|
413
413
|
customMetricUtilizations, and loadBalancingUtilization.
|
414
414
|
If none of these are specified, the default will be to autoscale based
|
415
|
-
on cpuUtilization to 0.6 or 60
|
416
|
-
|
415
|
+
on cpuUtilization to 0.6 or 60%.
|
416
|
+
Structure is documented below.
|
417
417
|
:param pulumi.Input[str] description: An optional description of this resource.
|
418
418
|
:param pulumi.Input[str] name: Name of the resource. The name must be 1-63 characters long and match
|
419
419
|
the regular expression `a-z?` which means the
|
@@ -605,8 +605,8 @@ class RegionAutoscaler(pulumi.CustomResource):
|
|
605
605
|
define one or more of the policies for an autoscaler: cpuUtilization,
|
606
606
|
customMetricUtilizations, and loadBalancingUtilization.
|
607
607
|
If none of these are specified, the default will be to autoscale based
|
608
|
-
on cpuUtilization to 0.6 or 60
|
609
|
-
|
608
|
+
on cpuUtilization to 0.6 or 60%.
|
609
|
+
Structure is documented below.
|
610
610
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
611
611
|
:param pulumi.Input[str] description: An optional description of this resource.
|
612
612
|
:param pulumi.Input[str] name: Name of the resource. The name must be 1-63 characters long and match
|
@@ -642,8 +642,8 @@ class RegionAutoscaler(pulumi.CustomResource):
|
|
642
642
|
define one or more of the policies for an autoscaler: cpuUtilization,
|
643
643
|
customMetricUtilizations, and loadBalancingUtilization.
|
644
644
|
If none of these are specified, the default will be to autoscale based
|
645
|
-
on cpuUtilization to 0.6 or 60
|
646
|
-
|
645
|
+
on cpuUtilization to 0.6 or 60%.
|
646
|
+
Structure is documented below.
|
647
647
|
"""
|
648
648
|
return pulumi.get(self, "autoscaling_policy")
|
649
649
|
|
@@ -574,6 +574,7 @@ class _RegionBackendServiceState:
|
|
574
574
|
enable_cdn: Optional[pulumi.Input[bool]] = None,
|
575
575
|
failover_policy: Optional[pulumi.Input['RegionBackendServiceFailoverPolicyArgs']] = None,
|
576
576
|
fingerprint: Optional[pulumi.Input[str]] = None,
|
577
|
+
generated_id: Optional[pulumi.Input[int]] = None,
|
577
578
|
health_checks: Optional[pulumi.Input[str]] = None,
|
578
579
|
iap: Optional[pulumi.Input['RegionBackendServiceIapArgs']] = None,
|
579
580
|
load_balancing_scheme: Optional[pulumi.Input[str]] = None,
|
@@ -626,6 +627,7 @@ class _RegionBackendServiceState:
|
|
626
627
|
Structure is documented below.
|
627
628
|
:param pulumi.Input[str] fingerprint: Fingerprint of this resource. A hash of the contents stored in this
|
628
629
|
object. This field is used in optimistic locking.
|
630
|
+
:param pulumi.Input[int] generated_id: The unique identifier for the resource. This identifier is defined by the server.
|
629
631
|
:param pulumi.Input[str] health_checks: The set of URLs to HealthCheck resources for health checking
|
630
632
|
this RegionBackendService. Currently at most one health
|
631
633
|
check can be specified.
|
@@ -709,6 +711,8 @@ class _RegionBackendServiceState:
|
|
709
711
|
pulumi.set(__self__, "failover_policy", failover_policy)
|
710
712
|
if fingerprint is not None:
|
711
713
|
pulumi.set(__self__, "fingerprint", fingerprint)
|
714
|
+
if generated_id is not None:
|
715
|
+
pulumi.set(__self__, "generated_id", generated_id)
|
712
716
|
if health_checks is not None:
|
713
717
|
pulumi.set(__self__, "health_checks", health_checks)
|
714
718
|
if iap is not None:
|
@@ -909,6 +913,18 @@ class _RegionBackendServiceState:
|
|
909
913
|
def fingerprint(self, value: Optional[pulumi.Input[str]]):
|
910
914
|
pulumi.set(self, "fingerprint", value)
|
911
915
|
|
916
|
+
@property
|
917
|
+
@pulumi.getter(name="generatedId")
|
918
|
+
def generated_id(self) -> Optional[pulumi.Input[int]]:
|
919
|
+
"""
|
920
|
+
The unique identifier for the resource. This identifier is defined by the server.
|
921
|
+
"""
|
922
|
+
return pulumi.get(self, "generated_id")
|
923
|
+
|
924
|
+
@generated_id.setter
|
925
|
+
def generated_id(self, value: Optional[pulumi.Input[int]]):
|
926
|
+
pulumi.set(self, "generated_id", value)
|
927
|
+
|
912
928
|
@property
|
913
929
|
@pulumi.getter(name="healthChecks")
|
914
930
|
def health_checks(self) -> Optional[pulumi.Input[str]]:
|
@@ -1973,6 +1989,7 @@ class RegionBackendService(pulumi.CustomResource):
|
|
1973
1989
|
__props__.__dict__["timeout_sec"] = timeout_sec
|
1974
1990
|
__props__.__dict__["creation_timestamp"] = None
|
1975
1991
|
__props__.__dict__["fingerprint"] = None
|
1992
|
+
__props__.__dict__["generated_id"] = None
|
1976
1993
|
__props__.__dict__["self_link"] = None
|
1977
1994
|
super(RegionBackendService, __self__).__init__(
|
1978
1995
|
'gcp:compute/regionBackendService:RegionBackendService',
|
@@ -1996,6 +2013,7 @@ class RegionBackendService(pulumi.CustomResource):
|
|
1996
2013
|
enable_cdn: Optional[pulumi.Input[bool]] = None,
|
1997
2014
|
failover_policy: Optional[pulumi.Input[pulumi.InputType['RegionBackendServiceFailoverPolicyArgs']]] = None,
|
1998
2015
|
fingerprint: Optional[pulumi.Input[str]] = None,
|
2016
|
+
generated_id: Optional[pulumi.Input[int]] = None,
|
1999
2017
|
health_checks: Optional[pulumi.Input[str]] = None,
|
2000
2018
|
iap: Optional[pulumi.Input[pulumi.InputType['RegionBackendServiceIapArgs']]] = None,
|
2001
2019
|
load_balancing_scheme: Optional[pulumi.Input[str]] = None,
|
@@ -2053,6 +2071,7 @@ class RegionBackendService(pulumi.CustomResource):
|
|
2053
2071
|
Structure is documented below.
|
2054
2072
|
:param pulumi.Input[str] fingerprint: Fingerprint of this resource. A hash of the contents stored in this
|
2055
2073
|
object. This field is used in optimistic locking.
|
2074
|
+
:param pulumi.Input[int] generated_id: The unique identifier for the resource. This identifier is defined by the server.
|
2056
2075
|
:param pulumi.Input[str] health_checks: The set of URLs to HealthCheck resources for health checking
|
2057
2076
|
this RegionBackendService. Currently at most one health
|
2058
2077
|
check can be specified.
|
@@ -2128,6 +2147,7 @@ class RegionBackendService(pulumi.CustomResource):
|
|
2128
2147
|
__props__.__dict__["enable_cdn"] = enable_cdn
|
2129
2148
|
__props__.__dict__["failover_policy"] = failover_policy
|
2130
2149
|
__props__.__dict__["fingerprint"] = fingerprint
|
2150
|
+
__props__.__dict__["generated_id"] = generated_id
|
2131
2151
|
__props__.__dict__["health_checks"] = health_checks
|
2132
2152
|
__props__.__dict__["iap"] = iap
|
2133
2153
|
__props__.__dict__["load_balancing_scheme"] = load_balancing_scheme
|
@@ -2264,6 +2284,14 @@ class RegionBackendService(pulumi.CustomResource):
|
|
2264
2284
|
"""
|
2265
2285
|
return pulumi.get(self, "fingerprint")
|
2266
2286
|
|
2287
|
+
@property
|
2288
|
+
@pulumi.getter(name="generatedId")
|
2289
|
+
def generated_id(self) -> pulumi.Output[int]:
|
2290
|
+
"""
|
2291
|
+
The unique identifier for the resource. This identifier is defined by the server.
|
2292
|
+
"""
|
2293
|
+
return pulumi.get(self, "generated_id")
|
2294
|
+
|
2267
2295
|
@property
|
2268
2296
|
@pulumi.getter(name="healthChecks")
|
2269
2297
|
def health_checks(self) -> pulumi.Output[Optional[str]]:
|
@@ -1321,6 +1321,82 @@ class RegionUrlMap(pulumi.CustomResource):
|
|
1321
1321
|
network_tier="PREMIUM")
|
1322
1322
|
```
|
1323
1323
|
<!--End PulumiCodeChooser -->
|
1324
|
+
### Region Url Map Path Template Match
|
1325
|
+
|
1326
|
+
<!--Start PulumiCodeChooser -->
|
1327
|
+
```python
|
1328
|
+
import pulumi
|
1329
|
+
import pulumi_gcp as gcp
|
1330
|
+
|
1331
|
+
default = gcp.compute.RegionHealthCheck("default",
|
1332
|
+
region="us-central1",
|
1333
|
+
name="health-check",
|
1334
|
+
check_interval_sec=1,
|
1335
|
+
timeout_sec=1,
|
1336
|
+
http_health_check=gcp.compute.RegionHealthCheckHttpHealthCheckArgs(
|
1337
|
+
port=80,
|
1338
|
+
request_path="/",
|
1339
|
+
))
|
1340
|
+
home_backend = gcp.compute.RegionBackendService("home-backend",
|
1341
|
+
region="us-central1",
|
1342
|
+
name="home-service",
|
1343
|
+
port_name="http",
|
1344
|
+
protocol="HTTP",
|
1345
|
+
timeout_sec=10,
|
1346
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
1347
|
+
health_checks=default.id)
|
1348
|
+
cart_backend = gcp.compute.RegionBackendService("cart-backend",
|
1349
|
+
region="us-central1",
|
1350
|
+
name="cart-service",
|
1351
|
+
port_name="http",
|
1352
|
+
protocol="HTTP",
|
1353
|
+
timeout_sec=10,
|
1354
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
1355
|
+
health_checks=default.id)
|
1356
|
+
user_backend = gcp.compute.RegionBackendService("user-backend",
|
1357
|
+
region="us-central1",
|
1358
|
+
name="user-service",
|
1359
|
+
port_name="http",
|
1360
|
+
protocol="HTTP",
|
1361
|
+
timeout_sec=10,
|
1362
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
1363
|
+
health_checks=default.id)
|
1364
|
+
urlmap = gcp.compute.RegionUrlMap("urlmap",
|
1365
|
+
region="us-central1",
|
1366
|
+
name="urlmap",
|
1367
|
+
description="a description",
|
1368
|
+
default_service=home_backend.id,
|
1369
|
+
host_rules=[gcp.compute.RegionUrlMapHostRuleArgs(
|
1370
|
+
hosts=["mysite.com"],
|
1371
|
+
path_matcher="mysite",
|
1372
|
+
)],
|
1373
|
+
path_matchers=[gcp.compute.RegionUrlMapPathMatcherArgs(
|
1374
|
+
name="mysite",
|
1375
|
+
default_service=home_backend.id,
|
1376
|
+
route_rules=[
|
1377
|
+
gcp.compute.RegionUrlMapPathMatcherRouteRuleArgs(
|
1378
|
+
match_rules=[gcp.compute.RegionUrlMapPathMatcherRouteRuleMatchRuleArgs(
|
1379
|
+
path_template_match="/xyzwebservices/v2/xyz/users/{username=*}/carts/{cartid=**}",
|
1380
|
+
)],
|
1381
|
+
service=cart_backend.id,
|
1382
|
+
priority=1,
|
1383
|
+
route_action=gcp.compute.RegionUrlMapPathMatcherRouteRuleRouteActionArgs(
|
1384
|
+
url_rewrite=gcp.compute.RegionUrlMapPathMatcherRouteRuleRouteActionUrlRewriteArgs(
|
1385
|
+
path_template_rewrite="/{username}-{cartid}/",
|
1386
|
+
),
|
1387
|
+
),
|
1388
|
+
),
|
1389
|
+
gcp.compute.RegionUrlMapPathMatcherRouteRuleArgs(
|
1390
|
+
match_rules=[gcp.compute.RegionUrlMapPathMatcherRouteRuleMatchRuleArgs(
|
1391
|
+
path_template_match="/xyzwebservices/v2/xyz/users/*/accountinfo/*",
|
1392
|
+
)],
|
1393
|
+
service=user_backend.id,
|
1394
|
+
priority=2,
|
1395
|
+
),
|
1396
|
+
],
|
1397
|
+
)])
|
1398
|
+
```
|
1399
|
+
<!--End PulumiCodeChooser -->
|
1324
1400
|
|
1325
1401
|
## Import
|
1326
1402
|
|
@@ -2174,6 +2250,82 @@ class RegionUrlMap(pulumi.CustomResource):
|
|
2174
2250
|
network_tier="PREMIUM")
|
2175
2251
|
```
|
2176
2252
|
<!--End PulumiCodeChooser -->
|
2253
|
+
### Region Url Map Path Template Match
|
2254
|
+
|
2255
|
+
<!--Start PulumiCodeChooser -->
|
2256
|
+
```python
|
2257
|
+
import pulumi
|
2258
|
+
import pulumi_gcp as gcp
|
2259
|
+
|
2260
|
+
default = gcp.compute.RegionHealthCheck("default",
|
2261
|
+
region="us-central1",
|
2262
|
+
name="health-check",
|
2263
|
+
check_interval_sec=1,
|
2264
|
+
timeout_sec=1,
|
2265
|
+
http_health_check=gcp.compute.RegionHealthCheckHttpHealthCheckArgs(
|
2266
|
+
port=80,
|
2267
|
+
request_path="/",
|
2268
|
+
))
|
2269
|
+
home_backend = gcp.compute.RegionBackendService("home-backend",
|
2270
|
+
region="us-central1",
|
2271
|
+
name="home-service",
|
2272
|
+
port_name="http",
|
2273
|
+
protocol="HTTP",
|
2274
|
+
timeout_sec=10,
|
2275
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
2276
|
+
health_checks=default.id)
|
2277
|
+
cart_backend = gcp.compute.RegionBackendService("cart-backend",
|
2278
|
+
region="us-central1",
|
2279
|
+
name="cart-service",
|
2280
|
+
port_name="http",
|
2281
|
+
protocol="HTTP",
|
2282
|
+
timeout_sec=10,
|
2283
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
2284
|
+
health_checks=default.id)
|
2285
|
+
user_backend = gcp.compute.RegionBackendService("user-backend",
|
2286
|
+
region="us-central1",
|
2287
|
+
name="user-service",
|
2288
|
+
port_name="http",
|
2289
|
+
protocol="HTTP",
|
2290
|
+
timeout_sec=10,
|
2291
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
2292
|
+
health_checks=default.id)
|
2293
|
+
urlmap = gcp.compute.RegionUrlMap("urlmap",
|
2294
|
+
region="us-central1",
|
2295
|
+
name="urlmap",
|
2296
|
+
description="a description",
|
2297
|
+
default_service=home_backend.id,
|
2298
|
+
host_rules=[gcp.compute.RegionUrlMapHostRuleArgs(
|
2299
|
+
hosts=["mysite.com"],
|
2300
|
+
path_matcher="mysite",
|
2301
|
+
)],
|
2302
|
+
path_matchers=[gcp.compute.RegionUrlMapPathMatcherArgs(
|
2303
|
+
name="mysite",
|
2304
|
+
default_service=home_backend.id,
|
2305
|
+
route_rules=[
|
2306
|
+
gcp.compute.RegionUrlMapPathMatcherRouteRuleArgs(
|
2307
|
+
match_rules=[gcp.compute.RegionUrlMapPathMatcherRouteRuleMatchRuleArgs(
|
2308
|
+
path_template_match="/xyzwebservices/v2/xyz/users/{username=*}/carts/{cartid=**}",
|
2309
|
+
)],
|
2310
|
+
service=cart_backend.id,
|
2311
|
+
priority=1,
|
2312
|
+
route_action=gcp.compute.RegionUrlMapPathMatcherRouteRuleRouteActionArgs(
|
2313
|
+
url_rewrite=gcp.compute.RegionUrlMapPathMatcherRouteRuleRouteActionUrlRewriteArgs(
|
2314
|
+
path_template_rewrite="/{username}-{cartid}/",
|
2315
|
+
),
|
2316
|
+
),
|
2317
|
+
),
|
2318
|
+
gcp.compute.RegionUrlMapPathMatcherRouteRuleArgs(
|
2319
|
+
match_rules=[gcp.compute.RegionUrlMapPathMatcherRouteRuleMatchRuleArgs(
|
2320
|
+
path_template_match="/xyzwebservices/v2/xyz/users/*/accountinfo/*",
|
2321
|
+
)],
|
2322
|
+
service=user_backend.id,
|
2323
|
+
priority=2,
|
2324
|
+
),
|
2325
|
+
],
|
2326
|
+
)])
|
2327
|
+
```
|
2328
|
+
<!--End PulumiCodeChooser -->
|
2177
2329
|
|
2178
2330
|
## Import
|
2179
2331
|
|
@@ -507,7 +507,7 @@ class TargetInstance(pulumi.CustomResource):
|
|
507
507
|
))
|
508
508
|
policyddosprotection = gcp.compute.RegionSecurityPolicy("policyddosprotection",
|
509
509
|
region="southamerica-west1",
|
510
|
-
name="tf-test-
|
510
|
+
name="tf-test-policyddos_88717",
|
511
511
|
description="ddos protection security policy to set target instance",
|
512
512
|
type="CLOUD_ARMOR_NETWORK",
|
513
513
|
ddos_protection_config=gcp.compute.RegionSecurityPolicyDdosProtectionConfigArgs(
|
@@ -515,7 +515,7 @@ class TargetInstance(pulumi.CustomResource):
|
|
515
515
|
))
|
516
516
|
edge_sec_service = gcp.compute.NetworkEdgeSecurityService("edge_sec_service",
|
517
517
|
region="southamerica-west1",
|
518
|
-
name="tf-test-
|
518
|
+
name="tf-test-edgesec_85794",
|
519
519
|
security_policy=policyddosprotection.self_link)
|
520
520
|
regionsecuritypolicy = gcp.compute.RegionSecurityPolicy("regionsecuritypolicy",
|
521
521
|
name="region-secpolicy",
|
@@ -702,7 +702,7 @@ class TargetInstance(pulumi.CustomResource):
|
|
702
702
|
))
|
703
703
|
policyddosprotection = gcp.compute.RegionSecurityPolicy("policyddosprotection",
|
704
704
|
region="southamerica-west1",
|
705
|
-
name="tf-test-
|
705
|
+
name="tf-test-policyddos_88717",
|
706
706
|
description="ddos protection security policy to set target instance",
|
707
707
|
type="CLOUD_ARMOR_NETWORK",
|
708
708
|
ddos_protection_config=gcp.compute.RegionSecurityPolicyDdosProtectionConfigArgs(
|
@@ -710,7 +710,7 @@ class TargetInstance(pulumi.CustomResource):
|
|
710
710
|
))
|
711
711
|
edge_sec_service = gcp.compute.NetworkEdgeSecurityService("edge_sec_service",
|
712
712
|
region="southamerica-west1",
|
713
|
-
name="tf-test-
|
713
|
+
name="tf-test-edgesec_85794",
|
714
714
|
security_policy=policyddosprotection.self_link)
|
715
715
|
regionsecuritypolicy = gcp.compute.RegionSecurityPolicy("regionsecuritypolicy",
|
716
716
|
name="region-secpolicy",
|
pulumi_gcp/config/__init__.pyi
CHANGED
pulumi_gcp/config/vars.py
CHANGED
@@ -440,6 +440,10 @@ class _ExportableConfig(types.ModuleType):
|
|
440
440
|
def integration_connectors_custom_endpoint(self) -> Optional[str]:
|
441
441
|
return __config__.get('integrationConnectorsCustomEndpoint')
|
442
442
|
|
443
|
+
@property
|
444
|
+
def integrations_custom_endpoint(self) -> Optional[str]:
|
445
|
+
return __config__.get('integrationsCustomEndpoint')
|
446
|
+
|
443
447
|
@property
|
444
448
|
def kms_custom_endpoint(self) -> Optional[str]:
|
445
449
|
return __config__.get('kmsCustomEndpoint')
|