pulumi-gcp 8.5.0a1728368389__py3-none-any.whl → 8.5.0a1728386657__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 +24 -0
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/bigtable/gc_policy.py +7 -0
- pulumi_gcp/compute/_inputs.py +299 -15
- pulumi_gcp/compute/backend_service.py +111 -7
- pulumi_gcp/compute/get_backend_service.py +11 -1
- pulumi_gcp/compute/network.py +236 -0
- pulumi_gcp/compute/outputs.py +399 -14
- pulumi_gcp/compute/region_backend_service.py +115 -7
- pulumi_gcp/compute/route.py +92 -0
- pulumi_gcp/compute/subnetwork.py +2 -2
- pulumi_gcp/container/_inputs.py +94 -0
- pulumi_gcp/container/aws_node_pool.py +59 -0
- pulumi_gcp/container/outputs.py +79 -0
- pulumi_gcp/dataproc/__init__.py +1 -0
- pulumi_gcp/dataproc/_inputs.py +1394 -0
- pulumi_gcp/dataproc/batch.py +1514 -0
- pulumi_gcp/dataproc/outputs.py +1127 -0
- pulumi_gcp/firestore/field.py +4 -4
- 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/healthcare/__init__.py +1 -0
- pulumi_gcp/healthcare/_inputs.py +538 -0
- pulumi_gcp/healthcare/outputs.py +467 -0
- pulumi_gcp/healthcare/pipeline_job.py +1233 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/logging/log_scope.py +7 -7
- pulumi_gcp/networkconnectivity/spoke.py +10 -10
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/pubsub/_inputs.py +333 -1
- pulumi_gcp/pubsub/outputs.py +410 -2
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic.py +44 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/repository.py +0 -2
- pulumi_gcp/securityposture/posture.py +0 -2
- pulumi_gcp/securityposture/posture_deployment.py +0 -2
- pulumi_gcp/serviceusage/consumer_quota_override.py +0 -2
- pulumi_gcp/siteverification/__init__.py +1 -0
- pulumi_gcp/siteverification/owner.py +398 -0
- pulumi_gcp/sourcerepo/get_repository.py +11 -1
- pulumi_gcp/sourcerepo/repository.py +47 -0
- pulumi_gcp/tags/tag_key.py +7 -7
- pulumi_gcp/tags/tag_value.py +7 -7
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- {pulumi_gcp-8.5.0a1728368389.dist-info → pulumi_gcp-8.5.0a1728386657.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.5.0a1728368389.dist-info → pulumi_gcp-8.5.0a1728386657.dist-info}/RECORD +52 -49
- {pulumi_gcp-8.5.0a1728368389.dist-info → pulumi_gcp-8.5.0a1728386657.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.5.0a1728368389.dist-info → pulumi_gcp-8.5.0a1728386657.dist-info}/top_level.txt +0 -0
@@ -48,6 +48,7 @@ class BackendServiceArgs:
|
|
48
48
|
security_settings: Optional[pulumi.Input['BackendServiceSecuritySettingsArgs']] = None,
|
49
49
|
service_lb_policy: Optional[pulumi.Input[str]] = None,
|
50
50
|
session_affinity: Optional[pulumi.Input[str]] = None,
|
51
|
+
strong_session_affinity_cookie: Optional[pulumi.Input['BackendServiceStrongSessionAffinityCookieArgs']] = None,
|
51
52
|
timeout_sec: Optional[pulumi.Input[int]] = None):
|
52
53
|
"""
|
53
54
|
The set of arguments for constructing a BackendService resource.
|
@@ -188,7 +189,9 @@ class BackendServiceArgs:
|
|
188
189
|
Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
|
189
190
|
:param pulumi.Input[str] session_affinity: Type of session affinity to use. The default is NONE. Session affinity is
|
190
191
|
not applicable if the protocol is UDP.
|
191
|
-
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`.
|
192
|
+
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`, `STRONG_COOKIE_AFFINITY`.
|
193
|
+
:param pulumi.Input['BackendServiceStrongSessionAffinityCookieArgs'] strong_session_affinity_cookie: Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
|
194
|
+
Structure is documented below.
|
192
195
|
:param pulumi.Input[int] timeout_sec: The backend service timeout has a different meaning depending on the type of load balancer.
|
193
196
|
For more information see, [Backend service settings](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices).
|
194
197
|
The default is 30 seconds.
|
@@ -248,6 +251,8 @@ class BackendServiceArgs:
|
|
248
251
|
pulumi.set(__self__, "service_lb_policy", service_lb_policy)
|
249
252
|
if session_affinity is not None:
|
250
253
|
pulumi.set(__self__, "session_affinity", session_affinity)
|
254
|
+
if strong_session_affinity_cookie is not None:
|
255
|
+
pulumi.set(__self__, "strong_session_affinity_cookie", strong_session_affinity_cookie)
|
251
256
|
if timeout_sec is not None:
|
252
257
|
pulumi.set(__self__, "timeout_sec", timeout_sec)
|
253
258
|
|
@@ -678,7 +683,7 @@ class BackendServiceArgs:
|
|
678
683
|
"""
|
679
684
|
Type of session affinity to use. The default is NONE. Session affinity is
|
680
685
|
not applicable if the protocol is UDP.
|
681
|
-
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`.
|
686
|
+
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`, `STRONG_COOKIE_AFFINITY`.
|
682
687
|
"""
|
683
688
|
return pulumi.get(self, "session_affinity")
|
684
689
|
|
@@ -686,6 +691,19 @@ class BackendServiceArgs:
|
|
686
691
|
def session_affinity(self, value: Optional[pulumi.Input[str]]):
|
687
692
|
pulumi.set(self, "session_affinity", value)
|
688
693
|
|
694
|
+
@property
|
695
|
+
@pulumi.getter(name="strongSessionAffinityCookie")
|
696
|
+
def strong_session_affinity_cookie(self) -> Optional[pulumi.Input['BackendServiceStrongSessionAffinityCookieArgs']]:
|
697
|
+
"""
|
698
|
+
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
|
699
|
+
Structure is documented below.
|
700
|
+
"""
|
701
|
+
return pulumi.get(self, "strong_session_affinity_cookie")
|
702
|
+
|
703
|
+
@strong_session_affinity_cookie.setter
|
704
|
+
def strong_session_affinity_cookie(self, value: Optional[pulumi.Input['BackendServiceStrongSessionAffinityCookieArgs']]):
|
705
|
+
pulumi.set(self, "strong_session_affinity_cookie", value)
|
706
|
+
|
689
707
|
@property
|
690
708
|
@pulumi.getter(name="timeoutSec")
|
691
709
|
def timeout_sec(self) -> Optional[pulumi.Input[int]]:
|
@@ -736,6 +754,7 @@ class _BackendServiceState:
|
|
736
754
|
self_link: Optional[pulumi.Input[str]] = None,
|
737
755
|
service_lb_policy: Optional[pulumi.Input[str]] = None,
|
738
756
|
session_affinity: Optional[pulumi.Input[str]] = None,
|
757
|
+
strong_session_affinity_cookie: Optional[pulumi.Input['BackendServiceStrongSessionAffinityCookieArgs']] = None,
|
739
758
|
timeout_sec: Optional[pulumi.Input[int]] = None):
|
740
759
|
"""
|
741
760
|
Input properties used for looking up and filtering BackendService resources.
|
@@ -881,7 +900,9 @@ class _BackendServiceState:
|
|
881
900
|
Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
|
882
901
|
:param pulumi.Input[str] session_affinity: Type of session affinity to use. The default is NONE. Session affinity is
|
883
902
|
not applicable if the protocol is UDP.
|
884
|
-
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`.
|
903
|
+
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`, `STRONG_COOKIE_AFFINITY`.
|
904
|
+
:param pulumi.Input['BackendServiceStrongSessionAffinityCookieArgs'] strong_session_affinity_cookie: Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
|
905
|
+
Structure is documented below.
|
885
906
|
:param pulumi.Input[int] timeout_sec: The backend service timeout has a different meaning depending on the type of load balancer.
|
886
907
|
For more information see, [Backend service settings](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices).
|
887
908
|
The default is 30 seconds.
|
@@ -949,6 +970,8 @@ class _BackendServiceState:
|
|
949
970
|
pulumi.set(__self__, "service_lb_policy", service_lb_policy)
|
950
971
|
if session_affinity is not None:
|
951
972
|
pulumi.set(__self__, "session_affinity", session_affinity)
|
973
|
+
if strong_session_affinity_cookie is not None:
|
974
|
+
pulumi.set(__self__, "strong_session_affinity_cookie", strong_session_affinity_cookie)
|
952
975
|
if timeout_sec is not None:
|
953
976
|
pulumi.set(__self__, "timeout_sec", timeout_sec)
|
954
977
|
|
@@ -1428,7 +1451,7 @@ class _BackendServiceState:
|
|
1428
1451
|
"""
|
1429
1452
|
Type of session affinity to use. The default is NONE. Session affinity is
|
1430
1453
|
not applicable if the protocol is UDP.
|
1431
|
-
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`.
|
1454
|
+
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`, `STRONG_COOKIE_AFFINITY`.
|
1432
1455
|
"""
|
1433
1456
|
return pulumi.get(self, "session_affinity")
|
1434
1457
|
|
@@ -1436,6 +1459,19 @@ class _BackendServiceState:
|
|
1436
1459
|
def session_affinity(self, value: Optional[pulumi.Input[str]]):
|
1437
1460
|
pulumi.set(self, "session_affinity", value)
|
1438
1461
|
|
1462
|
+
@property
|
1463
|
+
@pulumi.getter(name="strongSessionAffinityCookie")
|
1464
|
+
def strong_session_affinity_cookie(self) -> Optional[pulumi.Input['BackendServiceStrongSessionAffinityCookieArgs']]:
|
1465
|
+
"""
|
1466
|
+
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
|
1467
|
+
Structure is documented below.
|
1468
|
+
"""
|
1469
|
+
return pulumi.get(self, "strong_session_affinity_cookie")
|
1470
|
+
|
1471
|
+
@strong_session_affinity_cookie.setter
|
1472
|
+
def strong_session_affinity_cookie(self, value: Optional[pulumi.Input['BackendServiceStrongSessionAffinityCookieArgs']]):
|
1473
|
+
pulumi.set(self, "strong_session_affinity_cookie", value)
|
1474
|
+
|
1439
1475
|
@property
|
1440
1476
|
@pulumi.getter(name="timeoutSec")
|
1441
1477
|
def timeout_sec(self) -> Optional[pulumi.Input[int]]:
|
@@ -1484,6 +1520,7 @@ class BackendService(pulumi.CustomResource):
|
|
1484
1520
|
security_settings: Optional[pulumi.Input[Union['BackendServiceSecuritySettingsArgs', 'BackendServiceSecuritySettingsArgsDict']]] = None,
|
1485
1521
|
service_lb_policy: Optional[pulumi.Input[str]] = None,
|
1486
1522
|
session_affinity: Optional[pulumi.Input[str]] = None,
|
1523
|
+
strong_session_affinity_cookie: Optional[pulumi.Input[Union['BackendServiceStrongSessionAffinityCookieArgs', 'BackendServiceStrongSessionAffinityCookieArgsDict']]] = None,
|
1487
1524
|
timeout_sec: Optional[pulumi.Input[int]] = None,
|
1488
1525
|
__props__=None):
|
1489
1526
|
"""
|
@@ -1713,6 +1750,31 @@ class BackendService(pulumi.CustomResource):
|
|
1713
1750
|
"success_rate_stdev_factor": 1900,
|
1714
1751
|
})
|
1715
1752
|
```
|
1753
|
+
### Backend Service Stateful Session Affinity
|
1754
|
+
|
1755
|
+
```python
|
1756
|
+
import pulumi
|
1757
|
+
import pulumi_gcp as gcp
|
1758
|
+
|
1759
|
+
health_check = gcp.compute.HealthCheck("health_check",
|
1760
|
+
name="health-check",
|
1761
|
+
http_health_check={
|
1762
|
+
"port": 80,
|
1763
|
+
})
|
1764
|
+
default = gcp.compute.BackendService("default",
|
1765
|
+
name="backend-service",
|
1766
|
+
health_checks=health_check.id,
|
1767
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
1768
|
+
locality_lb_policy="RING_HASH",
|
1769
|
+
session_affinity="STRONG_COOKIE_AFFINITY",
|
1770
|
+
strong_session_affinity_cookie={
|
1771
|
+
"ttl": {
|
1772
|
+
"seconds": 11,
|
1773
|
+
"nanos": 1111,
|
1774
|
+
},
|
1775
|
+
"name": "mycookie",
|
1776
|
+
})
|
1777
|
+
```
|
1716
1778
|
### Backend Service Network Endpoint
|
1717
1779
|
|
1718
1780
|
```python
|
@@ -1918,7 +1980,9 @@ class BackendService(pulumi.CustomResource):
|
|
1918
1980
|
Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
|
1919
1981
|
:param pulumi.Input[str] session_affinity: Type of session affinity to use. The default is NONE. Session affinity is
|
1920
1982
|
not applicable if the protocol is UDP.
|
1921
|
-
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`.
|
1983
|
+
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`, `STRONG_COOKIE_AFFINITY`.
|
1984
|
+
:param pulumi.Input[Union['BackendServiceStrongSessionAffinityCookieArgs', 'BackendServiceStrongSessionAffinityCookieArgsDict']] strong_session_affinity_cookie: Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
|
1985
|
+
Structure is documented below.
|
1922
1986
|
:param pulumi.Input[int] timeout_sec: The backend service timeout has a different meaning depending on the type of load balancer.
|
1923
1987
|
For more information see, [Backend service settings](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices).
|
1924
1988
|
The default is 30 seconds.
|
@@ -2157,6 +2221,31 @@ class BackendService(pulumi.CustomResource):
|
|
2157
2221
|
"success_rate_stdev_factor": 1900,
|
2158
2222
|
})
|
2159
2223
|
```
|
2224
|
+
### Backend Service Stateful Session Affinity
|
2225
|
+
|
2226
|
+
```python
|
2227
|
+
import pulumi
|
2228
|
+
import pulumi_gcp as gcp
|
2229
|
+
|
2230
|
+
health_check = gcp.compute.HealthCheck("health_check",
|
2231
|
+
name="health-check",
|
2232
|
+
http_health_check={
|
2233
|
+
"port": 80,
|
2234
|
+
})
|
2235
|
+
default = gcp.compute.BackendService("default",
|
2236
|
+
name="backend-service",
|
2237
|
+
health_checks=health_check.id,
|
2238
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
2239
|
+
locality_lb_policy="RING_HASH",
|
2240
|
+
session_affinity="STRONG_COOKIE_AFFINITY",
|
2241
|
+
strong_session_affinity_cookie={
|
2242
|
+
"ttl": {
|
2243
|
+
"seconds": 11,
|
2244
|
+
"nanos": 1111,
|
2245
|
+
},
|
2246
|
+
"name": "mycookie",
|
2247
|
+
})
|
2248
|
+
```
|
2160
2249
|
### Backend Service Network Endpoint
|
2161
2250
|
|
2162
2251
|
```python
|
@@ -2265,6 +2354,7 @@ class BackendService(pulumi.CustomResource):
|
|
2265
2354
|
security_settings: Optional[pulumi.Input[Union['BackendServiceSecuritySettingsArgs', 'BackendServiceSecuritySettingsArgsDict']]] = None,
|
2266
2355
|
service_lb_policy: Optional[pulumi.Input[str]] = None,
|
2267
2356
|
session_affinity: Optional[pulumi.Input[str]] = None,
|
2357
|
+
strong_session_affinity_cookie: Optional[pulumi.Input[Union['BackendServiceStrongSessionAffinityCookieArgs', 'BackendServiceStrongSessionAffinityCookieArgsDict']]] = None,
|
2268
2358
|
timeout_sec: Optional[pulumi.Input[int]] = None,
|
2269
2359
|
__props__=None):
|
2270
2360
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -2302,6 +2392,7 @@ class BackendService(pulumi.CustomResource):
|
|
2302
2392
|
__props__.__dict__["security_settings"] = security_settings
|
2303
2393
|
__props__.__dict__["service_lb_policy"] = service_lb_policy
|
2304
2394
|
__props__.__dict__["session_affinity"] = session_affinity
|
2395
|
+
__props__.__dict__["strong_session_affinity_cookie"] = strong_session_affinity_cookie
|
2305
2396
|
__props__.__dict__["timeout_sec"] = timeout_sec
|
2306
2397
|
__props__.__dict__["creation_timestamp"] = None
|
2307
2398
|
__props__.__dict__["fingerprint"] = None
|
@@ -2348,6 +2439,7 @@ class BackendService(pulumi.CustomResource):
|
|
2348
2439
|
self_link: Optional[pulumi.Input[str]] = None,
|
2349
2440
|
service_lb_policy: Optional[pulumi.Input[str]] = None,
|
2350
2441
|
session_affinity: Optional[pulumi.Input[str]] = None,
|
2442
|
+
strong_session_affinity_cookie: Optional[pulumi.Input[Union['BackendServiceStrongSessionAffinityCookieArgs', 'BackendServiceStrongSessionAffinityCookieArgsDict']]] = None,
|
2351
2443
|
timeout_sec: Optional[pulumi.Input[int]] = None) -> 'BackendService':
|
2352
2444
|
"""
|
2353
2445
|
Get an existing BackendService resource's state with the given name, id, and optional extra
|
@@ -2498,7 +2590,9 @@ class BackendService(pulumi.CustomResource):
|
|
2498
2590
|
Can only be set if load balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or INTERNAL_SELF_MANAGED and the scope is global.
|
2499
2591
|
:param pulumi.Input[str] session_affinity: Type of session affinity to use. The default is NONE. Session affinity is
|
2500
2592
|
not applicable if the protocol is UDP.
|
2501
|
-
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`.
|
2593
|
+
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`, `STRONG_COOKIE_AFFINITY`.
|
2594
|
+
:param pulumi.Input[Union['BackendServiceStrongSessionAffinityCookieArgs', 'BackendServiceStrongSessionAffinityCookieArgsDict']] strong_session_affinity_cookie: Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
|
2595
|
+
Structure is documented below.
|
2502
2596
|
:param pulumi.Input[int] timeout_sec: The backend service timeout has a different meaning depending on the type of load balancer.
|
2503
2597
|
For more information see, [Backend service settings](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices).
|
2504
2598
|
The default is 30 seconds.
|
@@ -2539,6 +2633,7 @@ class BackendService(pulumi.CustomResource):
|
|
2539
2633
|
__props__.__dict__["self_link"] = self_link
|
2540
2634
|
__props__.__dict__["service_lb_policy"] = service_lb_policy
|
2541
2635
|
__props__.__dict__["session_affinity"] = session_affinity
|
2636
|
+
__props__.__dict__["strong_session_affinity_cookie"] = strong_session_affinity_cookie
|
2542
2637
|
__props__.__dict__["timeout_sec"] = timeout_sec
|
2543
2638
|
return BackendService(resource_name, opts=opts, __props__=__props__)
|
2544
2639
|
|
@@ -2898,10 +2993,19 @@ class BackendService(pulumi.CustomResource):
|
|
2898
2993
|
"""
|
2899
2994
|
Type of session affinity to use. The default is NONE. Session affinity is
|
2900
2995
|
not applicable if the protocol is UDP.
|
2901
|
-
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`.
|
2996
|
+
Possible values are: `NONE`, `CLIENT_IP`, `CLIENT_IP_PORT_PROTO`, `CLIENT_IP_PROTO`, `GENERATED_COOKIE`, `HEADER_FIELD`, `HTTP_COOKIE`, `STRONG_COOKIE_AFFINITY`.
|
2902
2997
|
"""
|
2903
2998
|
return pulumi.get(self, "session_affinity")
|
2904
2999
|
|
3000
|
+
@property
|
3001
|
+
@pulumi.getter(name="strongSessionAffinityCookie")
|
3002
|
+
def strong_session_affinity_cookie(self) -> pulumi.Output[Optional['outputs.BackendServiceStrongSessionAffinityCookie']]:
|
3003
|
+
"""
|
3004
|
+
Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY.
|
3005
|
+
Structure is documented below.
|
3006
|
+
"""
|
3007
|
+
return pulumi.get(self, "strong_session_affinity_cookie")
|
3008
|
+
|
2905
3009
|
@property
|
2906
3010
|
@pulumi.getter(name="timeoutSec")
|
2907
3011
|
def timeout_sec(self) -> pulumi.Output[int]:
|
@@ -27,7 +27,7 @@ class GetBackendServiceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getBackendService.
|
29
29
|
"""
|
30
|
-
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_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, 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, timeout_sec=None):
|
30
|
+
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_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, 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):
|
31
31
|
if affinity_cookie_ttl_sec and not isinstance(affinity_cookie_ttl_sec, int):
|
32
32
|
raise TypeError("Expected argument 'affinity_cookie_ttl_sec' to be a int")
|
33
33
|
pulumi.set(__self__, "affinity_cookie_ttl_sec", affinity_cookie_ttl_sec)
|
@@ -124,6 +124,9 @@ class GetBackendServiceResult:
|
|
124
124
|
if session_affinity and not isinstance(session_affinity, str):
|
125
125
|
raise TypeError("Expected argument 'session_affinity' to be a str")
|
126
126
|
pulumi.set(__self__, "session_affinity", session_affinity)
|
127
|
+
if strong_session_affinity_cookies and not isinstance(strong_session_affinity_cookies, list):
|
128
|
+
raise TypeError("Expected argument 'strong_session_affinity_cookies' to be a list")
|
129
|
+
pulumi.set(__self__, "strong_session_affinity_cookies", strong_session_affinity_cookies)
|
127
130
|
if timeout_sec and not isinstance(timeout_sec, int):
|
128
131
|
raise TypeError("Expected argument 'timeout_sec' to be a int")
|
129
132
|
pulumi.set(__self__, "timeout_sec", timeout_sec)
|
@@ -324,6 +327,11 @@ class GetBackendServiceResult:
|
|
324
327
|
"""
|
325
328
|
return pulumi.get(self, "session_affinity")
|
326
329
|
|
330
|
+
@property
|
331
|
+
@pulumi.getter(name="strongSessionAffinityCookies")
|
332
|
+
def strong_session_affinity_cookies(self) -> Sequence['outputs.GetBackendServiceStrongSessionAffinityCookyResult']:
|
333
|
+
return pulumi.get(self, "strong_session_affinity_cookies")
|
334
|
+
|
327
335
|
@property
|
328
336
|
@pulumi.getter(name="timeoutSec")
|
329
337
|
def timeout_sec(self) -> int:
|
@@ -371,6 +379,7 @@ class AwaitableGetBackendServiceResult(GetBackendServiceResult):
|
|
371
379
|
self_link=self.self_link,
|
372
380
|
service_lb_policy=self.service_lb_policy,
|
373
381
|
session_affinity=self.session_affinity,
|
382
|
+
strong_session_affinity_cookies=self.strong_session_affinity_cookies,
|
374
383
|
timeout_sec=self.timeout_sec)
|
375
384
|
|
376
385
|
|
@@ -439,6 +448,7 @@ def get_backend_service(name: Optional[str] = None,
|
|
439
448
|
self_link=pulumi.get(__ret__, 'self_link'),
|
440
449
|
service_lb_policy=pulumi.get(__ret__, 'service_lb_policy'),
|
441
450
|
session_affinity=pulumi.get(__ret__, 'session_affinity'),
|
451
|
+
strong_session_affinity_cookies=pulumi.get(__ret__, 'strong_session_affinity_cookies'),
|
442
452
|
timeout_sec=pulumi.get(__ret__, 'timeout_sec'))
|
443
453
|
|
444
454
|
|
pulumi_gcp/compute/network.py
CHANGED
@@ -20,6 +20,9 @@ __all__ = ['NetworkArgs', 'Network']
|
|
20
20
|
class NetworkArgs:
|
21
21
|
def __init__(__self__, *,
|
22
22
|
auto_create_subnetworks: Optional[pulumi.Input[bool]] = None,
|
23
|
+
bgp_always_compare_med: Optional[pulumi.Input[bool]] = None,
|
24
|
+
bgp_best_path_selection_mode: Optional[pulumi.Input[str]] = None,
|
25
|
+
bgp_inter_region_cost: Optional[pulumi.Input[str]] = None,
|
23
26
|
delete_default_routes_on_create: Optional[pulumi.Input[bool]] = None,
|
24
27
|
description: Optional[pulumi.Input[str]] = None,
|
25
28
|
enable_ula_internal_ipv6: Optional[pulumi.Input[bool]] = None,
|
@@ -36,6 +39,12 @@ class NetworkArgs:
|
|
36
39
|
`10.128.0.0/9` address range.
|
37
40
|
When set to `false`, the network is created in "custom subnet mode" so
|
38
41
|
the user can explicitly connect subnetwork resources.
|
42
|
+
:param pulumi.Input[bool] bgp_always_compare_med: Enables/disables the comparison of MED across routes with different Neighbor ASNs.
|
43
|
+
This value can only be set if the --bgp-best-path-selection-mode is STANDARD
|
44
|
+
:param pulumi.Input[str] bgp_best_path_selection_mode: The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD.
|
45
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
46
|
+
:param pulumi.Input[str] bgp_inter_region_cost: Choice of the behavior of inter-regional cost and MED in the BPS algorithm.
|
47
|
+
Possible values are: `DEFAULT`, `ADD_COST_TO_MED`.
|
39
48
|
:param pulumi.Input[bool] delete_default_routes_on_create: If set to `true`, default routes (`0.0.0.0/0`) will be deleted
|
40
49
|
immediately after network creation. Defaults to `false`.
|
41
50
|
:param pulumi.Input[str] description: An optional description of this resource. The resource must be
|
@@ -76,6 +85,12 @@ class NetworkArgs:
|
|
76
85
|
"""
|
77
86
|
if auto_create_subnetworks is not None:
|
78
87
|
pulumi.set(__self__, "auto_create_subnetworks", auto_create_subnetworks)
|
88
|
+
if bgp_always_compare_med is not None:
|
89
|
+
pulumi.set(__self__, "bgp_always_compare_med", bgp_always_compare_med)
|
90
|
+
if bgp_best_path_selection_mode is not None:
|
91
|
+
pulumi.set(__self__, "bgp_best_path_selection_mode", bgp_best_path_selection_mode)
|
92
|
+
if bgp_inter_region_cost is not None:
|
93
|
+
pulumi.set(__self__, "bgp_inter_region_cost", bgp_inter_region_cost)
|
79
94
|
if delete_default_routes_on_create is not None:
|
80
95
|
pulumi.set(__self__, "delete_default_routes_on_create", delete_default_routes_on_create)
|
81
96
|
if description is not None:
|
@@ -111,6 +126,45 @@ class NetworkArgs:
|
|
111
126
|
def auto_create_subnetworks(self, value: Optional[pulumi.Input[bool]]):
|
112
127
|
pulumi.set(self, "auto_create_subnetworks", value)
|
113
128
|
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="bgpAlwaysCompareMed")
|
131
|
+
def bgp_always_compare_med(self) -> Optional[pulumi.Input[bool]]:
|
132
|
+
"""
|
133
|
+
Enables/disables the comparison of MED across routes with different Neighbor ASNs.
|
134
|
+
This value can only be set if the --bgp-best-path-selection-mode is STANDARD
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "bgp_always_compare_med")
|
137
|
+
|
138
|
+
@bgp_always_compare_med.setter
|
139
|
+
def bgp_always_compare_med(self, value: Optional[pulumi.Input[bool]]):
|
140
|
+
pulumi.set(self, "bgp_always_compare_med", value)
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter(name="bgpBestPathSelectionMode")
|
144
|
+
def bgp_best_path_selection_mode(self) -> Optional[pulumi.Input[str]]:
|
145
|
+
"""
|
146
|
+
The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD.
|
147
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "bgp_best_path_selection_mode")
|
150
|
+
|
151
|
+
@bgp_best_path_selection_mode.setter
|
152
|
+
def bgp_best_path_selection_mode(self, value: Optional[pulumi.Input[str]]):
|
153
|
+
pulumi.set(self, "bgp_best_path_selection_mode", value)
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="bgpInterRegionCost")
|
157
|
+
def bgp_inter_region_cost(self) -> Optional[pulumi.Input[str]]:
|
158
|
+
"""
|
159
|
+
Choice of the behavior of inter-regional cost and MED in the BPS algorithm.
|
160
|
+
Possible values are: `DEFAULT`, `ADD_COST_TO_MED`.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "bgp_inter_region_cost")
|
163
|
+
|
164
|
+
@bgp_inter_region_cost.setter
|
165
|
+
def bgp_inter_region_cost(self, value: Optional[pulumi.Input[str]]):
|
166
|
+
pulumi.set(self, "bgp_inter_region_cost", value)
|
167
|
+
|
114
168
|
@property
|
115
169
|
@pulumi.getter(name="deleteDefaultRoutesOnCreate")
|
116
170
|
def delete_default_routes_on_create(self) -> Optional[pulumi.Input[bool]]:
|
@@ -252,6 +306,9 @@ class NetworkArgs:
|
|
252
306
|
class _NetworkState:
|
253
307
|
def __init__(__self__, *,
|
254
308
|
auto_create_subnetworks: Optional[pulumi.Input[bool]] = None,
|
309
|
+
bgp_always_compare_med: Optional[pulumi.Input[bool]] = None,
|
310
|
+
bgp_best_path_selection_mode: Optional[pulumi.Input[str]] = None,
|
311
|
+
bgp_inter_region_cost: Optional[pulumi.Input[str]] = None,
|
255
312
|
delete_default_routes_on_create: Optional[pulumi.Input[bool]] = None,
|
256
313
|
description: Optional[pulumi.Input[str]] = None,
|
257
314
|
enable_ula_internal_ipv6: Optional[pulumi.Input[bool]] = None,
|
@@ -271,6 +328,12 @@ class _NetworkState:
|
|
271
328
|
`10.128.0.0/9` address range.
|
272
329
|
When set to `false`, the network is created in "custom subnet mode" so
|
273
330
|
the user can explicitly connect subnetwork resources.
|
331
|
+
:param pulumi.Input[bool] bgp_always_compare_med: Enables/disables the comparison of MED across routes with different Neighbor ASNs.
|
332
|
+
This value can only be set if the --bgp-best-path-selection-mode is STANDARD
|
333
|
+
:param pulumi.Input[str] bgp_best_path_selection_mode: The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD.
|
334
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
335
|
+
:param pulumi.Input[str] bgp_inter_region_cost: Choice of the behavior of inter-regional cost and MED in the BPS algorithm.
|
336
|
+
Possible values are: `DEFAULT`, `ADD_COST_TO_MED`.
|
274
337
|
:param pulumi.Input[bool] delete_default_routes_on_create: If set to `true`, default routes (`0.0.0.0/0`) will be deleted
|
275
338
|
immediately after network creation. Defaults to `false`.
|
276
339
|
:param pulumi.Input[str] description: An optional description of this resource. The resource must be
|
@@ -315,6 +378,12 @@ class _NetworkState:
|
|
315
378
|
"""
|
316
379
|
if auto_create_subnetworks is not None:
|
317
380
|
pulumi.set(__self__, "auto_create_subnetworks", auto_create_subnetworks)
|
381
|
+
if bgp_always_compare_med is not None:
|
382
|
+
pulumi.set(__self__, "bgp_always_compare_med", bgp_always_compare_med)
|
383
|
+
if bgp_best_path_selection_mode is not None:
|
384
|
+
pulumi.set(__self__, "bgp_best_path_selection_mode", bgp_best_path_selection_mode)
|
385
|
+
if bgp_inter_region_cost is not None:
|
386
|
+
pulumi.set(__self__, "bgp_inter_region_cost", bgp_inter_region_cost)
|
318
387
|
if delete_default_routes_on_create is not None:
|
319
388
|
pulumi.set(__self__, "delete_default_routes_on_create", delete_default_routes_on_create)
|
320
389
|
if description is not None:
|
@@ -356,6 +425,45 @@ class _NetworkState:
|
|
356
425
|
def auto_create_subnetworks(self, value: Optional[pulumi.Input[bool]]):
|
357
426
|
pulumi.set(self, "auto_create_subnetworks", value)
|
358
427
|
|
428
|
+
@property
|
429
|
+
@pulumi.getter(name="bgpAlwaysCompareMed")
|
430
|
+
def bgp_always_compare_med(self) -> Optional[pulumi.Input[bool]]:
|
431
|
+
"""
|
432
|
+
Enables/disables the comparison of MED across routes with different Neighbor ASNs.
|
433
|
+
This value can only be set if the --bgp-best-path-selection-mode is STANDARD
|
434
|
+
"""
|
435
|
+
return pulumi.get(self, "bgp_always_compare_med")
|
436
|
+
|
437
|
+
@bgp_always_compare_med.setter
|
438
|
+
def bgp_always_compare_med(self, value: Optional[pulumi.Input[bool]]):
|
439
|
+
pulumi.set(self, "bgp_always_compare_med", value)
|
440
|
+
|
441
|
+
@property
|
442
|
+
@pulumi.getter(name="bgpBestPathSelectionMode")
|
443
|
+
def bgp_best_path_selection_mode(self) -> Optional[pulumi.Input[str]]:
|
444
|
+
"""
|
445
|
+
The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD.
|
446
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
447
|
+
"""
|
448
|
+
return pulumi.get(self, "bgp_best_path_selection_mode")
|
449
|
+
|
450
|
+
@bgp_best_path_selection_mode.setter
|
451
|
+
def bgp_best_path_selection_mode(self, value: Optional[pulumi.Input[str]]):
|
452
|
+
pulumi.set(self, "bgp_best_path_selection_mode", value)
|
453
|
+
|
454
|
+
@property
|
455
|
+
@pulumi.getter(name="bgpInterRegionCost")
|
456
|
+
def bgp_inter_region_cost(self) -> Optional[pulumi.Input[str]]:
|
457
|
+
"""
|
458
|
+
Choice of the behavior of inter-regional cost and MED in the BPS algorithm.
|
459
|
+
Possible values are: `DEFAULT`, `ADD_COST_TO_MED`.
|
460
|
+
"""
|
461
|
+
return pulumi.get(self, "bgp_inter_region_cost")
|
462
|
+
|
463
|
+
@bgp_inter_region_cost.setter
|
464
|
+
def bgp_inter_region_cost(self, value: Optional[pulumi.Input[str]]):
|
465
|
+
pulumi.set(self, "bgp_inter_region_cost", value)
|
466
|
+
|
359
467
|
@property
|
360
468
|
@pulumi.getter(name="deleteDefaultRoutesOnCreate")
|
361
469
|
def delete_default_routes_on_create(self) -> Optional[pulumi.Input[bool]]:
|
@@ -536,6 +644,9 @@ class Network(pulumi.CustomResource):
|
|
536
644
|
resource_name: str,
|
537
645
|
opts: Optional[pulumi.ResourceOptions] = None,
|
538
646
|
auto_create_subnetworks: Optional[pulumi.Input[bool]] = None,
|
647
|
+
bgp_always_compare_med: Optional[pulumi.Input[bool]] = None,
|
648
|
+
bgp_best_path_selection_mode: Optional[pulumi.Input[str]] = None,
|
649
|
+
bgp_inter_region_cost: Optional[pulumi.Input[str]] = None,
|
539
650
|
delete_default_routes_on_create: Optional[pulumi.Input[bool]] = None,
|
540
651
|
description: Optional[pulumi.Input[str]] = None,
|
541
652
|
enable_ula_internal_ipv6: Optional[pulumi.Input[bool]] = None,
|
@@ -589,6 +700,43 @@ class Network(pulumi.CustomResource):
|
|
589
700
|
auto_create_subnetworks=True,
|
590
701
|
network_firewall_policy_enforcement_order="BEFORE_CLASSIC_FIREWALL")
|
591
702
|
```
|
703
|
+
### Network Bgp Best Path Selection Mode
|
704
|
+
|
705
|
+
```python
|
706
|
+
import pulumi
|
707
|
+
import pulumi_gcp as gcp
|
708
|
+
|
709
|
+
vpc_network = gcp.compute.Network("vpc_network",
|
710
|
+
project="my-project-name",
|
711
|
+
name="vpc-network",
|
712
|
+
routing_mode="GLOBAL")
|
713
|
+
```
|
714
|
+
### Network Bgp Best Path Selection Mode Standard
|
715
|
+
|
716
|
+
```python
|
717
|
+
import pulumi
|
718
|
+
import pulumi_gcp as gcp
|
719
|
+
|
720
|
+
vpc_network = gcp.compute.Network("vpc_network",
|
721
|
+
project="my-project-name",
|
722
|
+
name="vpc-network",
|
723
|
+
routing_mode="GLOBAL",
|
724
|
+
bgp_best_path_selection_mode="STANDARD")
|
725
|
+
```
|
726
|
+
### Network Bgp Best Path Selection Mode Standard Custom Fields
|
727
|
+
|
728
|
+
```python
|
729
|
+
import pulumi
|
730
|
+
import pulumi_gcp as gcp
|
731
|
+
|
732
|
+
vpc_network = gcp.compute.Network("vpc_network",
|
733
|
+
project="my-project-name",
|
734
|
+
name="vpc-network",
|
735
|
+
routing_mode="GLOBAL",
|
736
|
+
bgp_best_path_selection_mode="STANDARD",
|
737
|
+
bgp_always_compare_med=True,
|
738
|
+
bgp_inter_region_cost="ADD_COST_TO_MED")
|
739
|
+
```
|
592
740
|
|
593
741
|
## Import
|
594
742
|
|
@@ -621,6 +769,12 @@ class Network(pulumi.CustomResource):
|
|
621
769
|
`10.128.0.0/9` address range.
|
622
770
|
When set to `false`, the network is created in "custom subnet mode" so
|
623
771
|
the user can explicitly connect subnetwork resources.
|
772
|
+
:param pulumi.Input[bool] bgp_always_compare_med: Enables/disables the comparison of MED across routes with different Neighbor ASNs.
|
773
|
+
This value can only be set if the --bgp-best-path-selection-mode is STANDARD
|
774
|
+
:param pulumi.Input[str] bgp_best_path_selection_mode: The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD.
|
775
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
776
|
+
:param pulumi.Input[str] bgp_inter_region_cost: Choice of the behavior of inter-regional cost and MED in the BPS algorithm.
|
777
|
+
Possible values are: `DEFAULT`, `ADD_COST_TO_MED`.
|
624
778
|
:param pulumi.Input[bool] delete_default_routes_on_create: If set to `true`, default routes (`0.0.0.0/0`) will be deleted
|
625
779
|
immediately after network creation. Defaults to `false`.
|
626
780
|
:param pulumi.Input[str] description: An optional description of this resource. The resource must be
|
@@ -708,6 +862,43 @@ class Network(pulumi.CustomResource):
|
|
708
862
|
auto_create_subnetworks=True,
|
709
863
|
network_firewall_policy_enforcement_order="BEFORE_CLASSIC_FIREWALL")
|
710
864
|
```
|
865
|
+
### Network Bgp Best Path Selection Mode
|
866
|
+
|
867
|
+
```python
|
868
|
+
import pulumi
|
869
|
+
import pulumi_gcp as gcp
|
870
|
+
|
871
|
+
vpc_network = gcp.compute.Network("vpc_network",
|
872
|
+
project="my-project-name",
|
873
|
+
name="vpc-network",
|
874
|
+
routing_mode="GLOBAL")
|
875
|
+
```
|
876
|
+
### Network Bgp Best Path Selection Mode Standard
|
877
|
+
|
878
|
+
```python
|
879
|
+
import pulumi
|
880
|
+
import pulumi_gcp as gcp
|
881
|
+
|
882
|
+
vpc_network = gcp.compute.Network("vpc_network",
|
883
|
+
project="my-project-name",
|
884
|
+
name="vpc-network",
|
885
|
+
routing_mode="GLOBAL",
|
886
|
+
bgp_best_path_selection_mode="STANDARD")
|
887
|
+
```
|
888
|
+
### Network Bgp Best Path Selection Mode Standard Custom Fields
|
889
|
+
|
890
|
+
```python
|
891
|
+
import pulumi
|
892
|
+
import pulumi_gcp as gcp
|
893
|
+
|
894
|
+
vpc_network = gcp.compute.Network("vpc_network",
|
895
|
+
project="my-project-name",
|
896
|
+
name="vpc-network",
|
897
|
+
routing_mode="GLOBAL",
|
898
|
+
bgp_best_path_selection_mode="STANDARD",
|
899
|
+
bgp_always_compare_med=True,
|
900
|
+
bgp_inter_region_cost="ADD_COST_TO_MED")
|
901
|
+
```
|
711
902
|
|
712
903
|
## Import
|
713
904
|
|
@@ -749,6 +940,9 @@ class Network(pulumi.CustomResource):
|
|
749
940
|
resource_name: str,
|
750
941
|
opts: Optional[pulumi.ResourceOptions] = None,
|
751
942
|
auto_create_subnetworks: Optional[pulumi.Input[bool]] = None,
|
943
|
+
bgp_always_compare_med: Optional[pulumi.Input[bool]] = None,
|
944
|
+
bgp_best_path_selection_mode: Optional[pulumi.Input[str]] = None,
|
945
|
+
bgp_inter_region_cost: Optional[pulumi.Input[str]] = None,
|
752
946
|
delete_default_routes_on_create: Optional[pulumi.Input[bool]] = None,
|
753
947
|
description: Optional[pulumi.Input[str]] = None,
|
754
948
|
enable_ula_internal_ipv6: Optional[pulumi.Input[bool]] = None,
|
@@ -768,6 +962,9 @@ class Network(pulumi.CustomResource):
|
|
768
962
|
__props__ = NetworkArgs.__new__(NetworkArgs)
|
769
963
|
|
770
964
|
__props__.__dict__["auto_create_subnetworks"] = auto_create_subnetworks
|
965
|
+
__props__.__dict__["bgp_always_compare_med"] = bgp_always_compare_med
|
966
|
+
__props__.__dict__["bgp_best_path_selection_mode"] = bgp_best_path_selection_mode
|
967
|
+
__props__.__dict__["bgp_inter_region_cost"] = bgp_inter_region_cost
|
771
968
|
__props__.__dict__["delete_default_routes_on_create"] = delete_default_routes_on_create
|
772
969
|
__props__.__dict__["description"] = description
|
773
970
|
__props__.__dict__["enable_ula_internal_ipv6"] = enable_ula_internal_ipv6
|
@@ -791,6 +988,9 @@ class Network(pulumi.CustomResource):
|
|
791
988
|
id: pulumi.Input[str],
|
792
989
|
opts: Optional[pulumi.ResourceOptions] = None,
|
793
990
|
auto_create_subnetworks: Optional[pulumi.Input[bool]] = None,
|
991
|
+
bgp_always_compare_med: Optional[pulumi.Input[bool]] = None,
|
992
|
+
bgp_best_path_selection_mode: Optional[pulumi.Input[str]] = None,
|
993
|
+
bgp_inter_region_cost: Optional[pulumi.Input[str]] = None,
|
794
994
|
delete_default_routes_on_create: Optional[pulumi.Input[bool]] = None,
|
795
995
|
description: Optional[pulumi.Input[str]] = None,
|
796
996
|
enable_ula_internal_ipv6: Optional[pulumi.Input[bool]] = None,
|
@@ -815,6 +1015,12 @@ class Network(pulumi.CustomResource):
|
|
815
1015
|
`10.128.0.0/9` address range.
|
816
1016
|
When set to `false`, the network is created in "custom subnet mode" so
|
817
1017
|
the user can explicitly connect subnetwork resources.
|
1018
|
+
:param pulumi.Input[bool] bgp_always_compare_med: Enables/disables the comparison of MED across routes with different Neighbor ASNs.
|
1019
|
+
This value can only be set if the --bgp-best-path-selection-mode is STANDARD
|
1020
|
+
:param pulumi.Input[str] bgp_best_path_selection_mode: The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD.
|
1021
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
1022
|
+
:param pulumi.Input[str] bgp_inter_region_cost: Choice of the behavior of inter-regional cost and MED in the BPS algorithm.
|
1023
|
+
Possible values are: `DEFAULT`, `ADD_COST_TO_MED`.
|
818
1024
|
:param pulumi.Input[bool] delete_default_routes_on_create: If set to `true`, default routes (`0.0.0.0/0`) will be deleted
|
819
1025
|
immediately after network creation. Defaults to `false`.
|
820
1026
|
:param pulumi.Input[str] description: An optional description of this resource. The resource must be
|
@@ -862,6 +1068,9 @@ class Network(pulumi.CustomResource):
|
|
862
1068
|
__props__ = _NetworkState.__new__(_NetworkState)
|
863
1069
|
|
864
1070
|
__props__.__dict__["auto_create_subnetworks"] = auto_create_subnetworks
|
1071
|
+
__props__.__dict__["bgp_always_compare_med"] = bgp_always_compare_med
|
1072
|
+
__props__.__dict__["bgp_best_path_selection_mode"] = bgp_best_path_selection_mode
|
1073
|
+
__props__.__dict__["bgp_inter_region_cost"] = bgp_inter_region_cost
|
865
1074
|
__props__.__dict__["delete_default_routes_on_create"] = delete_default_routes_on_create
|
866
1075
|
__props__.__dict__["description"] = description
|
867
1076
|
__props__.__dict__["enable_ula_internal_ipv6"] = enable_ula_internal_ipv6
|
@@ -888,6 +1097,33 @@ class Network(pulumi.CustomResource):
|
|
888
1097
|
"""
|
889
1098
|
return pulumi.get(self, "auto_create_subnetworks")
|
890
1099
|
|
1100
|
+
@property
|
1101
|
+
@pulumi.getter(name="bgpAlwaysCompareMed")
|
1102
|
+
def bgp_always_compare_med(self) -> pulumi.Output[bool]:
|
1103
|
+
"""
|
1104
|
+
Enables/disables the comparison of MED across routes with different Neighbor ASNs.
|
1105
|
+
This value can only be set if the --bgp-best-path-selection-mode is STANDARD
|
1106
|
+
"""
|
1107
|
+
return pulumi.get(self, "bgp_always_compare_med")
|
1108
|
+
|
1109
|
+
@property
|
1110
|
+
@pulumi.getter(name="bgpBestPathSelectionMode")
|
1111
|
+
def bgp_best_path_selection_mode(self) -> pulumi.Output[str]:
|
1112
|
+
"""
|
1113
|
+
The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD.
|
1114
|
+
Possible values are: `LEGACY`, `STANDARD`.
|
1115
|
+
"""
|
1116
|
+
return pulumi.get(self, "bgp_best_path_selection_mode")
|
1117
|
+
|
1118
|
+
@property
|
1119
|
+
@pulumi.getter(name="bgpInterRegionCost")
|
1120
|
+
def bgp_inter_region_cost(self) -> pulumi.Output[str]:
|
1121
|
+
"""
|
1122
|
+
Choice of the behavior of inter-regional cost and MED in the BPS algorithm.
|
1123
|
+
Possible values are: `DEFAULT`, `ADD_COST_TO_MED`.
|
1124
|
+
"""
|
1125
|
+
return pulumi.get(self, "bgp_inter_region_cost")
|
1126
|
+
|
891
1127
|
@property
|
892
1128
|
@pulumi.getter(name="deleteDefaultRoutesOnCreate")
|
893
1129
|
def delete_default_routes_on_create(self) -> pulumi.Output[Optional[bool]]:
|