pulumi-gcp 7.17.0a1712163201__py3-none-any.whl → 7.17.0a1712402830__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/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/cloudfunctionsv2/_inputs.py +2 -2
- pulumi_gcp/cloudfunctionsv2/outputs.py +4 -4
- pulumi_gcp/cloudrunv2/service.py +7 -7
- pulumi_gcp/composer/_inputs.py +14 -4
- pulumi_gcp/composer/outputs.py +22 -10
- pulumi_gcp/compute/_inputs.py +40 -44
- pulumi_gcp/compute/autoscaler.py +14 -14
- pulumi_gcp/compute/outputs.py +62 -60
- pulumi_gcp/compute/region_autoscaler.py +14 -14
- pulumi_gcp/container/_inputs.py +148 -16
- pulumi_gcp/container/outputs.py +148 -16
- pulumi_gcp/dataloss/_inputs.py +6 -6
- pulumi_gcp/dataloss/outputs.py +6 -6
- pulumi_gcp/dataproc/_inputs.py +14 -10
- pulumi_gcp/dataproc/outputs.py +14 -10
- 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/logging/_inputs.py +8 -8
- pulumi_gcp/logging/metric.py +7 -7
- pulumi_gcp/logging/outputs.py +8 -8
- pulumi_gcp/monitoring/_inputs.py +2 -2
- pulumi_gcp/monitoring/outputs.py +2 -2
- pulumi_gcp/monitoring/slo.py +4 -4
- pulumi_gcp/networkservices/_inputs.py +6 -6
- pulumi_gcp/networkservices/outputs.py +6 -6
- 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 +2 -2
- pulumi_gcp/storage/outputs.py +2 -2
- pulumi_gcp/vertex/_inputs.py +6 -8
- pulumi_gcp/vertex/outputs.py +8 -10
- {pulumi_gcp-7.17.0a1712163201.dist-info → pulumi_gcp-7.17.0a1712402830.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.17.0a1712163201.dist-info → pulumi_gcp-7.17.0a1712402830.dist-info}/RECORD +44 -44
- {pulumi_gcp-7.17.0a1712163201.dist-info → pulumi_gcp-7.17.0a1712402830.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.17.0a1712163201.dist-info → pulumi_gcp-7.17.0a1712402830.dist-info}/top_level.txt +0 -0
@@ -74,6 +74,26 @@ class WorkloadIdentityPoolProviderArgs:
|
|
74
74
|
the total size of all mapped attributes must not exceed 8KB.
|
75
75
|
For AWS providers, the following rules apply:
|
76
76
|
- If no attribute mapping is defined, the following default mapping applies:
|
77
|
+
```
|
78
|
+
{
|
79
|
+
"google.subject":"assertion.arn",
|
80
|
+
"attribute.aws_role":
|
81
|
+
"assertion.arn.contains('assumed-role')"
|
82
|
+
" ? assertion.arn.extract('{account_arn}assumed-role/')"
|
83
|
+
" + 'assumed-role/'"
|
84
|
+
" + assertion.arn.extract('assumed-role/{role_name}/')"
|
85
|
+
" : assertion.arn",
|
86
|
+
}
|
87
|
+
```
|
88
|
+
- If any custom attribute mappings are defined, they must include a mapping to the
|
89
|
+
`google.subject` attribute.
|
90
|
+
For OIDC providers, the following rules apply:
|
91
|
+
- Custom attribute mappings must be defined, and must include a mapping to the
|
92
|
+
`google.subject` attribute. For example, the following maps the `sub` claim of the
|
93
|
+
incoming credential to the `subject` attribute on a Google token.
|
94
|
+
```
|
95
|
+
{"google.subject": "assertion.sub"}
|
96
|
+
```
|
77
97
|
:param pulumi.Input['WorkloadIdentityPoolProviderAwsArgs'] aws: An Amazon Web Services identity provider. Not compatible with the property oidc or saml.
|
78
98
|
Structure is documented below.
|
79
99
|
:param pulumi.Input[str] description: A description for the provider. Cannot exceed 256 characters.
|
@@ -190,6 +210,26 @@ class WorkloadIdentityPoolProviderArgs:
|
|
190
210
|
the total size of all mapped attributes must not exceed 8KB.
|
191
211
|
For AWS providers, the following rules apply:
|
192
212
|
- If no attribute mapping is defined, the following default mapping applies:
|
213
|
+
```
|
214
|
+
{
|
215
|
+
"google.subject":"assertion.arn",
|
216
|
+
"attribute.aws_role":
|
217
|
+
"assertion.arn.contains('assumed-role')"
|
218
|
+
" ? assertion.arn.extract('{account_arn}assumed-role/')"
|
219
|
+
" + 'assumed-role/'"
|
220
|
+
" + assertion.arn.extract('assumed-role/{role_name}/')"
|
221
|
+
" : assertion.arn",
|
222
|
+
}
|
223
|
+
```
|
224
|
+
- If any custom attribute mappings are defined, they must include a mapping to the
|
225
|
+
`google.subject` attribute.
|
226
|
+
For OIDC providers, the following rules apply:
|
227
|
+
- Custom attribute mappings must be defined, and must include a mapping to the
|
228
|
+
`google.subject` attribute. For example, the following maps the `sub` claim of the
|
229
|
+
incoming credential to the `subject` attribute on a Google token.
|
230
|
+
```
|
231
|
+
{"google.subject": "assertion.sub"}
|
232
|
+
```
|
193
233
|
"""
|
194
234
|
return pulumi.get(self, "attribute_mapping")
|
195
235
|
|
@@ -341,6 +381,26 @@ class _WorkloadIdentityPoolProviderState:
|
|
341
381
|
the total size of all mapped attributes must not exceed 8KB.
|
342
382
|
For AWS providers, the following rules apply:
|
343
383
|
- If no attribute mapping is defined, the following default mapping applies:
|
384
|
+
```
|
385
|
+
{
|
386
|
+
"google.subject":"assertion.arn",
|
387
|
+
"attribute.aws_role":
|
388
|
+
"assertion.arn.contains('assumed-role')"
|
389
|
+
" ? assertion.arn.extract('{account_arn}assumed-role/')"
|
390
|
+
" + 'assumed-role/'"
|
391
|
+
" + assertion.arn.extract('assumed-role/{role_name}/')"
|
392
|
+
" : assertion.arn",
|
393
|
+
}
|
394
|
+
```
|
395
|
+
- If any custom attribute mappings are defined, they must include a mapping to the
|
396
|
+
`google.subject` attribute.
|
397
|
+
For OIDC providers, the following rules apply:
|
398
|
+
- Custom attribute mappings must be defined, and must include a mapping to the
|
399
|
+
`google.subject` attribute. For example, the following maps the `sub` claim of the
|
400
|
+
incoming credential to the `subject` attribute on a Google token.
|
401
|
+
```
|
402
|
+
{"google.subject": "assertion.sub"}
|
403
|
+
```
|
344
404
|
:param pulumi.Input['WorkloadIdentityPoolProviderAwsArgs'] aws: An Amazon Web Services identity provider. Not compatible with the property oidc or saml.
|
345
405
|
Structure is documented below.
|
346
406
|
:param pulumi.Input[str] description: A description for the provider. Cannot exceed 256 characters.
|
@@ -450,6 +510,26 @@ class _WorkloadIdentityPoolProviderState:
|
|
450
510
|
the total size of all mapped attributes must not exceed 8KB.
|
451
511
|
For AWS providers, the following rules apply:
|
452
512
|
- If no attribute mapping is defined, the following default mapping applies:
|
513
|
+
```
|
514
|
+
{
|
515
|
+
"google.subject":"assertion.arn",
|
516
|
+
"attribute.aws_role":
|
517
|
+
"assertion.arn.contains('assumed-role')"
|
518
|
+
" ? assertion.arn.extract('{account_arn}assumed-role/')"
|
519
|
+
" + 'assumed-role/'"
|
520
|
+
" + assertion.arn.extract('assumed-role/{role_name}/')"
|
521
|
+
" : assertion.arn",
|
522
|
+
}
|
523
|
+
```
|
524
|
+
- If any custom attribute mappings are defined, they must include a mapping to the
|
525
|
+
`google.subject` attribute.
|
526
|
+
For OIDC providers, the following rules apply:
|
527
|
+
- Custom attribute mappings must be defined, and must include a mapping to the
|
528
|
+
`google.subject` attribute. For example, the following maps the `sub` claim of the
|
529
|
+
incoming credential to the `subject` attribute on a Google token.
|
530
|
+
```
|
531
|
+
{"google.subject": "assertion.sub"}
|
532
|
+
```
|
453
533
|
"""
|
454
534
|
return pulumi.get(self, "attribute_mapping")
|
455
535
|
|
@@ -874,6 +954,26 @@ class WorkloadIdentityPoolProvider(pulumi.CustomResource):
|
|
874
954
|
the total size of all mapped attributes must not exceed 8KB.
|
875
955
|
For AWS providers, the following rules apply:
|
876
956
|
- If no attribute mapping is defined, the following default mapping applies:
|
957
|
+
```
|
958
|
+
{
|
959
|
+
"google.subject":"assertion.arn",
|
960
|
+
"attribute.aws_role":
|
961
|
+
"assertion.arn.contains('assumed-role')"
|
962
|
+
" ? assertion.arn.extract('{account_arn}assumed-role/')"
|
963
|
+
" + 'assumed-role/'"
|
964
|
+
" + assertion.arn.extract('assumed-role/{role_name}/')"
|
965
|
+
" : assertion.arn",
|
966
|
+
}
|
967
|
+
```
|
968
|
+
- If any custom attribute mappings are defined, they must include a mapping to the
|
969
|
+
`google.subject` attribute.
|
970
|
+
For OIDC providers, the following rules apply:
|
971
|
+
- Custom attribute mappings must be defined, and must include a mapping to the
|
972
|
+
`google.subject` attribute. For example, the following maps the `sub` claim of the
|
973
|
+
incoming credential to the `subject` attribute on a Google token.
|
974
|
+
```
|
975
|
+
{"google.subject": "assertion.sub"}
|
976
|
+
```
|
877
977
|
:param pulumi.Input[pulumi.InputType['WorkloadIdentityPoolProviderAwsArgs']] aws: An Amazon Web Services identity provider. Not compatible with the property oidc or saml.
|
878
978
|
Structure is documented below.
|
879
979
|
:param pulumi.Input[str] description: A description for the provider. Cannot exceed 256 characters.
|
@@ -1230,6 +1330,26 @@ class WorkloadIdentityPoolProvider(pulumi.CustomResource):
|
|
1230
1330
|
the total size of all mapped attributes must not exceed 8KB.
|
1231
1331
|
For AWS providers, the following rules apply:
|
1232
1332
|
- If no attribute mapping is defined, the following default mapping applies:
|
1333
|
+
```
|
1334
|
+
{
|
1335
|
+
"google.subject":"assertion.arn",
|
1336
|
+
"attribute.aws_role":
|
1337
|
+
"assertion.arn.contains('assumed-role')"
|
1338
|
+
" ? assertion.arn.extract('{account_arn}assumed-role/')"
|
1339
|
+
" + 'assumed-role/'"
|
1340
|
+
" + assertion.arn.extract('assumed-role/{role_name}/')"
|
1341
|
+
" : assertion.arn",
|
1342
|
+
}
|
1343
|
+
```
|
1344
|
+
- If any custom attribute mappings are defined, they must include a mapping to the
|
1345
|
+
`google.subject` attribute.
|
1346
|
+
For OIDC providers, the following rules apply:
|
1347
|
+
- Custom attribute mappings must be defined, and must include a mapping to the
|
1348
|
+
`google.subject` attribute. For example, the following maps the `sub` claim of the
|
1349
|
+
incoming credential to the `subject` attribute on a Google token.
|
1350
|
+
```
|
1351
|
+
{"google.subject": "assertion.sub"}
|
1352
|
+
```
|
1233
1353
|
:param pulumi.Input[pulumi.InputType['WorkloadIdentityPoolProviderAwsArgs']] aws: An Amazon Web Services identity provider. Not compatible with the property oidc or saml.
|
1234
1354
|
Structure is documented below.
|
1235
1355
|
:param pulumi.Input[str] description: A description for the provider. Cannot exceed 256 characters.
|
@@ -1327,6 +1447,26 @@ class WorkloadIdentityPoolProvider(pulumi.CustomResource):
|
|
1327
1447
|
the total size of all mapped attributes must not exceed 8KB.
|
1328
1448
|
For AWS providers, the following rules apply:
|
1329
1449
|
- If no attribute mapping is defined, the following default mapping applies:
|
1450
|
+
```
|
1451
|
+
{
|
1452
|
+
"google.subject":"assertion.arn",
|
1453
|
+
"attribute.aws_role":
|
1454
|
+
"assertion.arn.contains('assumed-role')"
|
1455
|
+
" ? assertion.arn.extract('{account_arn}assumed-role/')"
|
1456
|
+
" + 'assumed-role/'"
|
1457
|
+
" + assertion.arn.extract('assumed-role/{role_name}/')"
|
1458
|
+
" : assertion.arn",
|
1459
|
+
}
|
1460
|
+
```
|
1461
|
+
- If any custom attribute mappings are defined, they must include a mapping to the
|
1462
|
+
`google.subject` attribute.
|
1463
|
+
For OIDC providers, the following rules apply:
|
1464
|
+
- Custom attribute mappings must be defined, and must include a mapping to the
|
1465
|
+
`google.subject` attribute. For example, the following maps the `sub` claim of the
|
1466
|
+
incoming credential to the `subject` attribute on a Google token.
|
1467
|
+
```
|
1468
|
+
{"google.subject": "assertion.sub"}
|
1469
|
+
```
|
1330
1470
|
"""
|
1331
1471
|
return pulumi.get(self, "attribute_mapping")
|
1332
1472
|
|
pulumi_gcp/logging/_inputs.py
CHANGED
@@ -204,7 +204,7 @@ class BillingAccountSinkExclusionArgs:
|
|
204
204
|
description: Optional[pulumi.Input[str]] = None,
|
205
205
|
disabled: Optional[pulumi.Input[bool]] = None):
|
206
206
|
"""
|
207
|
-
:param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
207
|
+
:param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
208
208
|
write a filter.
|
209
209
|
:param pulumi.Input[str] name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
|
210
210
|
:param pulumi.Input[str] description: A description of this exclusion.
|
@@ -221,7 +221,7 @@ class BillingAccountSinkExclusionArgs:
|
|
221
221
|
@pulumi.getter
|
222
222
|
def filter(self) -> pulumi.Input[str]:
|
223
223
|
"""
|
224
|
-
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
224
|
+
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
225
225
|
write a filter.
|
226
226
|
"""
|
227
227
|
return pulumi.get(self, "filter")
|
@@ -436,7 +436,7 @@ class FolderSinkExclusionArgs:
|
|
436
436
|
description: Optional[pulumi.Input[str]] = None,
|
437
437
|
disabled: Optional[pulumi.Input[bool]] = None):
|
438
438
|
"""
|
439
|
-
:param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
439
|
+
:param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
440
440
|
write a filter.
|
441
441
|
:param pulumi.Input[str] name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
|
442
442
|
:param pulumi.Input[str] description: A description of this exclusion.
|
@@ -453,7 +453,7 @@ class FolderSinkExclusionArgs:
|
|
453
453
|
@pulumi.getter
|
454
454
|
def filter(self) -> pulumi.Input[str]:
|
455
455
|
"""
|
456
|
-
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
456
|
+
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
457
457
|
write a filter.
|
458
458
|
"""
|
459
459
|
return pulumi.get(self, "filter")
|
@@ -1061,7 +1061,7 @@ class OrganizationSinkExclusionArgs:
|
|
1061
1061
|
description: Optional[pulumi.Input[str]] = None,
|
1062
1062
|
disabled: Optional[pulumi.Input[bool]] = None):
|
1063
1063
|
"""
|
1064
|
-
:param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
1064
|
+
:param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
1065
1065
|
write a filter.
|
1066
1066
|
:param pulumi.Input[str] name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
|
1067
1067
|
:param pulumi.Input[str] description: A description of this exclusion.
|
@@ -1078,7 +1078,7 @@ class OrganizationSinkExclusionArgs:
|
|
1078
1078
|
@pulumi.getter
|
1079
1079
|
def filter(self) -> pulumi.Input[str]:
|
1080
1080
|
"""
|
1081
|
-
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
1081
|
+
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
1082
1082
|
write a filter.
|
1083
1083
|
"""
|
1084
1084
|
return pulumi.get(self, "filter")
|
@@ -1293,7 +1293,7 @@ class ProjectSinkExclusionArgs:
|
|
1293
1293
|
description: Optional[pulumi.Input[str]] = None,
|
1294
1294
|
disabled: Optional[pulumi.Input[bool]] = None):
|
1295
1295
|
"""
|
1296
|
-
:param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
1296
|
+
:param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
1297
1297
|
write a filter.
|
1298
1298
|
:param pulumi.Input[str] name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
|
1299
1299
|
:param pulumi.Input[str] description: A description of this exclusion.
|
@@ -1310,7 +1310,7 @@ class ProjectSinkExclusionArgs:
|
|
1310
1310
|
@pulumi.getter
|
1311
1311
|
def filter(self) -> pulumi.Input[str]:
|
1312
1312
|
"""
|
1313
|
-
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
1313
|
+
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
1314
1314
|
write a filter.
|
1315
1315
|
"""
|
1316
1316
|
return pulumi.get(self, "filter")
|
pulumi_gcp/logging/metric.py
CHANGED
@@ -52,7 +52,7 @@ class MetricArgs:
|
|
52
52
|
Structure is documented below.
|
53
53
|
:param pulumi.Input[str] name: The client-assigned metric identifier. Examples - "error_count", "nginx/requests".
|
54
54
|
Metric identifiers are limited to 100 characters and can include only the following
|
55
|
-
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()
|
55
|
+
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash
|
56
56
|
character (/) denotes a hierarchy of name pieces, and it cannot be the first character
|
57
57
|
of the name.
|
58
58
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -190,7 +190,7 @@ class MetricArgs:
|
|
190
190
|
"""
|
191
191
|
The client-assigned metric identifier. Examples - "error_count", "nginx/requests".
|
192
192
|
Metric identifiers are limited to 100 characters and can include only the following
|
193
|
-
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()
|
193
|
+
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash
|
194
194
|
character (/) denotes a hierarchy of name pieces, and it cannot be the first character
|
195
195
|
of the name.
|
196
196
|
"""
|
@@ -271,7 +271,7 @@ class _MetricState:
|
|
271
271
|
Structure is documented below.
|
272
272
|
:param pulumi.Input[str] name: The client-assigned metric identifier. Examples - "error_count", "nginx/requests".
|
273
273
|
Metric identifiers are limited to 100 characters and can include only the following
|
274
|
-
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()
|
274
|
+
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash
|
275
275
|
character (/) denotes a hierarchy of name pieces, and it cannot be the first character
|
276
276
|
of the name.
|
277
277
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -410,7 +410,7 @@ class _MetricState:
|
|
410
410
|
"""
|
411
411
|
The client-assigned metric identifier. Examples - "error_count", "nginx/requests".
|
412
412
|
Metric identifiers are limited to 100 characters and can include only the following
|
413
|
-
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()
|
413
|
+
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash
|
414
414
|
character (/) denotes a hierarchy of name pieces, and it cannot be the first character
|
415
415
|
of the name.
|
416
416
|
"""
|
@@ -642,7 +642,7 @@ class Metric(pulumi.CustomResource):
|
|
642
642
|
Structure is documented below.
|
643
643
|
:param pulumi.Input[str] name: The client-assigned metric identifier. Examples - "error_count", "nginx/requests".
|
644
644
|
Metric identifiers are limited to 100 characters and can include only the following
|
645
|
-
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()
|
645
|
+
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash
|
646
646
|
character (/) denotes a hierarchy of name pieces, and it cannot be the first character
|
647
647
|
of the name.
|
648
648
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -906,7 +906,7 @@ class Metric(pulumi.CustomResource):
|
|
906
906
|
Structure is documented below.
|
907
907
|
:param pulumi.Input[str] name: The client-assigned metric identifier. Examples - "error_count", "nginx/requests".
|
908
908
|
Metric identifiers are limited to 100 characters and can include only the following
|
909
|
-
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()
|
909
|
+
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash
|
910
910
|
character (/) denotes a hierarchy of name pieces, and it cannot be the first character
|
911
911
|
of the name.
|
912
912
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -1012,7 +1012,7 @@ class Metric(pulumi.CustomResource):
|
|
1012
1012
|
"""
|
1013
1013
|
The client-assigned metric identifier. Examples - "error_count", "nginx/requests".
|
1014
1014
|
Metric identifiers are limited to 100 characters and can include only the following
|
1015
|
-
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()
|
1015
|
+
characters A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash
|
1016
1016
|
character (/) denotes a hierarchy of name pieces, and it cannot be the first character
|
1017
1017
|
of the name.
|
1018
1018
|
"""
|
pulumi_gcp/logging/outputs.py
CHANGED
@@ -234,7 +234,7 @@ class BillingAccountSinkExclusion(dict):
|
|
234
234
|
description: Optional[str] = None,
|
235
235
|
disabled: Optional[bool] = None):
|
236
236
|
"""
|
237
|
-
:param str filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
237
|
+
:param str filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
238
238
|
write a filter.
|
239
239
|
:param str name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
|
240
240
|
:param str description: A description of this exclusion.
|
@@ -251,7 +251,7 @@ class BillingAccountSinkExclusion(dict):
|
|
251
251
|
@pulumi.getter
|
252
252
|
def filter(self) -> str:
|
253
253
|
"""
|
254
|
-
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
254
|
+
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
255
255
|
write a filter.
|
256
256
|
"""
|
257
257
|
return pulumi.get(self, "filter")
|
@@ -477,7 +477,7 @@ class FolderSinkExclusion(dict):
|
|
477
477
|
description: Optional[str] = None,
|
478
478
|
disabled: Optional[bool] = None):
|
479
479
|
"""
|
480
|
-
:param str filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
480
|
+
:param str filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
481
481
|
write a filter.
|
482
482
|
:param str name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
|
483
483
|
:param str description: A description of this exclusion.
|
@@ -494,7 +494,7 @@ class FolderSinkExclusion(dict):
|
|
494
494
|
@pulumi.getter
|
495
495
|
def filter(self) -> str:
|
496
496
|
"""
|
497
|
-
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
497
|
+
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
498
498
|
write a filter.
|
499
499
|
"""
|
500
500
|
return pulumi.get(self, "filter")
|
@@ -1149,7 +1149,7 @@ class OrganizationSinkExclusion(dict):
|
|
1149
1149
|
description: Optional[str] = None,
|
1150
1150
|
disabled: Optional[bool] = None):
|
1151
1151
|
"""
|
1152
|
-
:param str filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
1152
|
+
:param str filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
1153
1153
|
write a filter.
|
1154
1154
|
:param str name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
|
1155
1155
|
:param str description: A description of this exclusion.
|
@@ -1166,7 +1166,7 @@ class OrganizationSinkExclusion(dict):
|
|
1166
1166
|
@pulumi.getter
|
1167
1167
|
def filter(self) -> str:
|
1168
1168
|
"""
|
1169
|
-
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
1169
|
+
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
1170
1170
|
write a filter.
|
1171
1171
|
"""
|
1172
1172
|
return pulumi.get(self, "filter")
|
@@ -1392,7 +1392,7 @@ class ProjectSinkExclusion(dict):
|
|
1392
1392
|
description: Optional[str] = None,
|
1393
1393
|
disabled: Optional[bool] = None):
|
1394
1394
|
"""
|
1395
|
-
:param str filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
1395
|
+
:param str filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
1396
1396
|
write a filter.
|
1397
1397
|
:param str name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
|
1398
1398
|
:param str description: A description of this exclusion.
|
@@ -1409,7 +1409,7 @@ class ProjectSinkExclusion(dict):
|
|
1409
1409
|
@pulumi.getter
|
1410
1410
|
def filter(self) -> str:
|
1411
1411
|
"""
|
1412
|
-
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100
|
1412
|
+
An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
1413
1413
|
write a filter.
|
1414
1414
|
"""
|
1415
1415
|
return pulumi.get(self, "filter")
|
pulumi_gcp/monitoring/_inputs.py
CHANGED
@@ -3729,7 +3729,7 @@ class UptimeCheckConfigHttpCheckArgs:
|
|
3729
3729
|
Structure is documented below.
|
3730
3730
|
:param pulumi.Input['UptimeCheckConfigHttpCheckAuthInfoArgs'] auth_info: The authentication information. Optional when creating an HTTP check; defaults to empty.
|
3731
3731
|
Structure is documented below.
|
3732
|
-
:param pulumi.Input[str] body: The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. `foo=bar` in URL-encoded form is `foo
|
3732
|
+
:param pulumi.Input[str] body: The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. `foo=bar` in URL-encoded form is `foo%3Dbar` and in base64 encoding is `Zm9vJTI1M0RiYXI=`.
|
3733
3733
|
:param pulumi.Input[str] content_type: The content type to use for the check.
|
3734
3734
|
Possible values are: `TYPE_UNSPECIFIED`, `URL_ENCODED`, `USER_PROVIDED`.
|
3735
3735
|
:param pulumi.Input[str] custom_content_type: A user provided content type header to use for the check. The invalid configurations outlined in the `content_type` field apply to custom_content_type`, as well as the following 1. `content_type` is `URL_ENCODED` and `custom_content_type` is set. 2. `content_type` is `USER_PROVIDED` and `custom_content_type` is not set.
|
@@ -3802,7 +3802,7 @@ class UptimeCheckConfigHttpCheckArgs:
|
|
3802
3802
|
@pulumi.getter
|
3803
3803
|
def body(self) -> Optional[pulumi.Input[str]]:
|
3804
3804
|
"""
|
3805
|
-
The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. `foo=bar` in URL-encoded form is `foo
|
3805
|
+
The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. `foo=bar` in URL-encoded form is `foo%3Dbar` and in base64 encoding is `Zm9vJTI1M0RiYXI=`.
|
3806
3806
|
"""
|
3807
3807
|
return pulumi.get(self, "body")
|
3808
3808
|
|
pulumi_gcp/monitoring/outputs.py
CHANGED
@@ -3860,7 +3860,7 @@ class UptimeCheckConfigHttpCheck(dict):
|
|
3860
3860
|
Structure is documented below.
|
3861
3861
|
:param 'UptimeCheckConfigHttpCheckAuthInfoArgs' auth_info: The authentication information. Optional when creating an HTTP check; defaults to empty.
|
3862
3862
|
Structure is documented below.
|
3863
|
-
:param str body: The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. `foo=bar` in URL-encoded form is `foo
|
3863
|
+
:param str body: The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. `foo=bar` in URL-encoded form is `foo%3Dbar` and in base64 encoding is `Zm9vJTI1M0RiYXI=`.
|
3864
3864
|
:param str content_type: The content type to use for the check.
|
3865
3865
|
Possible values are: `TYPE_UNSPECIFIED`, `URL_ENCODED`, `USER_PROVIDED`.
|
3866
3866
|
:param str custom_content_type: A user provided content type header to use for the check. The invalid configurations outlined in the `content_type` field apply to custom_content_type`, as well as the following 1. `content_type` is `URL_ENCODED` and `custom_content_type` is set. 2. `content_type` is `USER_PROVIDED` and `custom_content_type` is not set.
|
@@ -3925,7 +3925,7 @@ class UptimeCheckConfigHttpCheck(dict):
|
|
3925
3925
|
@pulumi.getter
|
3926
3926
|
def body(self) -> Optional[str]:
|
3927
3927
|
"""
|
3928
|
-
The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. `foo=bar` in URL-encoded form is `foo
|
3928
|
+
The request body associated with the HTTP POST request. If `content_type` is `URL_ENCODED`, the body passed in must be URL-encoded. Users can provide a `Content-Length` header via the `headers` field or the API will do so. If the `request_method` is `GET` and `body` is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. `foo=bar` in URL-encoded form is `foo%3Dbar` and in base64 encoding is `Zm9vJTI1M0RiYXI=`.
|
3929
3929
|
"""
|
3930
3930
|
return pulumi.get(self, "body")
|
3931
3931
|
|
pulumi_gcp/monitoring/slo.py
CHANGED
@@ -551,8 +551,8 @@ class Slo(pulumi.CustomResource):
|
|
551
551
|
service. It consists of a service-level indicator (SLI), a performance
|
552
552
|
goal, and a period over which the objective is to be evaluated against
|
553
553
|
that goal. The SLO can use SLIs defined in a number of different manners.
|
554
|
-
Typical SLOs might include "99
|
555
|
-
latency below 200 milliseconds" or "99.5
|
554
|
+
Typical SLOs might include "99% of requests in each rolling week have
|
555
|
+
latency below 200 milliseconds" or "99.5% of requests in each calendar
|
556
556
|
month return successfully."
|
557
557
|
|
558
558
|
To get more information about Slo, see:
|
@@ -811,8 +811,8 @@ class Slo(pulumi.CustomResource):
|
|
811
811
|
service. It consists of a service-level indicator (SLI), a performance
|
812
812
|
goal, and a period over which the objective is to be evaluated against
|
813
813
|
that goal. The SLO can use SLIs defined in a number of different manners.
|
814
|
-
Typical SLOs might include "99
|
815
|
-
latency below 200 milliseconds" or "99.5
|
814
|
+
Typical SLOs might include "99% of requests in each rolling week have
|
815
|
+
latency below 200 milliseconds" or "99.5% of requests in each calendar
|
816
816
|
month return successfully."
|
817
817
|
|
818
818
|
To get more information about Slo, see:
|
@@ -3349,7 +3349,7 @@ class HttpRouteRuleActionDestinationArgs:
|
|
3349
3349
|
"""
|
3350
3350
|
:param pulumi.Input[str] service_name: The URL of a BackendService to route traffic to.
|
3351
3351
|
:param pulumi.Input[int] weight: Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
3352
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
3352
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
3353
3353
|
If weights are specified for any one service name, they need to be specified for all of them.
|
3354
3354
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
3355
3355
|
"""
|
@@ -3375,7 +3375,7 @@ class HttpRouteRuleActionDestinationArgs:
|
|
3375
3375
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
3376
3376
|
"""
|
3377
3377
|
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
3378
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
3378
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
3379
3379
|
If weights are specified for any one service name, they need to be specified for all of them.
|
3380
3380
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
3381
3381
|
"""
|
@@ -3714,7 +3714,7 @@ class HttpRouteRuleActionRequestMirrorPolicyDestinationArgs:
|
|
3714
3714
|
"""
|
3715
3715
|
:param pulumi.Input[str] service_name: The URL of a BackendService to route traffic to.
|
3716
3716
|
:param pulumi.Input[int] weight: Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
3717
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
3717
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
3718
3718
|
If weights are specified for any one service name, they need to be specified for all of them.
|
3719
3719
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
3720
3720
|
"""
|
@@ -3740,7 +3740,7 @@ class HttpRouteRuleActionRequestMirrorPolicyDestinationArgs:
|
|
3740
3740
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
3741
3741
|
"""
|
3742
3742
|
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
3743
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
3743
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
3744
3744
|
If weights are specified for any one service name, they need to be specified for all of them.
|
3745
3745
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
3746
3746
|
"""
|
@@ -4345,7 +4345,7 @@ class TcpRouteRuleActionDestinationArgs:
|
|
4345
4345
|
"""
|
4346
4346
|
:param pulumi.Input[str] service_name: The URL of a BackendService to route traffic to.
|
4347
4347
|
:param pulumi.Input[int] weight: Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
4348
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
4348
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
4349
4349
|
If weights are specified for any one service name, they need to be specified for all of them.
|
4350
4350
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
4351
4351
|
|
@@ -4373,7 +4373,7 @@ class TcpRouteRuleActionDestinationArgs:
|
|
4373
4373
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
4374
4374
|
"""
|
4375
4375
|
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
4376
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
4376
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
4377
4377
|
If weights are specified for any one service name, they need to be specified for all of them.
|
4378
4378
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
4379
4379
|
|
@@ -3573,7 +3573,7 @@ class HttpRouteRuleActionDestination(dict):
|
|
3573
3573
|
"""
|
3574
3574
|
:param str service_name: The URL of a BackendService to route traffic to.
|
3575
3575
|
:param int weight: Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
3576
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
3576
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
3577
3577
|
If weights are specified for any one service name, they need to be specified for all of them.
|
3578
3578
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
3579
3579
|
"""
|
@@ -3595,7 +3595,7 @@ class HttpRouteRuleActionDestination(dict):
|
|
3595
3595
|
def weight(self) -> Optional[int]:
|
3596
3596
|
"""
|
3597
3597
|
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
3598
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
3598
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
3599
3599
|
If weights are specified for any one service name, they need to be specified for all of them.
|
3600
3600
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
3601
3601
|
"""
|
@@ -3942,7 +3942,7 @@ class HttpRouteRuleActionRequestMirrorPolicyDestination(dict):
|
|
3942
3942
|
"""
|
3943
3943
|
:param str service_name: The URL of a BackendService to route traffic to.
|
3944
3944
|
:param int weight: Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
3945
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
3945
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
3946
3946
|
If weights are specified for any one service name, they need to be specified for all of them.
|
3947
3947
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
3948
3948
|
"""
|
@@ -3964,7 +3964,7 @@ class HttpRouteRuleActionRequestMirrorPolicyDestination(dict):
|
|
3964
3964
|
def weight(self) -> Optional[int]:
|
3965
3965
|
"""
|
3966
3966
|
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
3967
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
3967
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
3968
3968
|
If weights are specified for any one service name, they need to be specified for all of them.
|
3969
3969
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
3970
3970
|
"""
|
@@ -4588,7 +4588,7 @@ class TcpRouteRuleActionDestination(dict):
|
|
4588
4588
|
"""
|
4589
4589
|
:param str service_name: The URL of a BackendService to route traffic to.
|
4590
4590
|
:param int weight: Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
4591
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
4591
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
4592
4592
|
If weights are specified for any one service name, they need to be specified for all of them.
|
4593
4593
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
4594
4594
|
|
@@ -4612,7 +4612,7 @@ class TcpRouteRuleActionDestination(dict):
|
|
4612
4612
|
def weight(self) -> Optional[int]:
|
4613
4613
|
"""
|
4614
4614
|
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports.
|
4615
|
-
If only one serviceName is specified and it has a weight greater than 0, 100
|
4615
|
+
If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend.
|
4616
4616
|
If weights are specified for any one service name, they need to be specified for all of them.
|
4617
4617
|
If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them.
|
4618
4618
|
|