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