pulumi-gcp 7.24.0a1715926460__py3-none-any.whl → 7.24.0a1716510380__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.
@@ -100,6 +100,51 @@ class BackendServiceArgs:
100
100
  Structure is documented below.
101
101
  :param pulumi.Input[str] locality_lb_policy: The load balancing algorithm used within the scope of the locality.
102
102
  The possible values are:
103
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
104
+ is selected in round robin order.
105
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
106
+ hosts and picks the host which has fewer active requests.
107
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
108
+ hashing to backends. The algorithm has the property that the
109
+ addition/removal of a host from a set of N hosts only affects
110
+ 1/N of the requests.
111
+ * `RANDOM`: The load balancer selects a random healthy host.
112
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
113
+ connection metadata, i.e., connections are opened
114
+ to the same address as the destination address of
115
+ the incoming connection before the connection
116
+ was redirected to the load balancer.
117
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
118
+ Maglev is not as stable as ring hash but has faster table lookup
119
+ build times and host selection times. For more information about
120
+ Maglev, refer to https://ai.google/research/pubs/pub44824
121
+ * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
122
+ reported weights. If set, the Backend Service must
123
+ configure a non legacy HTTP-based Health Check, and
124
+ health check replies are expected to contain
125
+ non-standard HTTP response header field
126
+ X-Load-Balancing-Endpoint-Weight to specify the
127
+ per-instance weights. If set, Load Balancing is weight
128
+ based on the per-instance weights reported in the last
129
+ processed health check replies, as long as every
130
+ instance either reported a valid weight or had
131
+ UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
132
+ equal-weight.
133
+
134
+ This field is applicable to either:
135
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
136
+ and loadBalancingScheme set to INTERNAL_MANAGED.
137
+ * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
138
+ * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
139
+ Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
140
+ Network Load Balancing. The default is MAGLEV.
141
+
142
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
143
+ or RING_HASH, session affinity settings will not take effect.
144
+ Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
145
+ by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
146
+ field set to true.
147
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`, `WEIGHTED_MAGLEV`.
103
148
  :param pulumi.Input['BackendServiceLogConfigArgs'] log_config: This field denotes the logging options for the load balancer traffic served by this backend service.
104
149
  If logging is enabled, logs will be exported to Stackdriver.
105
150
  Structure is documented below.
@@ -430,6 +475,51 @@ class BackendServiceArgs:
430
475
  """
431
476
  The load balancing algorithm used within the scope of the locality.
432
477
  The possible values are:
478
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
479
+ is selected in round robin order.
480
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
481
+ hosts and picks the host which has fewer active requests.
482
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
483
+ hashing to backends. The algorithm has the property that the
484
+ addition/removal of a host from a set of N hosts only affects
485
+ 1/N of the requests.
486
+ * `RANDOM`: The load balancer selects a random healthy host.
487
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
488
+ connection metadata, i.e., connections are opened
489
+ to the same address as the destination address of
490
+ the incoming connection before the connection
491
+ was redirected to the load balancer.
492
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
493
+ Maglev is not as stable as ring hash but has faster table lookup
494
+ build times and host selection times. For more information about
495
+ Maglev, refer to https://ai.google/research/pubs/pub44824
496
+ * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
497
+ reported weights. If set, the Backend Service must
498
+ configure a non legacy HTTP-based Health Check, and
499
+ health check replies are expected to contain
500
+ non-standard HTTP response header field
501
+ X-Load-Balancing-Endpoint-Weight to specify the
502
+ per-instance weights. If set, Load Balancing is weight
503
+ based on the per-instance weights reported in the last
504
+ processed health check replies, as long as every
505
+ instance either reported a valid weight or had
506
+ UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
507
+ equal-weight.
508
+
509
+ This field is applicable to either:
510
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
511
+ and loadBalancingScheme set to INTERNAL_MANAGED.
512
+ * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
513
+ * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
514
+ Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
515
+ Network Load Balancing. The default is MAGLEV.
516
+
517
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
518
+ or RING_HASH, session affinity settings will not take effect.
519
+ Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
520
+ by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
521
+ field set to true.
522
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`, `WEIGHTED_MAGLEV`.
433
523
  """
434
524
  return pulumi.get(self, "locality_lb_policy")
435
525
 
@@ -682,6 +772,51 @@ class _BackendServiceState:
682
772
  Structure is documented below.
683
773
  :param pulumi.Input[str] locality_lb_policy: The load balancing algorithm used within the scope of the locality.
684
774
  The possible values are:
775
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
776
+ is selected in round robin order.
777
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
778
+ hosts and picks the host which has fewer active requests.
779
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
780
+ hashing to backends. The algorithm has the property that the
781
+ addition/removal of a host from a set of N hosts only affects
782
+ 1/N of the requests.
783
+ * `RANDOM`: The load balancer selects a random healthy host.
784
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
785
+ connection metadata, i.e., connections are opened
786
+ to the same address as the destination address of
787
+ the incoming connection before the connection
788
+ was redirected to the load balancer.
789
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
790
+ Maglev is not as stable as ring hash but has faster table lookup
791
+ build times and host selection times. For more information about
792
+ Maglev, refer to https://ai.google/research/pubs/pub44824
793
+ * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
794
+ reported weights. If set, the Backend Service must
795
+ configure a non legacy HTTP-based Health Check, and
796
+ health check replies are expected to contain
797
+ non-standard HTTP response header field
798
+ X-Load-Balancing-Endpoint-Weight to specify the
799
+ per-instance weights. If set, Load Balancing is weight
800
+ based on the per-instance weights reported in the last
801
+ processed health check replies, as long as every
802
+ instance either reported a valid weight or had
803
+ UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
804
+ equal-weight.
805
+
806
+ This field is applicable to either:
807
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
808
+ and loadBalancingScheme set to INTERNAL_MANAGED.
809
+ * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
810
+ * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
811
+ Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
812
+ Network Load Balancing. The default is MAGLEV.
813
+
814
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
815
+ or RING_HASH, session affinity settings will not take effect.
816
+ Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
817
+ by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
818
+ field set to true.
819
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`, `WEIGHTED_MAGLEV`.
685
820
  :param pulumi.Input['BackendServiceLogConfigArgs'] log_config: This field denotes the logging options for the load balancer traffic served by this backend service.
686
821
  If logging is enabled, logs will be exported to Stackdriver.
687
822
  Structure is documented below.
@@ -1058,6 +1193,51 @@ class _BackendServiceState:
1058
1193
  """
