pulumi-spotinst 3.83.0a1720524486__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 +38 -1
- pulumi_spotinst/_inputs.py +4082 -846
- pulumi_spotinst/_utilities.py +15 -10
- pulumi_spotinst/account.py +171 -0
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +7292 -2871
- pulumi_spotinst/aws/account.py +25 -19
- pulumi_spotinst/aws/beanstalk.py +272 -190
- pulumi_spotinst/aws/credentials.py +42 -36
- pulumi_spotinst/aws/elastigroup.py +1321 -1176
- pulumi_spotinst/aws/managed_instance.py +633 -526
- pulumi_spotinst/aws/mr_scalar.py +827 -983
- pulumi_spotinst/aws/ocean.py +764 -570
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +42 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +580 -366
- pulumi_spotinst/aws/outputs.py +3421 -2205
- pulumi_spotinst/aws/suspension.py +51 -45
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +1492 -434
- pulumi_spotinst/azure/ocean_np.py +518 -464
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +479 -408
- pulumi_spotinst/azure/outputs.py +840 -345
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +7 -2
- pulumi_spotinst/config/vars.py +11 -6
- pulumi_spotinst/credentials_azure.py +423 -0
- pulumi_spotinst/credentials_gcp.py +632 -0
- pulumi_spotinst/data_integration.py +58 -52
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +1164 -469
- pulumi_spotinst/ecs/ocean.py +711 -446
- pulumi_spotinst/ecs/ocean_launch_spec.py +367 -341
- pulumi_spotinst/ecs/outputs.py +463 -374
- pulumi_spotinst/elastigroup_azure_v3.py +985 -197
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +1061 -381
- pulumi_spotinst/gcp/elastigroup.py +885 -567
- pulumi_spotinst/gcp/outputs.py +542 -301
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +2071 -715
- pulumi_spotinst/gke/elastigroup.py +558 -382
- pulumi_spotinst/gke/ocean_import.py +379 -255
- pulumi_spotinst/gke/ocean_launch_spec.py +501 -384
- pulumi_spotinst/gke/ocean_launch_spec_import.py +42 -36
- pulumi_spotinst/gke/outputs.py +1063 -528
- pulumi_spotinst/health_check.py +116 -70
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +515 -95
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +1709 -651
- pulumi_spotinst/oceancd/outputs.py +537 -526
- pulumi_spotinst/oceancd/rollout_spec.py +65 -59
- pulumi_spotinst/oceancd/strategy.py +37 -31
- pulumi_spotinst/oceancd/verification_provider.py +128 -122
- pulumi_spotinst/oceancd/verification_template.py +265 -259
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +151 -57
- pulumi_spotinst/organization/outputs.py +51 -46
- pulumi_spotinst/organization/policy.py +76 -70
- pulumi_spotinst/organization/programmatic_user.py +83 -77
- pulumi_spotinst/organization/user.py +126 -120
- pulumi_spotinst/organization/user_group.py +75 -69
- pulumi_spotinst/outputs.py +3005 -832
- pulumi_spotinst/provider.py +66 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +290 -81
- pulumi_spotinst/spark/ocean.py +169 -115
- pulumi_spotinst/spark/ocean_virtual_node_group.py +34 -28
- pulumi_spotinst/spark/outputs.py +136 -66
- pulumi_spotinst/stateful_node_azure.py +820 -784
- pulumi_spotinst/subscription.py +93 -87
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +7 -6
- pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.83.0a1720524486.dist-info/RECORD +0 -73
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,17 @@
|
|
|
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
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -79,15 +84,15 @@ __all__ = [
|
|
|
79
84
|
@pulumi.output_type
|
|
80
85
|
class RolloutSpecFailurePolicy(dict):
|
|
81
86
|
def __init__(__self__, *,
|
|
82
|
-
action: str):
|
|
87
|
+
action: _builtins.str):
|
|
83
88
|
"""
|
|
84
|
-
: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".
|
|
85
90
|
"""
|
|
86
91
|
pulumi.set(__self__, "action", action)
|
|
87
92
|
|
|
88
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
89
94
|
@pulumi.getter
|
|
90
|
-
def action(self) -> str:
|
|
95
|
+
def action(self) -> _builtins.str:
|
|
91
96
|
"""
|
|
92
97
|
Choose an action to perform on failure. Default is `abort`. Enum: "abort" "pause" "promote".
|
|
93
98
|
"""
|
|
@@ -118,13 +123,13 @@ class RolloutSpecSpotDeployment(dict):
|
|
|
118
123
|
return super().get(key, default)
|
|
119
124
|
|
|
120
125
|
def __init__(__self__, *,
|
|
121
|
-
spot_deployments_cluster_id: Optional[str] = None,
|
|
122
|
-
spot_deployments_name: Optional[str] = None,
|
|
123
|
-
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):
|
|
124
129
|
"""
|
|
125
|
-
:param str spot_deployments_cluster_id: Ocean CD cluster identifier for the references `SpotDeployment`.
|
|
126
|
-
:param str spot_deployments_name: The name of the `SpotDeployment` resource
|
|
127
|
-
: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.
|
|
128
133
|
"""
|
|
129
134
|
if spot_deployments_cluster_id is not None:
|
|
130
135
|
pulumi.set(__self__, "spot_deployments_cluster_id", spot_deployments_cluster_id)
|
|
@@ -133,25 +138,25 @@ class RolloutSpecSpotDeployment(dict):
|
|
|
133
138
|
if spot_deployments_namespace is not None:
|
|
134
139
|
pulumi.set(__self__, "spot_deployments_namespace", spot_deployments_namespace)
|
|
135
140
|
|
|
136
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
137
142
|
@pulumi.getter(name="spotDeploymentsClusterId")
|
|
138
|
-
def spot_deployments_cluster_id(self) -> Optional[str]:
|
|
143
|
+
def spot_deployments_cluster_id(self) -> Optional[_builtins.str]:
|
|
139
144
|
"""
|
|
140
145
|
Ocean CD cluster identifier for the references `SpotDeployment`.
|
|
141
146
|
"""
|
|
142
147
|
return pulumi.get(self, "spot_deployments_cluster_id")
|
|
143
148
|
|
|
144
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
145
150
|
@pulumi.getter(name="spotDeploymentsName")
|
|
146
|
-
def spot_deployments_name(self) -> Optional[str]:
|
|
151
|
+
def spot_deployments_name(self) -> Optional[_builtins.str]:
|
|
147
152
|
"""
|
|
148
153
|
The name of the `SpotDeployment` resource
|
|
149
154
|
"""
|
|
150
155
|
return pulumi.get(self, "spot_deployments_name")
|
|
151
156
|
|
|
152
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
153
158
|
@pulumi.getter(name="spotDeploymentsNamespace")
|
|
154
|
-
def spot_deployments_namespace(self) -> Optional[str]:
|
|
159
|
+
def spot_deployments_namespace(self) -> Optional[_builtins.str]:
|
|
155
160
|
"""
|
|
156
161
|
The namespace which the `SpotDeployment` resource exists within.
|
|
157
162
|
"""
|
|
@@ -178,25 +183,25 @@ class RolloutSpecStrategy(dict):
|
|
|
178
183
|
return super().get(key, default)
|
|
179
184
|
|
|
180
185
|
def __init__(__self__, *,
|
|
181
|
-
strategy_name: str,
|
|
186
|
+
strategy_name: _builtins.str,
|
|
182
187
|
args: Optional[Sequence['outputs.RolloutSpecStrategyArg']] = None):
|
|
183
188
|
"""
|
|
184
|
-
:param str strategy_name: Ocean CD strategy name identifier.
|
|
189
|
+
:param _builtins.str strategy_name: Ocean CD strategy name identifier.
|
|
185
190
|
:param Sequence['RolloutSpecStrategyArgArgs'] args: Arguments defined in Verification Templates.
|
|
186
191
|
"""
|
|
187
192
|
pulumi.set(__self__, "strategy_name", strategy_name)
|
|
188
193
|
if args is not None:
|
|
189
194
|
pulumi.set(__self__, "args", args)
|
|
190
195
|
|
|
191
|
-
@property
|
|
196
|
+
@_builtins.property
|
|
192
197
|
@pulumi.getter(name="strategyName")
|
|
193
|
-
def strategy_name(self) -> str:
|
|
198
|
+
def strategy_name(self) -> _builtins.str:
|
|
194
199
|
"""
|
|
195
200
|
Ocean CD strategy name identifier.
|
|
196
201
|
"""
|
|
197
202
|
return pulumi.get(self, "strategy_name")
|
|
198
203
|
|
|
199
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
200
205
|
@pulumi.getter
|
|
201
206
|
def args(self) -> Optional[Sequence['outputs.RolloutSpecStrategyArg']]:
|
|
202
207
|
"""
|
|
@@ -229,12 +234,12 @@ class RolloutSpecStrategyArg(dict):
|
|
|
229
234
|
return super().get(key, default)
|
|
230
235
|
|
|
231
236
|
def __init__(__self__, *,
|
|
232
|
-
arg_name: str,
|
|
233
|
-
arg_value: Optional[str] = None,
|
|
237
|
+
arg_name: _builtins.str,
|
|
238
|
+
arg_value: Optional[_builtins.str] = None,
|
|
234
239
|
value_from: Optional['outputs.RolloutSpecStrategyArgValueFrom'] = None):
|
|
235
240
|
"""
|
|
236
|
-
:param str arg_name: Name of an argument.
|
|
237
|
-
: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.
|
|
238
243
|
:param 'RolloutSpecStrategyArgValueFromArgs' value_from: Defines from where to get the value of an argument.
|
|
239
244
|
"""
|
|
240
245
|
pulumi.set(__self__, "arg_name", arg_name)
|
|
@@ -243,23 +248,23 @@ class RolloutSpecStrategyArg(dict):
|
|
|
243
248
|
if value_from is not None:
|
|
244
249
|
pulumi.set(__self__, "value_from", value_from)
|
|
245
250
|
|
|
246
|
-
@property
|
|
251
|
+
@_builtins.property
|
|
247
252
|
@pulumi.getter(name="argName")
|
|
248
|
-
def arg_name(self) -> str:
|
|
253
|
+
def arg_name(self) -> _builtins.str:
|
|
249
254
|
"""
|
|
250
255
|
Name of an argument.
|
|
251
256
|
"""
|
|
252
257
|
return pulumi.get(self, "arg_name")
|
|
253
258
|
|
|
254
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
255
260
|
@pulumi.getter(name="argValue")
|
|
256
|
-
def arg_value(self) -> Optional[str]:
|
|
261
|
+
def arg_value(self) -> Optional[_builtins.str]:
|
|
257
262
|
"""
|
|
258
263
|
Value of an argument.
|
|
259
264
|
"""
|
|
260
265
|
return pulumi.get(self, "arg_value")
|
|
261
266
|
|
|
262
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
263
268
|
@pulumi.getter(name="valueFrom")
|
|
264
269
|
def value_from(self) -> Optional['outputs.RolloutSpecStrategyArgValueFrom']:
|
|
265
270
|
"""
|
|
@@ -294,7 +299,7 @@ class RolloutSpecStrategyArgValueFrom(dict):
|
|
|
294
299
|
"""
|
|
295
300
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
296
301
|
|
|
297
|
-
@property
|
|
302
|
+
@_builtins.property
|
|
298
303
|
@pulumi.getter(name="fieldRef")
|
|
299
304
|
def field_ref(self) -> 'outputs.RolloutSpecStrategyArgValueFromFieldRef':
|
|
300
305
|
"""
|
|
@@ -323,15 +328,15 @@ class RolloutSpecStrategyArgValueFromFieldRef(dict):
|
|
|
323
328
|
return super().get(key, default)
|
|
324
329
|
|
|
325
330
|
def __init__(__self__, *,
|
|
326
|
-
field_path: str):
|
|
331
|
+
field_path: _builtins.str):
|
|
327
332
|
"""
|
|
328
|
-
: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.
|
|
329
334
|
"""
|
|
330
335
|
pulumi.set(__self__, "field_path", field_path)
|
|
331
336
|
|
|
332
|
-
@property
|
|
337
|
+
@_builtins.property
|
|
333
338
|
@pulumi.getter(name="fieldPath")
|
|
334
|
-
def field_path(self) -> str:
|
|
339
|
+
def field_path(self) -> _builtins.str:
|
|
335
340
|
"""
|
|
336
341
|
Path to SpotDeployment's field from where to get the value of an argument.
|
|
337
342
|
"""
|
|
@@ -364,21 +369,21 @@ class RolloutSpecTraffic(dict):
|
|
|
364
369
|
def __init__(__self__, *,
|
|
365
370
|
alb: Optional['outputs.RolloutSpecTrafficAlb'] = None,
|
|
366
371
|
ambassador: Optional['outputs.RolloutSpecTrafficAmbassador'] = None,
|
|
367
|
-
canary_service: Optional[str] = None,
|
|
372
|
+
canary_service: Optional[_builtins.str] = None,
|
|
368
373
|
istio: Optional['outputs.RolloutSpecTrafficIstio'] = None,
|
|
369
374
|
nginx: Optional['outputs.RolloutSpecTrafficNginx'] = None,
|
|
370
375
|
ping_pong: Optional['outputs.RolloutSpecTrafficPingPong'] = None,
|
|
371
376
|
smi: Optional['outputs.RolloutSpecTrafficSmi'] = None,
|
|
372
|
-
stable_service: Optional[str] = None):
|
|
377
|
+
stable_service: Optional[_builtins.str] = None):
|
|
373
378
|
"""
|
|
374
379
|
:param 'RolloutSpecTrafficAlbArgs' alb: Holds ALB Ingress specific configuration to route traffic.
|
|
375
380
|
:param 'RolloutSpecTrafficAmbassadorArgs' ambassador: Holds specific configuration to use Ambassador to route traffic.
|
|
376
|
-
:param str canary_service: The canary service name.
|
|
381
|
+
:param _builtins.str canary_service: The canary service name.
|
|
377
382
|
:param 'RolloutSpecTrafficIstioArgs' istio: Holds Istio specific configuration to route traffic.
|
|
378
383
|
:param 'RolloutSpecTrafficNginxArgs' nginx: Holds Nginx Ingress specific configuration to route traffic.
|
|
379
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.
|
|
380
385
|
:param 'RolloutSpecTrafficSmiArgs' smi: Holds TrafficSplit specific configuration to route traffic.
|
|
381
|
-
:param str stable_service: The stable service name.
|
|
386
|
+
:param _builtins.str stable_service: The stable service name.
|
|
382
387
|
"""
|
|
383
388
|
if alb is not None:
|
|
384
389
|
pulumi.set(__self__, "alb", alb)
|
|
@@ -397,7 +402,7 @@ class RolloutSpecTraffic(dict):
|
|
|
397
402
|
if stable_service is not None:
|
|
398
403
|
pulumi.set(__self__, "stable_service", stable_service)
|
|
399
404
|
|
|
400
|
-
@property
|
|
405
|
+
@_builtins.property
|
|
401
406
|
@pulumi.getter
|
|
402
407
|
def alb(self) -> Optional['outputs.RolloutSpecTrafficAlb']:
|
|
403
408
|
"""
|
|
@@ -405,7 +410,7 @@ class RolloutSpecTraffic(dict):
|
|
|
405
410
|
"""
|
|
406
411
|
return pulumi.get(self, "alb")
|
|
407
412
|
|
|
408
|
-
@property
|
|
413
|
+
@_builtins.property
|
|
409
414
|
@pulumi.getter
|
|
410
415
|
def ambassador(self) -> Optional['outputs.RolloutSpecTrafficAmbassador']:
|
|
411
416
|
"""
|
|
@@ -413,15 +418,15 @@ class RolloutSpecTraffic(dict):
|
|
|
413
418
|
"""
|
|
414
419
|
return pulumi.get(self, "ambassador")
|
|
415
420
|
|
|
416
|
-
@property
|
|
421
|
+
@_builtins.property
|
|
417
422
|
@pulumi.getter(name="canaryService")
|
|
418
|
-
def canary_service(self) -> Optional[str]:
|
|
423
|
+
def canary_service(self) -> Optional[_builtins.str]:
|
|
419
424
|
"""
|
|
420
425
|
The canary service name.
|
|
421
426
|
"""
|
|
422
427
|
return pulumi.get(self, "canary_service")
|
|
423
428
|
|
|
424
|
-
@property
|
|
429
|
+
@_builtins.property
|
|
425
430
|
@pulumi.getter
|
|
426
431
|
def istio(self) -> Optional['outputs.RolloutSpecTrafficIstio']:
|
|
427
432
|
"""
|
|
@@ -429,7 +434,7 @@ class RolloutSpecTraffic(dict):
|
|
|
429
434
|
"""
|
|
430
435
|
return pulumi.get(self, "istio")
|
|
431
436
|
|
|
432
|
-
@property
|
|
437
|
+
@_builtins.property
|
|
433
438
|
@pulumi.getter
|
|
434
439
|
def nginx(self) -> Optional['outputs.RolloutSpecTrafficNginx']:
|
|
435
440
|
"""
|
|
@@ -437,7 +442,7 @@ class RolloutSpecTraffic(dict):
|
|
|
437
442
|
"""
|
|
438
443
|
return pulumi.get(self, "nginx")
|
|
439
444
|
|
|
440
|
-
@property
|
|
445
|
+
@_builtins.property
|
|
441
446
|
@pulumi.getter(name="pingPong")
|
|
442
447
|
def ping_pong(self) -> Optional['outputs.RolloutSpecTrafficPingPong']:
|
|
443
448
|
"""
|
|
@@ -445,7 +450,7 @@ class RolloutSpecTraffic(dict):
|
|
|
445
450
|
"""
|
|
446
451
|
return pulumi.get(self, "ping_pong")
|
|
447
452
|
|
|
448
|
-
@property
|
|
453
|
+
@_builtins.property
|
|
449
454
|
@pulumi.getter
|
|
450
455
|
def smi(self) -> Optional['outputs.RolloutSpecTrafficSmi']:
|
|
451
456
|
"""
|
|
@@ -453,9 +458,9 @@ class RolloutSpecTraffic(dict):
|
|
|
453
458
|
"""
|
|
454
459
|
return pulumi.get(self, "smi")
|
|
455
460
|
|
|
456
|
-
@property
|
|
461
|
+
@_builtins.property
|
|
457
462
|
@pulumi.getter(name="stableService")
|
|
458
|
-
def stable_service(self) -> Optional[str]:
|
|
463
|
+
def stable_service(self) -> Optional[_builtins.str]:
|
|
459
464
|
"""
|
|
460
465
|
The stable service name.
|
|
461
466
|
"""
|
|
@@ -490,16 +495,16 @@ class RolloutSpecTrafficAlb(dict):
|
|
|
490
495
|
return super().get(key, default)
|
|
491
496
|
|
|
492
497
|
def __init__(__self__, *,
|
|
493
|
-
alb_ingress: str,
|
|
494
|
-
alb_root_service: str,
|
|
495
|
-
service_port: int,
|
|
496
|
-
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,
|
|
497
502
|
stickiness_config: Optional['outputs.RolloutSpecTrafficAlbStickinessConfig'] = None):
|
|
498
503
|
"""
|
|
499
|
-
:param str alb_ingress: Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
500
|
-
:param str alb_root_service: References the service in the ingress to the controller should add the action to.
|
|
501
|
-
:param int service_port: Refers to the port that the Ingress action should route traffic to.
|
|
502
|
-
: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.
|
|
503
508
|
:param 'RolloutSpecTrafficAlbStickinessConfigArgs' stickiness_config: Allows to specify further settings on the ForwardConfig.
|
|
504
509
|
"""
|
|
505
510
|
pulumi.set(__self__, "alb_ingress", alb_ingress)
|
|
@@ -510,39 +515,39 @@ class RolloutSpecTrafficAlb(dict):
|
|
|
510
515
|
if stickiness_config is not None:
|
|
511
516
|
pulumi.set(__self__, "stickiness_config", stickiness_config)
|
|
512
517
|
|
|
513
|
-
@property
|
|
518
|
+
@_builtins.property
|
|
514
519
|
@pulumi.getter(name="albIngress")
|
|
515
|
-
def alb_ingress(self) -> str:
|
|
520
|
+
def alb_ingress(self) -> _builtins.str:
|
|
516
521
|
"""
|
|
517
522
|
Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
518
523
|
"""
|
|
519
524
|
return pulumi.get(self, "alb_ingress")
|
|
520
525
|
|
|
521
|
-
@property
|
|
526
|
+
@_builtins.property
|
|
522
527
|
@pulumi.getter(name="albRootService")
|
|
523
|
-
def alb_root_service(self) -> str:
|
|
528
|
+
def alb_root_service(self) -> _builtins.str:
|
|
524
529
|
"""
|
|
525
530
|
References the service in the ingress to the controller should add the action to.
|
|
526
531
|
"""
|
|
527
532
|
return pulumi.get(self, "alb_root_service")
|
|
528
533
|
|
|
529
|
-
@property
|
|
534
|
+
@_builtins.property
|
|
530
535
|
@pulumi.getter(name="servicePort")
|
|
531
|
-
def service_port(self) -> int:
|
|
536
|
+
def service_port(self) -> _builtins.int:
|
|
532
537
|
"""
|
|
533
538
|
Refers to the port that the Ingress action should route traffic to.
|
|
534
539
|
"""
|
|
535
540
|
return pulumi.get(self, "service_port")
|
|
536
541
|
|
|
537
|
-
@property
|
|
542
|
+
@_builtins.property
|
|
538
543
|
@pulumi.getter(name="albAnnotationPrefix")
|
|
539
|
-
def alb_annotation_prefix(self) -> Optional[str]:
|
|
544
|
+
def alb_annotation_prefix(self) -> Optional[_builtins.str]:
|
|
540
545
|
"""
|
|
541
546
|
Has to match the configured annotation prefix on the alb ingress controller.
|
|
542
547
|
"""
|
|
543
548
|
return pulumi.get(self, "alb_annotation_prefix")
|
|
544
549
|
|
|
545
|
-
@property
|
|
550
|
+
@_builtins.property
|
|
546
551
|
@pulumi.getter(name="stickinessConfig")
|
|
547
552
|
def stickiness_config(self) -> Optional['outputs.RolloutSpecTrafficAlbStickinessConfig']:
|
|
548
553
|
"""
|
|
@@ -571,28 +576,28 @@ class RolloutSpecTrafficAlbStickinessConfig(dict):
|
|
|
571
576
|
return super().get(key, default)
|
|
572
577
|
|
|
573
578
|
def __init__(__self__, *,
|
|
574
|
-
duration_seconds: Optional[int] = None,
|
|
575
|
-
enabled: Optional[bool] = None):
|
|
579
|
+
duration_seconds: Optional[_builtins.int] = None,
|
|
580
|
+
enabled: Optional[_builtins.bool] = None):
|
|
576
581
|
"""
|
|
577
|
-
:param int duration_seconds: Defines how long the load balancer should consistently route the user's request to the same target.
|
|
578
|
-
: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.
|
|
579
584
|
"""
|
|
580
585
|
if duration_seconds is not None:
|
|
581
586
|
pulumi.set(__self__, "duration_seconds", duration_seconds)
|
|
582
587
|
if enabled is not None:
|
|
583
588
|
pulumi.set(__self__, "enabled", enabled)
|
|
584
589
|
|
|
585
|
-
@property
|
|
590
|
+
@_builtins.property
|
|
586
591
|
@pulumi.getter(name="durationSeconds")
|
|
587
|
-
def duration_seconds(self) -> Optional[int]:
|
|
592
|
+
def duration_seconds(self) -> Optional[_builtins.int]:
|
|
588
593
|
"""
|
|
589
594
|
Defines how long the load balancer should consistently route the user's request to the same target.
|
|
590
595
|
"""
|
|
591
596
|
return pulumi.get(self, "duration_seconds")
|
|
592
597
|
|
|
593
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
594
599
|
@pulumi.getter
|
|
595
|
-
def enabled(self) -> Optional[bool]:
|
|
600
|
+
def enabled(self) -> Optional[_builtins.bool]:
|
|
596
601
|
"""
|
|
597
602
|
Enables the load balancer to bind a user's session to a specific target.
|
|
598
603
|
"""
|
|
@@ -602,15 +607,15 @@ class RolloutSpecTrafficAlbStickinessConfig(dict):
|
|
|
602
607
|
@pulumi.output_type
|
|
603
608
|
class RolloutSpecTrafficAmbassador(dict):
|
|
604
609
|
def __init__(__self__, *,
|
|
605
|
-
mappings: Sequence[str]):
|
|
610
|
+
mappings: Sequence[_builtins.str]):
|
|
606
611
|
"""
|
|
607
|
-
: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.
|
|
608
613
|
"""
|
|
609
614
|
pulumi.set(__self__, "mappings", mappings)
|
|
610
615
|
|
|
611
|
-
@property
|
|
616
|
+
@_builtins.property
|
|
612
617
|
@pulumi.getter
|
|
613
|
-
def mappings(self) -> Sequence[str]:
|
|
618
|
+
def mappings(self) -> Sequence[_builtins.str]:
|
|
614
619
|
"""
|
|
615
620
|
A list of names of the Ambassador Mappings used to route traffic to the service.
|
|
616
621
|
"""
|
|
@@ -649,7 +654,7 @@ class RolloutSpecTrafficIstio(dict):
|
|
|
649
654
|
if destination_rule is not None:
|
|
650
655
|
pulumi.set(__self__, "destination_rule", destination_rule)
|
|
651
656
|
|
|
652
|
-
@property
|
|
657
|
+
@_builtins.property
|
|
653
658
|
@pulumi.getter(name="virtualServices")
|
|
654
659
|
def virtual_services(self) -> Sequence['outputs.RolloutSpecTrafficIstioVirtualService']:
|
|
655
660
|
"""
|
|
@@ -657,7 +662,7 @@ class RolloutSpecTrafficIstio(dict):
|
|
|
657
662
|
"""
|
|
658
663
|
return pulumi.get(self, "virtual_services")
|
|
659
664
|
|
|
660
|
-
@property
|
|
665
|
+
@_builtins.property
|
|
661
666
|
@pulumi.getter(name="destinationRule")
|
|
662
667
|
def destination_rule(self) -> Optional['outputs.RolloutSpecTrafficIstioDestinationRule']:
|
|
663
668
|
"""
|
|
@@ -690,37 +695,37 @@ class RolloutSpecTrafficIstioDestinationRule(dict):
|
|
|
690
695
|
return super().get(key, default)
|
|
691
696
|
|
|
692
697
|
def __init__(__self__, *,
|
|
693
|
-
canary_subset_name: str,
|
|
694
|
-
destination_rule_name: str,
|
|
695
|
-
stable_subset_name: str):
|
|
698
|
+
canary_subset_name: _builtins.str,
|
|
699
|
+
destination_rule_name: _builtins.str,
|
|
700
|
+
stable_subset_name: _builtins.str):
|
|
696
701
|
"""
|
|
697
|
-
:param str canary_subset_name: The subset name to modify labels with the canary version.
|
|
698
|
-
:param str destination_rule_name: Holds the name of the DestinationRule.
|
|
699
|
-
: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.
|
|
700
705
|
"""
|
|
701
706
|
pulumi.set(__self__, "canary_subset_name", canary_subset_name)
|
|
702
707
|
pulumi.set(__self__, "destination_rule_name", destination_rule_name)
|
|
703
708
|
pulumi.set(__self__, "stable_subset_name", stable_subset_name)
|
|
704
709
|
|
|
705
|
-
@property
|
|
710
|
+
@_builtins.property
|
|
706
711
|
@pulumi.getter(name="canarySubsetName")
|
|
707
|
-
def canary_subset_name(self) -> str:
|
|
712
|
+
def canary_subset_name(self) -> _builtins.str:
|
|
708
713
|
"""
|
|
709
714
|
The subset name to modify labels with the canary version.
|
|
710
715
|
"""
|
|
711
716
|
return pulumi.get(self, "canary_subset_name")
|
|
712
717
|
|
|
713
|
-
@property
|
|
718
|
+
@_builtins.property
|
|
714
719
|
@pulumi.getter(name="destinationRuleName")
|
|
715
|
-
def destination_rule_name(self) -> str:
|
|
720
|
+
def destination_rule_name(self) -> _builtins.str:
|
|
716
721
|
"""
|
|
717
722
|
Holds the name of the DestinationRule.
|
|
718
723
|
"""
|
|
719
724
|
return pulumi.get(self, "destination_rule_name")
|
|
720
725
|
|
|
721
|
-
@property
|
|
726
|
+
@_builtins.property
|
|
722
727
|
@pulumi.getter(name="stableSubsetName")
|
|
723
|
-
def stable_subset_name(self) -> str:
|
|
728
|
+
def stable_subset_name(self) -> _builtins.str:
|
|
724
729
|
"""
|
|
725
730
|
The subset name to modify labels with the stable version.
|
|
726
731
|
"""
|
|
@@ -751,13 +756,13 @@ class RolloutSpecTrafficIstioVirtualService(dict):
|
|
|
751
756
|
return super().get(key, default)
|
|
752
757
|
|
|
753
758
|
def __init__(__self__, *,
|
|
754
|
-
virtual_service_name: str,
|
|
759
|
+
virtual_service_name: _builtins.str,
|
|
755
760
|
tls_routes: Optional[Sequence['outputs.RolloutSpecTrafficIstioVirtualServiceTlsRoute']] = None,
|
|
756
|
-
virtual_service_routes: Optional[Sequence[str]] = None):
|
|
761
|
+
virtual_service_routes: Optional[Sequence[_builtins.str]] = None):
|
|
757
762
|
"""
|
|
758
|
-
:param str virtual_service_name: Holds the name of the VirtualService.
|
|
763
|
+
:param _builtins.str virtual_service_name: Holds the name of the VirtualService.
|
|
759
764
|
:param Sequence['RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs'] tls_routes: A list of HTTPS routes within VirtualService.
|
|
760
|
-
: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.
|
|
761
766
|
"""
|
|
762
767
|
pulumi.set(__self__, "virtual_service_name", virtual_service_name)
|
|
763
768
|
if tls_routes is not None:
|
|
@@ -765,15 +770,15 @@ class RolloutSpecTrafficIstioVirtualService(dict):
|
|
|
765
770
|
if virtual_service_routes is not None:
|
|
766
771
|
pulumi.set(__self__, "virtual_service_routes", virtual_service_routes)
|
|
767
772
|
|
|
768
|
-
@property
|
|
773
|
+
@_builtins.property
|
|
769
774
|
@pulumi.getter(name="virtualServiceName")
|
|
770
|
-
def virtual_service_name(self) -> str:
|
|
775
|
+
def virtual_service_name(self) -> _builtins.str:
|
|
771
776
|
"""
|
|
772
777
|
Holds the name of the VirtualService.
|
|
773
778
|
"""
|
|
774
779
|
return pulumi.get(self, "virtual_service_name")
|
|
775
780
|
|
|
776
|
-
@property
|
|
781
|
+
@_builtins.property
|
|
777
782
|
@pulumi.getter(name="tlsRoutes")
|
|
778
783
|
def tls_routes(self) -> Optional[Sequence['outputs.RolloutSpecTrafficIstioVirtualServiceTlsRoute']]:
|
|
779
784
|
"""
|
|
@@ -781,9 +786,9 @@ class RolloutSpecTrafficIstioVirtualService(dict):
|
|
|
781
786
|
"""
|
|
782
787
|
return pulumi.get(self, "tls_routes")
|
|
783
788
|
|
|
784
|
-
@property
|
|
789
|
+
@_builtins.property
|
|
785
790
|
@pulumi.getter(name="virtualServiceRoutes")
|
|
786
|
-
def virtual_service_routes(self) -> Optional[Sequence[str]]:
|
|
791
|
+
def virtual_service_routes(self) -> Optional[Sequence[_builtins.str]]:
|
|
787
792
|
"""
|
|
788
793
|
A list of HTTP routes within VirtualService.
|
|
789
794
|
"""
|
|
@@ -810,28 +815,28 @@ class RolloutSpecTrafficIstioVirtualServiceTlsRoute(dict):
|
|
|
810
815
|
return super().get(key, default)
|
|
811
816
|
|
|
812
817
|
def __init__(__self__, *,
|
|
813
|
-
port: Optional[int] = None,
|
|
814
|
-
sni_hosts: Optional[Sequence[str]] = None):
|
|
818
|
+
port: Optional[_builtins.int] = None,
|
|
819
|
+
sni_hosts: Optional[Sequence[_builtins.str]] = None):
|
|
815
820
|
"""
|
|
816
|
-
:param int port: The port of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
817
|
-
: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.
|
|
818
823
|
"""
|
|
819
824
|
if port is not None:
|
|
820
825
|
pulumi.set(__self__, "port", port)
|
|
821
826
|
if sni_hosts is not None:
|
|
822
827
|
pulumi.set(__self__, "sni_hosts", sni_hosts)
|
|
823
828
|
|
|
824
|
-
@property
|
|
829
|
+
@_builtins.property
|
|
825
830
|
@pulumi.getter
|
|
826
|
-
def port(self) -> Optional[int]:
|
|
831
|
+
def port(self) -> Optional[_builtins.int]:
|
|
827
832
|
"""
|
|
828
833
|
The port of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
829
834
|
"""
|
|
830
835
|
return pulumi.get(self, "port")
|
|
831
836
|
|
|
832
|
-
@property
|
|
837
|
+
@_builtins.property
|
|
833
838
|
@pulumi.getter(name="sniHosts")
|
|
834
|
-
def sni_hosts(self) -> Optional[Sequence[str]]:
|
|
839
|
+
def sni_hosts(self) -> Optional[Sequence[_builtins.str]]:
|
|
835
840
|
"""
|
|
836
841
|
A list of all the SNI Hosts of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
837
842
|
"""
|
|
@@ -862,13 +867,13 @@ class RolloutSpecTrafficNginx(dict):
|
|
|
862
867
|
return super().get(key, default)
|
|
863
868
|
|
|
864
869
|
def __init__(__self__, *,
|
|
865
|
-
stable_ingress: str,
|
|
870
|
+
stable_ingress: _builtins.str,
|
|
866
871
|
additional_ingress_annotation: Optional['outputs.RolloutSpecTrafficNginxAdditionalIngressAnnotation'] = None,
|
|
867
|
-
nginx_annotation_prefix: Optional[str] = None):
|
|
872
|
+
nginx_annotation_prefix: Optional[_builtins.str] = None):
|
|
868
873
|
"""
|
|
869
|
-
: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`.
|
|
870
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.
|
|
871
|
-
: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.
|
|
872
877
|
"""
|
|
873
878
|
pulumi.set(__self__, "stable_ingress", stable_ingress)
|
|
874
879
|
if additional_ingress_annotation is not None:
|
|
@@ -876,15 +881,15 @@ class RolloutSpecTrafficNginx(dict):
|
|
|
876
881
|
if nginx_annotation_prefix is not None:
|
|
877
882
|
pulumi.set(__self__, "nginx_annotation_prefix", nginx_annotation_prefix)
|
|
878
883
|
|
|
879
|
-
@property
|
|
884
|
+
@_builtins.property
|
|
880
885
|
@pulumi.getter(name="stableIngress")
|
|
881
|
-
def stable_ingress(self) -> str:
|
|
886
|
+
def stable_ingress(self) -> _builtins.str:
|
|
882
887
|
"""
|
|
883
888
|
Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
884
889
|
"""
|
|
885
890
|
return pulumi.get(self, "stable_ingress")
|
|
886
891
|
|
|
887
|
-
@property
|
|
892
|
+
@_builtins.property
|
|
888
893
|
@pulumi.getter(name="additionalIngressAnnotation")
|
|
889
894
|
def additional_ingress_annotation(self) -> Optional['outputs.RolloutSpecTrafficNginxAdditionalIngressAnnotation']:
|
|
890
895
|
"""
|
|
@@ -892,9 +897,9 @@ class RolloutSpecTrafficNginx(dict):
|
|
|
892
897
|
"""
|
|
893
898
|
return pulumi.get(self, "additional_ingress_annotation")
|
|
894
899
|
|
|
895
|
-
@property
|
|
900
|
+
@_builtins.property
|
|
896
901
|
@pulumi.getter(name="nginxAnnotationPrefix")
|
|
897
|
-
def nginx_annotation_prefix(self) -> Optional[str]:
|
|
902
|
+
def nginx_annotation_prefix(self) -> Optional[_builtins.str]:
|
|
898
903
|
"""
|
|
899
904
|
Has to match the configured annotation prefix on the Nginx ingress controller.
|
|
900
905
|
"""
|
|
@@ -921,28 +926,28 @@ class RolloutSpecTrafficNginxAdditionalIngressAnnotation(dict):
|
|
|
921
926
|
return super().get(key, default)
|
|
922
927
|
|
|
923
928
|
def __init__(__self__, *,
|
|
924
|
-
canary_by_header: Optional[str] = None,
|
|
925
|
-
key1: Optional[str] = None):
|
|
929
|
+
canary_by_header: Optional[_builtins.str] = None,
|
|
930
|
+
key1: Optional[_builtins.str] = None):
|
|
926
931
|
"""
|
|
927
|
-
:param str canary_by_header: Allows customizing the header value instead of using hardcoded values.
|
|
928
|
-
: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.
|
|
929
934
|
"""
|
|
930
935
|
if canary_by_header is not None:
|
|
931
936
|
pulumi.set(__self__, "canary_by_header", canary_by_header)
|
|
932
937
|
if key1 is not None:
|
|
933
938
|
pulumi.set(__self__, "key1", key1)
|
|
934
939
|
|
|
935
|
-
@property
|
|
940
|
+
@_builtins.property
|
|
936
941
|
@pulumi.getter(name="canaryByHeader")
|
|
937
|
-
def canary_by_header(self) -> Optional[str]:
|
|
942
|
+
def canary_by_header(self) -> Optional[_builtins.str]:
|
|
938
943
|
"""
|
|
939
944
|
Allows customizing the header value instead of using hardcoded values.
|
|
940
945
|
"""
|
|
941
946
|
return pulumi.get(self, "canary_by_header")
|
|
942
947
|
|
|
943
|
-
@property
|
|
948
|
+
@_builtins.property
|
|
944
949
|
@pulumi.getter
|
|
945
|
-
def key1(self) -> Optional[str]:
|
|
950
|
+
def key1(self) -> Optional[_builtins.str]:
|
|
946
951
|
"""
|
|
947
952
|
Any of supported annotations.
|
|
948
953
|
"""
|
|
@@ -971,26 +976,26 @@ class RolloutSpecTrafficPingPong(dict):
|
|
|
971
976
|
return super().get(key, default)
|
|
972
977
|
|
|
973
978
|
def __init__(__self__, *,
|
|
974
|
-
ping_service: str,
|
|
975
|
-
pong_service: str):
|
|
979
|
+
ping_service: _builtins.str,
|
|
980
|
+
pong_service: _builtins.str):
|
|
976
981
|
"""
|
|
977
|
-
:param str ping_service: Holds the name of the ping service.
|
|
978
|
-
: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.
|
|
979
984
|
"""
|
|
980
985
|
pulumi.set(__self__, "ping_service", ping_service)
|
|
981
986
|
pulumi.set(__self__, "pong_service", pong_service)
|
|
982
987
|
|
|
983
|
-
@property
|
|
988
|
+
@_builtins.property
|
|
984
989
|
@pulumi.getter(name="pingService")
|
|
985
|
-
def ping_service(self) -> str:
|
|
990
|
+
def ping_service(self) -> _builtins.str:
|
|
986
991
|
"""
|
|
987
992
|
Holds the name of the ping service.
|
|
988
993
|
"""
|
|
989
994
|
return pulumi.get(self, "ping_service")
|
|
990
995
|
|
|
991
|
-
@property
|
|
996
|
+
@_builtins.property
|
|
992
997
|
@pulumi.getter(name="pongService")
|
|
993
|
-
def pong_service(self) -> str:
|
|
998
|
+
def pong_service(self) -> _builtins.str:
|
|
994
999
|
"""
|
|
995
1000
|
Holds the name of the pong service.
|
|
996
1001
|
"""
|
|
@@ -1019,28 +1024,28 @@ class RolloutSpecTrafficSmi(dict):
|
|
|
1019
1024
|
return super().get(key, default)
|
|
1020
1025
|
|
|
1021
1026
|
def __init__(__self__, *,
|
|
1022
|
-
smi_root_service: Optional[str] = None,
|
|
1023
|
-
traffic_split_name: Optional[str] = None):
|
|
1027
|
+
smi_root_service: Optional[_builtins.str] = None,
|
|
1028
|
+
traffic_split_name: Optional[_builtins.str] = None):
|
|
1024
1029
|
"""
|
|
1025
|
-
:param str smi_root_service: Holds the name of service that clients use to communicate.
|
|
1026
|
-
: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.
|
|
1027
1032
|
"""
|
|
1028
1033
|
if smi_root_service is not None:
|
|
1029
1034
|
pulumi.set(__self__, "smi_root_service", smi_root_service)
|
|
1030
1035
|
if traffic_split_name is not None:
|
|
1031
1036
|
pulumi.set(__self__, "traffic_split_name", traffic_split_name)
|
|
1032
1037
|
|
|
1033
|
-
@property
|
|
1038
|
+
@_builtins.property
|
|
1034
1039
|
@pulumi.getter(name="smiRootService")
|
|
1035
|
-
def smi_root_service(self) -> Optional[str]:
|
|
1040
|
+
def smi_root_service(self) -> Optional[_builtins.str]:
|
|
1036
1041
|
"""
|
|
1037
1042
|
Holds the name of service that clients use to communicate.
|
|
1038
1043
|
"""
|
|
1039
1044
|
return pulumi.get(self, "smi_root_service")
|
|
1040
1045
|
|
|
1041
|
-
@property
|
|
1046
|
+
@_builtins.property
|
|
1042
1047
|
@pulumi.getter(name="trafficSplitName")
|
|
1043
|
-
def traffic_split_name(self) -> Optional[str]:
|
|
1048
|
+
def traffic_split_name(self) -> Optional[_builtins.str]:
|
|
1044
1049
|
"""
|
|
1045
1050
|
Holds the name of the TrafficSplit.
|
|
1046
1051
|
"""
|
|
@@ -1077,7 +1082,7 @@ class StrategyCanary(dict):
|
|
|
1077
1082
|
if background_verification is not None:
|
|
1078
1083
|
pulumi.set(__self__, "background_verification", background_verification)
|
|
1079
1084
|
|
|
1080
|
-
@property
|
|
1085
|
+
@_builtins.property
|
|
1081
1086
|
@pulumi.getter
|
|
1082
1087
|
def steps(self) -> Sequence['outputs.StrategyCanaryStep']:
|
|
1083
1088
|
"""
|
|
@@ -1085,7 +1090,7 @@ class StrategyCanary(dict):
|
|
|
1085
1090
|
"""
|
|
1086
1091
|
return pulumi.get(self, "steps")
|
|
1087
1092
|
|
|
1088
|
-
@property
|
|
1093
|
+
@_builtins.property
|
|
1089
1094
|
@pulumi.getter(name="backgroundVerification")
|
|
1090
1095
|
def background_verification(self) -> Optional['outputs.StrategyCanaryBackgroundVerification']:
|
|
1091
1096
|
"""
|
|
@@ -1114,15 +1119,15 @@ class StrategyCanaryBackgroundVerification(dict):
|
|
|
1114
1119
|
return super().get(key, default)
|
|
1115
1120
|
|
|
1116
1121
|
def __init__(__self__, *,
|
|
1117
|
-
template_names: Sequence[str]):
|
|
1122
|
+
template_names: Sequence[_builtins.str]):
|
|
1118
1123
|
"""
|
|
1119
|
-
:param Sequence[str] template_names: List of Verification Template names.
|
|
1124
|
+
:param Sequence[_builtins.str] template_names: List of Verification Template names.
|
|
1120
1125
|
"""
|
|
1121
1126
|
pulumi.set(__self__, "template_names", template_names)
|
|
1122
1127
|
|
|
1123
|
-
@property
|
|
1128
|
+
@_builtins.property
|
|
1124
1129
|
@pulumi.getter(name="templateNames")
|
|
1125
|
-
def template_names(self) -> Sequence[str]:
|
|
1130
|
+
def template_names(self) -> Sequence[_builtins.str]:
|
|
1126
1131
|
"""
|
|
1127
1132
|
List of Verification Template names.
|
|
1128
1133
|
"""
|
|
@@ -1158,14 +1163,14 @@ class StrategyCanaryStep(dict):
|
|
|
1158
1163
|
pause: Optional['outputs.StrategyCanaryStepPause'] = None,
|
|
1159
1164
|
set_canary_scale: Optional['outputs.StrategyCanaryStepSetCanaryScale'] = None,
|
|
1160
1165
|
set_header_route: Optional['outputs.StrategyCanaryStepSetHeaderRoute'] = None,
|
|
1161
|
-
set_weight: Optional[int] = None,
|
|
1162
|
-
step_name: Optional[str] = None,
|
|
1166
|
+
set_weight: Optional[_builtins.int] = None,
|
|
1167
|
+
step_name: Optional[_builtins.str] = None,
|
|
1163
1168
|
verification: Optional['outputs.StrategyCanaryStepVerification'] = None):
|
|
1164
1169
|
"""
|
|
1165
1170
|
:param 'StrategyCanaryStepPauseArgs' pause: Defines the duration of time to freeze the rollout.
|
|
1166
1171
|
:param 'StrategyCanaryStepSetCanaryScaleArgs' set_canary_scale: Defines how to scale the version without traffic weight changing.
|
|
1167
1172
|
:param 'StrategyCanaryStepSetHeaderRouteArgs' set_header_route: Defines the list of HeaderRoutes to add to the Rollout.
|
|
1168
|
-
: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.
|
|
1169
1174
|
:param 'StrategyCanaryStepVerificationArgs' verification: Represents the list of verifications to run in a step.
|
|
1170
1175
|
"""
|
|
1171
1176
|
if pause is not None:
|
|
@@ -1181,7 +1186,7 @@ class StrategyCanaryStep(dict):
|
|
|
1181
1186
|
if verification is not None:
|
|
1182
1187
|
pulumi.set(__self__, "verification", verification)
|
|
1183
1188
|
|
|
1184
|
-
@property
|
|
1189
|
+
@_builtins.property
|
|
1185
1190
|
@pulumi.getter
|
|
1186
1191
|
def pause(self) -> Optional['outputs.StrategyCanaryStepPause']:
|
|
1187
1192
|
"""
|
|
@@ -1189,7 +1194,7 @@ class StrategyCanaryStep(dict):
|
|
|
1189
1194
|
"""
|
|
1190
1195
|
return pulumi.get(self, "pause")
|
|
1191
1196
|
|
|
1192
|
-
@property
|
|
1197
|
+
@_builtins.property
|
|
1193
1198
|
@pulumi.getter(name="setCanaryScale")
|
|
1194
1199
|
def set_canary_scale(self) -> Optional['outputs.StrategyCanaryStepSetCanaryScale']:
|
|
1195
1200
|
"""
|
|
@@ -1197,7 +1202,7 @@ class StrategyCanaryStep(dict):
|
|
|
1197
1202
|
"""
|
|
1198
1203
|
return pulumi.get(self, "set_canary_scale")
|
|
1199
1204
|
|
|
1200
|
-
@property
|
|
1205
|
+
@_builtins.property
|
|
1201
1206
|
@pulumi.getter(name="setHeaderRoute")
|
|
1202
1207
|
def set_header_route(self) -> Optional['outputs.StrategyCanaryStepSetHeaderRoute']:
|
|
1203
1208
|
"""
|
|
@@ -1205,20 +1210,20 @@ class StrategyCanaryStep(dict):
|
|
|
1205
1210
|
"""
|
|
1206
1211
|
return pulumi.get(self, "set_header_route")
|
|
1207
1212
|
|
|
1208
|
-
@property
|
|
1213
|
+
@_builtins.property
|
|
1209
1214
|
@pulumi.getter(name="setWeight")
|
|
1210
|
-
def set_weight(self) -> Optional[int]:
|
|
1215
|
+
def set_weight(self) -> Optional[_builtins.int]:
|
|
1211
1216
|
"""
|
|
1212
1217
|
Defines the percentage that the new version should receive.
|
|
1213
1218
|
"""
|
|
1214
1219
|
return pulumi.get(self, "set_weight")
|
|
1215
1220
|
|
|
1216
|
-
@property
|
|
1221
|
+
@_builtins.property
|
|
1217
1222
|
@pulumi.getter(name="stepName")
|
|
1218
|
-
def step_name(self) -> Optional[str]:
|
|
1223
|
+
def step_name(self) -> Optional[_builtins.str]:
|
|
1219
1224
|
return pulumi.get(self, "step_name")
|
|
1220
1225
|
|
|
1221
|
-
@property
|
|
1226
|
+
@_builtins.property
|
|
1222
1227
|
@pulumi.getter
|
|
1223
1228
|
def verification(self) -> Optional['outputs.StrategyCanaryStepVerification']:
|
|
1224
1229
|
"""
|
|
@@ -1230,16 +1235,16 @@ class StrategyCanaryStep(dict):
|
|
|
1230
1235
|
@pulumi.output_type
|
|
1231
1236
|
class StrategyCanaryStepPause(dict):
|
|
1232
1237
|
def __init__(__self__, *,
|
|
1233
|
-
duration: Optional[str] = None):
|
|
1238
|
+
duration: Optional[_builtins.str] = None):
|
|
1234
1239
|
"""
|
|
1235
|
-
: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.
|
|
1236
1241
|
"""
|
|
1237
1242
|
if duration is not None:
|
|
1238
1243
|
pulumi.set(__self__, "duration", duration)
|
|
1239
1244
|
|
|
1240
|
-
@property
|
|
1245
|
+
@_builtins.property
|
|
1241
1246
|
@pulumi.getter
|
|
1242
|
-
def duration(self) -> Optional[str]:
|
|
1247
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
1243
1248
|
"""
|
|
1244
1249
|
The amount of time to wait before moving to the next step.
|
|
1245
1250
|
"""
|
|
@@ -1266,13 +1271,13 @@ class StrategyCanaryStepSetCanaryScale(dict):
|
|
|
1266
1271
|
return super().get(key, default)
|
|
1267
1272
|
|
|
1268
1273
|
def __init__(__self__, *,
|
|
1269
|
-
match_traffic_weight: Optional[bool] = None,
|
|
1270
|
-
replicas: Optional[int] = None,
|
|
1271
|
-
weight: Optional[int] = None):
|
|
1274
|
+
match_traffic_weight: Optional[_builtins.bool] = None,
|
|
1275
|
+
replicas: Optional[_builtins.int] = None,
|
|
1276
|
+
weight: Optional[_builtins.int] = None):
|
|
1272
1277
|
"""
|
|
1273
|
-
:param bool match_traffic_weight: Defines whether a rollout should match the current canary's setWeight step.
|
|
1274
|
-
:param int replicas: Sets the number of replicas the new version should have.
|
|
1275
|
-
: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.
|
|
1276
1281
|
"""
|
|
1277
1282
|
if match_traffic_weight is not None:
|
|
1278
1283
|
pulumi.set(__self__, "match_traffic_weight", match_traffic_weight)
|
|
@@ -1281,25 +1286,25 @@ class StrategyCanaryStepSetCanaryScale(dict):
|
|
|
1281
1286
|
if weight is not None:
|
|
1282
1287
|
pulumi.set(__self__, "weight", weight)
|
|
1283
1288
|
|
|
1284
|
-
@property
|
|
1289
|
+
@_builtins.property
|
|
1285
1290
|
@pulumi.getter(name="matchTrafficWeight")
|
|
1286
|
-
def match_traffic_weight(self) -> Optional[bool]:
|
|
1291
|
+
def match_traffic_weight(self) -> Optional[_builtins.bool]:
|
|
1287
1292
|
"""
|
|
1288
1293
|
Defines whether a rollout should match the current canary's setWeight step.
|
|
1289
1294
|
"""
|
|
1290
1295
|
return pulumi.get(self, "match_traffic_weight")
|
|
1291
1296
|
|
|
1292
|
-
@property
|
|
1297
|
+
@_builtins.property
|
|
1293
1298
|
@pulumi.getter
|
|
1294
|
-
def replicas(self) -> Optional[int]:
|
|
1299
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
1295
1300
|
"""
|
|
1296
1301
|
Sets the number of replicas the new version should have.
|
|
1297
1302
|
"""
|
|
1298
1303
|
return pulumi.get(self, "replicas")
|
|
1299
1304
|
|
|
1300
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1301
1306
|
@pulumi.getter
|
|
1302
|
-
def weight(self) -> Optional[int]:
|
|
1307
|
+
def weight(self) -> Optional[_builtins.int]:
|
|
1303
1308
|
"""
|
|
1304
1309
|
Sets the percentage of replicas the new version should have.
|
|
1305
1310
|
"""
|
|
@@ -1326,24 +1331,24 @@ class StrategyCanaryStepSetHeaderRoute(dict):
|
|
|
1326
1331
|
return super().get(key, default)
|
|
1327
1332
|
|
|
1328
1333
|
def __init__(__self__, *,
|
|
1329
|
-
header_route_name: str,
|
|
1334
|
+
header_route_name: _builtins.str,
|
|
1330
1335
|
matches: Sequence['outputs.StrategyCanaryStepSetHeaderRouteMatch']):
|
|
1331
1336
|
"""
|
|
1332
|
-
:param str header_route_name: The name of the HeaderRoute group.
|
|
1337
|
+
:param _builtins.str header_route_name: The name of the HeaderRoute group.
|
|
1333
1338
|
:param Sequence['StrategyCanaryStepSetHeaderRouteMatchArgs'] matches: The matching rules for the header route.
|
|
1334
1339
|
"""
|
|
1335
1340
|
pulumi.set(__self__, "header_route_name", header_route_name)
|
|
1336
1341
|
pulumi.set(__self__, "matches", matches)
|
|
1337
1342
|
|
|
1338
|
-
@property
|
|
1343
|
+
@_builtins.property
|
|
1339
1344
|
@pulumi.getter(name="headerRouteName")
|
|
1340
|
-
def header_route_name(self) -> str:
|
|
1345
|
+
def header_route_name(self) -> _builtins.str:
|
|
1341
1346
|
"""
|
|
1342
1347
|
The name of the HeaderRoute group.
|
|
1343
1348
|
"""
|
|
1344
1349
|
return pulumi.get(self, "header_route_name")
|
|
1345
1350
|
|
|
1346
|
-
@property
|
|
1351
|
+
@_builtins.property
|
|
1347
1352
|
@pulumi.getter
|
|
1348
1353
|
def matches(self) -> Sequence['outputs.StrategyCanaryStepSetHeaderRouteMatch']:
|
|
1349
1354
|
"""
|
|
@@ -1374,24 +1379,24 @@ class StrategyCanaryStepSetHeaderRouteMatch(dict):
|
|
|
1374
1379
|
return super().get(key, default)
|
|
1375
1380
|
|
|
1376
1381
|
def __init__(__self__, *,
|
|
1377
|
-
header_name: str,
|
|
1382
|
+
header_name: _builtins.str,
|
|
1378
1383
|
header_value: 'outputs.StrategyCanaryStepSetHeaderRouteMatchHeaderValue'):
|
|
1379
1384
|
"""
|
|
1380
|
-
:param str header_name: The name of the header.
|
|
1385
|
+
:param _builtins.str header_name: The name of the header.
|
|
1381
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).
|
|
1382
1387
|
"""
|
|
1383
1388
|
pulumi.set(__self__, "header_name", header_name)
|
|
1384
1389
|
pulumi.set(__self__, "header_value", header_value)
|
|
1385
1390
|
|
|
1386
|
-
@property
|
|
1391
|
+
@_builtins.property
|
|
1387
1392
|
@pulumi.getter(name="headerName")
|
|
1388
|
-
def header_name(self) -> str:
|
|
1393
|
+
def header_name(self) -> _builtins.str:
|
|
1389
1394
|
"""
|
|
1390
1395
|
The name of the header.
|
|
1391
1396
|
"""
|
|
1392
1397
|
return pulumi.get(self, "header_name")
|
|
1393
1398
|
|
|
1394
|
-
@property
|
|
1399
|
+
@_builtins.property
|
|
1395
1400
|
@pulumi.getter(name="headerValue")
|
|
1396
1401
|
def header_value(self) -> 'outputs.StrategyCanaryStepSetHeaderRouteMatchHeaderValue':
|
|
1397
1402
|
"""
|
|
@@ -1403,13 +1408,13 @@ class StrategyCanaryStepSetHeaderRouteMatch(dict):
|
|
|
1403
1408
|
@pulumi.output_type
|
|
1404
1409
|
class StrategyCanaryStepSetHeaderRouteMatchHeaderValue(dict):
|
|
1405
1410
|
def __init__(__self__, *,
|
|
1406
|
-
exact: Optional[str] = None,
|
|
1407
|
-
prefix: Optional[str] = None,
|
|
1408
|
-
regex: Optional[str] = None):
|
|
1411
|
+
exact: Optional[_builtins.str] = None,
|
|
1412
|
+
prefix: Optional[_builtins.str] = None,
|
|
1413
|
+
regex: Optional[_builtins.str] = None):
|
|
1409
1414
|
"""
|
|
1410
|
-
:param str exact: The exact header value.
|
|
1411
|
-
:param str prefix: The prefix of the value.
|
|
1412
|
-
: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.
|
|
1413
1418
|
"""
|
|
1414
1419
|
if exact is not None:
|
|
1415
1420
|
pulumi.set(__self__, "exact", exact)
|
|
@@ -1418,25 +1423,25 @@ class StrategyCanaryStepSetHeaderRouteMatchHeaderValue(dict):
|
|
|
1418
1423
|
if regex is not None:
|
|
1419
1424
|
pulumi.set(__self__, "regex", regex)
|
|
1420
1425
|
|
|
1421
|
-
@property
|
|
1426
|
+
@_builtins.property
|
|
1422
1427
|
@pulumi.getter
|
|
1423
|
-
def exact(self) -> Optional[str]:
|
|
1428
|
+
def exact(self) -> Optional[_builtins.str]:
|
|
1424
1429
|
"""
|
|
1425
1430
|
The exact header value.
|
|
1426
1431
|
"""
|
|
1427
1432
|
return pulumi.get(self, "exact")
|
|
1428
1433
|
|
|
1429
|
-
@property
|
|
1434
|
+
@_builtins.property
|
|
1430
1435
|
@pulumi.getter
|
|
1431
|
-
def prefix(self) -> Optional[str]:
|
|
1436
|
+
def prefix(self) -> Optional[_builtins.str]:
|
|
1432
1437
|
"""
|
|
1433
1438
|
The prefix of the value.
|
|
1434
1439
|
"""
|
|
1435
1440
|
return pulumi.get(self, "prefix")
|
|
1436
1441
|
|
|
1437
|
-
@property
|
|
1442
|
+
@_builtins.property
|
|
1438
1443
|
@pulumi.getter
|
|
1439
|
-
def regex(self) -> Optional[str]:
|
|
1444
|
+
def regex(self) -> Optional[_builtins.str]:
|
|
1440
1445
|
"""
|
|
1441
1446
|
The value in a regex format.
|
|
1442
1447
|
"""
|
|
@@ -1463,15 +1468,15 @@ class StrategyCanaryStepVerification(dict):
|
|
|
1463
1468
|
return super().get(key, default)
|
|
1464
1469
|
|
|
1465
1470
|
def __init__(__self__, *,
|
|
1466
|
-
template_names: Sequence[str]):
|
|
1471
|
+
template_names: Sequence[_builtins.str]):
|
|
1467
1472
|
"""
|
|
1468
|
-
:param Sequence[str] template_names: List of Verification Template names.
|
|
1473
|
+
:param Sequence[_builtins.str] template_names: List of Verification Template names.
|
|
1469
1474
|
"""
|
|
1470
1475
|
pulumi.set(__self__, "template_names", template_names)
|
|
1471
1476
|
|
|
1472
|
-
@property
|
|
1477
|
+
@_builtins.property
|
|
1473
1478
|
@pulumi.getter(name="templateNames")
|
|
1474
|
-
def template_names(self) -> Sequence[str]:
|
|
1479
|
+
def template_names(self) -> Sequence[_builtins.str]:
|
|
1475
1480
|
"""
|
|
1476
1481
|
List of Verification Template names.
|
|
1477
1482
|
"""
|
|
@@ -1487,7 +1492,7 @@ class StrategyRolling(dict):
|
|
|
1487
1492
|
"""
|
|
1488
1493
|
pulumi.set(__self__, "steps", steps)
|
|
1489
1494
|
|
|
1490
|
-
@property
|
|
1495
|
+
@_builtins.property
|
|
1491
1496
|
@pulumi.getter
|
|
1492
1497
|
def steps(self) -> Sequence['outputs.StrategyRollingStep']:
|
|
1493
1498
|
"""
|
|
@@ -1517,7 +1522,7 @@ class StrategyRollingStep(dict):
|
|
|
1517
1522
|
|
|
1518
1523
|
def __init__(__self__, *,
|
|
1519
1524
|
pause: Optional['outputs.StrategyRollingStepPause'] = None,
|
|
1520
|
-
steps_name: Optional[str] = None,
|
|
1525
|
+
steps_name: Optional[_builtins.str] = None,
|
|
1521
1526
|
verification: Optional['outputs.StrategyRollingStepVerification'] = None):
|
|
1522
1527
|
"""
|
|
1523
1528
|
:param 'StrategyRollingStepPauseArgs' pause: Defines the duration of time to freeze the rollout.
|
|
@@ -1530,7 +1535,7 @@ class StrategyRollingStep(dict):
|
|
|
1530
1535
|
if verification is not None:
|
|
1531
1536
|
pulumi.set(__self__, "verification", verification)
|
|
1532
1537
|
|
|
1533
|
-
@property
|
|
1538
|
+
@_builtins.property
|
|
1534
1539
|
@pulumi.getter
|
|
1535
1540
|
def pause(self) -> Optional['outputs.StrategyRollingStepPause']:
|
|
1536
1541
|
"""
|
|
@@ -1538,12 +1543,12 @@ class StrategyRollingStep(dict):
|
|
|
1538
1543
|
"""
|
|
1539
1544
|
return pulumi.get(self, "pause")
|
|
1540
1545
|
|
|
1541
|
-
@property
|
|
1546
|
+
@_builtins.property
|
|
1542
1547
|
@pulumi.getter(name="stepsName")
|
|
1543
|
-
def steps_name(self) -> Optional[str]:
|
|
1548
|
+
def steps_name(self) -> Optional[_builtins.str]:
|
|
1544
1549
|
return pulumi.get(self, "steps_name")
|
|
1545
1550
|
|
|
1546
|
-
@property
|
|
1551
|
+
@_builtins.property
|
|
1547
1552
|
@pulumi.getter
|
|
1548
1553
|
def verification(self) -> Optional['outputs.StrategyRollingStepVerification']:
|
|
1549
1554
|
"""
|
|
@@ -1555,16 +1560,16 @@ class StrategyRollingStep(dict):
|
|
|
1555
1560
|
@pulumi.output_type
|
|
1556
1561
|
class StrategyRollingStepPause(dict):
|
|
1557
1562
|
def __init__(__self__, *,
|
|
1558
|
-
duration: Optional[str] = None):
|
|
1563
|
+
duration: Optional[_builtins.str] = None):
|
|
1559
1564
|
"""
|
|
1560
|
-
: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.
|
|
1561
1566
|
"""
|
|
1562
1567
|
if duration is not None:
|
|
1563
1568
|
pulumi.set(__self__, "duration", duration)
|
|
1564
1569
|
|
|
1565
|
-
@property
|
|
1570
|
+
@_builtins.property
|
|
1566
1571
|
@pulumi.getter
|
|
1567
|
-
def duration(self) -> Optional[str]:
|
|
1572
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
1568
1573
|
"""
|
|
1569
1574
|
The amount of time to wait before moving to the next step.
|
|
1570
1575
|
"""
|
|
@@ -1591,15 +1596,15 @@ class StrategyRollingStepVerification(dict):
|
|
|
1591
1596
|
return super().get(key, default)
|
|
1592
1597
|
|
|
1593
1598
|
def __init__(__self__, *,
|
|
1594
|
-
template_names: Sequence[str]):
|
|
1599
|
+
template_names: Sequence[_builtins.str]):
|
|
1595
1600
|
"""
|
|
1596
|
-
:param Sequence[str] template_names: List of Verification Template names.
|
|
1601
|
+
:param Sequence[_builtins.str] template_names: List of Verification Template names.
|
|
1597
1602
|
"""
|
|
1598
1603
|
pulumi.set(__self__, "template_names", template_names)
|
|
1599
1604
|
|
|
1600
|
-
@property
|
|
1605
|
+
@_builtins.property
|
|
1601
1606
|
@pulumi.getter(name="templateNames")
|
|
1602
|
-
def template_names(self) -> Sequence[str]:
|
|
1607
|
+
def template_names(self) -> Sequence[_builtins.str]:
|
|
1603
1608
|
"""
|
|
1604
1609
|
List of Verification Template names.
|
|
1605
1610
|
"""
|
|
@@ -1626,15 +1631,15 @@ class VerificationProviderCloudWatch(dict):
|
|
|
1626
1631
|
return super().get(key, default)
|
|
1627
1632
|
|
|
1628
1633
|
def __init__(__self__, *,
|
|
1629
|
-
iam_arn: str):
|
|
1634
|
+
iam_arn: _builtins.str):
|
|
1630
1635
|
"""
|
|
1631
|
-
:param str iam_arn: Set label key.
|
|
1636
|
+
:param _builtins.str iam_arn: Set label key.
|
|
1632
1637
|
"""
|
|
1633
1638
|
pulumi.set(__self__, "iam_arn", iam_arn)
|
|
1634
1639
|
|
|
1635
|
-
@property
|
|
1640
|
+
@_builtins.property
|
|
1636
1641
|
@pulumi.getter(name="iamArn")
|
|
1637
|
-
def iam_arn(self) -> str:
|
|
1642
|
+
def iam_arn(self) -> _builtins.str:
|
|
1638
1643
|
"""
|
|
1639
1644
|
Set label key.
|
|
1640
1645
|
"""
|
|
@@ -1663,37 +1668,37 @@ class VerificationProviderDatadog(dict):
|
|
|
1663
1668
|
return super().get(key, default)
|
|
1664
1669
|
|
|
1665
1670
|
def __init__(__self__, *,
|
|
1666
|
-
address: str,
|
|
1667
|
-
api_key: str,
|
|
1668
|
-
app_key: str):
|
|
1671
|
+
address: _builtins.str,
|
|
1672
|
+
api_key: _builtins.str,
|
|
1673
|
+
app_key: _builtins.str):
|
|
1669
1674
|
"""
|
|
1670
|
-
:param str address: DataDog API URL.
|
|
1671
|
-
:param str api_key: API key required by the Datadog Agent to submit metrics and events to Datadog.
|
|
1672
|
-
: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.
|
|
1673
1678
|
"""
|
|
1674
1679
|
pulumi.set(__self__, "address", address)
|
|
1675
1680
|
pulumi.set(__self__, "api_key", api_key)
|
|
1676
1681
|
pulumi.set(__self__, "app_key", app_key)
|
|
1677
1682
|
|
|
1678
|
-
@property
|
|
1683
|
+
@_builtins.property
|
|
1679
1684
|
@pulumi.getter
|
|
1680
|
-
def address(self) -> str:
|
|
1685
|
+
def address(self) -> _builtins.str:
|
|
1681
1686
|
"""
|
|
1682
1687
|
DataDog API URL.
|
|
1683
1688
|
"""
|
|
1684
1689
|
return pulumi.get(self, "address")
|
|
1685
1690
|
|
|
1686
|
-
@property
|
|
1691
|
+
@_builtins.property
|
|
1687
1692
|
@pulumi.getter(name="apiKey")
|
|
1688
|
-
def api_key(self) -> str:
|
|
1693
|
+
def api_key(self) -> _builtins.str:
|
|
1689
1694
|
"""
|
|
1690
1695
|
API key required by the Datadog Agent to submit metrics and events to Datadog.
|
|
1691
1696
|
"""
|
|
1692
1697
|
return pulumi.get(self, "api_key")
|
|
1693
1698
|
|
|
1694
|
-
@property
|
|
1699
|
+
@_builtins.property
|
|
1695
1700
|
@pulumi.getter(name="appKey")
|
|
1696
|
-
def app_key(self) -> str:
|
|
1701
|
+
def app_key(self) -> _builtins.str:
|
|
1697
1702
|
"""
|
|
1698
1703
|
API key that gives users access to Datadog’s programmatic API.
|
|
1699
1704
|
"""
|
|
@@ -1722,37 +1727,37 @@ class VerificationProviderJenkins(dict):
|
|
|
1722
1727
|
return super().get(key, default)
|
|
1723
1728
|
|
|
1724
1729
|
def __init__(__self__, *,
|
|
1725
|
-
api_token: str,
|
|
1726
|
-
base_url: str,
|
|
1727
|
-
username: str):
|
|
1730
|
+
api_token: _builtins.str,
|
|
1731
|
+
base_url: _builtins.str,
|
|
1732
|
+
username: _builtins.str):
|
|
1728
1733
|
"""
|
|
1729
|
-
:param str api_token: The Jenkins server’s access apiToken.
|
|
1730
|
-
:param str base_url: The address of the Jenkins server within the cluster.
|
|
1731
|
-
: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.
|
|
1732
1737
|
"""
|
|
1733
1738
|
pulumi.set(__self__, "api_token", api_token)
|
|
1734
1739
|
pulumi.set(__self__, "base_url", base_url)
|
|
1735
1740
|
pulumi.set(__self__, "username", username)
|
|
1736
1741
|
|
|
1737
|
-
@property
|
|
1742
|
+
@_builtins.property
|
|
1738
1743
|
@pulumi.getter(name="apiToken")
|
|
1739
|
-
def api_token(self) -> str:
|
|
1744
|
+
def api_token(self) -> _builtins.str:
|
|
1740
1745
|
"""
|
|
1741
1746
|
The Jenkins server’s access apiToken.
|
|
1742
1747
|
"""
|
|
1743
1748
|
return pulumi.get(self, "api_token")
|
|
1744
1749
|
|
|
1745
|
-
@property
|
|
1750
|
+
@_builtins.property
|
|
1746
1751
|
@pulumi.getter(name="baseUrl")
|
|
1747
|
-
def base_url(self) -> str:
|
|
1752
|
+
def base_url(self) -> _builtins.str:
|
|
1748
1753
|
"""
|
|
1749
1754
|
The address of the Jenkins server within the cluster.
|
|
1750
1755
|
"""
|
|
1751
1756
|
return pulumi.get(self, "base_url")
|
|
1752
1757
|
|
|
1753
|
-
@property
|
|
1758
|
+
@_builtins.property
|
|
1754
1759
|
@pulumi.getter
|
|
1755
|
-
def username(self) -> str:
|
|
1760
|
+
def username(self) -> _builtins.str:
|
|
1756
1761
|
"""
|
|
1757
1762
|
The Jenkins server’s access username.
|
|
1758
1763
|
"""
|
|
@@ -1785,16 +1790,16 @@ class VerificationProviderNewRelic(dict):
|
|
|
1785
1790
|
return super().get(key, default)
|
|
1786
1791
|
|
|
1787
1792
|
def __init__(__self__, *,
|
|
1788
|
-
account_id: str,
|
|
1789
|
-
personal_api_key: str,
|
|
1790
|
-
base_url_nerd_graph: Optional[str] = None,
|
|
1791
|
-
base_url_rest: Optional[str] = None,
|
|
1792
|
-
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):
|
|
1793
1798
|
"""
|
|
1794
|
-
:param str personal_api_key: The NewRelic user key
|
|
1795
|
-
:param str base_url_nerd_graph: The base URL for NerdGraph for a proxy.
|
|
1796
|
-
:param str base_url_rest: The base URL of the New Relic REST API for a proxy.
|
|
1797
|
-
: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".
|
|
1798
1803
|
"""
|
|
1799
1804
|
pulumi.set(__self__, "account_id", account_id)
|
|
1800
1805
|
pulumi.set(__self__, "personal_api_key", personal_api_key)
|
|
@@ -1805,38 +1810,38 @@ class VerificationProviderNewRelic(dict):
|
|
|
1805
1810
|
if region is not None:
|
|
1806
1811
|
pulumi.set(__self__, "region", region)
|
|
1807
1812
|
|
|
1808
|
-
@property
|
|
1813
|
+
@_builtins.property
|
|
1809
1814
|
@pulumi.getter(name="accountId")
|
|
1810
|
-
def account_id(self) -> str:
|
|
1815
|
+
def account_id(self) -> _builtins.str:
|
|
1811
1816
|
return pulumi.get(self, "account_id")
|
|
1812
1817
|
|
|
1813
|
-
@property
|
|
1818
|
+
@_builtins.property
|
|
1814
1819
|
@pulumi.getter(name="personalApiKey")
|
|
1815
|
-
def personal_api_key(self) -> str:
|
|
1820
|
+
def personal_api_key(self) -> _builtins.str:
|
|
1816
1821
|
"""
|
|
1817
1822
|
The NewRelic user key
|
|
1818
1823
|
"""
|
|
1819
1824
|
return pulumi.get(self, "personal_api_key")
|
|
1820
1825
|
|
|
1821
|
-
@property
|
|
1826
|
+
@_builtins.property
|
|
1822
1827
|
@pulumi.getter(name="baseUrlNerdGraph")
|
|
1823
|
-
def base_url_nerd_graph(self) -> Optional[str]:
|
|
1828
|
+
def base_url_nerd_graph(self) -> Optional[_builtins.str]:
|
|
1824
1829
|
"""
|
|
1825
1830
|
The base URL for NerdGraph for a proxy.
|
|
1826
1831
|
"""
|
|
1827
1832
|
return pulumi.get(self, "base_url_nerd_graph")
|
|
1828
1833
|
|
|
1829
|
-
@property
|
|
1834
|
+
@_builtins.property
|
|
1830
1835
|
@pulumi.getter(name="baseUrlRest")
|
|
1831
|
-
def base_url_rest(self) -> Optional[str]:
|
|
1836
|
+
def base_url_rest(self) -> Optional[_builtins.str]:
|
|
1832
1837
|
"""
|
|
1833
1838
|
The base URL of the New Relic REST API for a proxy.
|
|
1834
1839
|
"""
|
|
1835
1840
|
return pulumi.get(self, "base_url_rest")
|
|
1836
1841
|
|
|
1837
|
-
@property
|
|
1842
|
+
@_builtins.property
|
|
1838
1843
|
@pulumi.getter
|
|
1839
|
-
def region(self) -> Optional[str]:
|
|
1844
|
+
def region(self) -> Optional[_builtins.str]:
|
|
1840
1845
|
"""
|
|
1841
1846
|
A region which the account is attached to. Default is "us".
|
|
1842
1847
|
"""
|
|
@@ -1846,15 +1851,15 @@ class VerificationProviderNewRelic(dict):
|
|
|
1846
1851
|
@pulumi.output_type
|
|
1847
1852
|
class VerificationProviderPrometheus(dict):
|
|
1848
1853
|
def __init__(__self__, *,
|
|
1849
|
-
address: str):
|
|
1854
|
+
address: _builtins.str):
|
|
1850
1855
|
"""
|
|
1851
|
-
:param str address: The address which the Prometheus server available on.
|
|
1856
|
+
:param _builtins.str address: The address which the Prometheus server available on.
|
|
1852
1857
|
"""
|
|
1853
1858
|
pulumi.set(__self__, "address", address)
|
|
1854
1859
|
|
|
1855
|
-
@property
|
|
1860
|
+
@_builtins.property
|
|
1856
1861
|
@pulumi.getter
|
|
1857
|
-
def address(self) -> str:
|
|
1862
|
+
def address(self) -> _builtins.str:
|
|
1858
1863
|
"""
|
|
1859
1864
|
The address which the Prometheus server available on.
|
|
1860
1865
|
"""
|
|
@@ -1883,12 +1888,12 @@ class VerificationTemplateArg(dict):
|
|
|
1883
1888
|
return super().get(key, default)
|
|
1884
1889
|
|
|
1885
1890
|
def __init__(__self__, *,
|
|
1886
|
-
arg_name: str,
|
|
1887
|
-
value: Optional[str] = None,
|
|
1891
|
+
arg_name: _builtins.str,
|
|
1892
|
+
value: Optional[_builtins.str] = None,
|
|
1888
1893
|
value_from: Optional['outputs.VerificationTemplateArgValueFrom'] = None):
|
|
1889
1894
|
"""
|
|
1890
|
-
:param str arg_name: Name of an argument.
|
|
1891
|
-
: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.
|
|
1892
1897
|
:param 'VerificationTemplateArgValueFromArgs' value_from: ValueFrom object.
|
|
1893
1898
|
"""
|
|
1894
1899
|
pulumi.set(__self__, "arg_name", arg_name)
|
|
@@ -1897,23 +1902,23 @@ class VerificationTemplateArg(dict):
|
|
|
1897
1902
|
if value_from is not None:
|
|
1898
1903
|
pulumi.set(__self__, "value_from", value_from)
|
|
1899
1904
|
|
|
1900
|
-
@property
|
|
1905
|
+
@_builtins.property
|
|
1901
1906
|
@pulumi.getter(name="argName")
|
|
1902
|
-
def arg_name(self) -> str:
|
|
1907
|
+
def arg_name(self) -> _builtins.str:
|
|
1903
1908
|
"""
|
|
1904
1909
|
Name of an argument.
|
|
1905
1910
|
"""
|
|
1906
1911
|
return pulumi.get(self, "arg_name")
|
|
1907
1912
|
|
|
1908
|
-
@property
|
|
1913
|
+
@_builtins.property
|
|
1909
1914
|
@pulumi.getter
|
|
1910
|
-
def value(self) -> Optional[str]:
|
|
1915
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1911
1916
|
"""
|
|
1912
1917
|
String representation of data.
|
|
1913
1918
|
"""
|
|
1914
1919
|
return pulumi.get(self, "value")
|
|
1915
1920
|
|
|
1916
|
-
@property
|
|
1921
|
+
@_builtins.property
|
|
1917
1922
|
@pulumi.getter(name="valueFrom")
|
|
1918
1923
|
def value_from(self) -> Optional['outputs.VerificationTemplateArgValueFrom']:
|
|
1919
1924
|
"""
|
|
@@ -1949,7 +1954,7 @@ class VerificationTemplateArgValueFrom(dict):
|
|
|
1949
1954
|
if secret_key_ref is not None:
|
|
1950
1955
|
pulumi.set(__self__, "secret_key_ref", secret_key_ref)
|
|
1951
1956
|
|
|
1952
|
-
@property
|
|
1957
|
+
@_builtins.property
|
|
1953
1958
|
@pulumi.getter(name="secretKeyRef")
|
|
1954
1959
|
def secret_key_ref(self) -> Optional['outputs.VerificationTemplateArgValueFromSecretKeyRef']:
|
|
1955
1960
|
"""
|
|
@@ -1961,26 +1966,26 @@ class VerificationTemplateArgValueFrom(dict):
|
|
|
1961
1966
|
@pulumi.output_type
|
|
1962
1967
|
class VerificationTemplateArgValueFromSecretKeyRef(dict):
|
|
1963
1968
|
def __init__(__self__, *,
|
|
1964
|
-
key: str,
|
|
1965
|
-
name: str):
|
|
1969
|
+
key: _builtins.str,
|
|
1970
|
+
name: _builtins.str):
|
|
1966
1971
|
"""
|
|
1967
|
-
:param str key: The name of the field inside the secret.
|
|
1968
|
-
: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.
|
|
1969
1974
|
"""
|
|
1970
1975
|
pulumi.set(__self__, "key", key)
|
|
1971
1976
|
pulumi.set(__self__, "name", name)
|
|
1972
1977
|
|
|
1973
|
-
@property
|
|
1978
|
+
@_builtins.property
|
|
1974
1979
|
@pulumi.getter
|
|
1975
|
-
def key(self) -> str:
|
|
1980
|
+
def key(self) -> _builtins.str:
|
|
1976
1981
|
"""
|
|
1977
1982
|
The name of the field inside the secret.
|
|
1978
1983
|
"""
|
|
1979
1984
|
return pulumi.get(self, "key")
|
|
1980
1985
|
|
|
1981
|
-
@property
|
|
1986
|
+
@_builtins.property
|
|
1982
1987
|
@pulumi.getter
|
|
1983
|
-
def name(self) -> str:
|
|
1988
|
+
def name(self) -> _builtins.str:
|
|
1984
1989
|
"""
|
|
1985
1990
|
The name of the secret.
|
|
1986
1991
|
"""
|
|
@@ -2019,29 +2024,29 @@ class VerificationTemplateMetric(dict):
|
|
|
2019
2024
|
return super().get(key, default)
|
|
2020
2025
|
|
|
2021
2026
|
def __init__(__self__, *,
|
|
2022
|
-
metrics_name: str,
|
|
2027
|
+
metrics_name: _builtins.str,
|
|
2023
2028
|
providers: Sequence['outputs.VerificationTemplateMetricProvider'],
|
|
2024
2029
|
baseline: Optional['outputs.VerificationTemplateMetricBaseline'] = None,
|
|
2025
|
-
consecutive_error_limit: Optional[int] = None,
|
|
2026
|
-
count: Optional[int] = None,
|
|
2027
|
-
dry_run: Optional[bool] = None,
|
|
2028
|
-
failure_condition: Optional[str] = None,
|
|
2029
|
-
failure_limit: Optional[int] = None,
|
|
2030
|
-
initial_delay: Optional[str] = None,
|
|
2031
|
-
interval: Optional[str] = None,
|
|
2032
|
-
success_condition: Optional[str] = None):
|
|
2033
|
-
"""
|
|
2034
|
-
: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.
|
|
2035
2040
|
:param Sequence['VerificationTemplateMetricProviderArgs'] providers: The name of the monitoring tool chosen for the metric.
|
|
2036
2041
|
:param 'VerificationTemplateMetricBaselineArgs' baseline: Baseline Object.
|
|
2037
|
-
: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.
|
|
2038
|
-
: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.
|
|
2039
|
-
:param bool dry_run: Defines whether the metric should have an impact on the result of the rollout.
|
|
2040
|
-
: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.
|
|
2041
|
-
: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.
|
|
2042
|
-
: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.
|
|
2043
|
-
: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.
|
|
2044
|
-
: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.
|
|
2045
2050
|
"""
|
|
2046
2051
|
pulumi.set(__self__, "metrics_name", metrics_name)
|
|
2047
2052
|
pulumi.set(__self__, "providers", providers)
|
|
@@ -2064,15 +2069,15 @@ class VerificationTemplateMetric(dict):
|
|
|
2064
2069
|
if success_condition is not None:
|
|
2065
2070
|
pulumi.set(__self__, "success_condition", success_condition)
|
|
2066
2071
|
|
|
2067
|
-
@property
|
|
2072
|
+
@_builtins.property
|
|
2068
2073
|
@pulumi.getter(name="metricsName")
|
|
2069
|
-
def metrics_name(self) -> str:
|
|
2074
|
+
def metrics_name(self) -> _builtins.str:
|
|
2070
2075
|
"""
|
|
2071
2076
|
The name of the verification metric.
|
|
2072
2077
|
"""
|
|
2073
2078
|
return pulumi.get(self, "metrics_name")
|
|
2074
2079
|
|
|
2075
|
-
@property
|
|
2080
|
+
@_builtins.property
|
|
2076
2081
|
@pulumi.getter
|
|
2077
2082
|
def providers(self) -> Sequence['outputs.VerificationTemplateMetricProvider']:
|
|
2078
2083
|
"""
|
|
@@ -2080,7 +2085,7 @@ class VerificationTemplateMetric(dict):
|
|
|
2080
2085
|
"""
|
|
2081
2086
|
return pulumi.get(self, "providers")
|
|
2082
2087
|
|
|
2083
|
-
@property
|
|
2088
|
+
@_builtins.property
|
|
2084
2089
|
@pulumi.getter
|
|
2085
2090
|
def baseline(self) -> Optional['outputs.VerificationTemplateMetricBaseline']:
|
|
2086
2091
|
"""
|
|
@@ -2088,65 +2093,65 @@ class VerificationTemplateMetric(dict):
|
|
|
2088
2093
|
"""
|
|
2089
2094
|
return pulumi.get(self, "baseline")
|
|
2090
2095
|
|
|
2091
|
-
@property
|
|
2096
|
+
@_builtins.property
|
|
2092
2097
|
@pulumi.getter(name="consecutiveErrorLimit")
|
|
2093
|
-
def consecutive_error_limit(self) -> Optional[int]:
|
|
2098
|
+
def consecutive_error_limit(self) -> Optional[_builtins.int]:
|
|
2094
2099
|
"""
|
|
2095
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.
|
|
2096
2101
|
"""
|
|
2097
2102
|
return pulumi.get(self, "consecutive_error_limit")
|
|
2098
2103
|
|
|
2099
|
-
@property
|
|
2104
|
+
@_builtins.property
|
|
2100
2105
|
@pulumi.getter
|
|
2101
|
-
def count(self) -> Optional[int]:
|
|
2106
|
+
def count(self) -> Optional[_builtins.int]:
|
|
2102
2107
|
"""
|
|
2103
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.
|
|
2104
2109
|
"""
|
|
2105
2110
|
return pulumi.get(self, "count")
|
|
2106
2111
|
|
|
2107
|
-
@property
|
|
2112
|
+
@_builtins.property
|
|
2108
2113
|
@pulumi.getter(name="dryRun")
|
|
2109
|
-
def dry_run(self) -> Optional[bool]:
|
|
2114
|
+
def dry_run(self) -> Optional[_builtins.bool]:
|
|
2110
2115
|
"""
|
|
2111
2116
|
Defines whether the metric should have an impact on the result of the rollout.
|
|
2112
2117
|
"""
|
|
2113
2118
|
return pulumi.get(self, "dry_run")
|
|
2114
2119
|
|
|
2115
|
-
@property
|
|
2120
|
+
@_builtins.property
|
|
2116
2121
|
@pulumi.getter(name="failureCondition")
|
|
2117
|
-
def failure_condition(self) -> Optional[str]:
|
|
2122
|
+
def failure_condition(self) -> Optional[_builtins.str]:
|
|
2118
2123
|
"""
|
|
2119
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.
|
|
2120
2125
|
"""
|
|
2121
2126
|
return pulumi.get(self, "failure_condition")
|
|
2122
2127
|
|
|
2123
|
-
@property
|
|
2128
|
+
@_builtins.property
|
|
2124
2129
|
@pulumi.getter(name="failureLimit")
|
|
2125
|
-
def failure_limit(self) -> Optional[int]:
|
|
2130
|
+
def failure_limit(self) -> Optional[_builtins.int]:
|
|
2126
2131
|
"""
|
|
2127
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.
|
|
2128
2133
|
"""
|
|
2129
2134
|
return pulumi.get(self, "failure_limit")
|
|
2130
2135
|
|
|
2131
|
-
@property
|
|
2136
|
+
@_builtins.property
|
|
2132
2137
|
@pulumi.getter(name="initialDelay")
|
|
2133
|
-
def initial_delay(self) -> Optional[str]:
|
|
2138
|
+
def initial_delay(self) -> Optional[_builtins.str]:
|
|
2134
2139
|
"""
|
|
2135
2140
|
How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2136
2141
|
"""
|
|
2137
2142
|
return pulumi.get(self, "initial_delay")
|
|
2138
2143
|
|
|
2139
|
-
@property
|
|
2144
|
+
@_builtins.property
|
|
2140
2145
|
@pulumi.getter
|
|
2141
|
-
def interval(self) -> Optional[str]:
|
|
2146
|
+
def interval(self) -> Optional[_builtins.str]:
|
|
2142
2147
|
"""
|
|
2143
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.
|
|
2144
2149
|
"""
|
|
2145
2150
|
return pulumi.get(self, "interval")
|
|
2146
2151
|
|
|
2147
|
-
@property
|
|
2152
|
+
@_builtins.property
|
|
2148
2153
|
@pulumi.getter(name="successCondition")
|
|
2149
|
-
def success_condition(self) -> Optional[str]:
|
|
2154
|
+
def success_condition(self) -> Optional[_builtins.str]:
|
|
2150
2155
|
"""
|
|
2151
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.
|
|
2152
2157
|
"""
|
|
@@ -2178,14 +2183,14 @@ class VerificationTemplateMetricBaseline(dict):
|
|
|
2178
2183
|
|
|
2179
2184
|
def __init__(__self__, *,
|
|
2180
2185
|
baseline_providers: Sequence['outputs.VerificationTemplateMetricBaselineBaselineProvider'],
|
|
2181
|
-
threshold: str,
|
|
2182
|
-
max_range: Optional[int] = None,
|
|
2183
|
-
min_range: Optional[int] = None):
|
|
2186
|
+
threshold: _builtins.str,
|
|
2187
|
+
max_range: Optional[_builtins.int] = None,
|
|
2188
|
+
min_range: Optional[_builtins.int] = None):
|
|
2184
2189
|
"""
|
|
2185
2190
|
:param Sequence['VerificationTemplateMetricBaselineBaselineProviderArgs'] baseline_providers: The name of the monitoring tool chosen for the metric.
|
|
2186
|
-
:param str threshold: A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
|
|
2187
|
-
:param int max_range: Number in percent we allow the new version’s data result to be under baseline data result.
|
|
2188
|
-
: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.*
|
|
2189
2194
|
"""
|
|
2190
2195
|
pulumi.set(__self__, "baseline_providers", baseline_providers)
|
|
2191
2196
|
pulumi.set(__self__, "threshold", threshold)
|
|
@@ -2194,7 +2199,7 @@ class VerificationTemplateMetricBaseline(dict):
|
|
|
2194
2199
|
if min_range is not None:
|
|
2195
2200
|
pulumi.set(__self__, "min_range", min_range)
|
|
2196
2201
|
|
|
2197
|
-
@property
|
|
2202
|
+
@_builtins.property
|
|
2198
2203
|
@pulumi.getter(name="baselineProviders")
|
|
2199
2204
|
def baseline_providers(self) -> Sequence['outputs.VerificationTemplateMetricBaselineBaselineProvider']:
|
|
2200
2205
|
"""
|
|
@@ -2202,25 +2207,25 @@ class VerificationTemplateMetricBaseline(dict):
|
|
|
2202
2207
|
"""
|
|
2203
2208
|
return pulumi.get(self, "baseline_providers")
|
|
2204
2209
|
|
|
2205
|
-
@property
|
|
2210
|
+
@_builtins.property
|
|
2206
2211
|
@pulumi.getter
|
|
2207
|
-
def threshold(self) -> str:
|
|
2212
|
+
def threshold(self) -> _builtins.str:
|
|
2208
2213
|
"""
|
|
2209
2214
|
A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
|
|
2210
2215
|
"""
|
|
2211
2216
|
return pulumi.get(self, "threshold")
|
|
2212
2217
|
|
|
2213
|
-
@property
|
|
2218
|
+
@_builtins.property
|
|
2214
2219
|
@pulumi.getter(name="maxRange")
|
|
2215
|
-
def max_range(self) -> Optional[int]:
|
|
2220
|
+
def max_range(self) -> Optional[_builtins.int]:
|
|
2216
2221
|
"""
|
|
2217
2222
|
Number in percent we allow the new version’s data result to be under baseline data result.
|
|
2218
2223
|
"""
|
|
2219
2224
|
return pulumi.get(self, "max_range")
|
|
2220
2225
|
|
|
2221
|
-
@property
|
|
2226
|
+
@_builtins.property
|
|
2222
2227
|
@pulumi.getter(name="minRange")
|
|
2223
|
-
def min_range(self) -> Optional[int]:
|
|
2228
|
+
def min_range(self) -> Optional[_builtins.int]:
|
|
2224
2229
|
"""
|
|
2225
2230
|
Number in percent we allow the new version’s data result to be under baseline data result.*
|
|
2226
2231
|
"""
|
|
@@ -2262,7 +2267,7 @@ class VerificationTemplateMetricBaselineBaselineProvider(dict):
|
|
|
2262
2267
|
if prometheus is not None:
|
|
2263
2268
|
pulumi.set(__self__, "prometheus", prometheus)
|
|
2264
2269
|
|
|
2265
|
-
@property
|
|
2270
|
+
@_builtins.property
|
|
2266
2271
|
@pulumi.getter
|
|
2267
2272
|
def datadog(self) -> Optional['outputs.VerificationTemplateMetricBaselineBaselineProviderDatadog']:
|
|
2268
2273
|
"""
|
|
@@ -2270,7 +2275,7 @@ class VerificationTemplateMetricBaselineBaselineProvider(dict):
|
|
|
2270
2275
|
"""
|
|
2271
2276
|
return pulumi.get(self, "datadog")
|
|
2272
2277
|
|
|
2273
|
-
@property
|
|
2278
|
+
@_builtins.property
|
|
2274
2279
|
@pulumi.getter(name="newRelic")
|
|
2275
2280
|
def new_relic(self) -> Optional['outputs.VerificationTemplateMetricBaselineBaselineProviderNewRelic']:
|
|
2276
2281
|
"""
|
|
@@ -2278,7 +2283,7 @@ class VerificationTemplateMetricBaselineBaselineProvider(dict):
|
|
|
2278
2283
|
"""
|
|
2279
2284
|
return pulumi.get(self, "new_relic")
|
|
2280
2285
|
|
|
2281
|
-
@property
|
|
2286
|
+
@_builtins.property
|
|
2282
2287
|
@pulumi.getter
|
|
2283
2288
|
def prometheus(self) -> Optional['outputs.VerificationTemplateMetricBaselineBaselineProviderPrometheus']:
|
|
2284
2289
|
"""
|
|
@@ -2307,27 +2312,27 @@ class VerificationTemplateMetricBaselineBaselineProviderDatadog(dict):
|
|
|
2307
2312
|
return super().get(key, default)
|
|
2308
2313
|
|
|
2309
2314
|
def __init__(__self__, *,
|
|
2310
|
-
datadog_query: str,
|
|
2311
|
-
duration: Optional[str] = None):
|
|
2315
|
+
datadog_query: _builtins.str,
|
|
2316
|
+
duration: Optional[_builtins.str] = None):
|
|
2312
2317
|
"""
|
|
2313
|
-
:param str datadog_query: A request for information retrieved from Datadog.
|
|
2314
|
-
: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.
|
|
2315
2320
|
"""
|
|
2316
2321
|
pulumi.set(__self__, "datadog_query", datadog_query)
|
|
2317
2322
|
if duration is not None:
|
|
2318
2323
|
pulumi.set(__self__, "duration", duration)
|
|
2319
2324
|
|
|
2320
|
-
@property
|
|
2325
|
+
@_builtins.property
|
|
2321
2326
|
@pulumi.getter(name="datadogQuery")
|
|
2322
|
-
def datadog_query(self) -> str:
|
|
2327
|
+
def datadog_query(self) -> _builtins.str:
|
|
2323
2328
|
"""
|
|
2324
2329
|
A request for information retrieved from Datadog.
|
|
2325
2330
|
"""
|
|
2326
2331
|
return pulumi.get(self, "datadog_query")
|
|
2327
2332
|
|
|
2328
|
-
@property
|
|
2333
|
+
@_builtins.property
|
|
2329
2334
|
@pulumi.getter
|
|
2330
|
-
def duration(self) -> Optional[str]:
|
|
2335
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
2331
2336
|
"""
|
|
2332
2337
|
The window of time we are looking at in DataDog.
|
|
2333
2338
|
"""
|
|
@@ -2354,27 +2359,27 @@ class VerificationTemplateMetricBaselineBaselineProviderNewRelic(dict):
|
|
|
2354
2359
|
return super().get(key, default)
|
|
2355
2360
|
|
|
2356
2361
|
def __init__(__self__, *,
|
|
2357
|
-
new_relic_query: str,
|
|
2358
|
-
profile: Optional[str] = None):
|
|
2362
|
+
new_relic_query: _builtins.str,
|
|
2363
|
+
profile: Optional[_builtins.str] = None):
|
|
2359
2364
|
"""
|
|
2360
|
-
:param str new_relic_query: A raw newrelic NRQL query to perform.
|
|
2361
|
-
: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.
|
|
2362
2367
|
"""
|
|
2363
2368
|
pulumi.set(__self__, "new_relic_query", new_relic_query)
|
|
2364
2369
|
if profile is not None:
|
|
2365
2370
|
pulumi.set(__self__, "profile", profile)
|
|
2366
2371
|
|
|
2367
|
-
@property
|
|
2372
|
+
@_builtins.property
|
|
2368
2373
|
@pulumi.getter(name="newRelicQuery")
|
|
2369
|
-
def new_relic_query(self) -> str:
|
|
2374
|
+
def new_relic_query(self) -> _builtins.str:
|
|
2370
2375
|
"""
|
|
2371
2376
|
A raw newrelic NRQL query to perform.
|
|
2372
2377
|
"""
|
|
2373
2378
|
return pulumi.get(self, "new_relic_query")
|
|
2374
2379
|
|
|
2375
|
-
@property
|
|
2380
|
+
@_builtins.property
|
|
2376
2381
|
@pulumi.getter
|
|
2377
|
-
def profile(self) -> Optional[str]:
|
|
2382
|
+
def profile(self) -> Optional[_builtins.str]:
|
|
2378
2383
|
"""
|
|
2379
2384
|
The name of the secret holding NR account configuration.
|
|
2380
2385
|
"""
|
|
@@ -2401,15 +2406,15 @@ class VerificationTemplateMetricBaselineBaselineProviderPrometheus(dict):
|
|
|
2401
2406
|
return super().get(key, default)
|
|
2402
2407
|
|
|
2403
2408
|
def __init__(__self__, *,
|
|
2404
|
-
prometheus_query: str):
|
|
2409
|
+
prometheus_query: _builtins.str):
|
|
2405
2410
|
"""
|
|
2406
|
-
:param str prometheus_query: A request for information retrieved from Prometheus.
|
|
2411
|
+
:param _builtins.str prometheus_query: A request for information retrieved from Prometheus.
|
|
2407
2412
|
"""
|
|
2408
2413
|
pulumi.set(__self__, "prometheus_query", prometheus_query)
|
|
2409
2414
|
|
|
2410
|
-
@property
|
|
2415
|
+
@_builtins.property
|
|
2411
2416
|
@pulumi.getter(name="prometheusQuery")
|
|
2412
|
-
def prometheus_query(self) -> str:
|
|
2417
|
+
def prometheus_query(self) -> _builtins.str:
|
|
2413
2418
|
"""
|
|
2414
2419
|
A request for information retrieved from Prometheus.
|
|
2415
2420
|
"""
|
|
@@ -2469,7 +2474,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2469
2474
|
if web is not None:
|
|
2470
2475
|
pulumi.set(__self__, "web", web)
|
|
2471
2476
|
|
|
2472
|
-
@property
|
|
2477
|
+
@_builtins.property
|
|
2473
2478
|
@pulumi.getter(name="cloudWatch")
|
|
2474
2479
|
def cloud_watch(self) -> Optional['outputs.VerificationTemplateMetricProviderCloudWatch']:
|
|
2475
2480
|
"""
|
|
@@ -2477,7 +2482,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2477
2482
|
"""
|
|
2478
2483
|
return pulumi.get(self, "cloud_watch")
|
|
2479
2484
|
|
|
2480
|
-
@property
|
|
2485
|
+
@_builtins.property
|
|
2481
2486
|
@pulumi.getter
|
|
2482
2487
|
def datadog(self) -> Optional['outputs.VerificationTemplateMetricProviderDatadog']:
|
|
2483
2488
|
"""
|
|
@@ -2485,7 +2490,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2485
2490
|
"""
|
|
2486
2491
|
return pulumi.get(self, "datadog")
|
|
2487
2492
|
|
|
2488
|
-
@property
|
|
2493
|
+
@_builtins.property
|
|
2489
2494
|
@pulumi.getter
|
|
2490
2495
|
def jenkins(self) -> Optional['outputs.VerificationTemplateMetricProviderJenkins']:
|
|
2491
2496
|
"""
|
|
@@ -2493,7 +2498,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2493
2498
|
"""
|
|
2494
2499
|
return pulumi.get(self, "jenkins")
|
|
2495
2500
|
|
|
2496
|
-
@property
|
|
2501
|
+
@_builtins.property
|
|
2497
2502
|
@pulumi.getter
|
|
2498
2503
|
def job(self) -> Optional['outputs.VerificationTemplateMetricProviderJob']:
|
|
2499
2504
|
"""
|
|
@@ -2501,7 +2506,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2501
2506
|
"""
|
|
2502
2507
|
return pulumi.get(self, "job")
|
|
2503
2508
|
|
|
2504
|
-
@property
|
|
2509
|
+
@_builtins.property
|
|
2505
2510
|
@pulumi.getter(name="newRelic")
|
|
2506
2511
|
def new_relic(self) -> Optional['outputs.VerificationTemplateMetricProviderNewRelic']:
|
|
2507
2512
|
"""
|
|
@@ -2509,7 +2514,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2509
2514
|
"""
|
|
2510
2515
|
return pulumi.get(self, "new_relic")
|
|
2511
2516
|
|
|
2512
|
-
@property
|
|
2517
|
+
@_builtins.property
|
|
2513
2518
|
@pulumi.getter
|
|
2514
2519
|
def prometheus(self) -> Optional['outputs.VerificationTemplateMetricProviderPrometheus']:
|
|
2515
2520
|
"""
|
|
@@ -2517,7 +2522,7 @@ class VerificationTemplateMetricProvider(dict):
|
|
|
2517
2522
|
"""
|
|
2518
2523
|
return pulumi.get(self, "prometheus")
|
|
2519
2524
|
|
|
2520
|
-
@property
|
|
2525
|
+
@_builtins.property
|
|
2521
2526
|
@pulumi.getter
|
|
2522
2527
|
def web(self) -> Optional['outputs.VerificationTemplateMetricProviderWeb']:
|
|
2523
2528
|
"""
|
|
@@ -2547,16 +2552,16 @@ class VerificationTemplateMetricProviderCloudWatch(dict):
|
|
|
2547
2552
|
|
|
2548
2553
|
def __init__(__self__, *,
|
|
2549
2554
|
metric_data_queries: Sequence['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQuery'],
|
|
2550
|
-
duration: Optional[str] = None):
|
|
2555
|
+
duration: Optional[_builtins.str] = None):
|
|
2551
2556
|
"""
|
|
2552
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.
|
|
2553
|
-
: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.
|
|
2554
2559
|
"""
|
|
2555
2560
|
pulumi.set(__self__, "metric_data_queries", metric_data_queries)
|
|
2556
2561
|
if duration is not None:
|
|
2557
2562
|
pulumi.set(__self__, "duration", duration)
|
|
2558
2563
|
|
|
2559
|
-
@property
|
|
2564
|
+
@_builtins.property
|
|
2560
2565
|
@pulumi.getter(name="metricDataQueries")
|
|
2561
2566
|
def metric_data_queries(self) -> Sequence['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQuery']:
|
|
2562
2567
|
"""
|
|
@@ -2564,9 +2569,9 @@ class VerificationTemplateMetricProviderCloudWatch(dict):
|
|
|
2564
2569
|
"""
|
|
2565
2570
|
return pulumi.get(self, "metric_data_queries")
|
|
2566
2571
|
|
|
2567
|
-
@property
|
|
2572
|
+
@_builtins.property
|
|
2568
2573
|
@pulumi.getter
|
|
2569
|
-
def duration(self) -> Optional[str]:
|
|
2574
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
2570
2575
|
"""
|
|
2571
2576
|
The window of time we are looking at in CloudWatch.
|
|
2572
2577
|
"""
|
|
@@ -2595,19 +2600,19 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQuery(dict):
|
|
|
2595
2600
|
return super().get(key, default)
|
|
2596
2601
|
|
|
2597
2602
|
def __init__(__self__, *,
|
|
2598
|
-
id: str,
|
|
2599
|
-
expression: Optional[str] = None,
|
|
2600
|
-
label: Optional[str] = None,
|
|
2603
|
+
id: _builtins.str,
|
|
2604
|
+
expression: Optional[_builtins.str] = None,
|
|
2605
|
+
label: Optional[_builtins.str] = None,
|
|
2601
2606
|
metric_stat: Optional['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat'] = None,
|
|
2602
|
-
period: Optional[int] = None,
|
|
2603
|
-
return_data: Optional[bool] = None):
|
|
2607
|
+
period: Optional[_builtins.int] = None,
|
|
2608
|
+
return_data: Optional[_builtins.bool] = None):
|
|
2604
2609
|
"""
|
|
2605
|
-
: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.
|
|
2606
|
-
: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.
|
|
2607
|
-
: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
|
|
2608
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.
|
|
2609
|
-
:param int period: The granularity, in seconds, of the returned data points.
|
|
2610
|
-
: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
|
|
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.
|
|
2611
2616
|
"""
|
|
2612
2617
|
pulumi.set(__self__, "id", id)
|
|
2613
2618
|
if expression is not None:
|
|
@@ -2621,31 +2626,31 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQuery(dict):
|
|
|
2621
2626
|
if return_data is not None:
|
|
2622
2627
|
pulumi.set(__self__, "return_data", return_data)
|
|
2623
2628
|
|
|
2624
|
-
@property
|
|
2629
|
+
@_builtins.property
|
|
2625
2630
|
@pulumi.getter
|
|
2626
|
-
def id(self) -> str:
|
|
2631
|
+
def id(self) -> _builtins.str:
|
|
2627
2632
|
"""
|
|
2628
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.
|
|
2629
2634
|
"""
|
|
2630
2635
|
return pulumi.get(self, "id")
|
|
2631
2636
|
|
|
2632
|
-
@property
|
|
2637
|
+
@_builtins.property
|
|
2633
2638
|
@pulumi.getter
|
|
2634
|
-
def expression(self) -> Optional[str]:
|
|
2639
|
+
def expression(self) -> Optional[_builtins.str]:
|
|
2635
2640
|
"""
|
|
2636
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.
|
|
2637
2642
|
"""
|
|
2638
2643
|
return pulumi.get(self, "expression")
|
|
2639
2644
|
|
|
2640
|
-
@property
|
|
2645
|
+
@_builtins.property
|
|
2641
2646
|
@pulumi.getter
|
|
2642
|
-
def label(self) -> Optional[str]:
|
|
2647
|
+
def label(self) -> Optional[_builtins.str]:
|
|
2643
2648
|
"""
|
|
2644
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
|
|
2645
2650
|
"""
|
|
2646
2651
|
return pulumi.get(self, "label")
|
|
2647
2652
|
|
|
2648
|
-
@property
|
|
2653
|
+
@_builtins.property
|
|
2649
2654
|
@pulumi.getter(name="metricStat")
|
|
2650
2655
|
def metric_stat(self) -> Optional['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat']:
|
|
2651
2656
|
"""
|
|
@@ -2653,19 +2658,19 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQuery(dict):
|
|
|
2653
2658
|
"""
|
|
2654
2659
|
return pulumi.get(self, "metric_stat")
|
|
2655
2660
|
|
|
2656
|
-
@property
|
|
2661
|
+
@_builtins.property
|
|
2657
2662
|
@pulumi.getter
|
|
2658
|
-
def period(self) -> Optional[int]:
|
|
2663
|
+
def period(self) -> Optional[_builtins.int]:
|
|
2659
2664
|
"""
|
|
2660
2665
|
The granularity, in seconds, of the returned data points.
|
|
2661
2666
|
"""
|
|
2662
2667
|
return pulumi.get(self, "period")
|
|
2663
2668
|
|
|
2664
|
-
@property
|
|
2669
|
+
@_builtins.property
|
|
2665
2670
|
@pulumi.getter(name="returnData")
|
|
2666
|
-
def return_data(self) -> Optional[bool]:
|
|
2671
|
+
def return_data(self) -> Optional[_builtins.bool]:
|
|
2667
2672
|
"""
|
|
2668
|
-
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
|
|
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.
|
|
2669
2674
|
"""
|
|
2670
2675
|
return pulumi.get(self, "return_data")
|
|
2671
2676
|
|
|
@@ -2691,14 +2696,14 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat(dict
|
|
|
2691
2696
|
|
|
2692
2697
|
def __init__(__self__, *,
|
|
2693
2698
|
metric: Optional['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetric'] = None,
|
|
2694
|
-
metric_period: Optional[int] = None,
|
|
2695
|
-
stat: Optional[str] = None,
|
|
2696
|
-
unit: Optional[str] = None):
|
|
2699
|
+
metric_period: Optional[_builtins.int] = None,
|
|
2700
|
+
stat: Optional[_builtins.str] = None,
|
|
2701
|
+
unit: Optional[_builtins.str] = None):
|
|
2697
2702
|
"""
|
|
2698
2703
|
:param 'VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs' metric: The metric to return, including the metric name, namespace, and dimensions.
|
|
2699
|
-
:param int metric_period: The granularity, in seconds, of the returned data points.
|
|
2700
|
-
:param str stat: The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
2701
|
-
: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"`
|
|
2702
2707
|
"""
|
|
2703
2708
|
if metric is not None:
|
|
2704
2709
|
pulumi.set(__self__, "metric", metric)
|
|
@@ -2709,7 +2714,7 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat(dict
|
|
|
2709
2714
|
if unit is not None:
|
|
2710
2715
|
pulumi.set(__self__, "unit", unit)
|
|
2711
2716
|
|
|
2712
|
-
@property
|
|
2717
|
+
@_builtins.property
|
|
2713
2718
|
@pulumi.getter
|
|
2714
2719
|
def metric(self) -> Optional['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetric']:
|
|
2715
2720
|
"""
|
|
@@ -2717,25 +2722,25 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat(dict
|
|
|
2717
2722
|
"""
|
|
2718
2723
|
return pulumi.get(self, "metric")
|
|
2719
2724
|
|
|
2720
|
-
@property
|
|
2725
|
+
@_builtins.property
|
|
2721
2726
|
@pulumi.getter(name="metricPeriod")
|
|
2722
|
-
def metric_period(self) -> Optional[int]:
|
|
2727
|
+
def metric_period(self) -> Optional[_builtins.int]:
|
|
2723
2728
|
"""
|
|
2724
2729
|
The granularity, in seconds, of the returned data points.
|
|
2725
2730
|
"""
|
|
2726
2731
|
return pulumi.get(self, "metric_period")
|
|
2727
2732
|
|
|
2728
|
-
@property
|
|
2733
|
+
@_builtins.property
|
|
2729
2734
|
@pulumi.getter
|
|
2730
|
-
def stat(self) -> Optional[str]:
|
|
2735
|
+
def stat(self) -> Optional[_builtins.str]:
|
|
2731
2736
|
"""
|
|
2732
2737
|
The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
2733
2738
|
"""
|
|
2734
2739
|
return pulumi.get(self, "stat")
|
|
2735
2740
|
|
|
2736
|
-
@property
|
|
2741
|
+
@_builtins.property
|
|
2737
2742
|
@pulumi.getter
|
|
2738
|
-
def unit(self) -> Optional[str]:
|
|
2743
|
+
def unit(self) -> Optional[_builtins.str]:
|
|
2739
2744
|
"""
|
|
2740
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"`
|
|
2741
2746
|
"""
|
|
@@ -2762,13 +2767,13 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
2762
2767
|
return super().get(key, default)
|
|
2763
2768
|
|
|
2764
2769
|
def __init__(__self__, *,
|
|
2765
|
-
metric_name: str,
|
|
2770
|
+
metric_name: _builtins.str,
|
|
2766
2771
|
dimensions: Optional[Sequence['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimension']] = None,
|
|
2767
|
-
namespace: Optional[str] = None):
|
|
2772
|
+
namespace: Optional[_builtins.str] = None):
|
|
2768
2773
|
"""
|
|
2769
|
-
:param str metric_name: The name of the metric.
|
|
2774
|
+
:param _builtins.str metric_name: The name of the metric.
|
|
2770
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
|
|
2771
|
-
:param str namespace: The namespace of the metric.
|
|
2776
|
+
:param _builtins.str namespace: The namespace of the metric.
|
|
2772
2777
|
"""
|
|
2773
2778
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
2774
2779
|
if dimensions is not None:
|
|
@@ -2776,15 +2781,15 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
2776
2781
|
if namespace is not None:
|
|
2777
2782
|
pulumi.set(__self__, "namespace", namespace)
|
|
2778
2783
|
|
|
2779
|
-
@property
|
|
2784
|
+
@_builtins.property
|
|
2780
2785
|
@pulumi.getter(name="metricName")
|
|
2781
|
-
def metric_name(self) -> str:
|
|
2786
|
+
def metric_name(self) -> _builtins.str:
|
|
2782
2787
|
"""
|
|
2783
2788
|
The name of the metric.
|
|
2784
2789
|
"""
|
|
2785
2790
|
return pulumi.get(self, "metric_name")
|
|
2786
2791
|
|
|
2787
|
-
@property
|
|
2792
|
+
@_builtins.property
|
|
2788
2793
|
@pulumi.getter
|
|
2789
2794
|
def dimensions(self) -> Optional[Sequence['outputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimension']]:
|
|
2790
2795
|
"""
|
|
@@ -2792,9 +2797,9 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
2792
2797
|
"""
|
|
2793
2798
|
return pulumi.get(self, "dimensions")
|
|
2794
2799
|
|
|
2795
|
-
@property
|
|
2800
|
+
@_builtins.property
|
|
2796
2801
|
@pulumi.getter
|
|
2797
|
-
def namespace(self) -> Optional[str]:
|
|
2802
|
+
def namespace(self) -> Optional[_builtins.str]:
|
|
2798
2803
|
"""
|
|
2799
2804
|
The namespace of the metric.
|
|
2800
2805
|
"""
|
|
@@ -2823,26 +2828,26 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
2823
2828
|
return super().get(key, default)
|
|
2824
2829
|
|
|
2825
2830
|
def __init__(__self__, *,
|
|
2826
|
-
dimension_name: str,
|
|
2827
|
-
dimension_value: str):
|
|
2831
|
+
dimension_name: _builtins.str,
|
|
2832
|
+
dimension_value: _builtins.str):
|
|
2828
2833
|
"""
|
|
2829
|
-
: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
|
|
2830
|
-
: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
|
|
2831
2836
|
"""
|
|
2832
2837
|
pulumi.set(__self__, "dimension_name", dimension_name)
|
|
2833
2838
|
pulumi.set(__self__, "dimension_value", dimension_value)
|
|
2834
2839
|
|
|
2835
|
-
@property
|
|
2840
|
+
@_builtins.property
|
|
2836
2841
|
@pulumi.getter(name="dimensionName")
|
|
2837
|
-
def dimension_name(self) -> str:
|
|
2842
|
+
def dimension_name(self) -> _builtins.str:
|
|
2838
2843
|
"""
|
|
2839
2844
|
The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
2840
2845
|
"""
|
|
2841
2846
|
return pulumi.get(self, "dimension_name")
|
|
2842
2847
|
|
|
2843
|
-
@property
|
|
2848
|
+
@_builtins.property
|
|
2844
2849
|
@pulumi.getter(name="dimensionValue")
|
|
2845
|
-
def dimension_value(self) -> str:
|
|
2850
|
+
def dimension_value(self) -> _builtins.str:
|
|
2846
2851
|
"""
|
|
2847
2852
|
The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
2848
2853
|
"""
|
|
@@ -2869,28 +2874,28 @@ class VerificationTemplateMetricProviderDatadog(dict):
|
|
|
2869
2874
|
return super().get(key, default)
|
|
2870
2875
|
|
|
2871
2876
|
def __init__(__self__, *,
|
|
2872
|
-
datadog_query: Optional[str] = None,
|
|
2873
|
-
duration: Optional[str] = None):
|
|
2877
|
+
datadog_query: Optional[_builtins.str] = None,
|
|
2878
|
+
duration: Optional[_builtins.str] = None):
|
|
2874
2879
|
"""
|
|
2875
|
-
:param str datadog_query: A request for information retrieved from Datadog.
|
|
2876
|
-
: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.
|
|
2877
2882
|
"""
|
|
2878
2883
|
if datadog_query is not None:
|
|
2879
2884
|
pulumi.set(__self__, "datadog_query", datadog_query)
|
|
2880
2885
|
if duration is not None:
|
|
2881
2886
|
pulumi.set(__self__, "duration", duration)
|
|
2882
2887
|
|
|
2883
|
-
@property
|
|
2888
|
+
@_builtins.property
|
|
2884
2889
|
@pulumi.getter(name="datadogQuery")
|
|
2885
|
-
def datadog_query(self) -> Optional[str]:
|
|
2890
|
+
def datadog_query(self) -> Optional[_builtins.str]:
|
|
2886
2891
|
"""
|
|
2887
2892
|
A request for information retrieved from Datadog.
|
|
2888
2893
|
"""
|
|
2889
2894
|
return pulumi.get(self, "datadog_query")
|
|
2890
2895
|
|
|
2891
|
-
@property
|
|
2896
|
+
@_builtins.property
|
|
2892
2897
|
@pulumi.getter
|
|
2893
|
-
def duration(self) -> Optional[str]:
|
|
2898
|
+
def duration(self) -> Optional[_builtins.str]:
|
|
2894
2899
|
"""
|
|
2895
2900
|
The window of time we are looking at in DataDog.
|
|
2896
2901
|
"""
|
|
@@ -2923,17 +2928,17 @@ class VerificationTemplateMetricProviderJenkins(dict):
|
|
|
2923
2928
|
return super().get(key, default)
|
|
2924
2929
|
|
|
2925
2930
|
def __init__(__self__, *,
|
|
2926
|
-
jenkins_interval: str,
|
|
2927
|
-
pipeline_name: str,
|
|
2928
|
-
timeout: str,
|
|
2931
|
+
jenkins_interval: _builtins.str,
|
|
2932
|
+
pipeline_name: _builtins.str,
|
|
2933
|
+
timeout: _builtins.str,
|
|
2929
2934
|
jenkins_parameters: Optional['outputs.VerificationTemplateMetricProviderJenkinsJenkinsParameters'] = None,
|
|
2930
|
-
tls_verification: Optional[bool] = None):
|
|
2935
|
+
tls_verification: Optional[_builtins.bool] = None):
|
|
2931
2936
|
"""
|
|
2932
|
-
:param str jenkins_interval: The interval time to poll status.
|
|
2933
|
-
:param str pipeline_name: The Jenkins pipeline name.
|
|
2934
|
-
: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.
|
|
2935
2940
|
:param 'VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs' jenkins_parameters: List of parameters.
|
|
2936
|
-
:param bool tls_verification: Host TLS verification.
|
|
2941
|
+
:param _builtins.bool tls_verification: Host TLS verification.
|
|
2937
2942
|
"""
|
|
2938
2943
|
pulumi.set(__self__, "jenkins_interval", jenkins_interval)
|
|
2939
2944
|
pulumi.set(__self__, "pipeline_name", pipeline_name)
|
|
@@ -2943,31 +2948,31 @@ class VerificationTemplateMetricProviderJenkins(dict):
|
|
|
2943
2948
|
if tls_verification is not None:
|
|
2944
2949
|
pulumi.set(__self__, "tls_verification", tls_verification)
|
|
2945
2950
|
|
|
2946
|
-
@property
|
|
2951
|
+
@_builtins.property
|
|
2947
2952
|
@pulumi.getter(name="jenkinsInterval")
|
|
2948
|
-
def jenkins_interval(self) -> str:
|
|
2953
|
+
def jenkins_interval(self) -> _builtins.str:
|
|
2949
2954
|
"""
|
|
2950
2955
|
The interval time to poll status.
|
|
2951
2956
|
"""
|
|
2952
2957
|
return pulumi.get(self, "jenkins_interval")
|
|
2953
2958
|
|
|
2954
|
-
@property
|
|
2959
|
+
@_builtins.property
|
|
2955
2960
|
@pulumi.getter(name="pipelineName")
|
|
2956
|
-
def pipeline_name(self) -> str:
|
|
2961
|
+
def pipeline_name(self) -> _builtins.str:
|
|
2957
2962
|
"""
|
|
2958
2963
|
The Jenkins pipeline name.
|
|
2959
2964
|
"""
|
|
2960
2965
|
return pulumi.get(self, "pipeline_name")
|
|
2961
2966
|
|
|
2962
|
-
@property
|
|
2967
|
+
@_builtins.property
|
|
2963
2968
|
@pulumi.getter
|
|
2964
|
-
def timeout(self) -> str:
|
|
2969
|
+
def timeout(self) -> _builtins.str:
|
|
2965
2970
|
"""
|
|
2966
2971
|
The total jenkins timeout.
|
|
2967
2972
|
"""
|
|
2968
2973
|
return pulumi.get(self, "timeout")
|
|
2969
2974
|
|
|
2970
|
-
@property
|
|
2975
|
+
@_builtins.property
|
|
2971
2976
|
@pulumi.getter(name="jenkinsParameters")
|
|
2972
2977
|
def jenkins_parameters(self) -> Optional['outputs.VerificationTemplateMetricProviderJenkinsJenkinsParameters']:
|
|
2973
2978
|
"""
|
|
@@ -2975,9 +2980,9 @@ class VerificationTemplateMetricProviderJenkins(dict):
|
|
|
2975
2980
|
"""
|
|
2976
2981
|
return pulumi.get(self, "jenkins_parameters")
|
|
2977
2982
|
|
|
2978
|
-
@property
|
|
2983
|
+
@_builtins.property
|
|
2979
2984
|
@pulumi.getter(name="tlsVerification")
|
|
2980
|
-
def tls_verification(self) -> Optional[bool]:
|
|
2985
|
+
def tls_verification(self) -> Optional[_builtins.bool]:
|
|
2981
2986
|
"""
|
|
2982
2987
|
Host TLS verification.
|
|
2983
2988
|
"""
|
|
@@ -3006,26 +3011,26 @@ class VerificationTemplateMetricProviderJenkinsJenkinsParameters(dict):
|
|
|
3006
3011
|
return super().get(key, default)
|
|
3007
3012
|
|
|
3008
3013
|
def __init__(__self__, *,
|
|
3009
|
-
parameter_key: str,
|
|
3010
|
-
parameter_value: str):
|
|
3014
|
+
parameter_key: _builtins.str,
|
|
3015
|
+
parameter_value: _builtins.str):
|
|
3011
3016
|
"""
|
|
3012
|
-
:param str parameter_key: Key of an argument.
|
|
3013
|
-
: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.
|
|
3014
3019
|
"""
|
|
3015
3020
|
pulumi.set(__self__, "parameter_key", parameter_key)
|
|
3016
3021
|
pulumi.set(__self__, "parameter_value", parameter_value)
|
|
3017
3022
|
|
|
3018
|
-
@property
|
|
3023
|
+
@_builtins.property
|
|
3019
3024
|
@pulumi.getter(name="parameterKey")
|
|
3020
|
-
def parameter_key(self) -> str:
|
|
3025
|
+
def parameter_key(self) -> _builtins.str:
|
|
3021
3026
|
"""
|
|
3022
3027
|
Key of an argument.
|
|
3023
3028
|
"""
|
|
3024
3029
|
return pulumi.get(self, "parameter_key")
|
|
3025
3030
|
|
|
3026
|
-
@property
|
|
3031
|
+
@_builtins.property
|
|
3027
3032
|
@pulumi.getter(name="parameterValue")
|
|
3028
|
-
def parameter_value(self) -> str:
|
|
3033
|
+
def parameter_value(self) -> _builtins.str:
|
|
3029
3034
|
"""
|
|
3030
3035
|
Value of an argument.
|
|
3031
3036
|
"""
|
|
@@ -3041,7 +3046,7 @@ class VerificationTemplateMetricProviderJob(dict):
|
|
|
3041
3046
|
"""
|
|
3042
3047
|
pulumi.set(__self__, "specs", specs)
|
|
3043
3048
|
|
|
3044
|
-
@property
|
|
3049
|
+
@_builtins.property
|
|
3045
3050
|
@pulumi.getter
|
|
3046
3051
|
def specs(self) -> Sequence['outputs.VerificationTemplateMetricProviderJobSpec']:
|
|
3047
3052
|
"""
|
|
@@ -3073,16 +3078,16 @@ class VerificationTemplateMetricProviderJobSpec(dict):
|
|
|
3073
3078
|
|
|
3074
3079
|
def __init__(__self__, *,
|
|
3075
3080
|
job_templates: Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplate'],
|
|
3076
|
-
backoff_limit: Optional[int] = None):
|
|
3081
|
+
backoff_limit: Optional[_builtins.int] = None):
|
|
3077
3082
|
"""
|
|
3078
3083
|
:param Sequence['VerificationTemplateMetricProviderJobSpecJobTemplateArgs'] job_templates: Describes the pod that will be created when executing a job.
|
|
3079
|
-
: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.
|
|
3080
3085
|
"""
|
|
3081
3086
|
pulumi.set(__self__, "job_templates", job_templates)
|
|
3082
3087
|
if backoff_limit is not None:
|
|
3083
3088
|
pulumi.set(__self__, "backoff_limit", backoff_limit)
|
|
3084
3089
|
|
|
3085
|
-
@property
|
|
3090
|
+
@_builtins.property
|
|
3086
3091
|
@pulumi.getter(name="jobTemplates")
|
|
3087
3092
|
def job_templates(self) -> Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplate']:
|
|
3088
3093
|
"""
|
|
@@ -3090,9 +3095,9 @@ class VerificationTemplateMetricProviderJobSpec(dict):
|
|
|
3090
3095
|
"""
|
|
3091
3096
|
return pulumi.get(self, "job_templates")
|
|
3092
3097
|
|
|
3093
|
-
@property
|
|
3098
|
+
@_builtins.property
|
|
3094
3099
|
@pulumi.getter(name="backoffLimit")
|
|
3095
|
-
def backoff_limit(self) -> Optional[int]:
|
|
3100
|
+
def backoff_limit(self) -> Optional[_builtins.int]:
|
|
3096
3101
|
"""
|
|
3097
3102
|
Specifies the number of retries before marking this job failed.
|
|
3098
3103
|
"""
|
|
@@ -3125,7 +3130,7 @@ class VerificationTemplateMetricProviderJobSpecJobTemplate(dict):
|
|
|
3125
3130
|
"""
|
|
3126
3131
|
pulumi.set(__self__, "template_specs", template_specs)
|
|
3127
3132
|
|
|
3128
|
-
@property
|
|
3133
|
+
@_builtins.property
|
|
3129
3134
|
@pulumi.getter(name="templateSpecs")
|
|
3130
3135
|
def template_specs(self) -> Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpec']:
|
|
3131
3136
|
"""
|
|
@@ -3155,15 +3160,15 @@ class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpec(dict):
|
|
|
3155
3160
|
|
|
3156
3161
|
def __init__(__self__, *,
|
|
3157
3162
|
containers: Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainer'],
|
|
3158
|
-
restart_policy: str):
|
|
3163
|
+
restart_policy: _builtins.str):
|
|
3159
3164
|
"""
|
|
3160
3165
|
:param Sequence['VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs'] containers: A list of containers belonging to the pod.
|
|
3161
|
-
: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"`
|
|
3162
3167
|
"""
|
|
3163
3168
|
pulumi.set(__self__, "containers", containers)
|
|
3164
3169
|
pulumi.set(__self__, "restart_policy", restart_policy)
|
|
3165
3170
|
|
|
3166
|
-
@property
|
|
3171
|
+
@_builtins.property
|
|
3167
3172
|
@pulumi.getter
|
|
3168
3173
|
def containers(self) -> Sequence['outputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainer']:
|
|
3169
3174
|
"""
|
|
@@ -3171,9 +3176,9 @@ class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpec(dict):
|
|
|
3171
3176
|
"""
|
|
3172
3177
|
return pulumi.get(self, "containers")
|
|
3173
3178
|
|
|
3174
|
-
@property
|
|
3179
|
+
@_builtins.property
|
|
3175
3180
|
@pulumi.getter(name="restartPolicy")
|
|
3176
|
-
def restart_policy(self) -> str:
|
|
3181
|
+
def restart_policy(self) -> _builtins.str:
|
|
3177
3182
|
"""
|
|
3178
3183
|
Restart policy for all containers within the pod. Enum: `"Never" "OnFailure"`
|
|
3179
3184
|
"""
|
|
@@ -3200,37 +3205,37 @@ class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainer(
|
|
|
3200
3205
|
return super().get(key, default)
|
|
3201
3206
|
|
|
3202
3207
|
def __init__(__self__, *,
|
|
3203
|
-
commands: Sequence[str],
|
|
3204
|
-
container_name: str,
|
|
3205
|
-
image: str):
|
|
3208
|
+
commands: Sequence[_builtins.str],
|
|
3209
|
+
container_name: _builtins.str,
|
|
3210
|
+
image: _builtins.str):
|
|
3206
3211
|
"""
|
|
3207
|
-
:param Sequence[str] commands: The entry point of a container.
|
|
3208
|
-
:param str container_name: The name of a container.
|
|
3209
|
-
: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.
|
|
3210
3215
|
"""
|
|
3211
3216
|
pulumi.set(__self__, "commands", commands)
|
|
3212
3217
|
pulumi.set(__self__, "container_name", container_name)
|
|
3213
3218
|
pulumi.set(__self__, "image", image)
|
|
3214
3219
|
|
|
3215
|
-
@property
|
|
3220
|
+
@_builtins.property
|
|
3216
3221
|
@pulumi.getter
|
|
3217
|
-
def commands(self) -> Sequence[str]:
|
|
3222
|
+
def commands(self) -> Sequence[_builtins.str]:
|
|
3218
3223
|
"""
|
|
3219
3224
|
The entry point of a container.
|
|
3220
3225
|
"""
|
|
3221
3226
|
return pulumi.get(self, "commands")
|
|
3222
3227
|
|
|
3223
|
-
@property
|
|
3228
|
+
@_builtins.property
|
|
3224
3229
|
@pulumi.getter(name="containerName")
|
|
3225
|
-
def container_name(self) -> str:
|
|
3230
|
+
def container_name(self) -> _builtins.str:
|
|
3226
3231
|
"""
|
|
3227
3232
|
The name of a container.
|
|
3228
3233
|
"""
|
|
3229
3234
|
return pulumi.get(self, "container_name")
|
|
3230
3235
|
|
|
3231
|
-
@property
|
|
3236
|
+
@_builtins.property
|
|
3232
3237
|
@pulumi.getter
|
|
3233
|
-
def image(self) -> str:
|
|
3238
|
+
def image(self) -> _builtins.str:
|
|
3234
3239
|
"""
|
|
3235
3240
|
The image name of a container.
|
|
3236
3241
|
"""
|
|
@@ -3257,27 +3262,27 @@ class VerificationTemplateMetricProviderNewRelic(dict):
|
|
|
3257
3262
|
return super().get(key, default)
|
|
3258
3263
|
|
|
3259
3264
|
def __init__(__self__, *,
|
|
3260
|
-
new_relic_query: str,
|
|
3261
|
-
profile: Optional[str] = None):
|
|
3265
|
+
new_relic_query: _builtins.str,
|
|
3266
|
+
profile: Optional[_builtins.str] = None):
|
|
3262
3267
|
"""
|
|
3263
|
-
:param str new_relic_query: A raw newrelic NRQL query to perform.
|
|
3264
|
-
: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.
|
|
3265
3270
|
"""
|
|
3266
3271
|
pulumi.set(__self__, "new_relic_query", new_relic_query)
|
|
3267
3272
|
if profile is not None:
|
|
3268
3273
|
pulumi.set(__self__, "profile", profile)
|
|
3269
3274
|
|
|
3270
|
-
@property
|
|
3275
|
+
@_builtins.property
|
|
3271
3276
|
@pulumi.getter(name="newRelicQuery")
|
|
3272
|
-
def new_relic_query(self) -> str:
|
|
3277
|
+
def new_relic_query(self) -> _builtins.str:
|
|
3273
3278
|
"""
|
|
3274
3279
|
A raw newrelic NRQL query to perform.
|
|
3275
3280
|
"""
|
|
3276
3281
|
return pulumi.get(self, "new_relic_query")
|
|
3277
3282
|
|
|
3278
|
-
@property
|
|
3283
|
+
@_builtins.property
|
|
3279
3284
|
@pulumi.getter
|
|
3280
|
-
def profile(self) -> Optional[str]:
|
|
3285
|
+
def profile(self) -> Optional[_builtins.str]:
|
|
3281
3286
|
"""
|
|
3282
3287
|
The name of the secret holding NR account configuration.
|
|
3283
3288
|
"""
|
|
@@ -3304,12 +3309,18 @@ class VerificationTemplateMetricProviderPrometheus(dict):
|
|
|
3304
3309
|
return super().get(key, default)
|
|
3305
3310
|
|
|
3306
3311
|
def __init__(__self__, *,
|
|
3307
|
-
prometheus_query: str):
|
|
3312
|
+
prometheus_query: _builtins.str):
|
|
3313
|
+
"""
|
|
3314
|
+
:param _builtins.str prometheus_query: A request for information retrieved from Prometheus.
|
|
3315
|
+
"""
|
|
3308
3316
|
pulumi.set(__self__, "prometheus_query", prometheus_query)
|
|
3309
3317
|
|
|
3310
|
-
@property
|
|
3318
|
+
@_builtins.property
|
|
3311
3319
|
@pulumi.getter(name="prometheusQuery")
|
|
3312
|
-
def prometheus_query(self) -> str:
|
|
3320
|
+
def prometheus_query(self) -> _builtins.str:
|
|
3321
|
+
"""
|
|
3322
|
+
A request for information retrieved from Prometheus.
|
|
3323
|
+
"""
|
|
3313
3324
|
return pulumi.get(self, "prometheus_query")
|
|
3314
3325
|
|
|
3315
3326
|
|
|
@@ -3337,20 +3348,20 @@ class VerificationTemplateMetricProviderWeb(dict):
|
|
|
3337
3348
|
return super().get(key, default)
|
|
3338
3349
|
|
|
3339
3350
|
def __init__(__self__, *,
|
|
3340
|
-
url: str,
|
|
3341
|
-
body: Optional[str] = None,
|
|
3342
|
-
insecure: Optional[bool] = None,
|
|
3343
|
-
json_path: Optional[str] = None,
|
|
3344
|
-
method: Optional[str] = None,
|
|
3345
|
-
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,
|
|
3346
3357
|
web_headers: Optional[Sequence['outputs.VerificationTemplateMetricProviderWebWebHeader']] = None):
|
|
3347
3358
|
"""
|
|
3348
|
-
:param str url: The address of the web metric.
|
|
3349
|
-
:param str body: The body of the web metric.
|
|
3350
|
-
:param bool insecure: Skips host TLS verification.
|
|
3351
|
-
:param str json_path: A JSON Path to use as the result variable. Default is "{$}"
|
|
3352
|
-
:param str method: The method of the web metric. Enum: "GET" "POST" "PUT"
|
|
3353
|
-
: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.
|
|
3354
3365
|
:param Sequence['VerificationTemplateMetricProviderWebWebHeaderArgs'] web_headers: Optional HTTP headers to use in the request.
|
|
3355
3366
|
"""
|
|
3356
3367
|
pulumi.set(__self__, "url", url)
|
|
@@ -3367,55 +3378,55 @@ class VerificationTemplateMetricProviderWeb(dict):
|
|
|
3367
3378
|
if web_headers is not None:
|
|
3368
3379
|
pulumi.set(__self__, "web_headers", web_headers)
|
|
3369
3380
|
|
|
3370
|
-
@property
|
|
3381
|
+
@_builtins.property
|
|
3371
3382
|
@pulumi.getter
|
|
3372
|
-
def url(self) -> str:
|
|
3383
|
+
def url(self) -> _builtins.str:
|
|
3373
3384
|
"""
|
|
3374
3385
|
The address of the web metric.
|
|
3375
3386
|
"""
|
|
3376
3387
|
return pulumi.get(self, "url")
|
|
3377
3388
|
|
|
3378
|
-
@property
|
|
3389
|
+
@_builtins.property
|
|
3379
3390
|
@pulumi.getter
|
|
3380
|
-
def body(self) -> Optional[str]:
|
|
3391
|
+
def body(self) -> Optional[_builtins.str]:
|
|
3381
3392
|
"""
|
|
3382
3393
|
The body of the web metric.
|
|
3383
3394
|
"""
|
|
3384
3395
|
return pulumi.get(self, "body")
|
|
3385
3396
|
|
|
3386
|
-
@property
|
|
3397
|
+
@_builtins.property
|
|
3387
3398
|
@pulumi.getter
|
|
3388
|
-
def insecure(self) -> Optional[bool]:
|
|
3399
|
+
def insecure(self) -> Optional[_builtins.bool]:
|
|
3389
3400
|
"""
|
|
3390
3401
|
Skips host TLS verification.
|
|
3391
3402
|
"""
|
|
3392
3403
|
return pulumi.get(self, "insecure")
|
|
3393
3404
|
|
|
3394
|
-
@property
|
|
3405
|
+
@_builtins.property
|
|
3395
3406
|
@pulumi.getter(name="jsonPath")
|
|
3396
|
-
def json_path(self) -> Optional[str]:
|
|
3407
|
+
def json_path(self) -> Optional[_builtins.str]:
|
|
3397
3408
|
"""
|
|
3398
3409
|
A JSON Path to use as the result variable. Default is "{$}"
|
|
3399
3410
|
"""
|
|
3400
3411
|
return pulumi.get(self, "json_path")
|
|
3401
3412
|
|
|
3402
|
-
@property
|
|
3413
|
+
@_builtins.property
|
|
3403
3414
|
@pulumi.getter
|
|
3404
|
-
def method(self) -> Optional[str]:
|
|
3415
|
+
def method(self) -> Optional[_builtins.str]:
|
|
3405
3416
|
"""
|
|
3406
3417
|
The method of the web metric. Enum: "GET" "POST" "PUT"
|
|
3407
3418
|
"""
|
|
3408
3419
|
return pulumi.get(self, "method")
|
|
3409
3420
|
|
|
3410
|
-
@property
|
|
3421
|
+
@_builtins.property
|
|
3411
3422
|
@pulumi.getter(name="timeoutSeconds")
|
|
3412
|
-
def timeout_seconds(self) -> Optional[int]:
|
|
3423
|
+
def timeout_seconds(self) -> Optional[_builtins.int]:
|
|
3413
3424
|
"""
|
|
3414
3425
|
The timeout for the request in seconds. Default is 10.
|
|
3415
3426
|
"""
|
|
3416
3427
|
return pulumi.get(self, "timeout_seconds")
|
|
3417
3428
|
|
|
3418
|
-
@property
|
|
3429
|
+
@_builtins.property
|
|
3419
3430
|
@pulumi.getter(name="webHeaders")
|
|
3420
3431
|
def web_headers(self) -> Optional[Sequence['outputs.VerificationTemplateMetricProviderWebWebHeader']]:
|
|
3421
3432
|
"""
|
|
@@ -3446,26 +3457,26 @@ class VerificationTemplateMetricProviderWebWebHeader(dict):
|
|
|
3446
3457
|
return super().get(key, default)
|
|
3447
3458
|
|
|
3448
3459
|
def __init__(__self__, *,
|
|
3449
|
-
web_header_key: str,
|
|
3450
|
-
web_header_value: str):
|
|
3460
|
+
web_header_key: _builtins.str,
|
|
3461
|
+
web_header_value: _builtins.str):
|
|
3451
3462
|
"""
|
|
3452
|
-
:param str web_header_key: The name of a header
|
|
3453
|
-
: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
|
|
3454
3465
|
"""
|
|
3455
3466
|
pulumi.set(__self__, "web_header_key", web_header_key)
|
|
3456
3467
|
pulumi.set(__self__, "web_header_value", web_header_value)
|
|
3457
3468
|
|
|
3458
|
-
@property
|
|
3469
|
+
@_builtins.property
|
|
3459
3470
|
@pulumi.getter(name="webHeaderKey")
|
|
3460
|
-
def web_header_key(self) -> str:
|
|
3471
|
+
def web_header_key(self) -> _builtins.str:
|
|
3461
3472
|
"""
|
|
3462
3473
|
The name of a header
|
|
3463
3474
|
"""
|
|
3464
3475
|
return pulumi.get(self, "web_header_key")
|
|
3465
3476
|
|
|
3466
|
-
@property
|
|
3477
|
+
@_builtins.property
|
|
3467
3478
|
@pulumi.getter(name="webHeaderValue")
|
|
3468
|
-
def web_header_value(self) -> str:
|
|
3479
|
+
def web_header_value(self) -> _builtins.str:
|
|
3469
3480
|
"""
|
|
3470
3481
|
The value of a header
|
|
3471
3482
|
"""
|