pulumi-spotinst 3.115.0a1742873189__py3-none-any.whl → 3.128.0a1767140134__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_spotinst/__init__.py +11 -1
- pulumi_spotinst/_inputs.py +2206 -1519
- pulumi_spotinst/_utilities.py +1 -1
- pulumi_spotinst/account.py +20 -19
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +3991 -3619
- pulumi_spotinst/aws/account.py +20 -19
- pulumi_spotinst/aws/beanstalk.py +254 -177
- pulumi_spotinst/aws/credentials.py +37 -36
- pulumi_spotinst/aws/elastigroup.py +938 -950
- pulumi_spotinst/aws/managed_instance.py +507 -506
- pulumi_spotinst/aws/mr_scalar.py +658 -653
- pulumi_spotinst/aws/ocean.py +624 -529
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +395 -300
- pulumi_spotinst/aws/outputs.py +2631 -2371
- pulumi_spotinst/aws/suspension.py +23 -22
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +607 -607
- pulumi_spotinst/azure/ocean_np.py +387 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
- pulumi_spotinst/azure/outputs.py +411 -411
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +2 -2
- pulumi_spotinst/config/vars.py +6 -6
- pulumi_spotinst/credentials_azure.py +139 -89
- pulumi_spotinst/credentials_gcp.py +190 -189
- pulumi_spotinst/data_integration.py +40 -39
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +584 -584
- pulumi_spotinst/ecs/ocean.py +628 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
- pulumi_spotinst/ecs/outputs.py +394 -394
- pulumi_spotinst/elastigroup_azure_v3.py +326 -325
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +573 -499
- pulumi_spotinst/gcp/elastigroup.py +491 -482
- pulumi_spotinst/gcp/outputs.py +395 -330
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +1120 -895
- pulumi_spotinst/gke/elastigroup.py +341 -340
- pulumi_spotinst/gke/ocean_import.py +204 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +285 -213
- pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
- pulumi_spotinst/gke/outputs.py +769 -583
- pulumi_spotinst/health_check.py +106 -65
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +764 -764
- pulumi_spotinst/oceancd/outputs.py +526 -526
- pulumi_spotinst/oceancd/rollout_spec.py +35 -34
- pulumi_spotinst/oceancd/strategy.py +22 -21
- pulumi_spotinst/oceancd/verification_provider.py +52 -51
- pulumi_spotinst/oceancd/verification_template.py +26 -25
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +68 -68
- pulumi_spotinst/organization/outputs.py +46 -46
- pulumi_spotinst/organization/policy.py +40 -39
- pulumi_spotinst/organization/programmatic_user.py +60 -59
- pulumi_spotinst/organization/user.py +108 -107
- pulumi_spotinst/organization/user_group.py +57 -56
- pulumi_spotinst/outputs.py +1472 -932
- pulumi_spotinst/provider.py +61 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +104 -104
- pulumi_spotinst/spark/ocean.py +38 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
- pulumi_spotinst/spark/outputs.py +72 -72
- pulumi_spotinst/stateful_node_azure.py +318 -343
- pulumi_spotinst/subscription.py +88 -87
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +3 -3
- pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.115.0a1742873189.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -84,15 +84,15 @@ __all__ = [
|
|
|
84
84
|
@pulumi.output_type
|
|
85
85
|
class RolloutSpecFailurePolicy(dict):
|
|
86
86
|
def __init__(__self__, *,
|
|
87
|
-
action: str):
|
|
87
|
+
action: _builtins.str):
|
|
88
88
|
"""
|
|
89
|
-
:param str action: Choose an action to perform on failure. Default is `abort`. Enum: "abort" "pause" "promote".
|
|
89
|
+
:param _builtins.str action: Choose an action to perform on failure. Default is `abort`. Enum: "abort" "pause" "promote".
|
|
90
90
|
"""
|
|
91
91
|
pulumi.set(__self__, "action", action)
|
|
92
92
|
|
|
93
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
94
94
|
@pulumi.getter
|
|
95
|
-
def action(self) -> str:
|
|
95
|
+
def action(self) -> _builtins.str:
|
|
96
96
|
"""
|
|
97
97
|
Choose an action to perform on failure. Default is `abort`. Enum: "abort" "pause" "promote".
|
|
98
98
|
"""
|
|
@@ -123,13 +123,13 @@ class RolloutSpecSpotDeployment(dict):
|
|
|
123
123
|
return super().get(key, default)
|
|
124
124
|
|
|
125
125
|
def __init__(__self__, *,
|
|
126
|
-
spot_deployments_cluster_id: Optional[str] = None,
|
|
127
|
-
spot_deployments_name: Optional[str] = None,
|
|
128
|
-
spot_deployments_namespace: Optional[str] = None):
|
|
126
|
+
spot_deployments_cluster_id: Optional[_builtins.str] = None,
|
|
127
|
+
spot_deployments_name: Optional[_builtins.str] = None,
|
|
128
|
+
spot_deployments_namespace: Optional[_builtins.str] = None):
|
|
129
129
|
"""
|
|
130
|
-
:param str spot_deployments_cluster_id: Ocean CD cluster identifier for the references `SpotDeployment`.
|
|
131
|
-
:param str spot_deployments_name: The name of the `SpotDeployment` resource
|
|
132
|
-
:param str spot_deployments_namespace: The namespace which the `SpotDeployment` resource exists within.
|
|
130
|
+
:param _builtins.str spot_deployments_cluster_id: Ocean CD cluster identifier for the references `SpotDeployment`.
|
|
131
|
+
:param _builtins.str spot_deployments_name: The name of the `SpotDeployment` resource
|
|
132
|
+
:param _builtins.str spot_deployments_namespace: The namespace which the `SpotDeployment` resource exists within.
|
|
133
133
|
"""
|
|
134
134
|
if spot_deployments_cluster_id is not None:
|
|
135
135
|
pulumi.set(__self__, "spot_deployments_cluster_id", spot_deployments_cluster_id)
|
|
@@ -138,25 +138,25 @@ class RolloutSpecSpotDeployment(dict):
|
|
|
138
138
|
if spot_deployments_namespace is not None:
|
|
139
139
|
pulumi.set(__self__, "spot_deployments_namespace", spot_deployments_namespace)
|
|
140
140
|
|
|
141
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
142
142
|
@pulumi.getter(name="spotDeploymentsClusterId")
|
|
143
|
-
def spot_deployments_cluster_id(self) -> Optional[str]:
|
|
143
|
+
def spot_deployments_cluster_id(self) -> Optional[_builtins.str]:
|
|
144
144
|
"""
|
|
145
145
|
Ocean CD cluster identifier for the references `SpotDeployment`.
|
|
146
146
|
"""
|
|
147
147
|
return pulumi.get(self, "spot_deployments_cluster_id")
|
|
148
148
|
|
|
149
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
150
150
|
@pulumi.getter(name="spotDeploymentsName")
|
|
151
|
-
def spot_deployments_name(self) -> Optional[str]:
|
|
151
|
+
def spot_deployments_name(self) -> Optional[_builtins.str]:
|
|
152
152
|
"""
|
|
153
153
|
The name of the `SpotDeployment` resource
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "spot_deployments_name")
|
|
156
156
|
|
|
157
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
158
158
|
@pulumi.getter(name="spotDeploymentsNamespace")
|
|
159
|
-
def spot_deployments_namespace(self) -> Optional[str]:
|
|
159
|
+
def spot_deployments_namespace(self) -> Optional[_builtins.str]:
|
|
160
160
|
"""
|
|
161
161
|
The namespace which the `SpotDeployment` resource exists within.
|
|
162
162
|
"""
|
|
@@ -183,25 +183,25 @@ class RolloutSpecStrategy(dict):
|
|
|
183
183
|
return super().get(key, default)
|
|
184
184
|
|
|
185
185
|
def __init__(__self__, *,
|
|
186
|
-
strategy_name: str,
|
|
186
|
+
strategy_name: _builtins.str,
|
|
187
187
|
args: Optional[Sequence['outputs.RolloutSpecStrategyArg']] = None):
|
|
188
188
|
"""
|
|
189
|
-
:param str strategy_name: Ocean CD strategy name identifier.
|
|
189
|
+
:param _builtins.str strategy_name: Ocean CD strategy name identifier.
|
|
190
190
|
:param Sequence['RolloutSpecStrategyArgArgs'] args: Arguments defined in Verification Templates.
|
|
191
191
|
"""
|
|
192
192
|
pulumi.set(__self__, "strategy_name", strategy_name)
|
|
193
193
|
if args is not None:
|
|
194
194
|
pulumi.set(__self__, "args", args)
|
|
195
195
|
|
|
196
|
-
@property
|
|
196
|
+
@_builtins.property
|
|
197
197
|
@pulumi.getter(name="strategyName")
|
|
198
|
-
def strategy_name(self) -> str:
|
|
198
|
+
def strategy_name(self) -> _builtins.str:
|
|
199
199
|
"""
|
|
200
200
|
Ocean CD strategy name identifier.
|
|
201
201
|
"""
|
|
202
202
|
return pulumi.get(self, "strategy_name")
|
|
203
203
|
|
|
204
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
205
205
|
@pulumi.getter
|
|
206
206
|
def args(self) -> Optional[Sequence['outputs.RolloutSpecStrategyArg']]:
|
|
207
207
|
"""
|
|
@@ -234,12 +234,12 @@ class RolloutSpecStrategyArg(dict):
|
|
|
234
234
|
return super().get(key, default)
|
|
235
235
|
|
|
236
236
|
def __init__(__self__, *,
|
|
237
|
-
arg_name: str,
|
|
238
|
-
arg_value: Optional[str] = None,
|
|
237
|
+
arg_name: _builtins.str,
|
|
238
|
+
arg_value: Optional[_builtins.str] = None,
|
|
239
239
|
value_from: Optional['outputs.RolloutSpecStrategyArgValueFrom'] = None):
|
|
240
240
|
"""
|
|
241
|
-
:param str arg_name: Name of an argument.
|
|
242
|
-
:param str arg_value: Value of an argument.
|
|
241
|
+
:param _builtins.str arg_name: Name of an argument.
|
|
242
|
+
:param _builtins.str arg_value: Value of an argument.
|
|
243
243
|
:param 'RolloutSpecStrategyArgValueFromArgs' value_from: Defines from where to get the value of an argument.
|
|
244
244
|
"""
|
|
245
245
|
pulumi.set(__self__, "arg_name", arg_name)
|
|
@@ -248,23 +248,23 @@ class RolloutSpecStrategyArg(dict):
|
|
|
248
248
|
if value_from is not None:
|
|
249
249
|
pulumi.set(__self__, "value_from", value_from)
|
|
250
250
|
|
|
251
|
-
@property
|
|
251
|
+
@_builtins.property
|
|
252
252
|
@pulumi.getter(name="argName")
|
|
253
|
-
def arg_name(self) -> str:
|
|
253
|
+
def arg_name(self) -> _builtins.str:
|
|
254
254
|
"""
|
|
255
255
|
Name of an argument.
|
|
256
256
|
"""
|
|
257
257
|
return pulumi.get(self, "arg_name")
|
|
258
258
|
|
|
259
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
260
260
|
@pulumi.getter(name="argValue")
|
|
261
|
-
def arg_value(self) -> Optional[str]:
|
|
261
|
+
def arg_value(self) -> Optional[_builtins.str]:
|
|
262
262
|
"""
|
|
263
263
|
Value of an argument.
|
|
264
264
|
"""
|
|
265
265
|
return pulumi.get(self, "arg_value")
|
|
266
266
|
|
|
267
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
268
268
|
@pulumi.getter(name="valueFrom")
|
|
269
269
|
def value_from(self) -> Optional['outputs.RolloutSpecStrategyArgValueFrom']:
|
|
270
270
|
"""
|
|
@@ -299,7 +299,7 @@ class RolloutSpecStrategyArgValueFrom(dict):
|
|
|
299
299
|
"""
|
|
300
300
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
301
301
|
|
|
302
|
-
@property
|
|
302
|
+
@_builtins.property
|
|
303
303
|
@pulumi.getter(name="fieldRef")
|
|
304
304
|
def field_ref(self) -> 'outputs.RolloutSpecStrategyArgValueFromFieldRef':
|
|
305
305
|
"""
|
|
@@ -328,15 +328,15 @@ class RolloutSpecStrategyArgValueFromFieldRef(dict):
|
|
|
328
328
|
return super().get(key, default)
|
|
329
329
|
|
|
330
330
|
def __init__(__self__, *,
|
|
331
|
-
field_path: str):
|
|
331
|
+
field_path: _builtins.str):
|
|
332
332
|
"""
|
|
333
|
-
:param str field_path: Path to SpotDeployment's field from where to get the value of an argument.
|
|
333
|
+
:param _builtins.str field_path: Path to SpotDeployment's field from where to get the value of an argument.
|
|
334
334
|
"""
|
|
335
335
|
pulumi.set(__self__, "field_path", field_path)
|
|
336
336
|
|
|
337
|
-
@property
|
|
337
|
+
@_builtins.property
|
|
338
338
|
@pulumi.getter(name="fieldPath")
|
|
339
|
-
def field_path(self) -> str:
|
|
339
|
+
def field_path(self) -> _builtins.str:
|
|
340
340
|
"""
|
|
341
341
|
Path to SpotDeployment's field from where to get the value of an argument.
|
|
342
342
|
"""
|
|
@@ -369,21 +369,21 @@ class RolloutSpecTraffic(dict):
|
|
|
369
369
|
def __init__(__self__, *,
|
|
370
370
|
alb: Optional['outputs.RolloutSpecTrafficAlb'] = None,
|
|
371
371
|
ambassador: Optional['outputs.RolloutSpecTrafficAmbassador'] = None,
|
|
372
|
-
canary_service: Optional[str] = None,
|
|
372
|
+
canary_service: Optional[_builtins.str] = None,
|
|
373
373
|
istio: Optional['outputs.RolloutSpecTrafficIstio'] = None,
|
|
374
374
|
nginx: Optional['outputs.RolloutSpecTrafficNginx'] = None,
|
|
375
375
|
ping_pong: Optional['outputs.RolloutSpecTrafficPingPong'] = None,
|
|
376
376
|
smi: Optional['outputs.RolloutSpecTrafficSmi'] = None,
|
|
377
|
-
stable_service: Optional[str] = None):
|
|
377
|
+
stable_service: Optional[_builtins.str] = None):
|
|
378
378
|
"""
|
|
379
379
|
:param 'RolloutSpecTrafficAlbArgs' alb: Holds ALB Ingress specific configuration to route traffic.
|
|
380
380
|
:param 'RolloutSpecTrafficAmbassadorArgs' ambassador: Holds specific configuration to use Ambassador to route traffic.
|
|
381
|
-
:param str canary_service: The canary service name.
|
|
381
|
+
:param _builtins.str canary_service: The canary service name.
|
|
382
382
|
:param 'RolloutSpecTrafficIstioArgs' istio: Holds Istio specific configuration to route traffic.
|
|
383
383
|
:param 'RolloutSpecTrafficNginxArgs' nginx: Holds Nginx Ingress specific configuration to route traffic.
|
|
384
384
|
:param 'RolloutSpecTrafficPingPongArgs' ping_pong: Holds the ping and pong services. You can use `pingPong` field only when using ALB as a traffic manager with the IP Mode approach.
|
|
385
385
|
:param 'RolloutSpecTrafficSmiArgs' smi: Holds TrafficSplit specific configuration to route traffic.
|
|
386
|
-
:param str stable_service: The stable service name.
|
|
386
|
+
:param _builtins.str stable_service: The stable service name.
|
|
387
387
|
"""
|
|
388
388
|
if alb is not None:
|
|
389
389
|
pulumi.set(__self__, "alb", alb)
|
|
@@ -402,7 +402,7 @@ class RolloutSpecTraffic(dict):
|
|
|
402
402
|
if stable_service is not None:
|
|
403
403
|
pulumi.set(__self__, "stable_service", stable_service)
|
|
404
404
|
|
|
405
|
-
@property
|
|
405
|
+
@_builtins.property
|
|
406
406
|
@pulumi.getter
|
|
407
407
|
def alb(self) -> Optional['outputs.RolloutSpecTrafficAlb']:
|
|
408
408
|
"""
|
|
@@ -410,7 +410,7 @@ class RolloutSpecTraffic(dict):
|
|
|
410
410
|
"""
|
|
411
411
|
return pulumi.get(self, "alb")
|
|
412
412
|
|
|
413
|
-
@property
|
|
413
|
+
@_builtins.property
|
|
414
414
|
@pulumi.getter
|
|
415
415
|
def ambassador(self) -> Optional['outputs.RolloutSpecTrafficAmbassador']:
|
|
416
416
|
"""
|
|
@@ -418,15 +418,15 @@ class RolloutSpecTraffic(dict):
|
|
|
418
418
|
"""
|
|
419
419
|
return pulumi.get(self, "ambassador")
|
|
420
420
|
|
|
421
|
-
@property
|
|
421
|
+
@_builtins.property
|
|
422
422
|
@pulumi.getter(name="canaryService")
|
|
423
|
-
def canary_service(self) -> Optional[str]:
|
|
423
|
+
def canary_service(self) -> Optional[_builtins.str]:
|
|
424
424
|
"""
|
|
425
425
|
The canary service name.
|
|
426
426
|
"""
|
|
427
427
|
return pulumi.get(self, "canary_service")
|
|
428
428
|
|
|
429
|
-
@property
|
|
429
|
+
@_builtins.property
|
|
430
430
|
@pulumi.getter
|
|
431
431
|
def istio(self) -> Optional['outputs.RolloutSpecTrafficIstio']:
|
|
432
432
|
"""
|
|
@@ -434,7 +434,7 @@ class RolloutSpecTraffic(dict):
|
|
|
434
434
|
"""
|
|
435
435
|
return pulumi.get(self, "istio")
|
|
436
436
|
|
|
437
|
-
@property
|
|
437
|
+
@_builtins.property
|
|
438
438
|
@pulumi.getter
|
|
439
439
|
def nginx(self) -> Optional['outputs.RolloutSpecTrafficNginx']:
|
|
440
440
|
"""
|
|
@@ -442,7 +442,7 @@ class RolloutSpecTraffic(dict):
|
|
|
442
442
|
"""
|
|
443
443
|
return pulumi.get(self, "nginx")
|
|
444
444
|
|
|
445
|
-
@property
|
|
445
|
+
@_builtins.property
|
|
446
446
|
@pulumi.getter(name="pingPong")
|
|
447
447
|
def ping_pong(self) -> Optional['outputs.RolloutSpecTrafficPingPong']:
|
|
448
448
|
"""
|
|
@@ -450,7 +450,7 @@ class RolloutSpecTraffic(dict):
|
|
|
450
450
|
"""
|
|
451
451
|
return pulumi.get(self, "ping_pong")
|
|
452
452
|
|
|
453
|
-
@property
|
|
453
|
+
@_builtins.property
|
|
454
454
|
@pulumi.getter
|
|
455
455
|
def smi(self) -> Optional['outputs.RolloutSpecTrafficSmi']:
|
|
456
456
|
"""
|
|
@@ -458,9 +458,9 @@ class RolloutSpecTraffic(dict):
|
|
|
458
458
|
"""
|
|
459
459
|
return pulumi.get(self, "smi")
|
|
460
460
|
|
|
461
|
-
@property
|
|
461
|
+
@_builtins.property
|
|
462
462
|
@pulumi.getter(name="stableService")
|
|
463
|
-
def stable_service(self) -> Optional[str]:
|
|
463
|
+
def stable_service(self) -> Optional[_builtins.str]:
|
|
464
464
|
"""
|
|
465
465
|
The stable service name.
|
|
466
466
|
"""
|
|
@@ -495,16 +495,16 @@ class RolloutSpecTrafficAlb(dict):
|
|
|
495
495
|
return super().get(key, default)
|
|
496
496
|
|
|
497
497
|
def __init__(__self__, *,
|
|
498
|
-
alb_ingress: str,
|
|
499
|
-
alb_root_service: str,
|
|
500
|
-
service_port: int,
|
|
501
|
-
alb_annotation_prefix: Optional[str] = None,
|
|
498
|
+
alb_ingress: _builtins.str,
|
|
499
|
+
alb_root_service: _builtins.str,
|
|
500
|
+
service_port: _builtins.int,
|
|
501
|
+
alb_annotation_prefix: Optional[_builtins.str] = None,
|
|
502
502
|
stickiness_config: Optional['outputs.RolloutSpecTrafficAlbStickinessConfig'] = None):
|
|
503
503
|
"""
|
|
504
|
-
:param str alb_ingress: Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
505
|
-
:param str alb_root_service: References the service in the ingress to the controller should add the action to.
|
|
506
|
-
:param int service_port: Refers to the port that the Ingress action should route traffic to.
|
|
507
|
-
:param str alb_annotation_prefix: Has to match the configured annotation prefix on the alb ingress controller.
|
|
504
|
+
:param _builtins.str alb_ingress: Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
505
|
+
:param _builtins.str alb_root_service: References the service in the ingress to the controller should add the action to.
|
|
506
|
+
:param _builtins.int service_port: Refers to the port that the Ingress action should route traffic to.
|
|
507
|
+
:param _builtins.str alb_annotation_prefix: Has to match the configured annotation prefix on the alb ingress controller.
|
|
508
508
|
:param 'RolloutSpecTrafficAlbStickinessConfigArgs' stickiness_config: Allows to specify further settings on the ForwardConfig.
|
|
509
509
|
"""
|
|
510
510
|
pulumi.set(__self__, "alb_ingress", alb_ingress)
|
|
@@ -515,39 +515,39 @@ class RolloutSpecTrafficAlb(dict):
|
|
|
515
515
|
if stickiness_config is not None:
|
|
516
516
|
pulumi.set(__self__, "stickiness_config", stickiness_config)
|
|
517
517
|
|
|
518
|
-
@property
|
|
518
|
+
@_builtins.property
|
|
519
519
|
@pulumi.getter(name="albIngress")
|
|
520
|
-
def alb_ingress(self) -> str:
|
|
520
|
+
def alb_ingress(self) -> _builtins.str:
|
|
521
521
|
"""
|
|
522
522
|
Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
523
523
|
"""
|
|
524
524
|
return pulumi.get(self, "alb_ingress")
|
|
525
525
|
|
|
526
|
-
@property
|
|
526
|
+
@_builtins.property
|
|
527
527
|
@pulumi.getter(name="albRootService")
|
|
528
|
-
def alb_root_service(self) -> str:
|
|
528
|
+
def alb_root_service(self) -> _builtins.str:
|
|
529
529
|
"""
|
|
530
530
|
References the service in the ingress to the controller should add the action to.
|
|
531
531
|
"""
|
|
532
532
|
return pulumi.get(self, "alb_root_service")
|
|
533
533
|
|
|
534
|
-
@property
|
|
534
|
+
@_builtins.property
|
|
535
535
|
@pulumi.getter(name="servicePort")
|
|
536
|
-
def service_port(self) -> int:
|
|
536
|
+
def service_port(self) -> _builtins.int:
|
|
537
537
|
"""
|
|
538
538
|
Refers to the port that the Ingress action should route traffic to.
|
|
539
539
|
"""
|
|
540
540
|
return pulumi.get(self, "service_port")
|
|
541
541
|
|
|
542
|
-
@property
|
|
542
|
+
@_builtins.property
|
|
543
543
|
@pulumi.getter(name="albAnnotationPrefix")
|
|
544
|
-
def alb_annotation_prefix(self) -> Optional[str]:
|
|
544
|
+
def alb_annotation_prefix(self) -> Optional[_builtins.str]:
|
|
545
545
|
"""
|
|
546
546
|
Has to match the configured annotation prefix on the alb ingress controller.
|
|
547
547
|
"""
|
|
548
548
|
return pulumi.get(self, "alb_annotation_prefix")
|
|
549
549
|
|
|
550
|
-
@property
|
|
550
|
+
@_builtins.property
|
|
551
551
|
@pulumi.getter(name="stickinessConfig")
|
|
552
552
|
def stickiness_config(self) -> Optional['outputs.RolloutSpecTrafficAlbStickinessConfig']:
|
|
553
553
|
"""
|
|
@@ -576,28 +576,28 @@ class RolloutSpecTrafficAlbStickinessConfig(dict):
|
|
|
576
576
|
return super().get(key, default)
|
|
577
577
|
|
|
578
578
|
def __init__(__self__, *,
|
|
579
|
-
duration_seconds: Optional[int] = None,
|
|
580
|
-
enabled: Optional[bool] = None):
|
|
579
|
+
duration_seconds: Optional[_builtins.int] = None,
|
|
580
|
+
enabled: Optional[_builtins.bool] = None):
|
|
581
581
|
"""
|
|
582
|
-
:param int duration_seconds: Defines how long the load balancer should consistently route the user's request to the same target.
|
|
583
|
-
:param bool enabled: Enables the load balancer to bind a user's session to a specific target.
|
|
582
|
+
:param _builtins.int duration_seconds: Defines how long the load balancer should consistently route the user's request to the same target.
|
|
583
|
+
:param _builtins.bool enabled: Enables the load balancer to bind a user's session to a specific target.
|
|
584
584
|
"""
|
|
585
585
|
if duration_seconds is not None:
|
|
586
586
|
pulumi.set(__self__, "duration_seconds", duration_seconds)
|
|
587
587
|
if enabled is not None:
|
|
588
588
|
pulumi.set(__self__, "enabled", enabled)
|
|
589
589
|
|
|
590
|
-
@property
|
|
590
|
+
@_builtins.property
|
|
591
591
|
@pulumi.getter(name="durationSeconds")
|
|
592
|
-
def duration_seconds(self) -> Optional[int]:
|
|
592
|
+
def duration_seconds(self) -> Optional[_builtins.int]:
|
|
593
593
|
"""
|
|
594
594
|
Defines how long the load balancer should consistently route the user's request to the same target.
|
|
595
595
|
"""
|
|
596
596
|
return pulumi.get(self, "duration_seconds")
|
|
597
597
|
|
|
598
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
599
599
|
@pulumi.getter
|
|
600
|
-
def enabled(self) -> Optional[bool]:
|
|
600
|
+
def enabled(self) -> Optional[_builtins.bool]:
|
|
601
601
|
"""
|
|
602
602
|
Enables the load balancer to bind a user's session to a specific target.
|
|
603
603
|
"""
|
|
@@ -607,15 +607,15 @@ class RolloutSpecTrafficAlbStickinessConfig(dict):
|
|
|
607
607
|
@pulumi.output_type
|
|
608
608
|
class RolloutSpecTrafficAmbassador(dict):
|
|
609
609
|
def __init__(__self__, *,
|
|
610
|
-
mappings: Sequence[str]):
|
|
610
|
+
mappings: Sequence[_builtins.str]):
|
|
611
611
|
"""
|
|
612
|
-
:param Sequence[str] mappings: A list of names of the Ambassador Mappings used to route traffic to the service.
|
|
612
|
+
:param Sequence[_builtins.str] mappings: A list of names of the Ambassador Mappings used to route traffic to the service.
|
|
613
613
|
"""
|
|
614
614
|
pulumi.set(__self__, "mappings", mappings)
|
|
615
615
|
|
|
616
|
-
@property
|
|
616
|
+
@_builtins.property
|
|
617
617
|
@pulumi.getter
|
|
618
|
-
def mappings(self) -> Sequence[str]:
|
|
618
|
+
def mappings(self) -> Sequence[_builtins.str]:
|
|
619
619
|
"""
|
|
620
620
|
A list of names of the Ambassador Mappings used to route traffic to the service.
|
|
621
621
|
"""
|
|
@@ -654,7 +654,7 @@ class RolloutSpecTrafficIstio(dict):
|
|
|
654
654
|
if destination_rule is not None:
|
|
655
655
|
pulumi.set(__self__, "destination_rule", destination_rule)
|
|
656
656
|
|
|
657
|
-
@property
|
|
657
|
+
@_builtins.property
|
|
658
658
|
@pulumi.getter(name="virtualServices")
|
|
659
659
|
def virtual_services(self) -> Sequence['outputs.RolloutSpecTrafficIstioVirtualService']:
|
|
660
660
|
"""
|
|
@@ -662,7 +662,7 @@ class RolloutSpecTrafficIstio(dict):
|
|
|
662
662
|
"""
|
|
663
663
|
return pulumi.get(self, "virtual_services")
|
|
664
664
|
|
|
665
|
-
@property
|
|
665
|
+
@_builtins.property
|
|
666
666
|
@pulumi.getter(name="destinationRule")
|
|
667
667
|
def destination_rule(self) -> Optional['outputs.RolloutSpecTrafficIstioDestinationRule']:
|
|
668
668
|
"""
|
|
@@ -695,37 +695,37 @@ class RolloutSpecTrafficIstioDestinationRule(dict):
|
|
|
695
695
|
return super().get(key, default)
|
|
696
696
|
|
|
697
697
|
def __init__(__self__, *,
|
|
698
|
-
canary_subset_name: str,
|
|
699
|
-
destination_rule_name: str,
|
|
700
|
-
stable_subset_name: str):
|
|
698
|
+
canary_subset_name: _builtins.str,
|
|
699
|
+
destination_rule_name: _builtins.str,
|
|
700
|
+
stable_subset_name: _builtins.str):
|
|
701
701
|
"""
|
|
702
|
-
:param str canary_subset_name: The subset name to modify labels with the canary version.
|
|
703
|
-
:param str destination_rule_name: Holds the name of the DestinationRule.
|
|
704
|
-
:param str stable_subset_name: The subset name to modify labels with the stable version.
|
|
702
|
+
:param _builtins.str canary_subset_name: The subset name to modify labels with the canary version.
|
|
703
|
+
:param _builtins.str destination_rule_name: Holds the name of the DestinationRule.
|
|
704
|
+
:param _builtins.str stable_subset_name: The subset name to modify labels with the stable version.
|
|
705
705
|
"""
|
|
706
706
|
pulumi.set(__self__, "canary_subset_name", canary_subset_name)
|
|
707
707
|
pulumi.set(__self__, "destination_rule_name", destination_rule_name)
|
|
708
708
|
pulumi.set(__self__, "stable_subset_name", stable_subset_name)
|
|
709
709
|
|
|
710
|
-
@property
|
|
710
|
+
@_builtins.property
|
|
711
711
|
@pulumi.getter(name="canarySubsetName")
|
|
712
|
-
def canary_subset_name(self) -> str:
|
|
712
|
+
def canary_subset_name(self) -> _builtins.str:
|
|
713
713
|
"""
|
|
714
714
|
The subset name to modify labels with the canary version.
|
|
715
715
|
"""
|
|
716
716
|
return pulumi.get(self, "canary_subset_name")
|
|
717
717
|
|
|
718
|
-
@property
|
|
718
|
+
@_builtins.property
|
|
719
719
|
@pulumi.getter(name="destinationRuleName")
|
|
720
|
-
def destination_rule_name(self) -> str:
|
|
720
|
+
def destination_rule_name(self) -> _builtins.str:
|
|
721
721
|
"""
|
|
722
722
|
Holds the name of the DestinationRule.
|
|
723
723
|
"""
|
|
724
724
|
return pulumi.get(self, "destination_rule_name")
|
|
725
725
|
|
|
726
|
-
@property
|
|
726
|
+
@_builtins.property
|
|
727
727
|
@pulumi.getter(name="stableSubsetName")
|
|
728
|
-
def stable_subset_name(self) -> str:
|
|
728
|
+
def stable_subset_name(self) -> _builtins.str:
|
|
729
729
|
"""
|
|
730
730
|
The subset name to modify labels with the stable version.
|
|
731
731
|
"""
|
|
@@ -756,13 +756,13 @@ class RolloutSpecTrafficIstioVirtualService(dict):
|
|
|
756
756
|
return super().get(key, default)
|
|
757
757
|
|
|
758
758
|
def __init__(__self__, *,
|
|
759
|
-
virtual_service_name: str,
|
|
759
|
+
virtual_service_name: _builtins.str,
|
|
760
760
|
tls_routes: Optional[Sequence['outputs.RolloutSpecTrafficIstioVirtualServiceTlsRoute']] = None,
|
|
761
|
-
virtual_service_routes: Optional[Sequence[str]] = None):
|
|
761
|
+
virtual_service_routes: Optional[Sequence[_builtins.str]] = None):
|
|
762
762
|
"""
|
|
763
|
-
:param str virtual_service_name: Holds the name of the VirtualService.
|
|
763
|
+
:param _builtins.str virtual_service_name: Holds the name of the VirtualService.
|
|
764
764
|
:param Sequence['RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs'] tls_routes: A list of HTTPS routes within VirtualService.
|
|
765
|
-
:param Sequence[str] virtual_service_routes: A list of HTTP routes within VirtualService.
|
|
765
|
+
:param Sequence[_builtins.str] virtual_service_routes: A list of HTTP routes within VirtualService.
|
|
766
766
|
"""
|
|
767
767
|
pulumi.set(__self__, "virtual_service_name", virtual_service_name)
|
|
768
768
|
if tls_routes is not None:
|
|
@@ -770,15 +770,15 @@ class RolloutSpecTrafficIstioVirtualService(dict):
|
|
|
770
770
|
if virtual_service_routes is not None:
|
|
771
771
|
pulumi.set(__self__, "virtual_service_routes", virtual_service_routes)
|
|
772
772
|
|
|
773
|
-
@property
|
|
773
|
+
@_builtins.property
|
|
774
774
|
@pulumi.getter(name="virtualServiceName")
|
|
775
|
-
def virtual_service_name(self) -> str:
|
|
775
|
+
def virtual_service_name(self) -> _builtins.str:
|
|
776
776
|
"""
|
|
777
777
|
Holds the name of the VirtualService.
|
|
778
778
|
"""
|
|
779
779
|
return pulumi.get(self, "virtual_service_name")
|
|
780
780
|
|
|
781
|
-
@property
|
|
781
|
+
@_builtins.property
|
|
782
782
|
@pulumi.getter(name="tlsRoutes")
|
|
783
783
|
def tls_routes(self) -> Optional[Sequence['outputs.RolloutSpecTrafficIstioVirtualServiceTlsRoute']]:
|
|
784
784
|
"""
|
|
@@ -786,9 +786,9 @@ class RolloutSpecTrafficIstioVirtualService(dict):
|
|
|
786
786
|
"""
|
|
787
787
|
return pulumi.get(self, "tls_routes")
|
|
788
788
|
|
|
789
|
-
@property
|
|
789
|
+
@_builtins.property
|
|
790
790
|
@pulumi.getter(name="virtualServiceRoutes")
|
|
791
|
-
def virtual_service_routes(self) -> Optional[Sequence[str]]:
|
|
791
|
+
def virtual_service_routes(self) -> Optional[Sequence[_builtins.str]]:
|
|
792
792
|
"""
|
|
793
793
|
A list of HTTP routes within VirtualService.
|
|
794
794
|
"""
|
|
@@ -815,28 +815,28 @@ class RolloutSpecTrafficIstioVirtualServiceTlsRoute(dict):
|
|
|
815
815
|
return super().get(key, default)
|
|
816
816
|
|
|
817
817
|
def __init__(__self__, *,
|
|
818
|
-
port: Optional[int] = None,
|
|
819
|
-
sni_hosts: Optional[Sequence[str]] = None):
|
|
818
|
+
port: Optional[_builtins.int] = None,
|
|
819
|
+
sni_hosts: Optional[Sequence[_builtins.str]] = None):
|
|
820
820
|
"""
|
|
821
|
-
:param int port: The port of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
822
|
-
:param Sequence[str] sni_hosts: A list of all the SNI Hosts of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
821
|
+
:param _builtins.int port: The port of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
822
|
+
:param Sequence[_builtins.str] sni_hosts: A list of all the SNI Hosts of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
823
823
|
"""
|
|
824
824
|
if port is not None:
|
|
825
825
|
pulumi.set(__self__, "port", port)
|
|
826
826
|
if sni_hosts is not None:
|
|
827
827
|
pulumi.set(__self__, "sni_hosts", sni_hosts)
|
|
828
828
|
|
|
829
|
-
@property
|
|
829
|
+
@_builtins.property
|
|
830
830
|
@pulumi.getter
|
|
831
|
-
def port(self) -> Optional[int]:
|
|
831
|
+
def port(self) -> Optional[_builtins.int]:
|
|
832
832
|
"""
|
|
833
833
|
The port of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
834
834
|
"""
|
|
835
835
|
return pulumi.get(self, "port")
|
|
836
836
|
|
|
837
|
-
@property
|
|
837
|
+
@_builtins.property
|
|
838
838
|
@pulumi.getter(name="sniHosts")
|
|
839
|
-
def sni_hosts(self) -> Optional[Sequence[str]]:
|
|
839
|
+
def sni_hosts(self) -> Optional[Sequence[_builtins.str]]:
|
|
840
840
|
"""
|
|
841
841
|
A list of all the SNI Hosts of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
842
842
|
"""
|
|
@@ -867,13 +867,13 @@ class RolloutSpecTrafficNginx(dict):
|
|
|
867
867
|
return super().get(key, default)
|
|
868
868
|
|
|
869
869
|
def __init__(__self__, *,
|
|
870
|
-
stable_ingress: str,
|
|
870
|
+
stable_ingress: _builtins.str,
|
|
871
871
|
additional_ingress_annotation: Optional['outputs.RolloutSpecTrafficNginxAdditionalIngressAnnotation'] = None,
|
|
872
|
-
nginx_annotation_prefix: Optional[str] = None):
|
|
872
|
+
nginx_annotation_prefix: Optional[_builtins.str] = None):
|
|
873
873
|
"""
|
|
874
|
-
:param str stable_ingress: Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
874
|
+
:param _builtins.str stable_ingress: Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
875
875
|
:param 'RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs' additional_ingress_annotation: Provides additional features to add to the canary ingress (such as routing by header, cookie, etc). You can add these Kubernetes annotations to specific Ingress objects to customize their behavior. Above are found examples of accepted k8s keys.For the full list of supported keys, you may reach the following documentation - https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#canary.
|
|
876
|
-
:param str nginx_annotation_prefix: Has to match the configured annotation prefix on the Nginx ingress controller.
|
|
876
|
+
:param _builtins.str nginx_annotation_prefix: Has to match the configured annotation prefix on the Nginx ingress controller.
|
|
877
877
|
"""
|
|
878
878
|
pulumi.set(__self__, "stable_ingress", stable_ingress)
|
|
879
879
|
if additional_ingress_annotation is not None:
|
|
@@ -881,15 +881,15 @@ class RolloutSpecTrafficNginx(dict):
|
|
|
881
881
|
if nginx_annotation_prefix is not None:
|
|
882
882
|
pulumi.set(__self__, "nginx_annotation_prefix", nginx_annotation_prefix)
|
|
883
883
|
|
|
884
|
-
@property
|
|
884
|
+
@_builtins.property
|
|
885
885
|
@pulumi.getter(name="stableIngress")
|
|
886
|
-
def stable_ingress(self) -> str:
|
|
886
|
+
def stable_ingress(self) -> _builtins.str:
|
|
887
887
|
"""
|
|
888
888
|
Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
889
889
|
"""
|
|
890
890
|
return pulumi.get(self, "stable_ingress")
|
|
891
891
|
|
|
892
|
-
@property
|
|
892
|
+
@_builtins.property
|
|
893
893
|
@pulumi.getter(name="additionalIngressAnnotation")
|
|
894
894
|
def additional_ingress_annotation(self) -> Optional['outputs.RolloutSpecTrafficNginxAdditionalIngressAnnotation']:
|
|
895
895
|
"""
|
|
@@ -897,9 +897,9 @@ class RolloutSpecTrafficNginx(dict):
|
|
|
897
897
|
"""
|
|
898
898
|
return pulumi.get(self, "additional_ingress_annotation")
|
|
899
899
|
|
|
900
|
-
@property
|
|
900
|
+
@_builtins.property
|
|
901
901
|
@pulumi.getter(name="nginxAnnotationPrefix")
|
|
902
|
-
def nginx_annotation_prefix(self) -> Optional[str]:
|
|
902
|
+
def nginx_annotation_prefix(self) -> Optional[_builtins.str]:
|
|
903
903
|
"""
|
|
904
904
|
Has to match the configured annotation prefix on the Nginx ingress controller.
|
|
905
905
|
"""
|
|
@@ -926,28 +926,28 @@ class RolloutSpecTrafficNginxAdditionalIngressAnnotation(dict):
|
|
|
926
926
|
return super().get(key, default)
|
|
927
927
|
|
|
928
928
|
def __init__(__self__, *,
|
|
929
|
-
canary_by_header: Optional[str] = None,
|
|
930
|
-
key1: Optional[str] = None):
|
|
929
|
+
canary_by_header: Optional[_builtins.str] = None,
|
|
930
|
+
key1: Optional[_builtins.str] = None):
|
|
931
931
|
"""
|
|
932
|
-
:param str canary_by_header: Allows customizing the header value instead of using hardcoded values.
|
|
933
|
-
:param str key1: Any of supported annotations.
|
|
932
|
+
:param _builtins.str canary_by_header: Allows customizing the header value instead of using hardcoded values.
|
|
933
|
+
:param _builtins.str key1: Any of supported annotations.
|
|
934
934
|
"""
|
|
935
935
|
if canary_by_header is not None:
|
|
936
936
|
pulumi.set(__self__, "canary_by_header", canary_by_header)
|
|
937
937
|
if key1 is not None:
|
|
938
938
|
pulumi.set(__self__, "key1", key1)
|
|
939
939
|
|
|
940
|
-
@property
|
|
940
|
+
@_builtins.property
|
|
941
941
|
@pulumi.getter(name="canaryByHeader")
|
|
942
|
-
def canary_by_header(self) -> Optional[str]:
|
|
942
|
+
def canary_by_header(self) -> Optional[_builtins.str]:
|
|
943
943
|
"""
|
|
944
944
|
Allows customizing the header value instead of using hardcoded values.
|
|
945
945
|
"""
|
|
946
946
|
return pulumi.get(self, "canary_by_header")
|
|
947
947
|
|
|
948
|
-
@property
|
|
948
|
+
@_builtins.property
|
|
949
949
|
@pulumi.getter
|
|
950
|
-
def key1(self) -> Optional[str]:
|
|
950
|
+
def key1(self) -> Optional[_builtins.str]:
|
|
951
951
|
"""
|
|
952
952
|
Any of supported annotations.
|
|
953
953
|
"""
|
|
@@ -976,26 +976,26 @@ class RolloutSpecTrafficPingPong(dict):
|
|
|
976
976
|
return super().get(key, default)
|
|
977
977
|
|
|
978
978
|
def __init__(__self__, *,
|
|
979
|
-
ping_service: str,
|
|
980
|
-
pong_service: str):
|
|
979
|
+
ping_service: _builtins.str,
|
|
980
|
+
pong_service: _builtins.str):
|
|
981
981
|
"""
|
|
982
|
-
:param str ping_service: Holds the name of the ping service.
|
|
983
|
-
:param str pong_service: Holds the name of the pong service.
|
|
982
|
+
:param _builtins.str ping_service: Holds the name of the ping service.
|
|
983
|
+
:param _builtins.str pong_service: Holds the name of the pong service.
|
|
984
984
|
"""
|
|
985
985
|
pulumi.set(__self__, "ping_service", ping_service)
|
|
986
986
|
pulumi.set(__self__, "pong_service", pong_service)
|
|
987
987
|
|
|
988
|
-
@property
|
|
988
|
+
@_builtins.property
|
|
989
989
|
@pulumi.getter(name="pingService")
|
|
990
|
-
def ping_service(self) -> str:
|
|
990
|
+
def ping_service(self) -> _builtins.str:
|
|
991
991
|
"""
|
|
992
992
|
Holds the name of the ping service.
|
|
993
993
|
"""
|
|
994
994
|
return pulumi.get(self, "ping_service")
|
|
995
995
|
|
|
996
|
-
@property
|
|
996
|
+
@_builtins.property
|
|
997
997
|
@pulumi.getter(name="pongService")
|
|
998
|
-
def pong_service(self) -> str:
|
|
998
|
+
def pong_service(self) -> _builtins.str:
|
|
999
999
|
"""
|
|
1000
1000
|
Holds the name of the pong service.
|
|
1001
1001
|
"""
|
|
@@ -1024,28 +1024,28 @@ class RolloutSpecTrafficSmi(dict):
|
|
|
1024
1024
|
return super().get(key, default)
|
|
1025
1025
|
|
|
1026
1026
|
def __init__(__self__, *,
|
|
1027
|
-
smi_root_service: Optional[str] = None,
|
|
1028
|
-
traffic_split_name: Optional[str] = None):
|
|
1027
|
+
smi_root_service: Optional[_builtins.str] = None,
|
|
1028
|
+
traffic_split_name: Optional[_builtins.str] = None):
|
|
1029
1029
|
"""
|
|
1030
|
-
:param str smi_root_service: Holds the name of service that clients use to communicate.
|
|
1031
|
-
:param str traffic_split_name: Holds the name of the TrafficSplit.
|
|
1030
|
+
:param _builtins.str smi_root_service: Holds the name of service that clients use to communicate.
|
|
1031
|
+
:param _builtins.str traffic_split_name: Holds the name of the TrafficSplit.
|
|
1032
1032
|
"""
|
|
1033
1033
|
if smi_root_service is not None:
|
|
1034
1034
|
pulumi.set(__self__, "smi_root_service", smi_root_service)
|
|
1035
1035
|
if traffic_split_name is not None:
|
|
1036
1036
|
pulumi.set(__self__, "traffic_split_name", traffic_split_name)
|
|
1037
1037
|
|
|
1038
|
-
@property
|
|
1038
|
+
@_builtins.property
|
|
1039
1039
|
@pulumi.getter(name="smiRootService")
|
|
1040
|
-
def smi_root_service(self) -> Optional[str]:
|
|
1040
|
+
def smi_root_service(self) -> Optional[_builtins.str]:
|
|
1041
1041
|
"""
|
|
1042
1042
|
Holds the name of service that clients use to communicate.
|
|
1043
1043
|
"""
|
|
1044
1044
|
return pulumi.get(self, "smi_root_service")
|
|
1045
1045
|
|
|
1046
|
-
@property
|
|
1046
|
+
@_builtins.property
|
|
1047
1047
|
@pulumi.getter(name="trafficSplitName")
|
|
1048
|
-
def traffic_split_name(self) -> Optional[str]:
|
|
1048
|
+
def traffic_split_name(self) -> Optional[_builtins.str]:
|
|
1049
1049
|
"""
|
|
1050
1050
|
Holds the name of the TrafficSplit.
|
|
1051
1051
|
"""
|
|
@@ -1082,7 +1082,7 @@ class StrategyCanary(dict):
|
|
|
1082
1082
|
if background_verification is not None:
|
|
1083
1083
|
pulumi.set(__self__, "background_verification", background_verification)
|
|
1084
1084
|
|
|
1085
|
-
@property
|
|
1085
|
+
@_builtins.property
|
|
1086
1086
|
@pulumi.getter
|
|
1087
1087
|
def steps(self) -> Sequence['outputs.StrategyCanaryStep']:
|
|
1088
1088
|
"""
|
|
@@ -1090,7 +1090,7 @@ class StrategyCanary(dict):
|
|
|
1090
1090
|
"""
|
|
1091
1091
|
return pulumi.get(self, "steps")
|
|
1092
1092
|
|
|
1093
|
-
@property
|
|
1093
|
+
@_builtins.property
|
|
1094
1094
|
@pulumi.getter(name="backgroundVerification")
|
|
1095
1095
|
def background_verification(self) -> Optional['outputs.StrategyCanaryBackgroundVerification']:
|
|
1096
1096
|
"""
|
|
@@ -1119,15 +1119,15 @@ class StrategyCanaryBackgroundVerification(dict):
|
|
|
1119
1119
|
return super().get(key, default)
|
|
1120
1120
|
|
|
1121
1121
|
def __init__(__self__, *,
|
|
1122
|
-
template_names: Sequence[str]):
|
|
1122
|
+
template_names: Sequence[_builtins.str]):
|
|
1123
1123
|
"""
|
|
1124
|
-
:param Sequence[str] template_names: List of Verification Template names.
|
|
1124
|
+
:param Sequence[_builtins.str] template_names: List of Verification Template names.
|
|
1125
1125
|
"""
|
|
1126
1126
|
pulumi.set(__self__, "template_names", template_names)
|
|
1127
1127
|
|
|
1128
|
-
@property
|
|
1128
|
+
@_builtins.property
|
|
1129
1129
|
@pulumi.getter(name="templateNames")
|
|
1130
|
-
def template_names(self) -> Sequence[str]:
|
|
1130
|
+
def template_names(self) -> Sequence[_builtins.str]:
|
|
1131
1131
|
"""
|
|
1132
1132
|
List of Verification Template names.
|
|
1133
1133
|
"""
|
|
@@ -1163,14 +1163,14 @@ class StrategyCanaryStep(dict):
|
|
|
1163
1163
|
pause: Optional['outputs.StrategyCanaryStepPause'] = None,
|
|
1164
1164
|
set_canary_scale: Optional['outputs.StrategyCanaryStepSetCanaryScale'] = None,
|
|
1165
1165
|
set_header_route: Optional['outputs.StrategyCanaryStepSetHeaderRoute'] = None,
|
|
1166
|
-
set_weight: Optional[int] = None,
|
|
1167
|
-
step_name: Optional[str] = None,
|
|
1166
|
+
set_weight: Optional[_builtins.int] = None,
|
|
1167
|
+
step_name: Optional[_builtins.str] = None,
|
|
1168
1168
|
verification: Optional['outputs.StrategyCanaryStepVerification'] = None):
|
|
1169
1169
|
"""
|
|
1170
1170
|
:param 'StrategyCanaryStepPauseArgs' pause: Defines the duration of time to freeze the rollout.
|
|
1171
1171
|
:param 'StrategyCanaryStepSetCanaryScaleArgs' set_canary_scale: Defines how to scale the version without traffic weight changing.
|
|
1172
1172
|
:param 'StrategyCanaryStepSetHeaderRouteArgs' set_header_route: Defines the list of HeaderRoutes to add to the Rollout.
|
|
1173
|
-
:param int set_weight: Defines the percentage that the new version should receive.
|
|
1173
|
+
:param _builtins.int set_weight: Defines the percentage that the new version should receive.
|
|
1174
1174
|
:param 'StrategyCanaryStepVerificationArgs' verification: Represents the list of verifications to run in a step.
|
|
1175
1175
|
"""
|
|
1176
1176
|
if pause is not None:
|
|
@@ -1186,7 +1186,7 @@ class StrategyCanaryStep(dict):
|
|
|
1186
1186
|
if verification is not None:
|
|
1187
1187
|
pulumi.set(__self__, "verification", verification)
|
|
1188
1188
|
|
|
1189
|
-
@property
|
|
1189
|
+
@_builtins.property
|
|
1190
1190
|
@pulumi.getter
|
|
1191
1191
|
def pause(self) -> Optional['outputs.StrategyCanaryStepPause']:
|
|
1192
1192
|
"""
|
|
@@ -1194,7 +1194,7 @@ class StrategyCanaryStep(dict):
|
|
|
1194
1194
|
"""
|
|
1195
1195
|
return pulumi.get(self, "pause")
|
|
1196
1196
|
|
|
1197
|
-
@property
|
|
1197
|
+
@_builtins.property
|
|
1198
1198
|
@pulumi.getter(name="setCanaryScale")
|
|
1199
1199
|
def set_canary_scale(self) -> Optional['outputs.StrategyCanaryStepSetCanaryScale']:
|
|
1200
1200
|
"""
|
|
@@ -1202,7 +1202,7 @@ class StrategyCanaryStep(dict):
|
|
|
1202
1202
|
"""
|
|
1203
1203
|
return pulumi.get(self, "set_canary_scale")
|
|
1204
1204
|
|
|
1205
|
-
@property
|
|
1205
|
+
@_builtins.property
|
|
1206
1206
|
@pulumi.getter(name="setHeaderRoute")
|
|
1207
1207
|
def set_header_route(self) -> Optional['outputs.StrategyCanaryStepSetHeaderRoute']:
|
|
1208
1208
|
"""
|
|
@@ -1210,20 +1210,20 @@ class StrategyCanaryStep(dict):
|
|
|
1210
1210
|
"""
|
|
1211
1211
|
return pulumi.get(self, "set_header_route")
|
|
1212
1212
|
|
|
1213
|
-
@property
|
|
1213
|
+
@_builtins.property
|
|
1214
1214
|
@pulumi.getter(name="setWeight")
|
|
1215
|
-
def set_weight(self) -> Optional[int]:
|
|
1215
|
+
def set_weight(self) -> Optional[_builtins.int]:
|
|
1216
1216
|
"""
|
|
1217
1217
|
Defines the percentage that the new version should receive.
|
|
1218
1218
|
"""
|
|
1219
1219
|
return pulumi.get(self, "set_weight")
|
|
1220
1220
|
|
|
1221
|
-
@property
|
|
1221
|
+
@_builtins.property
|
|
1222
1222
|
@pulumi.getter(name="stepName")
|
|
1223
|
-
def step_name(self) -> Optional[str]:
|
|
1223
|
+
def step_name(self) -> Optional[_builtins.str]:
|
|
1224
1224
|
return pulumi.get(self, "step_name")
|
|
1225
1225
|
|
|
1226
|
-
@property
|
|
1226
|
+
@_builtins.property
|
|
1227
1227
|
@pulumi.getter
|
|
1228
1228
|
def verification(self) -> Optional['outputs.StrategyCanaryStepVerification']:
|
|
1229
1229
|
"""
|
|
@@ -1235,16 +1235,16 @@ class StrategyCanaryStep(dict):
|
|
|
1235
1235
|
@pulumi.output_type
|
|
1236
1236
|
class StrategyCanaryStepPause(dict):
|
|
1237
1237
|
def __init__(__self__, *,
|
|
1238
|
-
duration: Optional[str] = None):
|
|
1238
|
+
duration: Optional[_builtins.str] = None):
|
|
1239
1239
|
"""
|
|
1240
|
-
:param str duration: The amount of time to wait before moving to the next step.
|
|
1240
|
+
:param _builtins.str duration: The amount of time to wait before moving to the next step.
|
|
1241
1241
|
"""
|
|
1242
1242
|
if duration is not None:
|
|
1243
1243
|
pulumi.set(__self__, "duration", duration)
|
|
1244
1244
|
|
|
1245
|
-
@property
|
|
1245
|
+
@_builtins.property
|
|
1246
1246
|
@pulumi.getter
|
|
1247
|
-
def duration(self) -> Optional[str]:
|
|
1247
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
1248
1248
|
"""
|
|
1249
1249
|
The amount of time to wait before moving to the next step.
|
|
1250
1250
|
"""
|
|
@@ -1271,13 +1271,13 @@ class StrategyCanaryStepSetCanaryScale(dict):
|
|
|
1271
1271
|
return super().get(key, default)
|
|
1272
1272
|
|
|
1273
1273
|
def __init__(__self__, *,
|
|
1274
|
-
match_traffic_weight: Optional[bool] = None,
|
|
1275
|
-
replicas: Optional[int] = None,
|
|
1276
|
-
weight: Optional[int] = None):
|
|
1274
|
+
match_traffic_weight: Optional[_builtins.bool] = None,
|
|
1275
|
+
replicas: Optional[_builtins.int] = None,
|
|
1276
|
+
weight: Optional[_builtins.int] = None):
|
|
1277
1277
|
"""
|
|
1278
|
-
:param bool match_traffic_weight: Defines whether a rollout should match the current canary's setWeight step.
|
|
1279
|
-
:param int replicas: Sets the number of replicas the new version should have.
|
|
1280
|
-
:param int weight: Sets the percentage of replicas the new version should have.
|
|
1278
|
+
:param _builtins.bool match_traffic_weight: Defines whether a rollout should match the current canary's setWeight step.
|
|
1279
|
+
:param _builtins.int replicas: Sets the number of replicas the new version should have.
|
|
1280
|
+
:param _builtins.int weight: Sets the percentage of replicas the new version should have.
|
|
1281
1281
|
"""
|
|
1282
1282
|
if match_traffic_weight is not None:
|
|
1283
1283
|
pulumi.set(__self__, "match_traffic_weight", match_traffic_weight)
|
|
@@ -1286,25 +1286,25 @@ class StrategyCanaryStepSetCanaryScale(dict):
|
|
|
1286
1286
|
if weight is not None:
|
|
1287
1287
|
pulumi.set(__self__, "weight", weight)
|
|
1288
1288
|
|
|
1289
|
-
@property
|
|
1289
|
+
@_builtins.property
|
|
1290
1290
|
@pulumi.getter(name="matchTrafficWeight")
|
|
1291
|
-
def match_traffic_weight(self) -> Optional[bool]:
|
|
1291
|
+
def match_traffic_weight(self) -> Optional[_builtins.bool]:
|
|
1292
1292
|
"""
|
|
1293
1293
|
Defines whether a rollout should match the current canary's setWeight step.
|
|
1294
1294
|
"""
|
|
1295
1295
|
return pulumi.get(self, "match_traffic_weight")
|
|
1296
1296
|
|
|
1297
|
-
@property
|
|
1297
|
+
@_builtins.property
|
|
1298
1298
|
@pulumi.getter
|
|
1299
|
-
def replicas(self) -> Optional[int]:
|
|
1299
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
1300
1300
|
"""
|
|
1301
1301
|
Sets the number of replicas the new version should have.
|
|
1302
1302
|
"""
|
|
1303
1303
|
return pulumi.get(self, "replicas")
|
|
1304
1304
|
|
|
1305
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1306
1306
|
@pulumi.getter
|
|
1307
|
-
def weight(self) -> Optional[int]:
|
|
1307
|
+
def weight(self) -> Optional[_builtins.int]:
|
|
1308
1308
|
"""
|
|
1309
1309
|
Sets the percentage of replicas the new version should have.
|
|
1310
1310
|
"""
|
|
@@ -1331,24 +1331,24 @@ class StrategyCanaryStepSetHeaderRoute(dict):
|
|
|
1331
1331
|
return super().get(key, default)
|
|
1332
1332
|
|
|
1333
1333
|
def __init__(__self__, *,
|
|
1334
|
-
header_route_name: str,
|
|
1334
|
+
header_route_name: _builtins.str,
|
|
1335
1335
|
matches: Sequence['outputs.StrategyCanaryStepSetHeaderRouteMatch']):
|
|
1336
1336
|
"""
|
|
1337
|
-
:param str header_route_name: The name of the HeaderRoute group.
|
|
1337
|
+
:param _builtins.str header_route_name: The name of the HeaderRoute group.
|
|
1338
1338
|
:param Sequence['StrategyCanaryStepSetHeaderRouteMatchArgs'] matches: The matching rules for the header route.
|
|
1339
1339
|
"""
|
|
1340
1340
|
pulumi.set(__self__, "header_route_name", header_route_name)
|
|
1341
1341
|
pulumi.set(__self__, "matches", matches)
|
|
1342
1342
|
|
|
1343
|
-
@property
|
|
1343
|
+
@_builtins.property
|
|
1344
1344
|
@pulumi.getter(name="headerRouteName")
|
|
1345
|
-
def header_route_name(self) -> str:
|
|
1345
|
+
def header_route_name(self) -> _builtins.str:
|
|
1346
1346
|
"""
|
|
1347
1347
|
The name of the HeaderRoute group.
|
|
1348
1348
|
"""
|
|
1349
1349
|
return pulumi.get(self, "header_route_name")
|
|
1350
1350
|
|
|
1351
|
-
@property
|
|
1351
|
+
@_builtins.property
|
|
1352
1352
|
@pulumi.getter
|
|
1353
1353
|
def matches(self) -> Sequence['outputs.StrategyCanaryStepSetHeaderRouteMatch']:
|
|
1354
1354
|
"""
|
|
@@ -1379,24 +1379,24 @@ class StrategyCanaryStepSetHeaderRouteMatch(dict):
|
|
|
1379
1379
|
return super().get(key, default)
|
|
1380
1380
|
|
|
1381
1381
|
def __init__(__self__, *,
|
|
1382
|
-
header_name: str,
|
|
1382
|
+
header_name: _builtins.str,
|
|
1383
1383
|
header_value: 'outputs.StrategyCanaryStepSetHeaderRouteMatchHeaderValue'):
|
|
1384
1384
|
"""
|
|
1385
|
-
:param str header_name: The name of the header.
|
|
1385
|
+
:param _builtins.str header_name: The name of the header.
|
|
1386
1386
|
:param 'StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs' header_value: Defines a single header to add to the Rollout. Must be only one initialized from the following (exact, prefix, regex).
|
|
1387
1387
|
"""
|
|
1388
1388
|
pulumi.set(__self__, "header_name", header_name)
|
|
1389
1389
|
pulumi.set(__self__, "header_value", header_value)
|
|
1390
1390
|
|
|
1391
|
-
@property
|
|
1391
|
+
@_builtins.property
|
|
1392
1392
|
@pulumi.getter(name="headerName")
|
|
1393
|
-
def header_name(self) -> str:
|
|
1393
|
+
def header_name(self) -> _builtins.str:
|
|
1394
1394
|
"""
|
|
1395
1395
|
The name of the header.
|
|
1396
1396
|
"""
|
|
1397
1397
|
return pulumi.get(self, "header_name")
|
|
1398
1398
|
|
|
1399
|
-
@property
|
|
1399
|
+
@_builtins.property
|
|
1400
1400
|
@pulumi.getter(name="headerValue")
|
|
1401
1401
|
def header_value(self) -> 'outputs.StrategyCanaryStepSetHeaderRouteMatchHeaderValue':
|
|
1402
1402
|
"""
|
|
@@ -1408,13 +1408,13 @@ class StrategyCanaryStepSetHeaderRouteMatch(dict):
|
|
|
1408
1408
|
@pulumi.output_type
|
|
1409
1409
|
class StrategyCanaryStepSetHeaderRouteMatchHeaderValue(dict):
|
|
1410
1410
|
def __init__(__self__, *,
|
|
1411
|
-
exact: Optional[str] = None,
|
|
1412
|
-
prefix: Optional[str] = None,
|
|
1413
|
-
regex: Optional[str] = None):
|
|
1411
|
+
exact: Optional[_builtins.str] = None,
|
|
1412
|
+
prefix: Optional[_builtins.str] = None,
|
|
1413
|
+
regex: Optional[_builtins.str] = None):
|
|
1414
1414
|
"""
|
|
1415
|
-
:param str exact: The exact header value.
|
|
1416
|
-
:param str prefix: The prefix of the value.
|
|
1417
|
-
:param str regex: The value in a regex format.
|
|
1415
|
+
:param _builtins.str exact: The exact header value.
|
|
1416
|
+
:param _builtins.str prefix: The prefix of the value.
|
|
1417
|
+
:param _builtins.str regex: The value in a regex format.
|
|
1418
1418
|
"""
|
|
1419
1419
|
if exact is not None:
|
|
1420
1420
|
pulumi.set(__self__, "exact", exact)
|
|
@@ -1423,25 +1423,25 @@ class StrategyCanaryStepSetHeaderRouteMatchHeaderValue(dict):
|
|
|
1423
1423
|
if regex is not None:
|
|
1424
1424
|
pulumi.set(__self__, "regex", regex)
|
|
1425
1425
|
|
|
1426
|
-
@property
|
|
1426
|
+
@_builtins.property
|
|
1427
1427
|
@pulumi.getter
|
|
1428
|
-
def exact(self) -> Optional[str]:
|
|
1428
|
+
def exact(self) -> Optional[_builtins.str]:
|
|
1429
1429
|
"""
|
|
1430
1430
|
The exact header value.
|
|
1431
1431
|
"""
|
|
1432
1432
|
return pulumi.get(self, "exact")
|
|
1433
1433
|
|
|
1434
|
-
@property
|
|
1434
|
+
@_builtins.property
|
|
1435
1435
|
@pulumi.getter
|
|
1436
|
-
def prefix(self) -> Optional[str]:
|
|
1436
|
+
def prefix(self) -> Optional[_builtins.str]:
|
|
1437
1437
|
"""
|
|
1438
1438
|
The prefix of the value.
|
|
1439
1439
|
"""
|
|
1440
1440
|
return pulumi.get(self, "prefix")
|
|
1441
1441
|
|
|
1442
|
-
@property
|
|
1442
|
+
@_builtins.property
|
|
1443
1443
|
@pulumi.getter
|
|
1444
|
-
def regex(self) -> Optional[str]:
|
|
1444
|
+
def regex(self) -> Optional[_builtins.str]:
|
|
1445
1445
|
"""
|
|
1446
1446
|
The value in a regex format.
|
|
1447
1447
|
"""
|
|
@@ -1468,15 +1468,15 @@ class StrategyCanaryStepVerification(dict):
|
|
|
1468
1468
|
return super().get(key, default)
|
|
1469
1469
|
|
|
1470
1470
|
def __init__(__self__, *,
|
|
1471
|
-
template_names: Sequence[str]):
|
|
1471
|
+
template_names: Sequence[_builtins.str]):
|
|
1472
1472
|
"""
|
|
1473
|
-
:param Sequence[str] template_names: List of Verification Template names.
|
|
1473
|
+
:param Sequence[_builtins.str] template_names: List of Verification Template names.
|
|
1474
1474
|
"""
|
|
1475
1475
|
pulumi.set(__self__, "template_names", template_names)
|
|
1476
1476
|
|
|
1477
|
-
@property
|
|
1477
|
+
@_builtins.property
|
|
1478
1478
|
@pulumi.getter(name="templateNames")
|
|
1479
|
-
def template_names(self) -> Sequence[str]:
|
|
1479
|
+
def template_names(self) -> Sequence[_builtins.str]:
|
|
1480
1480
|
"""
|
|
1481
1481
|
List of Verification Template names.
|
|
1482
1482
|
"""
|
|
@@ -1492,7 +1492,7 @@ class StrategyRolling(dict):
|
|
|
1492
1492
|
"""
|
|
1493
1493
|
pulumi.set(__self__, "steps", steps)
|
|
1494
1494
|
|
|
1495
|
-
@property
|
|
1495
|
+
@_builtins.property
|
|
1496
1496
|
@pulumi.getter
|
|
1497
1497
|
def steps(self) -> Sequence['outputs.StrategyRollingStep']:
|
|
1498
1498
|
"""
|
|
@@ -1522,7 +1522,7 @@ class StrategyRollingStep(dict):
|
|
|
1522
1522
|
|
|
1523
1523
|
def __init__(__self__, *,
|
|
1524
1524
|
pause: Optional['outputs.StrategyRollingStepPause'] = None,
|
|
1525
|
-
steps_name: Optional[str] = None,
|
|
1525
|
+
steps_name: Optional[_builtins.str] = None,
|
|
1526
1526
|
verification: Optional['outputs.StrategyRollingStepVerification'] = None):
|
|
1527
1527
|
"""
|
|
1528
1528
|
:param 'StrategyRollingStepPauseArgs' pause: Defines the duration of time to freeze the rollout.
|
|
@@ -1535,7 +1535,7 @@ class StrategyRollingStep(dict):
|
|
|
1535
1535
|
if verification is not None:
|
|
1536
1536
|
pulumi.set(__self__, "verification", verification)
|
|
1537
1537
|
|
|
1538
|
-
@property
|
|
1538
|
+
@_builtins.property
|
|
1539
1539
|
@pulumi.getter
|
|
1540
1540
|
def pause(self) -> Optional['outputs.StrategyRollingStepPause']:
|
|
1541
1541
|
"""
|
|
@@ -1543,12 +1543,12 @@ class StrategyRollingStep(dict):
|
|
|
1543
1543
|
"""
|
|
1544
1544
|
return pulumi.get(self, "pause")
|
|
1545
1545
|
|
|
1546
|
-
@property
|
|
1546
|
+
@_builtins.property
|
|
1547
1547
|
@pulumi.getter(name="stepsName")
|
|
1548
|
-
def steps_name(self) -> Optional[str]:
|
|
1548
|
+
def steps_name(self) -> Optional[_builtins.str]:
|
|
1549
1549
|
return pulumi.get(self, "steps_name")
|
|
1550
1550
|
|
|
1551
|
-
@property
|
|
1551
|
+
@_builtins.property
|
|
1552
1552
|
@pulumi.getter
|
|
1553
1553
|
def verification(self) -> Optional['outputs.StrategyRollingStepVerification']:
|
|
1554
1554
|
"""
|
|
@@ -1560,16 +1560,16 @@ class StrategyRollingStep(dict):
|
|
|
1560
1560
|
@pulumi.output_type
|
|
1561
1561
|
class StrategyRollingStepPause(dict):
|
|
1562
1562
|
def __init__(__self__, *,
|
|
1563
|
-
duration: Optional[str] = None):
|
|
1563
|
+
duration: Optional[_builtins.str] = None):
|
|
1564
1564
|
"""
|
|
1565
|
-
:param str duration: The amount of time to wait before moving to the next step.
|
|
1565
|
+
:param _builtins.str duration: The amount of time to wait before moving to the next step.
|
|
1566
1566
|
"""
|
|
1567
1567
|
if duration is not None:
|
|
1568
1568
|
pulumi.set(__self__, "duration", duration)
|
|
1569
1569
|
|
|
1570
|
-
@property
|
|
1570
|
+
@_builtins.property
|
|
1571
1571
|
@pulumi.getter
|
|
1572
|
-
def duration(self) -> Optional[str]:
|
|
1572
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
1573
1573
|
"""
|
|
1574
1574
|
The amount of time to wait before moving to the next step.
|
|
1575
1575
|
"""
|
|
@@ -1596,15 +1596,15 @@ class StrategyRollingStepVerification(dict):
|
|
|
1596
1596
|
return super().get(key, default)
|
|
1597
1597
|
|
|
1598
1598
|
def __init__(__self__, *,
|
|
1599
|
-
template_names: Sequence[str]):
|
|
1599
|
+
template_names: Sequence[_builtins.str]):
|
|
1600
1600
|
"""
|
|
1601
|
-
:param Sequence[str] template_names: List of Verification Template names.
|
|
1601
|
+
:param Sequence[_builtins.str] template_names: List of Verification Template names.
|
|
1602
1602
|
"""
|
|
1603
1603
|
pulumi.set(__self__, "template_names", template_names)
|
|
1604
1604
|
|
|
1605
|
-
@property
|
|
1605
|
+
@_builtins.property
|
|
1606
1606
|
@pulumi.getter(name="templateNames")
|
|
1607
|
-
def template_names(self) -> Sequence[str]:
|
|
1607
|
+
def template_names(self) -> Sequence[_builtins.str]:
|
|
1608
1608
|
"""
|
|
1609
1609
|
List of Verification Template names.
|
|
1610
1610
|
"""
|
|
@@ -1631,15 +1631,15 @@ class VerificationProviderCloudWatch(dict):
|
|
|
1631
1631
|
return super().get(key, default)
|
|
1632
1632
|
|
|
1633
1633
|
def __init__(__self__, *,
|
|
1634
|
-
iam_arn: str):
|
|
1634
|
+
iam_arn: _builtins.str):
|
|
1635
1635
|
"""
|
|
1636
|
-
:param str iam_arn: Set label key.
|
|
1636
|
+
:param _builtins.str iam_arn: Set label key.
|
|
1637
1637
|
"""
|
|
1638
1638
|
pulumi.set(__self__, "iam_arn", iam_arn)
|
|
1639
1639
|
|
|
1640
|
-
@property
|
|
1640
|
+
@_builtins.property
|
|
1641
1641
|
@pulumi.getter(name="iamArn")
|
|
1642
|
-
def iam_arn(self) -> str:
|
|
1642
|
+
def iam_arn(self) -> _builtins.str:
|
|
1643
1643
|
"""
|
|
1644
1644
|
Set label key.
|
|
1645
1645
|
"""
|
|
@@ -1668,37 +1668,37 @@ class VerificationProviderDatadog(dict):
|
|
|
1668
1668
|
return super().get(key, default)
|
|
1669
1669
|
|
|
1670
1670
|
def __init__(__self__, *,
|
|
1671
|
-
address: str,
|
|
1672
|
-
api_key: str,
|
|
1673
|
-
app_key: str):
|
|
1671
|
+
address: _builtins.str,
|
|
1672
|
+
api_key: _builtins.str,
|
|
1673
|
+
app_key: _builtins.str):
|
|
1674
1674
|
"""
|
|
1675
|
-
:param str address: DataDog API URL.
|
|
1676
|
-
:param str api_key: API key required by the Datadog Agent to submit metrics and events to Datadog.
|
|
1677
|
-
:param str app_key: API key that gives users access to Datadog’s programmatic API.
|
|
1675
|
+
:param _builtins.str address: DataDog API URL.
|
|
1676
|
+
:param _builtins.str api_key: API key required by the Datadog Agent to submit metrics and events to Datadog.
|
|
1677
|
+
:param _builtins.str app_key: API key that gives users access to Datadog’s programmatic API.
|
|
1678
1678
|
"""
|
|
1679
1679
|
pulumi.set(__self__, "address", address)
|
|
1680
1680
|
pulumi.set(__self__, "api_key", api_key)
|
|
1681
1681
|
pulumi.set(__self__, "app_key", app_key)
|
|
1682
1682
|
|
|
1683
|
-
@property
|
|
1683
|
+
@_builtins.property
|
|
1684
1684
|
@pulumi.getter
|
|
1685
|
-
def address(self) -> str:
|
|
1685
|
+
def address(self) -> _builtins.str:
|
|
1686
1686
|
"""
|
|
1687
1687
|
DataDog API URL.
|
|
1688
1688
|
"""
|
|
1689
1689
|
return pulumi.get(self, "address")
|
|
1690
1690
|
|
|
1691
|
-
@property
|
|
1691
|
+
@_builtins.property
|
|
1692
1692
|
@pulumi.getter(name="apiKey")
|
|
1693
|
-
def api_key(self) -> str:
|
|
1693
|
+
def api_key(self) -> _builtins.str:
|
|
1694
1694
|
"""
|
|
1695
1695
|
API key required by the Datadog Agent to submit metrics and events to Datadog.
|
|
1696
1696
|
"""
|
|
1697
1697
|
return pulumi.get(self, "api_key")
|
|
1698
1698
|
|
|
1699
|
-
@property
|
|
1699
|
+
@_builtins.property
|
|
1700
1700
|
@pulumi.getter(name="appKey")
|
|
1701
|
-
def app_key(self) -> str:
|
|
1701
|
+
def app_key(self) -> _builtins.str:
|
|
1702
1702
|
"""
|
|
1703
1703
|
API key that gives users access to Datadog’s programmatic API.
|
|
1704
1704
|
"""
|
|
@@ -1727,37 +1727,37 @@ class VerificationProviderJenkins(dict):
|
|
|
1727
1727
|
return super().get(key, default)
|
|
1728
1728
|
|
|
1729
1729
|
def __init__(__self__, *,
|
|
1730
|
-
api_token: str,
|
|
1731
|
-
base_url: str,
|
|
1732
|
-
username: str):
|
|
1730
|
+
api_token: _builtins.str,
|
|
1731
|
+
base_url: _builtins.str,
|
|
1732
|
+
username: _builtins.str):
|
|
1733
1733
|
"""
|
|
1734
|
-
:param str api_token: The Jenkins server’s access apiToken.
|
|
1735
|
-
:param str base_url: The address of the Jenkins server within the cluster.
|
|
1736
|
-
:param str username: The Jenkins server’s access username.
|
|
1734
|
+
:param _builtins.str api_token: The Jenkins server’s access apiToken.
|
|
1735
|
+
:param _builtins.str base_url: The address of the Jenkins server within the cluster.
|
|
1736
|
+
:param _builtins.str username: The Jenkins server’s access username.
|
|
1737
1737
|
"""
|
|
1738
1738
|
pulumi.set(__self__, "api_token", api_token)
|
|
1739
1739
|
pulumi.set(__self__, "base_url", base_url)
|
|
1740
1740
|
pulumi.set(__self__, "username", username)
|
|
1741
1741
|
|
|
1742
|
-
@property
|
|
1742
|
+
@_builtins.property
|
|
1743
1743
|
@pulumi.getter(name="apiToken")
|
|
1744
|
-
def api_token(self) -> str:
|
|
1744
|
+
def api_token(self) -> _builtins.str:
|
|
1745
1745
|
"""
|
|
1746
1746
|
The Jenkins server’s access apiToken.
|
|
1747
1747
|
"""
|
|
1748
1748
|
return pulumi.get(self, "api_token")
|
|
1749
1749
|
|
|
1750
|
-
@property
|
|
1750
|
+
@_builtins.property
|
|
1751
1751
|
@pulumi.getter(name="baseUrl")
|
|
1752
|
-
def base_url(self) -> str:
|
|
1752
|
+
def base_url(self) -> _builtins.str:
|
|
1753
1753
|
"""
|
|
1754
1754
|
The address of the Jenkins server within the cluster.
|
|
1755
1755
|
"""
|
|
1756
1756
|
return pulumi.get(self, "base_url")
|
|
1757
1757
|
|
|
1758
|
-
@property
|
|
1758
|
+
@_builtins.property
|
|
1759
1759
|
@pulumi.getter
|
|
1760
|
-
def username(self) -> str:
|
|
1760
|
+
def username(self) -> _builtins.str:
|
|
1761
1761
|
"""
|
|
1762
1762
|
The Jenkins server’s access username.
|
|
1763
1763
|
"""
|
|
@@ -1790,16 +1790,16 @@ class VerificationProviderNewRelic(dict):
|
|
|
1790
1790
|
return super().get(key, default)
|
|
1791
1791
|
|
|
1792
1792
|
def __init__(__self__, *,
|
|
1793
|
-
account_id: str,
|
|
1794
|
-
personal_api_key: str,
|
|
1795
|
-
base_url_nerd_graph: Optional[str] = None,
|
|
1796
|
-
base_url_rest: Optional[str] = None,
|
|
1797
|
-
region: Optional[str] = None):
|
|
1793
|
+
account_id: _builtins.str,
|
|
1794
|
+
personal_api_key: _builtins.str,
|
|
1795
|
+
base_url_nerd_graph: Optional[_builtins.str] = None,
|
|
1796
|
+
base_url_rest: Optional[_builtins.str] = None,
|
|
1797
|
+
region: Optional[_builtins.str] = None):
|
|
1798
1798
|
"""
|
|
1799
|
-
:param str personal_api_key: The NewRelic user key
|
|
1800
|
-
:param str base_url_nerd_graph: The base URL for NerdGraph for a proxy.
|
|
1801
|
-
:param str base_url_rest: The base URL of the New Relic REST API for a proxy.
|
|
1802
|
-
:param str region: A region which the account is attached to. Default is "us".
|
|
1799
|
+
:param _builtins.str personal_api_key: The NewRelic user key
|
|
1800
|
+
:param _builtins.str base_url_nerd_graph: The base URL for NerdGraph for a proxy.
|
|
1801
|
+
:param _builtins.str base_url_rest: The base URL of the New Relic REST API for a proxy.
|
|
1802
|
+
:param _builtins.str region: A region which the account is attached to. Default is "us".
|
|
1803
1803
|
"""
|
|
1804
1804
|
pulumi.set(__self__, "account_id", account_id)
|
|
1805
1805
|
pulumi.set(__self__, "personal_api_key", personal_api_key)
|
|
@@ -1810,38 +1810,38 @@ class VerificationProviderNewRelic(dict):
|
|
|
1810
1810
|
if region is not None:
|
|
1811
1811
|
pulumi.set(__self__, "region", region)
|
|
1812
1812
|
|
|
1813
|
-
@property
|
|
1813
|
+
@_builtins.property
|
|
1814
1814
|
@pulumi.getter(name="accountId")
|
|
1815
|
-
def account_id(self) -> str:
|
|
1815
|
+
def account_id(self) -> _builtins.str:
|
|
1816
1816
|
return pulumi.get(self, "account_id")
|
|
1817
1817
|
|
|
1818
|
-
@property
|
|
1818
|
+
@_builtins.property
|
|
1819
1819
|
@pulumi.getter(name="personalApiKey")
|
|
1820
|
-
def personal_api_key(self) -> str:
|
|
1820
|
+
def personal_api_key(self) -> _builtins.str:
|
|
1821
1821
|
"""
|
|
1822
1822
|
The NewRelic user key
|
|
1823
1823
|
"""
|
|
1824
1824
|
return pulumi.get(self, "personal_api_key")
|
|
1825
1825
|
|
|
1826
|
-
@property
|
|
1826
|
+
@_builtins.property
|
|
1827
1827
|
@pulumi.getter(name="baseUrlNerdGraph")
|
|
1828
|
-
def base_url_nerd_graph(self) -> Optional[str]:
|
|
1828
|
+
def base_url_nerd_graph(self) -> Optional[_builtins.str]:
|
|
1829
1829
|
"""
|
|
1830
1830
|
The base URL for NerdGraph for a proxy.
|
|
1831
1831
|
"""
|
|
1832
1832
|
return pulumi.get(self, "base_url_nerd_graph")
|
|
1833
1833
|
|
|
1834
|
-
@property
|
|
1834
|
+
@_builtins.property
|
|
1835
1835
|
@pulumi.getter(name="baseUrlRest")
|
|
1836
|
-
def base_url_rest(self) -> Optional[str]:
|
|
1836
|
+
def base_url_rest(self) -> Optional[_builtins.str]:
|
|
1837
1837
|
"""
|
|
1838
1838
|
The base URL of the New Relic REST API for a proxy.
|
|
1839
1839
|
"""
|
|
1840
1840
|
return pulumi.get(self, "base_url_rest")
|
|
1841
1841
|
|
|
1842
|
-
@property
|
|
1842
|
+
@_builtins.property
|
|
1843
1843
|
@pulumi.getter
|
|
1844
|
-
def region(self) -> Optional[str]:
|
|
1844
|
+
def region(self) -> Optional[_builtins.str]:
|
|
1845
1845
|
"""
|
|
1846
1846
|
A region which the account is attached to. Default is "us".
|
|
1847
1847
|
"""
|
|
@@ -1851,15 +1851,15 @@ class VerificationProviderNewRelic(dict):
|
|
|
1851
1851
|
@pulumi.output_type
|
|
1852
1852
|
class VerificationProviderPrometheus(dict):
|
|
1853
1853
|
def __init__(__self__, *,
|
|
1854
|
-
address: str):
|
|
1854
|
+
address: _builtins.str):
|
|
1855
1855
|
"""
|
|
1856
|
-
:param str address: The address which the Prometheus server available on.
|
|
1856
|
+
:param _builtins.str address: The address which the Prometheus server available on.
|
|
1857
1857
|
"""
|
|
1858
1858
|
pulumi.set(__self__, "address", address)
|
|
1859
1859
|
|
|
1860
|
-
@property
|
|
1860
|
+
@_builtins.property
|
|
1861
1861
|
@pulumi.getter
|
|
1862
|
-
def address(self) -> str:
|
|
1862
|
+
def address(self) -> _builtins.str:
|
|
1863
1863
|
"""
|
|
1864
1864
|
The address which the Prometheus server available on.
|
|
1865
1865
|
"""
|
|
@@ -1888,12 +1888,12 @@ class VerificationTemplateArg(dict):
|
|
|
1888
1888
|
return super().get(key, default)
|
|
1889
1889
|
|
|
1890
1890
|
def __init__(__self__, *,
|
|
1891
|
-
arg_name: str,
|
|
1892
|
-
value: Optional[str] = None,
|
|
1891
|
+
arg_name: _builtins.str,
|
|
1892
|
+
value: Optional[_builtins.str] = None,
|
|
1893
1893
|
value_from: Optional['outputs.VerificationTemplateArgValueFrom'] = None):
|
|
1894
1894
|
"""
|
|
1895
|
-
:param str arg_name: Name of an argument.
|
|
1896
|
-
:param str value: String representation of data.
|
|
1895
|
+
:param _builtins.str arg_name: Name of an argument.
|
|
1896
|
+
:param _builtins.str value: String representation of data.
|
|
1897
1897
|
:param 'VerificationTemplateArgValueFromArgs' value_from: ValueFrom object.
|
|
1898
1898
|
"""
|
|
1899
1899
|
pulumi.set(__self__, "arg_name", arg_name)
|
|
@@ -1902,23 +1902,23 @@ class VerificationTemplateArg(dict):
|
|
|
1902
1902
|
if value_from is not None:
|
|
1903
1903
|
pulumi.set(__self__, "value_from", value_from)
|
|
1904
1904
|
|
|
1905
|
-
@property
|
|
1905
|
+
@_builtins.property
|
|
1906
1906
|
@pulumi.getter(name="argName")
|
|
1907
|
-
def arg_name(self) -> str:
|
|
1907
|
+
def arg_name(self) -> _builtins.str:
|
|
1908
1908
|
"""
|
|
1909
1909
|
Name of an argument.
|
|
1910
1910
|
"""
|
|
1911
1911
|
return pulumi.get(self, "arg_name")
|
|
1912
1912
|
|
|
1913
|
-
@property
|
|
1913
|
+
@_builtins.property
|
|
1914
1914
|
@pulumi.getter
|
|
1915
|
-
def value(self) -> Optional[str]:
|
|
1915
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1916
1916
|
"""
|
|
1917
1917
|
String representation of data.
|
|
1918
1918
|
"""
|
|
1919
1919
|
return pulumi.get(self, "value")
|
|
1920
1920
|
|
|
1921
|
-
@property
|
|
1921
|
+
@_builtins.property
|
|
1922
1922
|
@pulumi.getter(name="valueFrom")
|
|
1923
1923
|
def value_from(self) -> Optional['outputs.VerificationTemplateArgValueFrom']:
|
|
1924
1924
|
"""
|
|
@@ -1954,7 +1954,7 @@ class VerificationTemplateArgValueFrom(dict):
|
|
|
1954
1954
|
if secret_key_ref is not None:
|
|
1955
1955
|
pulumi.set(__self__, "secret_key_ref", secret_key_ref)
|
|
1956
1956
|
|
|
1957
|
-
@property
|
|
1957
|
+
@_builtins.property
|
|
1958
1958
|
@pulumi.getter(name="secretKeyRef")
|
|
1959
1959
|
def secret_key_ref(self) -> Optional['outputs.VerificationTemplateArgValueFromSecretKeyRef']:
|
|
1960
1960
|
"""
|
|
@@ -1966,26 +1966,26 @@ class VerificationTemplateArgValueFrom(dict):
|
|
|
1966
1966
|
@pulumi.output_type
|
|
1967
1967
|
class VerificationTemplateArgValueFromSecretKeyRef(dict):
|
|
1968
1968
|
def __init__(__self__, *,
|
|
1969
|
-
key: str,
|
|
1970
|
-
name: str):
|
|
1969
|
+
key: _builtins.str,
|
|
1970
|
+
name: _builtins.str):
|
|
1971
1971
|
"""
|
|
1972
|
-
:param str key: The name of the field inside the secret.
|
|
1973
|
-
:param str name: The name of the secret.
|
|
1972
|
+
:param _builtins.str key: The name of the field inside the secret.
|
|
1973
|
+
:param _builtins.str name: The name of the secret.
|
|
1974
1974
|
"""
|
|
1975
1975
|
pulumi.set(__self__, "key", key)
|
|
1976
1976
|
pulumi.set(__self__, "name", name)
|
|
1977
1977
|
|
|
1978
|
-
@property
|
|
1978
|
+
@_builtins.property
|
|
1979
1979
|
@pulumi.getter
|
|
1980
|
-
def key(self) -> str:
|
|
1980
|
+
def key(self) -> _builtins.str:
|
|
1981
1981
|
"""
|
|
1982
1982
|
The name of the field inside the secret.
|
|
1983
1983
|
"""
|
|
1984
1984
|
return pulumi.get(self, "key")
|
|
1985
1985
|
|
|
1986
|
-
@property
|
|
1986
|
+
@_builtins.property
|
|
1987
1987
|
@pulumi.getter
|
|
1988
|
-
def name(self) -> str:
|
|
1988
|
+
def name(self) -> _builtins.str:
|
|
1989
1989
|
"""
|
|
1990
1990
|
The name of the secret.
|
|
1991
1991
|
"""
|
|
@@ -2024,29 +2024,29 @@ class VerificationTemplateMetric(dict):
|
|
|
2024
2024
|
return super().get(key, default)
|
|
2025
2025
|
|
|
2026
2026
|
def __init__(__self__, *,
|
|
2027
|
-
metrics_name: str,
|
|
2027
|
+
metrics_name: _builtins.str,
|
|
2028
2028
|
providers: Sequence['outputs.VerificationTemplateMetricProvider'],
|
|
2029
2029
|
baseline: Optional['outputs.VerificationTemplateMetricBaseline'] = None,
|
|
2030
|
-
consecutive_error_limit: Optional[int] = None,
|
|
2031
|
-
count: Optional[int] = None,
|
|
2032
|
-
dry_run: Optional[bool] = None,
|
|
2033
|
-
failure_condition: Optional[str] = None,
|
|
2034
|
-
failure_limit: Optional[int] = None,
|
|
2035
|
-
initial_delay: Optional[str] = None,
|
|
2036
|
-
interval: Optional[str] = None,
|
|
2037
|
-
success_condition: Optional[str] = None):
|
|
2038
|
-
"""
|
|
2039
|
-
:param str metrics_name: The name of the verification metric.
|
|
2030
|
+
consecutive_error_limit: Optional[_builtins.int] = None,
|
|
2031
|
+
count: Optional[_builtins.int] = None,
|
|
2032
|
+
dry_run: Optional[_builtins.bool] = None,
|
|
2033
|
+
failure_condition: Optional[_builtins.str] = None,
|
|
2034
|
+
failure_limit: Optional[_builtins.int] = None,
|
|
2035
|
+
initial_delay: Optional[_builtins.str] = None,
|
|
2036
|
+
interval: Optional[_builtins.str] = None,
|
|
2037
|
+
success_condition: Optional[_builtins.str] = None):
|
|
2038
|
+
"""
|
|
2039
|
+
:param _builtins.str metrics_name: The name of the verification metric.
|
|
2040
2040
|
:param Sequence['VerificationTemplateMetricProviderArgs'] providers: The name of the monitoring tool chosen for the metric.
|
|
2041
2041
|
:param 'VerificationTemplateMetricBaselineArgs' baseline: Baseline Object.
|
|
2042
|
-
:param int consecutive_error_limit: The maximum number of times the measurement is allowed to error in succession, before the metric is considered error.Default is 4.When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2043
|
-
:param int count: The number of times to run the measurement. If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely. If count > 1, interval must be specified. When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2044
|
-
:param bool dry_run: Defines whether the metric should have an impact on the result of the rollout.
|
|
2045
|
-
:param str failure_condition: An expression which determines if a measurement is considered failed.If failureCondition is set, then successCondition is not allowed. When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2046
|
-
:param int failure_limit: The maximum number of times the measurement is allowed to fail, before the entire metric is considered failed.Default is 0. When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2047
|
-
:param str initial_delay: How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2048
|
-
:param str interval: Defines an interval string (30s, 5m, 1h) between each verification measurements. If omitted, will perform a single measurement.When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2049
|
-
:param str success_condition: An expression which determines if a measurement is considered successful. The keyword `result` is a variable reference to the value of measurement. Results can be both structured data or primitive. If successCondition is set, then failureCondition is not allowed. When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2042
|
+
:param _builtins.int consecutive_error_limit: The maximum number of times the measurement is allowed to error in succession, before the metric is considered error.Default is 4.When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2043
|
+
:param _builtins.int count: The number of times to run the measurement. If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely. If count > 1, interval must be specified. When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2044
|
+
:param _builtins.bool dry_run: Defines whether the metric should have an impact on the result of the rollout.
|
|
2045
|
+
:param _builtins.str failure_condition: An expression which determines if a measurement is considered failed.If failureCondition is set, then successCondition is not allowed. When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2046
|
+
:param _builtins.int failure_limit: The maximum number of times the measurement is allowed to fail, before the entire metric is considered failed.Default is 0. When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2047
|
+
:param _builtins.str initial_delay: How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2048
|
+
:param _builtins.str interval: Defines an interval string (30s, 5m, 1h) between each verification measurements. If omitted, will perform a single measurement.When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2049
|
+
:param _builtins.str success_condition: An expression which determines if a measurement is considered successful. The keyword `result` is a variable reference to the value of measurement. Results can be both structured data or primitive. If successCondition is set, then failureCondition is not allowed. When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2050
2050
|
"""
|
|
2051
2051
|
pulumi.set(__self__, "metrics_name", metrics_name)
|
|
2052
2052
|
pulumi.set(__self__, "providers", providers)
|
|
@@ -2069,15 +2069,15 @@ class VerificationTemplateMetric(dict):
|
|
|
2069
2069
|
if success_condition is not None:
|
|
2070
2070
|
pulumi.set(__self__, "success_condition", success_condition)
|
|
2071
2071
|
|
|
2072
|
-
@property
|
|
2072
|
+
@_builtins.property
|
|
2073
2073
|
@pulumi.getter(name="metricsName")
|
|
2074
|
-
def metrics_name(self) -> str:
|
|
2074
|
+
def metrics_name(self) -> _builtins.str:
|
|
2075
2075
|
"""
|
|
2076
2076
|
The name of the verification metric.
|
|
2077
2077
|
"""
|
|
2078
2078
|
return pulumi.get(self, "metrics_name")
|
|
2079
2079
|
|
|
2080
|
-
@property
|
|
2080
|
+
@_builtins.property
|
|
2081
2081
|
@pulumi.getter
|
|
2082
2082
|
def providers(self) -> Sequence['outputs.VerificationTemplateMetricProvider']:
|
|
2083
2083
|
"""
|
|
@@ -2085,7 +2085,7 @@ class VerificationTemplateMetric(dict):
|
|
|
2085
2085
|
"""
|
|
2086
2086
|
return pulumi.get(self, "providers")
|
|
2087
2087
|
|
|
2088
|
-
@property
|
|
2088
|
+
@_builtins.property
|
|
2089
2089
|
@pulumi.getter
|
|
2090
2090
|
def baseline(self) -> Optional['outputs.VerificationTemplateMetricBaseline']:
|
|
2091
2091
|
"""
|
|
@@ -2093,65 +2093,65 @@ class VerificationTemplateMetric(dict):
|
|
|
2093
2093
|
"""
|
|
2094
2094
|
return pulumi.get(self, "baseline")
|
|
2095
2095
|
|
|
2096
|
-
@property
|
|
2096
|
+
@_builtins.property
|
|
2097
2097
|
@pulumi.getter(name="consecutiveErrorLimit")
|
|
2098
|
-
def consecutive_error_limit(self) -> Optional[int]:
|
|
2098
|
+
def consecutive_error_limit(self) -> Optional[_builtins.int]:
|
|
2099
2099
|
"""
|
|
2100
2100
|
The maximum number of times the measurement is allowed to error in succession, before the metric is considered error.Default is 4.When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2101
2101
|
"""
|
|
2102
2102
|
return pulumi.get(self, "consecutive_error_limit")
|
|
2103
2103
|
|
|
2104
|
-
@property
|
|
2104
|
+
@_builtins.property
|
|
2105
2105
|
@pulumi.getter
|
|
2106
|
-
def count(self) -> Optional[int]:
|
|
2106
|
+
def count(self) -> Optional[_builtins.int]:
|
|
2107
2107
|
"""
|
|
2108
2108
|
The number of times to run the measurement. If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely. If count > 1, interval must be specified. When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2109
2109
|
"""
|
|
2110
2110
|
return pulumi.get(self, "count")
|
|
2111
2111
|
|
|
2112
|
-
@property
|
|
2112
|
+
@_builtins.property
|
|
2113
2113
|
@pulumi.getter(name="dryRun")
|
|
2114
|
-
def dry_run(self) -> Optional[bool]:
|
|
2114
|
+
def dry_run(self) -> Optional[_builtins.bool]:
|
|
2115
2115
|
"""
|
|
2116
2116
|
Defines whether the metric should have an impact on the result of the rollout.
|
|
2117
2117
|
"""
|
|
2118
2118
|
return pulumi.get(self, "dry_run")
|
|
2119
2119
|
|
|
2120
|
-
@property
|
|
2120
|
+
@_builtins.property
|
|
2121
2121
|
@pulumi.getter(name="failureCondition")
|
|
2122
|
-
def failure_condition(self) -> Optional[str]:
|
|
2122
|
+
def failure_condition(self) -> Optional[_builtins.str]:
|
|
2123
2123
|
"""
|
|
2124
2124
|
An expression which determines if a measurement is considered failed.If failureCondition is set, then successCondition is not allowed. When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2125
2125
|
"""
|
|
2126
2126
|
return pulumi.get(self, "failure_condition")
|
|
2127
2127
|
|
|
2128
|
-
@property
|
|
2128
|
+
@_builtins.property
|
|
2129
2129
|
@pulumi.getter(name="failureLimit")
|
|
2130
|
-
def failure_limit(self) -> Optional[int]:
|
|
2130
|
+
def failure_limit(self) -> Optional[_builtins.int]:
|
|
2131
2131
|
"""
|
|
2132
2132
|
The maximum number of times the measurement is allowed to fail, before the entire metric is considered failed.Default is 0. When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2133
2133
|
"""
|
|
2134
2134
|
return pulumi.get(self, "failure_limit")
|
|
2135
2135
|
|
|
2136
|
-
@property
|
|
2136
|
+
@_builtins.property
|
|
2137
2137
|
@pulumi.getter(name="initialDelay")
|
|
2138
|
-
def initial_delay(self) -> Optional[str]:
|
|
2138
|
+
def initial_delay(self) -> Optional[_builtins.str]:
|
|
2139
2139
|
"""
|
|
2140
2140
|
How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2141
2141
|
"""
|
|
2142
2142
|
return pulumi.get(self, "initial_delay")
|
|
2143
2143
|
|
|
2144
|
-
@property
|
|
2144
|
+
@_builtins.property
|
|
2145
2145
|
@pulumi.getter
|
|
2146
|
-
def interval(self) -> Optional[str]:
|
|
2146
|
+
def interval(self) -> Optional[_builtins.str]:
|
|
2147
2147
|
"""
|
|
2148
2148
|
Defines an interval string (30s, 5m, 1h) between each verification measurements. If omitted, will perform a single measurement.When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2149
2149
|
"""
|
|
2150
2150
|
return pulumi.get(self, "interval")
|
|
2151
2151
|
|
|
2152
|
-
@property
|
|
2152
|
+
@_builtins.property
|
|
2153
2153
|
@pulumi.getter(name="successCondition")
|
|
2154
|
-
def success_condition(self) -> Optional[str]:
|
|
2154
|
+
def success_condition(self) -> Optional[_builtins.str]:
|
|
2155
2155
|
"""
|
|
2156
2156
|
An expression which determines if a measurement is considered successful. The keyword `result` is a variable reference to the value of measurement. Results can be both structured data or primitive. If successCondition is set, then failureCondition is not allowed. When choosing `Jenkins` as the provider, there is no need to send this variable.
|
|
2157
2157
|
"""
|
|
@@ -2183,14 +2183,14 @@ class VerificationTemplateMetricBaseline(dict):
|
|
|
2183
2183
|
|
|
2184
2184
|
def __init__(__self__, *,
|
|
2185
2185
|
baseline_providers: Sequence['outputs.VerificationTemplateMetricBaselineBaselineProvider'],
|
|
2186
|
-
threshold: str,
|
|
2187
|
-
max_range: Optional[int] = None,
|
|
2188
|
-
min_range: Optional[int] = None):
|
|
2186
|
+
threshold: _builtins.str,
|
|
2187
|
+
max_range: Optional[_builtins.int] = None,
|
|
2188
|
+
min_range: Optional[_builtins.int] = None):
|
|
2189
2189
|
"""
|
|
2190
2190
|
:param Sequence['VerificationTemplateMetricBaselineBaselineProviderArgs'] baseline_providers: The name of the monitoring tool chosen for the metric.
|
|
2191
|
-
:param str threshold: A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
|
|
2192
|
-
:param int max_range: Number in percent we allow the new version’s data result to be under baseline data result.
|
|
2193
|
-
:param int min_range: Number in percent we allow the new version’s data result to be under baseline data result.*
|
|
2191
|
+
:param _builtins.str threshold: A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
|
|
2192
|
+
:param _builtins.int max_range: Number in percent we allow the new version’s data result to be under baseline data result.
|
|
2193
|
+
:param _builtins.int min_range: Number in percent we allow the new version’s data result to be under baseline data result.*
|
|
2194
2194
|
"""
|
|
2195
2195
|
pulumi.set(__self__, "baseline_providers", baseline_providers)
|
|
2196
2196
|
pulumi.set(__self__, "threshold", threshold)
|
|
@@ -2199,7 +2199,7 @@ class VerificationTemplateMetricBaseline(dict):
|
|
|
2199
2199
|
if min_range is not None:
|
|
2200
2200
|
pulumi.set(__self__, "min_range", min_range)
|
|
2201
2201
|
|
|
2202
|
-
@property
|
|
2202
|
+
@_builtins.property
|
|
2203
2203
|
@pulumi.getter(name="baselineProviders")
|
|
2204
2204
|
def baseline_providers(self) -> Sequence['outputs.VerificationTemplateMetricBaselineBaselineProvider']:
|
|
2205
2205
|
"""
|
|
@@ -2207,25 +2207,25 @@ class VerificationTemplateMetricBaseline(dict):
|
|
|
2207
2207
|
"""
|
|
2208
2208
|
return pulumi.get(self, "baseline_providers")
|
|
2209
2209
|
|
|
2210
|
-
@property
|
|
2210
|
+
@_builtins.property
|
|
2211
2211
|
@pulumi.getter
|
|
2212
|
-
def threshold(self) -> str:
|
|
2212
|
+
def threshold(self) -> _builtins.str:
|
|
2213
2213
|
"""
|
|
2214
2214
|
A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
|
|
2215
2215
|
"""
|
|
2216
2216
|
return pulumi.get(self, "threshold")
|
|
2217
2217
|
|
|
2218
|
-
@property
|
|
2218
|
+
@_builtins.property
|
|
2219
2219
|
@pulumi.getter(name="maxRange")
|
|
2220
|
-
def max_range(self) -> Optional[int]:
|
|
2220
|
+
def max_range(self) -> Optional[_builtins.int]:
|
|
2221
2221
|
"""
|
|
2222
2222
|
Number in percent we allow the new version’s data result to be under baseline data result.
|
|
2223
2223
|
"""
|
|
2224
2224
|
return pulumi.get(self, "max_range")
|
|
2225
2225
|
|
|
2226
|
-
@property
|
|
2226
|
+
@_builtins.property
|
|
2227
2227
|
@pulumi.getter(name="minRange")
|
|
2228
|
-
def min_range(self) -> Optional[int]:
|
|
2228
|
+
def min_range(self) -> Optional[_builtins.int]:
|
|
2229
2229
|
"""
|
|
2230
2230
|
Number in percent we allow the new version’s data result to be under baseline data result.*
|
|
2231
2231
|
"""
|
|
@@ -2267,7 +2267,7 @@ class VerificationTemplateMetricBaselineBaselineProvider(dict):
|
|
|
2267
2267
|
if prometheus is not None:
|
|
2268
2268
|
pulumi.set(__self__, "prometheus", prometheus)
|
|
2269
2269
|
|
|
2270
|
-
@property
|
|
2270
|
+
@_builtins.property
|
|
2271
2271
|
@pulumi.getter
|
|
2272
2272
|
def datadog(self) -> Optional['outputs.VerificationTemplateMetricBaselineBaselineProviderDatadog']:
|
|
2273
2273
|
"""
|
|
@@ -2275,7 +2275,7 @@ class VerificationTemplateMetricBaselineBaselineProvider(dict):
|
|
|
2275
2275
|
"""
|
|
2276
2276
|
return pulumi.get(self, "datadog")
|
|
2277
2277
|
|
|
2278
|
-
@property
|
|
2278
|
+
@_builtins.property
|
|
2279
2279
|
@pulumi.getter(name="newRelic")
|
|
2280
2280
|
def new_relic(self) -> Optional['outputs.VerificationTemplateMetricBaselineBaselineProviderNewRelic']:
|
|
2281
2281
|
"""
|
|
@@ -2283,7 +2283,7 @@ class VerificationTemplateMetricBaselineBaselineProvider(dict):
|
|
|
2283
2283
|
"""
|
|
2284
2284
|
return pulumi.get(self, "new_relic")
|
|
2285
2285
|
|
|
2286
|
-
@property
|
|
2286
|
+
@_builtins.property
|
|
2287
2287
|
@pulumi.getter
|
|
2288
2288
|
def prometheus(self) -> Optional['outputs.VerificationTemplateMetricBaselineBaselineProviderPrometheus']:
|
|
2289
2289
|
"""
|
|
@@ -2312,27 +2312,27 @@ class VerificationTemplateMetricBaselineBaselineProviderDatadog(dict):
|
|
|
2312
2312
|
return super().get(key, default)
|
|
2313
2313
|
|
|
2314
2314
|
def __init__(__self__, *,
|
|
2315
|
-
datadog_query: str,
|
|
2316
|
-
duration: Optional[str] = None):
|
|
2315
|
+
datadog_query: _builtins.str,
|
|
2316
|
+
duration: Optional[_builtins.str] = None):
|
|
2317
2317
|
"""
|
|
2318
|
-
:param str datadog_query: A request for information retrieved from Datadog.
|
|
2319
|
-
:param str duration: The window of time we are looking at in DataDog.
|
|
2318
|
+
:param _builtins.str datadog_query: A request for information retrieved from Datadog.
|
|
2319
|
+
:param _builtins.str duration: The window of time we are looking at in DataDog.
|
|
2320
2320
|
"""
|
|
2321
2321
|
pulumi.set(__self__, "datadog_query", datadog_query)
|
|
2322
2322
|
if duration is not None:
|
|
2323
2323
|
pulumi.set(__self__, "duration", duration)
|
|
2324
2324
|
|
|
2325
|
-
@property
|
|
2325
|
+
@_builtins.property
|
|
2326
2326
|
@pulumi.getter(name="datadogQuery")
|
|
2327
|
-
def datadog_query(self) -> str:
|
|
2327
|
+
def datadog_query(self) -> _builtins.str:
|
|
2328
2328
|
"""
|
|
2329
2329
|
A request for information retrieved from Datadog.
|
|
2330
2330
|
"""
|
|
2331
2331
|
return pulumi.get(self, "datadog_query")
|
|
2332
2332
|
|
|
2333
|
-
@property
|
|
2333
|
+
@_builtins.property
|
|
2334
2334
|
@pulumi.getter
|
|
2335
|
-
def duration(self) -> Optional[str]:
|
|
2335
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
2336
2336
|
"""
|
|
2337
2337
|
The window of time we are looking at in DataDog.
|
|
2338
2338
|
"""
|
|
@@ -2359,27 +2359,27 @@ class VerificationTemplateMetricBaselineBaselineProviderNewRelic(dict):
|
|
|
2359
2359
|
return super().get(key, default)
|
|
2360
2360
|
|
|
2361
2361
|
def __init__(__self__, *,
|
|
2362
|
-
new_relic_query: str,
|
|
2363
|
-
profile: Optional[str] = None):
|
|
2362
|
+
new_relic_query: _builtins.str,
|
|
2363
|
+
profile: Optional[_builtins.str] = None):
|
|
2364
2364
|
"""
|
|
2365
|
-
:param str new_relic_query: A raw newrelic NRQL query to perform.
|
|
2366
|
-
:param str profile: The name of the secret holding NR account configuration.
|
|
2365
|
+
:param _builtins.str new_relic_query: A raw newrelic NRQL query to perform.
|
|
2366
|
+
:param _builtins.str profile: The name of the secret holding NR account configuration.
|
|
2367
2367
|
"""
|
|
2368
2368
|
pulumi.set(__self__, "new_relic_query", new_relic_query)
|
|
2369
2369
|
if profile is not None:
|
|
2370
2370
|
pulumi.set(__self__, "profile", profile)
|
|
2371
2371
|
|
|
2372
|
-
@property
|
|
2372
|
+
@_builtins.property
|
|
2373
2373
|
@pulumi.getter(name="newRelicQuery")
|
|
2374
|
-
def new_relic_query(self) -> str:
|
|
2374
|
+
def new_relic_query(self) -> _builtins.str:
|
|
2375
2375
|
"""
|
|
2376
2376
|
A raw newrelic NRQL query to perform.
|
|
2377
2377
|
"""
|
|
2378
2378
|
return pulumi.get(self, "new_relic_query")
|
|
2379
2379
|
|
|
2380
|
-
@property
|
|
2380
|
+
@_builtins.property
|
|
2381
2381
|
@pulumi.getter
|
|
2382
|
-
def profile(self) -> Optional[str]:
|
|
2382
|
+
def profile(self) -> Optional[_builtins.str]:
|
|
2383
2383
|
"""
|
|
2384
2384
|
The name of the secret holding NR account configuration.
|
|
2385
2385
|
"""
|
|
@@ -2406,15 +2406,15 @@ class VerificationTemplateMetricBaselineBaselineProviderPrometheus(dict):
|
|
|
2406
2406
|
return super().get(key, default)
|
|
2407
2407
|
|
|
2408
2408
|
def __init__(__self__, *,
|
|
2409
|
-
prometheus_query: str):
|
|
2409
|
+
prometheus_query: _builtins.str):
|
|
2410
2410
|
"""
|
|
2411
|
-
:param str prometheus_query: A request for information retrieved from Prometheus.
|
|
2411
|
+
:param _builtins.str prometheus_query: A request for information retrieved from Prometheus.
|
|
2412
2412
|
"""
|
|
2413
2413
|
pulumi.set(__self__, "prometheus_query", prometheus_query)
|
|
2414
2414
|
|
|
2415
|
-
@property
|
|
2415
|
+
@_builtins.property
|
|
2416
2416
|
@pulumi.getter(name="prometheusQuery")
|
|
2417
|
-
def prometheus_query(self) -> str:
|
|
2417
|
+
def prometheus_query(self) -> _builtins.str:
|
|
2418
2418
|
"""
|
|
2419
2419
|
A request for information retrieved from Prometheus.
|
|
2420
2420
|
"""
|
|
@@ -2474,7 +2474,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2474
2474
|
if web is not None:
|
|
2475
2475
|
pulumi.set(__self__, "web", web)
|
|
2476
2476
|
|
|
2477
|
-
@property
|
|
2477
|
+
@_builtins.property
|
|
2478
2478
|
@pulumi.getter(name="cloudWatch")
|
|
2479
2479
|
def cloud_watch(self) -> Optional['outputs.VerificationTemplateMetricProviderCloudWatch']:
|
|
2480
2480
|
"""
|
|
@@ -2482,7 +2482,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2482
2482
|
"""
|
|
2483
2483
|
return pulumi.get(self, "cloud_watch")
|
|
2484
2484
|
|
|
2485
|
-
@property
|
|
2485
|
+
@_builtins.property
|
|
2486
2486
|
@pulumi.getter
|
|
2487
2487
|
def datadog(self) -> Optional['outputs.VerificationTemplateMetricProviderDatadog']:
|
|
2488
2488
|
"""
|
|
@@ -2490,7 +2490,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2490
2490
|
"""
|
|
2491
2491
|
return pulumi.get(self, "datadog")
|
|
2492
2492
|
|
|
2493
|
-
@property
|
|
2493
|
+
@_builtins.property
|
|
2494
2494
|
@pulumi.getter
|
|
2495
2495
|
def jenkins(self) -> Optional['outputs.VerificationTemplateMetricProviderJenkins']:
|
|
2496
2496
|
"""
|
|
@@ -2498,7 +2498,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2498
2498
|
"""
|
|
2499
2499
|
return pulumi.get(self, "jenkins")
|
|
2500
2500
|
|
|
2501
|
-
@property
|
|
2501
|
+
@_builtins.property
|
|
2502
2502
|
@pulumi.getter
|
|
2503
2503
|
def job(self) -> Optional['outputs.VerificationTemplateMetricProviderJob']:
|
|
2504
2504
|
"""
|
|
@@ -2506,7 +2506,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2506
2506
|
"""
|
|
2507
2507
|
return pulumi.get(self, "job")
|
|
2508
2508
|
|
|
2509
|
-
@property
|
|
2509
|
+
@_builtins.property
|
|
2510
2510
|
@pulumi.getter(name="newRelic")
|
|
2511
2511
|
def new_relic(self) -> Optional['outputs.VerificationTemplateMetricProviderNewRelic']:
|
|
2512
2512
|
"""
|
|
@@ -2514,7 +2514,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2514
2514
|
"""
|
|
2515
2515
|
return pulumi.get(self, "new_relic")
|
|
2516
2516
|
|
|
2517
|
-
@property
|
|
2517
|
+
@_builtins.property
|
|
2518
2518
|
@pulumi.getter
|
|
2519
2519
|
def prometheus(self) -> Optional['outputs.VerificationTemplateMetricProviderPrometheus']:
|
|
2520
2520
|
"""
|
|
@@ -2522,7 +2522,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2522
2522
|
"""
|
|
2523
2523
|
return pulumi.get(self, "prometheus")
|
|
2524
2524
|
|
|
2525
|
-
@property
|
|
2525
|
+
@_builtins.property
|
|
2526
2526
|
@pulumi.getter
|
|
2527
2527
|
def web(self) -> Optional['outputs.VerificationTemplateMetricProviderWeb']:
|
|
2528
2528
|
"""
|
|
@@ -2552,16 +2552,16 @@ class VerificationTemplateMetricProviderCloudWatch(dict):
|
|
|
2552
2552
|
|
|
2553
2553
|
def __init__(__self__, *,
|
|
2554
2554
|
metric_data_queries: Sequence['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQuery'],
|
|
2555
|
-
duration: Optional[str] = None):
|
|
2555
|
+
duration: Optional[_builtins.str] = None):
|
|
2556
2556
|
"""
|
|
2557
2557
|
:param Sequence['VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs'] metric_data_queries: The metric queries to be returned. A single MetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.
|
|
2558
|
-
:param str duration: The window of time we are looking at in CloudWatch.
|
|
2558
|
+
:param _builtins.str duration: The window of time we are looking at in CloudWatch.
|
|
2559
2559
|
"""
|
|
2560
2560
|
pulumi.set(__self__, "metric_data_queries", metric_data_queries)
|
|
2561
2561
|
if duration is not None:
|
|
2562
2562
|
pulumi.set(__self__, "duration", duration)
|
|
2563
2563
|
|
|
2564
|
-
@property
|
|
2564
|
+
@_builtins.property
|
|
2565
2565
|
@pulumi.getter(name="metricDataQueries")
|
|
2566
2566
|
def metric_data_queries(self) -> Sequence['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQuery']:
|
|
2567
2567
|
"""
|
|
@@ -2569,9 +2569,9 @@ class VerificationTemplateMetricProviderCloudWatch(dict):
|
|
|
2569
2569
|
"""
|
|
2570
2570
|
return pulumi.get(self, "metric_data_queries")
|
|
2571
2571
|
|
|
2572
|
-
@property
|
|
2572
|
+
@_builtins.property
|
|
2573
2573
|
@pulumi.getter
|
|
2574
|
-
def duration(self) -> Optional[str]:
|
|
2574
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
2575
2575
|
"""
|
|
2576
2576
|
The window of time we are looking at in CloudWatch.
|
|
2577
2577
|
"""
|
|
@@ -2600,19 +2600,19 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQuery(dict):
|
|
|
2600
2600
|
return super().get(key, default)
|
|
2601
2601
|
|
|
2602
2602
|
def __init__(__self__, *,
|
|
2603
|
-
id: str,
|
|
2604
|
-
expression: Optional[str] = None,
|
|
2605
|
-
label: Optional[str] = None,
|
|
2603
|
+
id: _builtins.str,
|
|
2604
|
+
expression: Optional[_builtins.str] = None,
|
|
2605
|
+
label: Optional[_builtins.str] = None,
|
|
2606
2606
|
metric_stat: Optional['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat'] = None,
|
|
2607
|
-
period: Optional[int] = None,
|
|
2608
|
-
return_data: Optional[bool] = None):
|
|
2607
|
+
period: Optional[_builtins.int] = None,
|
|
2608
|
+
return_data: Optional[_builtins.bool] = None):
|
|
2609
2609
|
"""
|
|
2610
|
-
:param str id: The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
|
|
2611
|
-
:param str expression: This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
|
|
2612
|
-
:param str label: A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
|
|
2610
|
+
:param _builtins.str id: The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
|
|
2611
|
+
:param _builtins.str expression: This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
|
|
2612
|
+
:param _builtins.str label: A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
|
|
2613
2613
|
:param 'VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs' metric_stat: The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.Within one metricdataquery object, you must specify either expression or metricstat but not both.
|
|
2614
|
-
:param int period: The granularity, in seconds, of the returned data points.
|
|
2615
|
-
:param bool return_data: This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify `false`. If you omit this, the default of `true` is used.
|
|
2614
|
+
:param _builtins.int period: The granularity, in seconds, of the returned data points.
|
|
2615
|
+
:param _builtins.bool return_data: This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify `false`. If you omit this, the default of `true` is used.
|
|
2616
2616
|
"""
|
|
2617
2617
|
pulumi.set(__self__, "id", id)
|
|
2618
2618
|
if expression is not None:
|
|
@@ -2626,31 +2626,31 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQuery(dict):
|
|
|
2626
2626
|
if return_data is not None:
|
|
2627
2627
|
pulumi.set(__self__, "return_data", return_data)
|
|
2628
2628
|
|
|
2629
|
-
@property
|
|
2629
|
+
@_builtins.property
|
|
2630
2630
|
@pulumi.getter
|
|
2631
|
-
def id(self) -> str:
|
|
2631
|
+
def id(self) -> _builtins.str:
|
|
2632
2632
|
"""
|
|
2633
2633
|
The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
|
|
2634
2634
|
"""
|
|
2635
2635
|
return pulumi.get(self, "id")
|
|
2636
2636
|
|
|
2637
|
-
@property
|
|
2637
|
+
@_builtins.property
|
|
2638
2638
|
@pulumi.getter
|
|
2639
|
-
def expression(self) -> Optional[str]:
|
|
2639
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
2640
2640
|
"""
|
|
2641
2641
|
This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
|
|
2642
2642
|
"""
|
|
2643
2643
|
return pulumi.get(self, "expression")
|
|
2644
2644
|
|
|
2645
|
-
@property
|
|
2645
|
+
@_builtins.property
|
|
2646
2646
|
@pulumi.getter
|
|
2647
|
-
def label(self) -> Optional[str]:
|
|
2647
|
+
def label(self) -> Optional[_builtins.str]:
|
|
2648
2648
|
"""
|
|
2649
2649
|
A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
|
|
2650
2650
|
"""
|
|
2651
2651
|
return pulumi.get(self, "label")
|
|
2652
2652
|
|
|
2653
|
-
@property
|
|
2653
|
+
@_builtins.property
|
|
2654
2654
|
@pulumi.getter(name="metricStat")
|
|
2655
2655
|
def metric_stat(self) -> Optional['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat']:
|
|
2656
2656
|
"""
|
|
@@ -2658,17 +2658,17 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQuery(dict):
|
|
|
2658
2658
|
"""
|
|
2659
2659
|
return pulumi.get(self, "metric_stat")
|
|
2660
2660
|
|
|
2661
|
-
@property
|
|
2661
|
+
@_builtins.property
|
|
2662
2662
|
@pulumi.getter
|
|
2663
|
-
def period(self) -> Optional[int]:
|
|
2663
|
+
def period(self) -> Optional[_builtins.int]:
|
|
2664
2664
|
"""
|
|
2665
2665
|
The granularity, in seconds, of the returned data points.
|
|
2666
2666
|
"""
|
|
2667
2667
|
return pulumi.get(self, "period")
|
|
2668
2668
|
|
|
2669
|
-
@property
|
|
2669
|
+
@_builtins.property
|
|
2670
2670
|
@pulumi.getter(name="returnData")
|
|
2671
|
-
def return_data(self) -> Optional[bool]:
|
|
2671
|
+
def return_data(self) -> Optional[_builtins.bool]:
|
|
2672
2672
|
"""
|
|
2673
2673
|
This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify `false`. If you omit this, the default of `true` is used.
|
|
2674
2674
|
"""
|
|
@@ -2696,14 +2696,14 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat(dict
|
|
|
2696
2696
|
|
|
2697
2697
|
def __init__(__self__, *,
|
|
2698
2698
|
metric: Optional['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetric'] = None,
|
|
2699
|
-
metric_period: Optional[int] = None,
|
|
2700
|
-
stat: Optional[str] = None,
|
|
2701
|
-
unit: Optional[str] = None):
|
|
2699
|
+
metric_period: Optional[_builtins.int] = None,
|
|
2700
|
+
stat: Optional[_builtins.str] = None,
|
|
2701
|
+
unit: Optional[_builtins.str] = None):
|
|
2702
2702
|
"""
|
|
2703
2703
|
:param 'VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs' metric: The metric to return, including the metric name, namespace, and dimensions.
|
|
2704
|
-
:param int metric_period: The granularity, in seconds, of the returned data points.
|
|
2705
|
-
:param str stat: The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
2706
|
-
:param str unit: This defines what unit you want to use when storing the metric. Enum: `"Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"`
|
|
2704
|
+
:param _builtins.int metric_period: The granularity, in seconds, of the returned data points.
|
|
2705
|
+
:param _builtins.str stat: The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
2706
|
+
:param _builtins.str unit: This defines what unit you want to use when storing the metric. Enum: `"Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"`
|
|
2707
2707
|
"""
|
|
2708
2708
|
if metric is not None:
|
|
2709
2709
|
pulumi.set(__self__, "metric", metric)
|
|
@@ -2714,7 +2714,7 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat(dict
|
|
|
2714
2714
|
if unit is not None:
|
|
2715
2715
|
pulumi.set(__self__, "unit", unit)
|
|
2716
2716
|
|
|
2717
|
-
@property
|
|
2717
|
+
@_builtins.property
|
|
2718
2718
|
@pulumi.getter
|
|
2719
2719
|
def metric(self) -> Optional['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetric']:
|
|
2720
2720
|
"""
|
|
@@ -2722,25 +2722,25 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat(dict
|
|
|
2722
2722
|
"""
|
|
2723
2723
|
return pulumi.get(self, "metric")
|
|
2724
2724
|
|
|
2725
|
-
@property
|
|
2725
|
+
@_builtins.property
|
|
2726
2726
|
@pulumi.getter(name="metricPeriod")
|
|
2727
|
-
def metric_period(self) -> Optional[int]:
|
|
2727
|
+
def metric_period(self) -> Optional[_builtins.int]:
|
|
2728
2728
|
"""
|
|
2729
2729
|
The granularity, in seconds, of the returned data points.
|
|
2730
2730
|
"""
|
|
2731
2731
|
return pulumi.get(self, "metric_period")
|
|
2732
2732
|
|
|
2733
|
-
@property
|
|
2733
|
+
@_builtins.property
|
|
2734
2734
|
@pulumi.getter
|
|
2735
|
-
def stat(self) -> Optional[str]:
|
|
2735
|
+
def stat(self) -> Optional[_builtins.str]:
|
|
2736
2736
|
"""
|
|
2737
2737
|
The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
2738
2738
|
"""
|
|
2739
2739
|
return pulumi.get(self, "stat")
|
|
2740
2740
|
|
|
2741
|
-
@property
|
|
2741
|
+
@_builtins.property
|
|
2742
2742
|
@pulumi.getter
|
|
2743
|
-
def unit(self) -> Optional[str]:
|
|
2743
|
+
def unit(self) -> Optional[_builtins.str]:
|
|
2744
2744
|
"""
|
|
2745
2745
|
This defines what unit you want to use when storing the metric. Enum: `"Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"`
|
|
2746
2746
|
"""
|
|
@@ -2767,13 +2767,13 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
2767
2767
|
return super().get(key, default)
|
|
2768
2768
|
|
|
2769
2769
|
def __init__(__self__, *,
|
|
2770
|
-
metric_name: str,
|
|
2770
|
+
metric_name: _builtins.str,
|
|
2771
2771
|
dimensions: Optional[Sequence['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimension']] = None,
|
|
2772
|
-
namespace: Optional[str] = None):
|
|
2772
|
+
namespace: Optional[_builtins.str] = None):
|
|
2773
2773
|
"""
|
|
2774
|
-
:param str metric_name: The name of the metric.
|
|
2774
|
+
:param _builtins.str metric_name: The name of the metric.
|
|
2775
2775
|
:param Sequence['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs'] dimensions: A dimension is a name/value pair that is part of the identity of a metric.You can assign upto 30 dimensions to a metric
|
|
2776
|
-
:param str namespace: The namespace of the metric.
|
|
2776
|
+
:param _builtins.str namespace: The namespace of the metric.
|
|
2777
2777
|
"""
|
|
2778
2778
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
2779
2779
|
if dimensions is not None:
|
|
@@ -2781,15 +2781,15 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
2781
2781
|
if namespace is not None:
|
|
2782
2782
|
pulumi.set(__self__, "namespace", namespace)
|
|
2783
2783
|
|
|
2784
|
-
@property
|
|
2784
|
+
@_builtins.property
|
|
2785
2785
|
@pulumi.getter(name="metricName")
|
|
2786
|
-
def metric_name(self) -> str:
|
|
2786
|
+
def metric_name(self) -> _builtins.str:
|
|
2787
2787
|
"""
|
|
2788
2788
|
The name of the metric.
|
|
2789
2789
|
"""
|
|
2790
2790
|
return pulumi.get(self, "metric_name")
|
|
2791
2791
|
|
|
2792
|
-
@property
|
|
2792
|
+
@_builtins.property
|
|
2793
2793
|
@pulumi.getter
|
|
2794
2794
|
def dimensions(self) -> Optional[Sequence['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimension']]:
|
|
2795
2795
|
"""
|
|
@@ -2797,9 +2797,9 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
2797
2797
|
"""
|
|
2798
2798
|
return pulumi.get(self, "dimensions")
|
|
2799
2799
|
|
|
2800
|
-
@property
|
|
2800
|
+
@_builtins.property
|
|
2801
2801
|
@pulumi.getter
|
|
2802
|
-
def namespace(self) -> Optional[str]:
|
|
2802
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
2803
2803
|
"""
|
|
2804
2804
|
The namespace of the metric.
|
|
2805
2805
|
"""
|
|
@@ -2828,26 +2828,26 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
2828
2828
|
return super().get(key, default)
|
|
2829
2829
|
|
|
2830
2830
|
def __init__(__self__, *,
|
|
2831
|
-
dimension_name: str,
|
|
2832
|
-
dimension_value: str):
|
|
2831
|
+
dimension_name: _builtins.str,
|
|
2832
|
+
dimension_value: _builtins.str):
|
|
2833
2833
|
"""
|
|
2834
|
-
:param str dimension_name: The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
2835
|
-
:param str dimension_value: The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
2834
|
+
:param _builtins.str dimension_name: The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
2835
|
+
:param _builtins.str dimension_value: The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
2836
2836
|
"""
|
|
2837
2837
|
pulumi.set(__self__, "dimension_name", dimension_name)
|
|
2838
2838
|
pulumi.set(__self__, "dimension_value", dimension_value)
|
|
2839
2839
|
|
|
2840
|
-
@property
|
|
2840
|
+
@_builtins.property
|
|
2841
2841
|
@pulumi.getter(name="dimensionName")
|
|
2842
|
-
def dimension_name(self) -> str:
|
|
2842
|
+
def dimension_name(self) -> _builtins.str:
|
|
2843
2843
|
"""
|
|
2844
2844
|
The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
2845
2845
|
"""
|
|
2846
2846
|
return pulumi.get(self, "dimension_name")
|
|
2847
2847
|
|
|
2848
|
-
@property
|
|
2848
|
+
@_builtins.property
|
|
2849
2849
|
@pulumi.getter(name="dimensionValue")
|
|
2850
|
-
def dimension_value(self) -> str:
|
|
2850
|
+
def dimension_value(self) -> _builtins.str:
|
|
2851
2851
|
"""
|
|
2852
2852
|
The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
2853
2853
|
"""
|
|
@@ -2874,28 +2874,28 @@ class VerificationTemplateMetricProviderDatadog(dict):
|
|
|
2874
2874
|
return super().get(key, default)
|
|
2875
2875
|
|
|
2876
2876
|
def __init__(__self__, *,
|
|
2877
|
-
datadog_query: Optional[str] = None,
|
|
2878
|
-
duration: Optional[str] = None):
|
|
2877
|
+
datadog_query: Optional[_builtins.str] = None,
|
|
2878
|
+
duration: Optional[_builtins.str] = None):
|
|
2879
2879
|
"""
|
|
2880
|
-
:param str datadog_query: A request for information retrieved from Datadog.
|
|
2881
|
-
:param str duration: The window of time we are looking at in DataDog.
|
|
2880
|
+
:param _builtins.str datadog_query: A request for information retrieved from Datadog.
|
|
2881
|
+
:param _builtins.str duration: The window of time we are looking at in DataDog.
|
|
2882
2882
|
"""
|
|
2883
2883
|
if datadog_query is not None:
|
|
2884
2884
|
pulumi.set(__self__, "datadog_query", datadog_query)
|
|
2885
2885
|
if duration is not None:
|
|
2886
2886
|
pulumi.set(__self__, "duration", duration)
|
|
2887
2887
|
|
|
2888
|
-
@property
|
|
2888
|
+
@_builtins.property
|
|
2889
2889
|
@pulumi.getter(name="datadogQuery")
|
|
2890
|
-
def datadog_query(self) -> Optional[str]:
|
|
2890
|
+
def datadog_query(self) -> Optional[_builtins.str]:
|
|
2891
2891
|
"""
|
|
2892
2892
|
A request for information retrieved from Datadog.
|
|
2893
2893
|
"""
|
|
2894
2894
|
return pulumi.get(self, "datadog_query")
|
|
2895
2895
|
|
|
2896
|
-
@property
|
|
2896
|
+
@_builtins.property
|
|
2897
2897
|
@pulumi.getter
|
|
2898
|
-
def duration(self) -> Optional[str]:
|
|
2898
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
2899
2899
|
"""
|
|
2900
2900
|
The window of time we are looking at in DataDog.
|
|
2901
2901
|
"""
|
|
@@ -2928,17 +2928,17 @@ class VerificationTemplateMetricProviderJenkins(dict):
|
|
|
2928
2928
|
return super().get(key, default)
|
|
2929
2929
|
|
|
2930
2930
|
def __init__(__self__, *,
|
|
2931
|
-
jenkins_interval: str,
|
|
2932
|
-
pipeline_name: str,
|
|
2933
|
-
timeout: str,
|
|
2931
|
+
jenkins_interval: _builtins.str,
|
|
2932
|
+
pipeline_name: _builtins.str,
|
|
2933
|
+
timeout: _builtins.str,
|
|
2934
2934
|
jenkins_parameters: Optional['outputs.VerificationTemplateMetricProviderJenkinsJenkinsParameters'] = None,
|
|
2935
|
-
tls_verification: Optional[bool] = None):
|
|
2935
|
+
tls_verification: Optional[_builtins.bool] = None):
|
|
2936
2936
|
"""
|
|
2937
|
-
:param str jenkins_interval: The interval time to poll status.
|
|
2938
|
-
:param str pipeline_name: The Jenkins pipeline name.
|
|
2939
|
-
:param str timeout: The total jenkins timeout.
|
|
2937
|
+
:param _builtins.str jenkins_interval: The interval time to poll status.
|
|
2938
|
+
:param _builtins.str pipeline_name: The Jenkins pipeline name.
|
|
2939
|
+
:param _builtins.str timeout: The total jenkins timeout.
|
|
2940
2940
|
:param 'VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs' jenkins_parameters: List of parameters.
|
|
2941
|
-
:param bool tls_verification: Host TLS verification.
|
|
2941
|
+
:param _builtins.bool tls_verification: Host TLS verification.
|
|
2942
2942
|
"""
|
|
2943
2943
|
pulumi.set(__self__, "jenkins_interval", jenkins_interval)
|
|
2944
2944
|
pulumi.set(__self__, "pipeline_name", pipeline_name)
|
|
@@ -2948,31 +2948,31 @@ class VerificationTemplateMetricProviderJenkins(dict):
|
|
|
2948
2948
|
if tls_verification is not None:
|
|
2949
2949
|
pulumi.set(__self__, "tls_verification", tls_verification)
|
|
2950
2950
|
|
|
2951
|
-
@property
|
|
2951
|
+
@_builtins.property
|
|
2952
2952
|
@pulumi.getter(name="jenkinsInterval")
|
|
2953
|
-
def jenkins_interval(self) -> str:
|
|
2953
|
+
def jenkins_interval(self) -> _builtins.str:
|
|
2954
2954
|
"""
|
|
2955
2955
|
The interval time to poll status.
|
|
2956
2956
|
"""
|
|
2957
2957
|
return pulumi.get(self, "jenkins_interval")
|
|
2958
2958
|
|
|
2959
|
-
@property
|
|
2959
|
+
@_builtins.property
|
|
2960
2960
|
@pulumi.getter(name="pipelineName")
|
|
2961
|
-
def pipeline_name(self) -> str:
|
|
2961
|
+
def pipeline_name(self) -> _builtins.str:
|
|
2962
2962
|
"""
|
|
2963
2963
|
The Jenkins pipeline name.
|
|
2964
2964
|
"""
|
|
2965
2965
|
return pulumi.get(self, "pipeline_name")
|
|
2966
2966
|
|
|
2967
|
-
@property
|
|
2967
|
+
@_builtins.property
|
|
2968
2968
|
@pulumi.getter
|
|
2969
|
-
def timeout(self) -> str:
|
|
2969
|
+
def timeout(self) -> _builtins.str:
|
|
2970
2970
|
"""
|
|
2971
2971
|
The total jenkins timeout.
|
|
2972
2972
|
"""
|
|
2973
2973
|
return pulumi.get(self, "timeout")
|
|
2974
2974
|
|
|
2975
|
-
@property
|
|
2975
|
+
@_builtins.property
|
|
2976
2976
|
@pulumi.getter(name="jenkinsParameters")
|
|
2977
2977
|
def jenkins_parameters(self) -> Optional['outputs.VerificationTemplateMetricProviderJenkinsJenkinsParameters']:
|
|
2978
2978
|
"""
|
|
@@ -2980,9 +2980,9 @@ class VerificationTemplateMetricProviderJenkins(dict):
|
|
|
2980
2980
|
"""
|
|
2981
2981
|
return pulumi.get(self, "jenkins_parameters")
|
|
2982
2982
|
|
|
2983
|
-
@property
|
|
2983
|
+
@_builtins.property
|
|
2984
2984
|
@pulumi.getter(name="tlsVerification")
|
|
2985
|
-
def tls_verification(self) -> Optional[bool]:
|
|
2985
|
+
def tls_verification(self) -> Optional[_builtins.bool]:
|
|
2986
2986
|
"""
|
|
2987
2987
|
Host TLS verification.
|
|
2988
2988
|
"""
|
|
@@ -3011,26 +3011,26 @@ class VerificationTemplateMetricProviderJenkinsJenkinsParameters(dict):
|
|
|
3011
3011
|
return super().get(key, default)
|
|
3012
3012
|
|
|
3013
3013
|
def __init__(__self__, *,
|
|
3014
|
-
parameter_key: str,
|
|
3015
|
-
parameter_value: str):
|
|
3014
|
+
parameter_key: _builtins.str,
|
|
3015
|
+
parameter_value: _builtins.str):
|
|
3016
3016
|
"""
|
|
3017
|
-
:param str parameter_key: Key of an argument.
|
|
3018
|
-
:param str parameter_value: Value of an argument.
|
|
3017
|
+
:param _builtins.str parameter_key: Key of an argument.
|
|
3018
|
+
:param _builtins.str parameter_value: Value of an argument.
|
|
3019
3019
|
"""
|
|
3020
3020
|
pulumi.set(__self__, "parameter_key", parameter_key)
|
|
3021
3021
|
pulumi.set(__self__, "parameter_value", parameter_value)
|
|
3022
3022
|
|
|
3023
|
-
@property
|
|
3023
|
+
@_builtins.property
|
|
3024
3024
|
@pulumi.getter(name="parameterKey")
|
|
3025
|
-
def parameter_key(self) -> str:
|
|
3025
|
+
def parameter_key(self) -> _builtins.str:
|
|
3026
3026
|
"""
|
|
3027
3027
|
Key of an argument.
|
|
3028
3028
|
"""
|
|
3029
3029
|
return pulumi.get(self, "parameter_key")
|
|
3030
3030
|
|
|
3031
|
-
@property
|
|
3031
|
+
@_builtins.property
|
|
3032
3032
|
@pulumi.getter(name="parameterValue")
|
|
3033
|
-
def parameter_value(self) -> str:
|
|
3033
|
+
def parameter_value(self) -> _builtins.str:
|
|
3034
3034
|
"""
|
|
3035
3035
|
Value of an argument.
|
|
3036
3036
|
"""
|
|
@@ -3046,7 +3046,7 @@ class VerificationTemplateMetricProviderJob(dict):
|
|
|
3046
3046
|
"""
|
|
3047
3047
|
pulumi.set(__self__, "specs", specs)
|
|
3048
3048
|
|
|
3049
|
-
@property
|
|
3049
|
+
@_builtins.property
|
|
3050
3050
|
@pulumi.getter
|
|
3051
3051
|
def specs(self) -> Sequence['outputs.VerificationTemplateMetricProviderJobSpec']:
|
|
3052
3052
|
"""
|
|
@@ -3078,16 +3078,16 @@ class VerificationTemplateMetricProviderJobSpec(dict):
|
|
|
3078
3078
|
|
|
3079
3079
|
def __init__(__self__, *,
|
|
3080
3080
|
job_templates: Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplate'],
|
|
3081
|
-
backoff_limit: Optional[int] = None):
|
|
3081
|
+
backoff_limit: Optional[_builtins.int] = None):
|
|
3082
3082
|
"""
|
|
3083
3083
|
:param Sequence['VerificationTemplateMetricProviderJobSpecJobTemplateArgs'] job_templates: Describes the pod that will be created when executing a job.
|
|
3084
|
-
:param int backoff_limit: Specifies the number of retries before marking this job failed.
|
|
3084
|
+
:param _builtins.int backoff_limit: Specifies the number of retries before marking this job failed.
|
|
3085
3085
|
"""
|
|
3086
3086
|
pulumi.set(__self__, "job_templates", job_templates)
|
|
3087
3087
|
if backoff_limit is not None:
|
|
3088
3088
|
pulumi.set(__self__, "backoff_limit", backoff_limit)
|
|
3089
3089
|
|
|
3090
|
-
@property
|
|
3090
|
+
@_builtins.property
|
|
3091
3091
|
@pulumi.getter(name="jobTemplates")
|
|
3092
3092
|
def job_templates(self) -> Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplate']:
|
|
3093
3093
|
"""
|
|
@@ -3095,9 +3095,9 @@ class VerificationTemplateMetricProviderJobSpec(dict):
|
|
|
3095
3095
|
"""
|
|
3096
3096
|
return pulumi.get(self, "job_templates")
|
|
3097
3097
|
|
|
3098
|
-
@property
|
|
3098
|
+
@_builtins.property
|
|
3099
3099
|
@pulumi.getter(name="backoffLimit")
|
|
3100
|
-
def backoff_limit(self) -> Optional[int]:
|
|
3100
|
+
def backoff_limit(self) -> Optional[_builtins.int]:
|
|
3101
3101
|
"""
|
|
3102
3102
|
Specifies the number of retries before marking this job failed.
|
|
3103
3103
|
"""
|
|
@@ -3130,7 +3130,7 @@ class VerificationTemplateMetricProviderJobSpecJobTemplate(dict):
|
|
|
3130
3130
|
"""
|
|
3131
3131
|
pulumi.set(__self__, "template_specs", template_specs)
|
|
3132
3132
|
|
|
3133
|
-
@property
|
|
3133
|
+
@_builtins.property
|
|
3134
3134
|
@pulumi.getter(name="templateSpecs")
|
|
3135
3135
|
def template_specs(self) -> Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpec']:
|
|
3136
3136
|
"""
|
|
@@ -3160,15 +3160,15 @@ class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpec(dict):
|
|
|
3160
3160
|
|
|
3161
3161
|
def __init__(__self__, *,
|
|
3162
3162
|
containers: Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainer'],
|
|
3163
|
-
restart_policy: str):
|
|
3163
|
+
restart_policy: _builtins.str):
|
|
3164
3164
|
"""
|
|
3165
3165
|
:param Sequence['VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs'] containers: A list of containers belonging to the pod.
|
|
3166
|
-
:param str restart_policy: Restart policy for all containers within the pod. Enum: `"Never" "OnFailure"`
|
|
3166
|
+
:param _builtins.str restart_policy: Restart policy for all containers within the pod. Enum: `"Never" "OnFailure"`
|
|
3167
3167
|
"""
|
|
3168
3168
|
pulumi.set(__self__, "containers", containers)
|
|
3169
3169
|
pulumi.set(__self__, "restart_policy", restart_policy)
|
|
3170
3170
|
|
|
3171
|
-
@property
|
|
3171
|
+
@_builtins.property
|
|
3172
3172
|
@pulumi.getter
|
|
3173
3173
|
def containers(self) -> Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainer']:
|
|
3174
3174
|
"""
|
|
@@ -3176,9 +3176,9 @@ class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpec(dict):
|
|
|
3176
3176
|
"""
|
|
3177
3177
|
return pulumi.get(self, "containers")
|
|
3178
3178
|
|
|
3179
|
-
@property
|
|
3179
|
+
@_builtins.property
|
|
3180
3180
|
@pulumi.getter(name="restartPolicy")
|
|
3181
|
-
def restart_policy(self) -> str:
|
|
3181
|
+
def restart_policy(self) -> _builtins.str:
|
|
3182
3182
|
"""
|
|
3183
3183
|
Restart policy for all containers within the pod. Enum: `"Never" "OnFailure"`
|
|
3184
3184
|
"""
|
|
@@ -3205,37 +3205,37 @@ class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainer(
|
|
|
3205
3205
|
return super().get(key, default)
|
|
3206
3206
|
|
|
3207
3207
|
def __init__(__self__, *,
|
|
3208
|
-
commands: Sequence[str],
|
|
3209
|
-
container_name: str,
|
|
3210
|
-
image: str):
|
|
3208
|
+
commands: Sequence[_builtins.str],
|
|
3209
|
+
container_name: _builtins.str,
|
|
3210
|
+
image: _builtins.str):
|
|
3211
3211
|
"""
|
|
3212
|
-
:param Sequence[str] commands: The entry point of a container.
|
|
3213
|
-
:param str container_name: The name of a container.
|
|
3214
|
-
:param str image: The image name of a container.
|
|
3212
|
+
:param Sequence[_builtins.str] commands: The entry point of a container.
|
|
3213
|
+
:param _builtins.str container_name: The name of a container.
|
|
3214
|
+
:param _builtins.str image: The image name of a container.
|
|
3215
3215
|
"""
|
|
3216
3216
|
pulumi.set(__self__, "commands", commands)
|
|
3217
3217
|
pulumi.set(__self__, "container_name", container_name)
|
|
3218
3218
|
pulumi.set(__self__, "image", image)
|
|
3219
3219
|
|
|
3220
|
-
@property
|
|
3220
|
+
@_builtins.property
|
|
3221
3221
|
@pulumi.getter
|
|
3222
|
-
def commands(self) -> Sequence[str]:
|
|
3222
|
+
def commands(self) -> Sequence[_builtins.str]:
|
|
3223
3223
|
"""
|
|
3224
3224
|
The entry point of a container.
|
|
3225
3225
|
"""
|
|
3226
3226
|
return pulumi.get(self, "commands")
|
|
3227
3227
|
|
|
3228
|
-
@property
|
|
3228
|
+
@_builtins.property
|
|
3229
3229
|
@pulumi.getter(name="containerName")
|
|
3230
|
-
def container_name(self) -> str:
|
|
3230
|
+
def container_name(self) -> _builtins.str:
|
|
3231
3231
|
"""
|
|
3232
3232
|
The name of a container.
|
|
3233
3233
|
"""
|
|
3234
3234
|
return pulumi.get(self, "container_name")
|
|
3235
3235
|
|
|
3236
|
-
@property
|
|
3236
|
+
@_builtins.property
|
|
3237
3237
|
@pulumi.getter
|
|
3238
|
-
def image(self) -> str:
|
|
3238
|
+
def image(self) -> _builtins.str:
|
|
3239
3239
|
"""
|
|
3240
3240
|
The image name of a container.
|
|
3241
3241
|
"""
|
|
@@ -3262,27 +3262,27 @@ class VerificationTemplateMetricProviderNewRelic(dict):
|
|
|
3262
3262
|
return super().get(key, default)
|
|
3263
3263
|
|
|
3264
3264
|
def __init__(__self__, *,
|
|
3265
|
-
new_relic_query: str,
|
|
3266
|
-
profile: Optional[str] = None):
|
|
3265
|
+
new_relic_query: _builtins.str,
|
|
3266
|
+
profile: Optional[_builtins.str] = None):
|
|
3267
3267
|
"""
|
|
3268
|
-
:param str new_relic_query: A raw newrelic NRQL query to perform.
|
|
3269
|
-
:param str profile: The name of the secret holding NR account configuration.
|
|
3268
|
+
:param _builtins.str new_relic_query: A raw newrelic NRQL query to perform.
|
|
3269
|
+
:param _builtins.str profile: The name of the secret holding NR account configuration.
|
|
3270
3270
|
"""
|
|
3271
3271
|
pulumi.set(__self__, "new_relic_query", new_relic_query)
|
|
3272
3272
|
if profile is not None:
|
|
3273
3273
|
pulumi.set(__self__, "profile", profile)
|
|
3274
3274
|
|
|
3275
|
-
@property
|
|
3275
|
+
@_builtins.property
|
|
3276
3276
|
@pulumi.getter(name="newRelicQuery")
|
|
3277
|
-
def new_relic_query(self) -> str:
|
|
3277
|
+
def new_relic_query(self) -> _builtins.str:
|
|
3278
3278
|
"""
|
|
3279
3279
|
A raw newrelic NRQL query to perform.
|
|
3280
3280
|
"""
|
|
3281
3281
|
return pulumi.get(self, "new_relic_query")
|
|
3282
3282
|
|
|
3283
|
-
@property
|
|
3283
|
+
@_builtins.property
|
|
3284
3284
|
@pulumi.getter
|
|
3285
|
-
def profile(self) -> Optional[str]:
|
|
3285
|
+
def profile(self) -> Optional[_builtins.str]:
|
|
3286
3286
|
"""
|
|
3287
3287
|
The name of the secret holding NR account configuration.
|
|
3288
3288
|
"""
|
|
@@ -3309,15 +3309,15 @@ class VerificationTemplateMetricProviderPrometheus(dict):
|
|
|
3309
3309
|
return super().get(key, default)
|
|
3310
3310
|
|
|
3311
3311
|
def __init__(__self__, *,
|
|
3312
|
-
prometheus_query: str):
|
|
3312
|
+
prometheus_query: _builtins.str):
|
|
3313
3313
|
"""
|
|
3314
|
-
:param str prometheus_query: A request for information retrieved from Prometheus.
|
|
3314
|
+
:param _builtins.str prometheus_query: A request for information retrieved from Prometheus.
|
|
3315
3315
|
"""
|
|
3316
3316
|
pulumi.set(__self__, "prometheus_query", prometheus_query)
|
|
3317
3317
|
|
|
3318
|
-
@property
|
|
3318
|
+
@_builtins.property
|
|
3319
3319
|
@pulumi.getter(name="prometheusQuery")
|
|
3320
|
-
def prometheus_query(self) -> str:
|
|
3320
|
+
def prometheus_query(self) -> _builtins.str:
|
|
3321
3321
|
"""
|
|
3322
3322
|
A request for information retrieved from Prometheus.
|
|
3323
3323
|
"""
|
|
@@ -3348,20 +3348,20 @@ class VerificationTemplateMetricProviderWeb(dict):
|
|
|
3348
3348
|
return super().get(key, default)
|
|
3349
3349
|
|
|
3350
3350
|
def __init__(__self__, *,
|
|
3351
|
-
url: str,
|
|
3352
|
-
body: Optional[str] = None,
|
|
3353
|
-
insecure: Optional[bool] = None,
|
|
3354
|
-
json_path: Optional[str] = None,
|
|
3355
|
-
method: Optional[str] = None,
|
|
3356
|
-
timeout_seconds: Optional[int] = None,
|
|
3351
|
+
url: _builtins.str,
|
|
3352
|
+
body: Optional[_builtins.str] = None,
|
|
3353
|
+
insecure: Optional[_builtins.bool] = None,
|
|
3354
|
+
json_path: Optional[_builtins.str] = None,
|
|
3355
|
+
method: Optional[_builtins.str] = None,
|
|
3356
|
+
timeout_seconds: Optional[_builtins.int] = None,
|
|
3357
3357
|
web_headers: Optional[Sequence['outputs.VerificationTemplateMetricProviderWebWebHeader']] = None):
|
|
3358
3358
|
"""
|
|
3359
|
-
:param str url: The address of the web metric.
|
|
3360
|
-
:param str body: The body of the web metric.
|
|
3361
|
-
:param bool insecure: Skips host TLS verification.
|
|
3362
|
-
:param str json_path: A JSON Path to use as the result variable. Default is "{$}"
|
|
3363
|
-
:param str method: The method of the web metric. Enum: "GET" "POST" "PUT"
|
|
3364
|
-
:param int timeout_seconds: The timeout for the request in seconds. Default is 10.
|
|
3359
|
+
:param _builtins.str url: The address of the web metric.
|
|
3360
|
+
:param _builtins.str body: The body of the web metric.
|
|
3361
|
+
:param _builtins.bool insecure: Skips host TLS verification.
|
|
3362
|
+
:param _builtins.str json_path: A JSON Path to use as the result variable. Default is "{$}"
|
|
3363
|
+
:param _builtins.str method: The method of the web metric. Enum: "GET" "POST" "PUT"
|
|
3364
|
+
:param _builtins.int timeout_seconds: The timeout for the request in seconds. Default is 10.
|
|
3365
3365
|
:param Sequence['VerificationTemplateMetricProviderWebWebHeaderArgs'] web_headers: Optional HTTP headers to use in the request.
|
|
3366
3366
|
"""
|
|
3367
3367
|
pulumi.set(__self__, "url", url)
|
|
@@ -3378,55 +3378,55 @@ class VerificationTemplateMetricProviderWeb(dict):
|
|
|
3378
3378
|
if web_headers is not None:
|
|
3379
3379
|
pulumi.set(__self__, "web_headers", web_headers)
|
|
3380
3380
|
|
|
3381
|
-
@property
|
|
3381
|
+
@_builtins.property
|
|
3382
3382
|
@pulumi.getter
|
|
3383
|
-
def url(self) -> str:
|
|
3383
|
+
def url(self) -> _builtins.str:
|
|
3384
3384
|
"""
|
|
3385
3385
|
The address of the web metric.
|
|
3386
3386
|
"""
|
|
3387
3387
|
return pulumi.get(self, "url")
|
|
3388
3388
|
|
|
3389
|
-
@property
|
|
3389
|
+
@_builtins.property
|
|
3390
3390
|
@pulumi.getter
|
|
3391
|
-
def body(self) -> Optional[str]:
|
|
3391
|
+
def body(self) -> Optional[_builtins.str]:
|
|
3392
3392
|
"""
|
|
3393
3393
|
The body of the web metric.
|
|
3394
3394
|
"""
|
|
3395
3395
|
return pulumi.get(self, "body")
|
|
3396
3396
|
|
|
3397
|
-
@property
|
|
3397
|
+
@_builtins.property
|
|
3398
3398
|
@pulumi.getter
|
|
3399
|
-
def insecure(self) -> Optional[bool]:
|
|
3399
|
+
def insecure(self) -> Optional[_builtins.bool]:
|
|
3400
3400
|
"""
|
|
3401
3401
|
Skips host TLS verification.
|
|
3402
3402
|
"""
|
|
3403
3403
|
return pulumi.get(self, "insecure")
|
|
3404
3404
|
|
|
3405
|
-
@property
|
|
3405
|
+
@_builtins.property
|
|
3406
3406
|
@pulumi.getter(name="jsonPath")
|
|
3407
|
-
def json_path(self) -> Optional[str]:
|
|
3407
|
+
def json_path(self) -> Optional[_builtins.str]:
|
|
3408
3408
|
"""
|
|
3409
3409
|
A JSON Path to use as the result variable. Default is "{$}"
|
|
3410
3410
|
"""
|
|
3411
3411
|
return pulumi.get(self, "json_path")
|
|
3412
3412
|
|
|
3413
|
-
@property
|
|
3413
|
+
@_builtins.property
|
|
3414
3414
|
@pulumi.getter
|
|
3415
|
-
def method(self) -> Optional[str]:
|
|
3415
|
+
def method(self) -> Optional[_builtins.str]:
|
|
3416
3416
|
"""
|
|
3417
3417
|
The method of the web metric. Enum: "GET" "POST" "PUT"
|
|
3418
3418
|
"""
|
|
3419
3419
|
return pulumi.get(self, "method")
|
|
3420
3420
|
|
|
3421
|
-
@property
|
|
3421
|
+
@_builtins.property
|
|
3422
3422
|
@pulumi.getter(name="timeoutSeconds")
|
|
3423
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
3423
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
3424
3424
|
"""
|
|
3425
3425
|
The timeout for the request in seconds. Default is 10.
|
|
3426
3426
|
"""
|
|
3427
3427
|
return pulumi.get(self, "timeout_seconds")
|
|
3428
3428
|
|
|
3429
|
-
@property
|
|
3429
|
+
@_builtins.property
|
|
3430
3430
|
@pulumi.getter(name="webHeaders")
|
|
3431
3431
|
def web_headers(self) -> Optional[Sequence['outputs.VerificationTemplateMetricProviderWebWebHeader']]:
|
|
3432
3432
|
"""
|
|
@@ -3457,26 +3457,26 @@ class VerificationTemplateMetricProviderWebWebHeader(dict):
|
|
|
3457
3457
|
return super().get(key, default)
|
|
3458
3458
|
|
|
3459
3459
|
def __init__(__self__, *,
|
|
3460
|
-
web_header_key: str,
|
|
3461
|
-
web_header_value: str):
|
|
3460
|
+
web_header_key: _builtins.str,
|
|
3461
|
+
web_header_value: _builtins.str):
|
|
3462
3462
|
"""
|
|
3463
|
-
:param str web_header_key: The name of a header
|
|
3464
|
-
:param str web_header_value: The value of a header
|
|
3463
|
+
:param _builtins.str web_header_key: The name of a header
|
|
3464
|
+
:param _builtins.str web_header_value: The value of a header
|
|
3465
3465
|
"""
|
|
3466
3466
|
pulumi.set(__self__, "web_header_key", web_header_key)
|
|
3467
3467
|
pulumi.set(__self__, "web_header_value", web_header_value)
|
|
3468
3468
|
|
|
3469
|
-
@property
|
|
3469
|
+
@_builtins.property
|
|
3470
3470
|
@pulumi.getter(name="webHeaderKey")
|
|
3471
|
-
def web_header_key(self) -> str:
|
|
3471
|
+
def web_header_key(self) -> _builtins.str:
|
|
3472
3472
|
"""
|
|
3473
3473
|
The name of a header
|
|
3474
3474
|
"""
|
|
3475
3475
|
return pulumi.get(self, "web_header_key")
|
|
3476
3476
|
|
|
3477
|
-
@property
|
|
3477
|
+
@_builtins.property
|
|
3478
3478
|
@pulumi.getter(name="webHeaderValue")
|
|
3479
|
-
def web_header_value(self) -> str:
|
|
3479
|
+
def web_header_value(self) -> _builtins.str:
|
|
3480
3480
|
"""
|
|
3481
3481
|
The value of a header
|
|
3482
3482
|
"""
|