1059
1194
  The load balancing algorithm used within the scope of the locality.
1060
1195
  The possible values are:
1196
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
1197
+ is selected in round robin order.
1198
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
1199
+ hosts and picks the host which has fewer active requests.
1200
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
1201
+ hashing to backends. The algorithm has the property that the
1202
+ addition/removal of a host from a set of N hosts only affects
1203
+ 1/N of the requests.
1204
+ * `RANDOM`: The load balancer selects a random healthy host.
1205
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
1206
+ connection metadata, i.e., connections are opened
1207
+ to the same address as the destination address of
1208
+ the incoming connection before the connection
1209
+ was redirected to the load balancer.
1210
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
1211
+ Maglev is not as stable as ring hash but has faster table lookup
1212
+ build times and host selection times. For more information about
1213
+ Maglev, refer to https://ai.google/research/pubs/pub44824
1214
+ * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
1215
+ reported weights. If set, the Backend Service must
1216
+ configure a non legacy HTTP-based Health Check, and
1217
+ health check replies are expected to contain
1218
+ non-standard HTTP response header field
1219
+ X-Load-Balancing-Endpoint-Weight to specify the
1220
+ per-instance weights. If set, Load Balancing is weight
1221
+ based on the per-instance weights reported in the last
1222
+ processed health check replies, as long as every
1223
+ instance either reported a valid weight or had
1224
+ UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
1225
+ equal-weight.
1226
+
1227
+ This field is applicable to either:
1228
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
1229
+ and loadBalancingScheme set to INTERNAL_MANAGED.
1230
+ * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1231
+ * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
1232
+ Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
1233
+ Network Load Balancing. The default is MAGLEV.
1234
+
1235
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
1236
+ or RING_HASH, session affinity settings will not take effect.
1237
+ Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
1238
+ by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
1239
+ field set to true.
1240
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`, `WEIGHTED_MAGLEV`.
1061
1241
  """
1062
1242
  return pulumi.get(self, "locality_lb_policy")
1063
1243
 
@@ -1598,6 +1778,51 @@ class BackendService(pulumi.CustomResource):
1598
1778
  Structure is documented below.
1599
1779
  :param pulumi.Input[str] locality_lb_policy: The load balancing algorithm used within the scope of the locality.
1600
1780
  The possible values are:
1781
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
1782
+ is selected in round robin order.
1783
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
1784
+ hosts and picks the host which has fewer active requests.
1785
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
1786
+ hashing to backends. The algorithm has the property that the
1787
+ addition/removal of a host from a set of N hosts only affects
1788
+ 1/N of the requests.
1789
+ * `RANDOM`: The load balancer selects a random healthy host.
1790
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
1791
+ connection metadata, i.e., connections are opened
1792
+ to the same address as the destination address of
1793
+ the incoming connection before the connection
1794
+ was redirected to the load balancer.
1795
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
1796
+ Maglev is not as stable as ring hash but has faster table lookup
1797
+ build times and host selection times. For more information about
1798
+ Maglev, refer to https://ai.google/research/pubs/pub44824
1799
+ * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
1800
+ reported weights. If set, the Backend Service must
1801
+ configure a non legacy HTTP-based Health Check, and
1802
+ health check replies are expected to contain
1803
+ non-standard HTTP response header field
1804
+ X-Load-Balancing-Endpoint-Weight to specify the
1805
+ per-instance weights. If set, Load Balancing is weight
1806
+ based on the per-instance weights reported in the last
1807
+ processed health check replies, as long as every
1808
+ instance either reported a valid weight or had
1809
+ UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
1810
+ equal-weight.
1811
+
1812
+ This field is applicable to either:
1813
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
1814
+ and loadBalancingScheme set to INTERNAL_MANAGED.
1815
+ * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1816
+ * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
1817
+ Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
1818
+ Network Load Balancing. The default is MAGLEV.
1819
+
1820
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
1821
+ or RING_HASH, session affinity settings will not take effect.
1822
+ Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
1823
+ by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
1824
+ field set to true.
1825
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`, `WEIGHTED_MAGLEV`.
1601
1826
  :param pulumi.Input[pulumi.InputType['BackendServiceLogConfigArgs']] log_config: This field denotes the logging options for the load balancer traffic served by this backend service.
