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