1602
1827
  If logging is enabled, logs will be exported to Stackdriver.
1603
1828
  Structure is documented below.
@@ -2114,6 +2339,51 @@ class BackendService(pulumi.CustomResource):
2114
2339
  Structure is documented below.
2115
2340
  :param pulumi.Input[str] locality_lb_policy: The load balancing algorithm used within the scope of the locality.
2116
2341
  The possible values are:
2342
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
2343
+ is selected in round robin order.
2344
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
2345
+ hosts and picks the host which has fewer active requests.
2346
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
2347
+ hashing to backends. The algorithm has the property that the
2348
+ addition/removal of a host from a set of N hosts only affects
2349
+ 1/N of the requests.
2350
+ * `RANDOM`: The load balancer selects a random healthy host.
2351
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
2352
+ connection metadata, i.e., connections are opened
2353
+ to the same address as the destination address of
2354
+ the incoming connection before the connection
2355
+ was redirected to the load balancer.
2356
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
2357
+ Maglev is not as stable as ring hash but has faster table lookup
2358
+ build times and host selection times. For more information about
2359
+ Maglev, refer to https://ai.google/research/pubs/pub44824
2360
+ * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
2361
+ reported weights. If set, the Backend Service must
2362
+ configure a non legacy HTTP-based Health Check, and
2363
+ health check replies are expected to contain
2364
+ non-standard HTTP response header field
2365
+ X-Load-Balancing-Endpoint-Weight to specify the
2366
+ per-instance weights. If set, Load Balancing is weight
2367
+ based on the per-instance weights reported in the last
2368
+ processed health check replies, as long as every
2369
+ instance either reported a valid weight or had
2370
+ UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
2371
+ equal-weight.
2372
+
2373
+ This field is applicable to either:
2374
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
2375
+ and loadBalancingScheme set to INTERNAL_MANAGED.
2376
+ * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
2377
+ * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
2378
+ Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
2379
+ Network Load Balancing. The default is MAGLEV.
2380
+
2381
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
2382
+ or RING_HASH, session affinity settings will not take effect.
2383
+ Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
2384
+ by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
2385
+ field set to true.
2386
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`, `WEIGHTED_MAGLEV`.
2117
2387
  :param pulumi.Input[pulumi.InputType['BackendServiceLogConfigArgs']] log_config: This field denotes the logging options for the load balancer traffic served by this backend service.
2118
2388
  If logging is enabled, logs will be exported to Stackdriver.
2119
2389
  Structure is documented below.
@@ -2388,6 +2658,51 @@ class BackendService(pulumi.CustomResource):
2388
2658
  """
2389
2659
  The load balancing algorithm used within the scope of the locality.
2390
2660
  The possible values are:
2661
+ * `ROUND_ROBIN`: This is a simple policy in which each healthy backend
2662
+ is selected in round robin order.
2663
+ * `LEAST_REQUEST`: An O(1) algorithm which selects two random healthy
2664
+ hosts and picks the host which has fewer active requests.
2665
+ * `RING_HASH`: The ring/modulo hash load balancer implements consistent
2666
+ hashing to backends. The algorithm has the property that the
2667
+ addition/removal of a host from a set of N hosts only affects
2668
+ 1/N of the requests.
2669
+ * `RANDOM`: The load balancer selects a random healthy host.
2670
+ * `ORIGINAL_DESTINATION`: Backend host is selected based on the client
2671
+ connection metadata, i.e., connections are opened
2672
+ to the same address as the destination address of
2673
+ the incoming connection before the connection
2674
+ was redirected to the load balancer.
2675
+ * `MAGLEV`: used as a drop in replacement for the ring hash load balancer.
2676
+ Maglev is not as stable as ring hash but has faster table lookup
2677
+ build times and host selection times. For more information about
2678
+ Maglev, refer to https://ai.google/research/pubs/pub44824
2679
+ * `WEIGHTED_MAGLEV`: Per-instance weighted Load Balancing via health check
2680
+ reported weights. If set, the Backend Service must
2681
+ configure a non legacy HTTP-based Health Check, and
2682
+ health check replies are expected to contain
2683
+ non-standard HTTP response header field
2684
+ X-Load-Balancing-Endpoint-Weight to specify the
2685
+ per-instance weights. If set, Load Balancing is weight
2686
+ based on the per-instance weights reported in the last
2687
+ processed health check replies, as long as every
2688
+ instance either reported a valid weight or had
2689
+ UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains
2690
+ equal-weight.
2691
+
2692
+ This field is applicable to either:
2693
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
2694
+ and loadBalancingScheme set to INTERNAL_MANAGED.
2695
+ * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
2696
+ * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
2697
+ Load Balancing). Only MAGLEV and WEIGHTED_MAGLEV values are possible for External
2698
+ Network Load Balancing. The default is MAGLEV.
2699
+
2700
+ If session_affinity is not NONE, and this field is not set to MAGLEV, WEIGHTED_MAGLEV,
2701
+ or RING_HASH, session affinity settings will not take effect.
2702
+ Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced
2703
+ by a URL map that is bound to target gRPC proxy that has validate_for_proxyless
2704
+ field set to true.
2705
+ Possible values are: `ROUND_ROBIN`, `LEAST_REQUEST`, `RING_HASH`, `RANDOM`, `ORIGINAL_DESTINATION`, `MAGLEV`, `WEIGHTED_MAGLEV`.
2391
2706
  """
2392
2707
  return pulumi.get(self, "locality_lb_policy")
2393
2708