pulumi-spotinst 3.124.0a1753339288__py3-none-any.whl → 3.124.0a1753511976__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +1 -1
- pulumi_spotinst/_inputs.py +1616 -1617
- pulumi_spotinst/account.py +18 -19
- pulumi_spotinst/aws/__init__.py +1 -1
- pulumi_spotinst/aws/_inputs.py +3654 -3655
- pulumi_spotinst/aws/account.py +18 -19
- pulumi_spotinst/aws/beanstalk.py +176 -177
- pulumi_spotinst/aws/credentials.py +35 -36
- pulumi_spotinst/aws/elastigroup.py +936 -937
- pulumi_spotinst/aws/managed_instance.py +505 -506
- pulumi_spotinst/aws/mr_scalar.py +652 -653
- pulumi_spotinst/aws/ocean.py +531 -532
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +35 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +302 -303
- pulumi_spotinst/aws/outputs.py +2392 -2393
- pulumi_spotinst/aws/suspension.py +21 -22
- pulumi_spotinst/azure/__init__.py +1 -1
- pulumi_spotinst/azure/_inputs.py +606 -607
- pulumi_spotinst/azure/ocean_np.py +385 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +321 -322
- pulumi_spotinst/azure/outputs.py +410 -411
- pulumi_spotinst/config/__init__.py +1 -1
- pulumi_spotinst/config/__init__.pyi +1 -2
- pulumi_spotinst/config/vars.py +5 -6
- pulumi_spotinst/credentials_azure.py +103 -104
- pulumi_spotinst/credentials_gcp.py +188 -189
- pulumi_spotinst/data_integration.py +38 -39
- pulumi_spotinst/ecs/__init__.py +1 -1
- pulumi_spotinst/ecs/_inputs.py +583 -584
- pulumi_spotinst/ecs/ocean.py +414 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +195 -196
- pulumi_spotinst/ecs/outputs.py +393 -394
- pulumi_spotinst/elastigroup_azure_v3.py +324 -325
- pulumi_spotinst/gcp/__init__.py +1 -1
- pulumi_spotinst/gcp/_inputs.py +505 -506
- pulumi_spotinst/gcp/elastigroup.py +481 -482
- pulumi_spotinst/gcp/outputs.py +335 -336
- pulumi_spotinst/gke/__init__.py +1 -1
- pulumi_spotinst/gke/_inputs.py +917 -918
- pulumi_spotinst/gke/elastigroup.py +339 -340
- pulumi_spotinst/gke/ocean_import.py +202 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +210 -211
- pulumi_spotinst/gke/ocean_launch_spec_import.py +35 -36
- pulumi_spotinst/gke/outputs.py +597 -598
- pulumi_spotinst/health_check.py +64 -65
- pulumi_spotinst/notification_center.py +62 -63
- pulumi_spotinst/ocean_right_sizing_rule.py +74 -75
- pulumi_spotinst/oceancd/__init__.py +1 -1
- pulumi_spotinst/oceancd/_inputs.py +763 -764
- pulumi_spotinst/oceancd/outputs.py +525 -526
- pulumi_spotinst/oceancd/rollout_spec.py +33 -34
- pulumi_spotinst/oceancd/strategy.py +20 -21
- pulumi_spotinst/oceancd/verification_provider.py +50 -51
- pulumi_spotinst/oceancd/verification_template.py +24 -25
- pulumi_spotinst/organization/__init__.py +1 -1
- pulumi_spotinst/organization/_inputs.py +67 -68
- pulumi_spotinst/organization/outputs.py +45 -46
- pulumi_spotinst/organization/policy.py +38 -39
- pulumi_spotinst/organization/programmatic_user.py +58 -59
- pulumi_spotinst/organization/user.py +106 -107
- pulumi_spotinst/organization/user_group.py +55 -56
- pulumi_spotinst/outputs.py +990 -991
- pulumi_spotinst/provider.py +40 -41
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -1
- pulumi_spotinst/spark/_inputs.py +103 -104
- pulumi_spotinst/spark/ocean.py +36 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +27 -28
- pulumi_spotinst/spark/outputs.py +71 -72
- pulumi_spotinst/stateful_node_azure.py +304 -305
- pulumi_spotinst/subscription.py +86 -87
- {pulumi_spotinst-3.124.0a1753339288.dist-info → pulumi_spotinst-3.124.0a1753511976.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.124.0a1753511976.dist-info/RECORD +77 -0
- pulumi_spotinst-3.124.0a1753339288.dist-info/RECORD +0 -77
- {pulumi_spotinst-3.124.0a1753339288.dist-info → pulumi_spotinst-3.124.0a1753511976.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.124.0a1753339288.dist-info → pulumi_spotinst-3.124.0a1753511976.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -148,7 +147,7 @@ MYPY = False
|
|
|
148
147
|
|
|
149
148
|
if not MYPY:
|
|
150
149
|
class RolloutSpecFailurePolicyArgsDict(TypedDict):
|
|
151
|
-
action: pulumi.Input[
|
|
150
|
+
action: pulumi.Input[_builtins.str]
|
|
152
151
|
"""
|
|
153
152
|
Choose an action to perform on failure. Default is `abort`. Enum: "abort" "pause" "promote".
|
|
154
153
|
"""
|
|
@@ -158,36 +157,36 @@ elif False:
|
|
|
158
157
|
@pulumi.input_type
|
|
159
158
|
class RolloutSpecFailurePolicyArgs:
|
|
160
159
|
def __init__(__self__, *,
|
|
161
|
-
action: pulumi.Input[
|
|
160
|
+
action: pulumi.Input[_builtins.str]):
|
|
162
161
|
"""
|
|
163
|
-
:param pulumi.Input[
|
|
162
|
+
:param pulumi.Input[_builtins.str] action: Choose an action to perform on failure. Default is `abort`. Enum: "abort" "pause" "promote".
|
|
164
163
|
"""
|
|
165
164
|
pulumi.set(__self__, "action", action)
|
|
166
165
|
|
|
167
|
-
@property
|
|
166
|
+
@_builtins.property
|
|
168
167
|
@pulumi.getter
|
|
169
|
-
def action(self) -> pulumi.Input[
|
|
168
|
+
def action(self) -> pulumi.Input[_builtins.str]:
|
|
170
169
|
"""
|
|
171
170
|
Choose an action to perform on failure. Default is `abort`. Enum: "abort" "pause" "promote".
|
|
172
171
|
"""
|
|
173
172
|
return pulumi.get(self, "action")
|
|
174
173
|
|
|
175
174
|
@action.setter
|
|
176
|
-
def action(self, value: pulumi.Input[
|
|
175
|
+
def action(self, value: pulumi.Input[_builtins.str]):
|
|
177
176
|
pulumi.set(self, "action", value)
|
|
178
177
|
|
|
179
178
|
|
|
180
179
|
if not MYPY:
|
|
181
180
|
class RolloutSpecSpotDeploymentArgsDict(TypedDict):
|
|
182
|
-
spot_deployments_cluster_id: NotRequired[pulumi.Input[
|
|
181
|
+
spot_deployments_cluster_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
183
182
|
"""
|
|
184
183
|
Ocean CD cluster identifier for the references `SpotDeployment`.
|
|
185
184
|
"""
|
|
186
|
-
spot_deployments_name: NotRequired[pulumi.Input[
|
|
185
|
+
spot_deployments_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
187
186
|
"""
|
|
188
187
|
The name of the `SpotDeployment` resource
|
|
189
188
|
"""
|
|
190
|
-
spot_deployments_namespace: NotRequired[pulumi.Input[
|
|
189
|
+
spot_deployments_namespace: NotRequired[pulumi.Input[_builtins.str]]
|
|
191
190
|
"""
|
|
192
191
|
The namespace which the `SpotDeployment` resource exists within.
|
|
193
192
|
"""
|
|
@@ -197,13 +196,13 @@ elif False:
|
|
|
197
196
|
@pulumi.input_type
|
|
198
197
|
class RolloutSpecSpotDeploymentArgs:
|
|
199
198
|
def __init__(__self__, *,
|
|
200
|
-
spot_deployments_cluster_id: Optional[pulumi.Input[
|
|
201
|
-
spot_deployments_name: Optional[pulumi.Input[
|
|
202
|
-
spot_deployments_namespace: Optional[pulumi.Input[
|
|
199
|
+
spot_deployments_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
200
|
+
spot_deployments_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
201
|
+
spot_deployments_namespace: Optional[pulumi.Input[_builtins.str]] = None):
|
|
203
202
|
"""
|
|
204
|
-
:param pulumi.Input[
|
|
205
|
-
:param pulumi.Input[
|
|
206
|
-
:param pulumi.Input[
|
|
203
|
+
:param pulumi.Input[_builtins.str] spot_deployments_cluster_id: Ocean CD cluster identifier for the references `SpotDeployment`.
|
|
204
|
+
:param pulumi.Input[_builtins.str] spot_deployments_name: The name of the `SpotDeployment` resource
|
|
205
|
+
:param pulumi.Input[_builtins.str] spot_deployments_namespace: The namespace which the `SpotDeployment` resource exists within.
|
|
207
206
|
"""
|
|
208
207
|
if spot_deployments_cluster_id is not None:
|
|
209
208
|
pulumi.set(__self__, "spot_deployments_cluster_id", spot_deployments_cluster_id)
|
|
@@ -212,46 +211,46 @@ class RolloutSpecSpotDeploymentArgs:
|
|
|
212
211
|
if spot_deployments_namespace is not None:
|
|
213
212
|
pulumi.set(__self__, "spot_deployments_namespace", spot_deployments_namespace)
|
|
214
213
|
|
|
215
|
-
@property
|
|
214
|
+
@_builtins.property
|
|
216
215
|
@pulumi.getter(name="spotDeploymentsClusterId")
|
|
217
|
-
def spot_deployments_cluster_id(self) -> Optional[pulumi.Input[
|
|
216
|
+
def spot_deployments_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
218
217
|
"""
|
|
219
218
|
Ocean CD cluster identifier for the references `SpotDeployment`.
|
|
220
219
|
"""
|
|
221
220
|
return pulumi.get(self, "spot_deployments_cluster_id")
|
|
222
221
|
|
|
223
222
|
@spot_deployments_cluster_id.setter
|
|
224
|
-
def spot_deployments_cluster_id(self, value: Optional[pulumi.Input[
|
|
223
|
+
def spot_deployments_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
225
224
|
pulumi.set(self, "spot_deployments_cluster_id", value)
|
|
226
225
|
|
|
227
|
-
@property
|
|
226
|
+
@_builtins.property
|
|
228
227
|
@pulumi.getter(name="spotDeploymentsName")
|
|
229
|
-
def spot_deployments_name(self) -> Optional[pulumi.Input[
|
|
228
|
+
def spot_deployments_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
230
229
|
"""
|
|
231
230
|
The name of the `SpotDeployment` resource
|
|
232
231
|
"""
|
|
233
232
|
return pulumi.get(self, "spot_deployments_name")
|
|
234
233
|
|
|
235
234
|
@spot_deployments_name.setter
|
|
236
|
-
def spot_deployments_name(self, value: Optional[pulumi.Input[
|
|
235
|
+
def spot_deployments_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
237
236
|
pulumi.set(self, "spot_deployments_name", value)
|
|
238
237
|
|
|
239
|
-
@property
|
|
238
|
+
@_builtins.property
|
|
240
239
|
@pulumi.getter(name="spotDeploymentsNamespace")
|
|
241
|
-
def spot_deployments_namespace(self) -> Optional[pulumi.Input[
|
|
240
|
+
def spot_deployments_namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
242
241
|
"""
|
|
243
242
|
The namespace which the `SpotDeployment` resource exists within.
|
|
244
243
|
"""
|
|
245
244
|
return pulumi.get(self, "spot_deployments_namespace")
|
|
246
245
|
|
|
247
246
|
@spot_deployments_namespace.setter
|
|
248
|
-
def spot_deployments_namespace(self, value: Optional[pulumi.Input[
|
|
247
|
+
def spot_deployments_namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
249
248
|
pulumi.set(self, "spot_deployments_namespace", value)
|
|
250
249
|
|
|
251
250
|
|
|
252
251
|
if not MYPY:
|
|
253
252
|
class RolloutSpecStrategyArgsDict(TypedDict):
|
|
254
|
-
strategy_name: pulumi.Input[
|
|
253
|
+
strategy_name: pulumi.Input[_builtins.str]
|
|
255
254
|
"""
|
|
256
255
|
Ocean CD strategy name identifier.
|
|
257
256
|
"""
|
|
@@ -265,29 +264,29 @@ elif False:
|
|
|
265
264
|
@pulumi.input_type
|
|
266
265
|
class RolloutSpecStrategyArgs:
|
|
267
266
|
def __init__(__self__, *,
|
|
268
|
-
strategy_name: pulumi.Input[
|
|
267
|
+
strategy_name: pulumi.Input[_builtins.str],
|
|
269
268
|
args: Optional[pulumi.Input[Sequence[pulumi.Input['RolloutSpecStrategyArgArgs']]]] = None):
|
|
270
269
|
"""
|
|
271
|
-
:param pulumi.Input[
|
|
270
|
+
:param pulumi.Input[_builtins.str] strategy_name: Ocean CD strategy name identifier.
|
|
272
271
|
:param pulumi.Input[Sequence[pulumi.Input['RolloutSpecStrategyArgArgs']]] args: Arguments defined in Verification Templates.
|
|
273
272
|
"""
|
|
274
273
|
pulumi.set(__self__, "strategy_name", strategy_name)
|
|
275
274
|
if args is not None:
|
|
276
275
|
pulumi.set(__self__, "args", args)
|
|
277
276
|
|
|
278
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
279
278
|
@pulumi.getter(name="strategyName")
|
|
280
|
-
def strategy_name(self) -> pulumi.Input[
|
|
279
|
+
def strategy_name(self) -> pulumi.Input[_builtins.str]:
|
|
281
280
|
"""
|
|
282
281
|
Ocean CD strategy name identifier.
|
|
283
282
|
"""
|
|
284
283
|
return pulumi.get(self, "strategy_name")
|
|
285
284
|
|
|
286
285
|
@strategy_name.setter
|
|
287
|
-
def strategy_name(self, value: pulumi.Input[
|
|
286
|
+
def strategy_name(self, value: pulumi.Input[_builtins.str]):
|
|
288
287
|
pulumi.set(self, "strategy_name", value)
|
|
289
288
|
|
|
290
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
291
290
|
@pulumi.getter
|
|
292
291
|
def args(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RolloutSpecStrategyArgArgs']]]]:
|
|
293
292
|
"""
|
|
@@ -302,11 +301,11 @@ class RolloutSpecStrategyArgs:
|
|
|
302
301
|
|
|
303
302
|
if not MYPY:
|
|
304
303
|
class RolloutSpecStrategyArgArgsDict(TypedDict):
|
|
305
|
-
arg_name: pulumi.Input[
|
|
304
|
+
arg_name: pulumi.Input[_builtins.str]
|
|
306
305
|
"""
|
|
307
306
|
Name of an argument.
|
|
308
307
|
"""
|
|
309
|
-
arg_value: NotRequired[pulumi.Input[
|
|
308
|
+
arg_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
310
309
|
"""
|
|
311
310
|
Value of an argument.
|
|
312
311
|
"""
|
|
@@ -320,12 +319,12 @@ elif False:
|
|
|
320
319
|
@pulumi.input_type
|
|
321
320
|
class RolloutSpecStrategyArgArgs:
|
|
322
321
|
def __init__(__self__, *,
|
|
323
|
-
arg_name: pulumi.Input[
|
|
324
|
-
arg_value: Optional[pulumi.Input[
|
|
322
|
+
arg_name: pulumi.Input[_builtins.str],
|
|
323
|
+
arg_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
325
324
|
value_from: Optional[pulumi.Input['RolloutSpecStrategyArgValueFromArgs']] = None):
|
|
326
325
|
"""
|
|
327
|
-
:param pulumi.Input[
|
|
328
|
-
:param pulumi.Input[
|
|
326
|
+
:param pulumi.Input[_builtins.str] arg_name: Name of an argument.
|
|
327
|
+
:param pulumi.Input[_builtins.str] arg_value: Value of an argument.
|
|
329
328
|
:param pulumi.Input['RolloutSpecStrategyArgValueFromArgs'] value_from: Defines from where to get the value of an argument.
|
|
330
329
|
"""
|
|
331
330
|
pulumi.set(__self__, "arg_name", arg_name)
|
|
@@ -334,31 +333,31 @@ class RolloutSpecStrategyArgArgs:
|
|
|
334
333
|
if value_from is not None:
|
|
335
334
|
pulumi.set(__self__, "value_from", value_from)
|
|
336
335
|
|
|
337
|
-
@property
|
|
336
|
+
@_builtins.property
|
|
338
337
|
@pulumi.getter(name="argName")
|
|
339
|
-
def arg_name(self) -> pulumi.Input[
|
|
338
|
+
def arg_name(self) -> pulumi.Input[_builtins.str]:
|
|
340
339
|
"""
|
|
341
340
|
Name of an argument.
|
|
342
341
|
"""
|
|
343
342
|
return pulumi.get(self, "arg_name")
|
|
344
343
|
|
|
345
344
|
@arg_name.setter
|
|
346
|
-
def arg_name(self, value: pulumi.Input[
|
|
345
|
+
def arg_name(self, value: pulumi.Input[_builtins.str]):
|
|
347
346
|
pulumi.set(self, "arg_name", value)
|
|
348
347
|
|
|
349
|
-
@property
|
|
348
|
+
@_builtins.property
|
|
350
349
|
@pulumi.getter(name="argValue")
|
|
351
|
-
def arg_value(self) -> Optional[pulumi.Input[
|
|
350
|
+
def arg_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
352
351
|
"""
|
|
353
352
|
Value of an argument.
|
|
354
353
|
"""
|
|
355
354
|
return pulumi.get(self, "arg_value")
|
|
356
355
|
|
|
357
356
|
@arg_value.setter
|
|
358
|
-
def arg_value(self, value: Optional[pulumi.Input[
|
|
357
|
+
def arg_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
359
358
|
pulumi.set(self, "arg_value", value)
|
|
360
359
|
|
|
361
|
-
@property
|
|
360
|
+
@_builtins.property
|
|
362
361
|
@pulumi.getter(name="valueFrom")
|
|
363
362
|
def value_from(self) -> Optional[pulumi.Input['RolloutSpecStrategyArgValueFromArgs']]:
|
|
364
363
|
"""
|
|
@@ -389,7 +388,7 @@ class RolloutSpecStrategyArgValueFromArgs:
|
|
|
389
388
|
"""
|
|
390
389
|
pulumi.set(__self__, "field_ref", field_ref)
|
|
391
390
|
|
|
392
|
-
@property
|
|
391
|
+
@_builtins.property
|
|
393
392
|
@pulumi.getter(name="fieldRef")
|
|
394
393
|
def field_ref(self) -> pulumi.Input['RolloutSpecStrategyArgValueFromFieldRefArgs']:
|
|
395
394
|
"""
|
|
@@ -404,7 +403,7 @@ class RolloutSpecStrategyArgValueFromArgs:
|
|
|
404
403
|
|
|
405
404
|
if not MYPY:
|
|
406
405
|
class RolloutSpecStrategyArgValueFromFieldRefArgsDict(TypedDict):
|
|
407
|
-
field_path: pulumi.Input[
|
|
406
|
+
field_path: pulumi.Input[_builtins.str]
|
|
408
407
|
"""
|
|
409
408
|
Path to SpotDeployment's field from where to get the value of an argument.
|
|
410
409
|
"""
|
|
@@ -414,22 +413,22 @@ elif False:
|
|
|
414
413
|
@pulumi.input_type
|
|
415
414
|
class RolloutSpecStrategyArgValueFromFieldRefArgs:
|
|
416
415
|
def __init__(__self__, *,
|
|
417
|
-
field_path: pulumi.Input[
|
|
416
|
+
field_path: pulumi.Input[_builtins.str]):
|
|
418
417
|
"""
|
|
419
|
-
:param pulumi.Input[
|
|
418
|
+
:param pulumi.Input[_builtins.str] field_path: Path to SpotDeployment's field from where to get the value of an argument.
|
|
420
419
|
"""
|
|
421
420
|
pulumi.set(__self__, "field_path", field_path)
|
|
422
421
|
|
|
423
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
424
423
|
@pulumi.getter(name="fieldPath")
|
|
425
|
-
def field_path(self) -> pulumi.Input[
|
|
424
|
+
def field_path(self) -> pulumi.Input[_builtins.str]:
|
|
426
425
|
"""
|
|
427
426
|
Path to SpotDeployment's field from where to get the value of an argument.
|
|
428
427
|
"""
|
|
429
428
|
return pulumi.get(self, "field_path")
|
|
430
429
|
|
|
431
430
|
@field_path.setter
|
|
432
|
-
def field_path(self, value: pulumi.Input[
|
|
431
|
+
def field_path(self, value: pulumi.Input[_builtins.str]):
|
|
433
432
|
pulumi.set(self, "field_path", value)
|
|
434
433
|
|
|
435
434
|
|
|
@@ -443,7 +442,7 @@ if not MYPY:
|
|
|
443
442
|
"""
|
|
444
443
|
Holds specific configuration to use Ambassador to route traffic.
|
|
445
444
|
"""
|
|
446
|
-
canary_service: NotRequired[pulumi.Input[
|
|
445
|
+
canary_service: NotRequired[pulumi.Input[_builtins.str]]
|
|
447
446
|
"""
|
|
448
447
|
The canary service name.
|
|
449
448
|
"""
|
|
@@ -463,7 +462,7 @@ if not MYPY:
|
|
|
463
462
|
"""
|
|
464
463
|
Holds TrafficSplit specific configuration to route traffic.
|
|
465
464
|
"""
|
|
466
|
-
stable_service: NotRequired[pulumi.Input[
|
|
465
|
+
stable_service: NotRequired[pulumi.Input[_builtins.str]]
|
|
467
466
|
"""
|
|
468
467
|
The stable service name.
|
|
469
468
|
"""
|
|
@@ -475,21 +474,21 @@ class RolloutSpecTrafficArgs:
|
|
|
475
474
|
def __init__(__self__, *,
|
|
476
475
|
alb: Optional[pulumi.Input['RolloutSpecTrafficAlbArgs']] = None,
|
|
477
476
|
ambassador: Optional[pulumi.Input['RolloutSpecTrafficAmbassadorArgs']] = None,
|
|
478
|
-
canary_service: Optional[pulumi.Input[
|
|
477
|
+
canary_service: Optional[pulumi.Input[_builtins.str]] = None,
|
|
479
478
|
istio: Optional[pulumi.Input['RolloutSpecTrafficIstioArgs']] = None,
|
|
480
479
|
nginx: Optional[pulumi.Input['RolloutSpecTrafficNginxArgs']] = None,
|
|
481
480
|
ping_pong: Optional[pulumi.Input['RolloutSpecTrafficPingPongArgs']] = None,
|
|
482
481
|
smi: Optional[pulumi.Input['RolloutSpecTrafficSmiArgs']] = None,
|
|
483
|
-
stable_service: Optional[pulumi.Input[
|
|
482
|
+
stable_service: Optional[pulumi.Input[_builtins.str]] = None):
|
|
484
483
|
"""
|
|
485
484
|
:param pulumi.Input['RolloutSpecTrafficAlbArgs'] alb: Holds ALB Ingress specific configuration to route traffic.
|
|
486
485
|
:param pulumi.Input['RolloutSpecTrafficAmbassadorArgs'] ambassador: Holds specific configuration to use Ambassador to route traffic.
|
|
487
|
-
:param pulumi.Input[
|
|
486
|
+
:param pulumi.Input[_builtins.str] canary_service: The canary service name.
|
|
488
487
|
:param pulumi.Input['RolloutSpecTrafficIstioArgs'] istio: Holds Istio specific configuration to route traffic.
|
|
489
488
|
:param pulumi.Input['RolloutSpecTrafficNginxArgs'] nginx: Holds Nginx Ingress specific configuration to route traffic.
|
|
490
489
|
:param pulumi.Input['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.
|
|
491
490
|
:param pulumi.Input['RolloutSpecTrafficSmiArgs'] smi: Holds TrafficSplit specific configuration to route traffic.
|
|
492
|
-
:param pulumi.Input[
|
|
491
|
+
:param pulumi.Input[_builtins.str] stable_service: The stable service name.
|
|
493
492
|
"""
|
|
494
493
|
if alb is not None:
|
|
495
494
|
pulumi.set(__self__, "alb", alb)
|
|
@@ -508,7 +507,7 @@ class RolloutSpecTrafficArgs:
|
|
|
508
507
|
if stable_service is not None:
|
|
509
508
|
pulumi.set(__self__, "stable_service", stable_service)
|
|
510
509
|
|
|
511
|
-
@property
|
|
510
|
+
@_builtins.property
|
|
512
511
|
@pulumi.getter
|
|
513
512
|
def alb(self) -> Optional[pulumi.Input['RolloutSpecTrafficAlbArgs']]:
|
|
514
513
|
"""
|
|
@@ -520,7 +519,7 @@ class RolloutSpecTrafficArgs:
|
|
|
520
519
|
def alb(self, value: Optional[pulumi.Input['RolloutSpecTrafficAlbArgs']]):
|
|
521
520
|
pulumi.set(self, "alb", value)
|
|
522
521
|
|
|
523
|
-
@property
|
|
522
|
+
@_builtins.property
|
|
524
523
|
@pulumi.getter
|
|
525
524
|
def ambassador(self) -> Optional[pulumi.Input['RolloutSpecTrafficAmbassadorArgs']]:
|
|
526
525
|
"""
|
|
@@ -532,19 +531,19 @@ class RolloutSpecTrafficArgs:
|
|
|
532
531
|
def ambassador(self, value: Optional[pulumi.Input['RolloutSpecTrafficAmbassadorArgs']]):
|
|
533
532
|
pulumi.set(self, "ambassador", value)
|
|
534
533
|
|
|
535
|
-
@property
|
|
534
|
+
@_builtins.property
|
|
536
535
|
@pulumi.getter(name="canaryService")
|
|
537
|
-
def canary_service(self) -> Optional[pulumi.Input[
|
|
536
|
+
def canary_service(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
538
537
|
"""
|
|
539
538
|
The canary service name.
|
|
540
539
|
"""
|
|
541
540
|
return pulumi.get(self, "canary_service")
|
|
542
541
|
|
|
543
542
|
@canary_service.setter
|
|
544
|
-
def canary_service(self, value: Optional[pulumi.Input[
|
|
543
|
+
def canary_service(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
545
544
|
pulumi.set(self, "canary_service", value)
|
|
546
545
|
|
|
547
|
-
@property
|
|
546
|
+
@_builtins.property
|
|
548
547
|
@pulumi.getter
|
|
549
548
|
def istio(self) -> Optional[pulumi.Input['RolloutSpecTrafficIstioArgs']]:
|
|
550
549
|
"""
|
|
@@ -556,7 +555,7 @@ class RolloutSpecTrafficArgs:
|
|
|
556
555
|
def istio(self, value: Optional[pulumi.Input['RolloutSpecTrafficIstioArgs']]):
|
|
557
556
|
pulumi.set(self, "istio", value)
|
|
558
557
|
|
|
559
|
-
@property
|
|
558
|
+
@_builtins.property
|
|
560
559
|
@pulumi.getter
|
|
561
560
|
def nginx(self) -> Optional[pulumi.Input['RolloutSpecTrafficNginxArgs']]:
|
|
562
561
|
"""
|
|
@@ -568,7 +567,7 @@ class RolloutSpecTrafficArgs:
|
|
|
568
567
|
def nginx(self, value: Optional[pulumi.Input['RolloutSpecTrafficNginxArgs']]):
|
|
569
568
|
pulumi.set(self, "nginx", value)
|
|
570
569
|
|
|
571
|
-
@property
|
|
570
|
+
@_builtins.property
|
|
572
571
|
@pulumi.getter(name="pingPong")
|
|
573
572
|
def ping_pong(self) -> Optional[pulumi.Input['RolloutSpecTrafficPingPongArgs']]:
|
|
574
573
|
"""
|
|
@@ -580,7 +579,7 @@ class RolloutSpecTrafficArgs:
|
|
|
580
579
|
def ping_pong(self, value: Optional[pulumi.Input['RolloutSpecTrafficPingPongArgs']]):
|
|
581
580
|
pulumi.set(self, "ping_pong", value)
|
|
582
581
|
|
|
583
|
-
@property
|
|
582
|
+
@_builtins.property
|
|
584
583
|
@pulumi.getter
|
|
585
584
|
def smi(self) -> Optional[pulumi.Input['RolloutSpecTrafficSmiArgs']]:
|
|
586
585
|
"""
|
|
@@ -592,34 +591,34 @@ class RolloutSpecTrafficArgs:
|
|
|
592
591
|
def smi(self, value: Optional[pulumi.Input['RolloutSpecTrafficSmiArgs']]):
|
|
593
592
|
pulumi.set(self, "smi", value)
|
|
594
593
|
|
|
595
|
-
@property
|
|
594
|
+
@_builtins.property
|
|
596
595
|
@pulumi.getter(name="stableService")
|
|
597
|
-
def stable_service(self) -> Optional[pulumi.Input[
|
|
596
|
+
def stable_service(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
598
597
|
"""
|
|
599
598
|
The stable service name.
|
|
600
599
|
"""
|
|
601
600
|
return pulumi.get(self, "stable_service")
|
|
602
601
|
|
|
603
602
|
@stable_service.setter
|
|
604
|
-
def stable_service(self, value: Optional[pulumi.Input[
|
|
603
|
+
def stable_service(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
605
604
|
pulumi.set(self, "stable_service", value)
|
|
606
605
|
|
|
607
606
|
|
|
608
607
|
if not MYPY:
|
|
609
608
|
class RolloutSpecTrafficAlbArgsDict(TypedDict):
|
|
610
|
-
alb_ingress: pulumi.Input[
|
|
609
|
+
alb_ingress: pulumi.Input[_builtins.str]
|
|
611
610
|
"""
|
|
612
611
|
Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
613
612
|
"""
|
|
614
|
-
alb_root_service: pulumi.Input[
|
|
613
|
+
alb_root_service: pulumi.Input[_builtins.str]
|
|
615
614
|
"""
|
|
616
615
|
References the service in the ingress to the controller should add the action to.
|
|
617
616
|
"""
|
|
618
|
-
service_port: pulumi.Input[
|
|
617
|
+
service_port: pulumi.Input[_builtins.int]
|
|
619
618
|
"""
|
|
620
619
|
Refers to the port that the Ingress action should route traffic to.
|
|
621
620
|
"""
|
|
622
|
-
alb_annotation_prefix: NotRequired[pulumi.Input[
|
|
621
|
+
alb_annotation_prefix: NotRequired[pulumi.Input[_builtins.str]]
|
|
623
622
|
"""
|
|
624
623
|
Has to match the configured annotation prefix on the alb ingress controller.
|
|
625
624
|
"""
|
|
@@ -633,16 +632,16 @@ elif False:
|
|
|
633
632
|
@pulumi.input_type
|
|
634
633
|
class RolloutSpecTrafficAlbArgs:
|
|
635
634
|
def __init__(__self__, *,
|
|
636
|
-
alb_ingress: pulumi.Input[
|
|
637
|
-
alb_root_service: pulumi.Input[
|
|
638
|
-
service_port: pulumi.Input[
|
|
639
|
-
alb_annotation_prefix: Optional[pulumi.Input[
|
|
635
|
+
alb_ingress: pulumi.Input[_builtins.str],
|
|
636
|
+
alb_root_service: pulumi.Input[_builtins.str],
|
|
637
|
+
service_port: pulumi.Input[_builtins.int],
|
|
638
|
+
alb_annotation_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
640
639
|
stickiness_config: Optional[pulumi.Input['RolloutSpecTrafficAlbStickinessConfigArgs']] = None):
|
|
641
640
|
"""
|
|
642
|
-
:param pulumi.Input[
|
|
643
|
-
:param pulumi.Input[
|
|
644
|
-
:param pulumi.Input[
|
|
645
|
-
:param pulumi.Input[
|
|
641
|
+
:param pulumi.Input[_builtins.str] alb_ingress: Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
642
|
+
:param pulumi.Input[_builtins.str] alb_root_service: References the service in the ingress to the controller should add the action to.
|
|
643
|
+
:param pulumi.Input[_builtins.int] service_port: Refers to the port that the Ingress action should route traffic to.
|
|
644
|
+
:param pulumi.Input[_builtins.str] alb_annotation_prefix: Has to match the configured annotation prefix on the alb ingress controller.
|
|
646
645
|
:param pulumi.Input['RolloutSpecTrafficAlbStickinessConfigArgs'] stickiness_config: Allows to specify further settings on the ForwardConfig.
|
|
647
646
|
"""
|
|
648
647
|
pulumi.set(__self__, "alb_ingress", alb_ingress)
|
|
@@ -653,55 +652,55 @@ class RolloutSpecTrafficAlbArgs:
|
|
|
653
652
|
if stickiness_config is not None:
|
|
654
653
|
pulumi.set(__self__, "stickiness_config", stickiness_config)
|
|
655
654
|
|
|
656
|
-
@property
|
|
655
|
+
@_builtins.property
|
|
657
656
|
@pulumi.getter(name="albIngress")
|
|
658
|
-
def alb_ingress(self) -> pulumi.Input[
|
|
657
|
+
def alb_ingress(self) -> pulumi.Input[_builtins.str]:
|
|
659
658
|
"""
|
|
660
659
|
Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
661
660
|
"""
|
|
662
661
|
return pulumi.get(self, "alb_ingress")
|
|
663
662
|
|
|
664
663
|
@alb_ingress.setter
|
|
665
|
-
def alb_ingress(self, value: pulumi.Input[
|
|
664
|
+
def alb_ingress(self, value: pulumi.Input[_builtins.str]):
|
|
666
665
|
pulumi.set(self, "alb_ingress", value)
|
|
667
666
|
|
|
668
|
-
@property
|
|
667
|
+
@_builtins.property
|
|
669
668
|
@pulumi.getter(name="albRootService")
|
|
670
|
-
def alb_root_service(self) -> pulumi.Input[
|
|
669
|
+
def alb_root_service(self) -> pulumi.Input[_builtins.str]:
|
|
671
670
|
"""
|
|
672
671
|
References the service in the ingress to the controller should add the action to.
|
|
673
672
|
"""
|
|
674
673
|
return pulumi.get(self, "alb_root_service")
|
|
675
674
|
|
|
676
675
|
@alb_root_service.setter
|
|
677
|
-
def alb_root_service(self, value: pulumi.Input[
|
|
676
|
+
def alb_root_service(self, value: pulumi.Input[_builtins.str]):
|
|
678
677
|
pulumi.set(self, "alb_root_service", value)
|
|
679
678
|
|
|
680
|
-
@property
|
|
679
|
+
@_builtins.property
|
|
681
680
|
@pulumi.getter(name="servicePort")
|
|
682
|
-
def service_port(self) -> pulumi.Input[
|
|
681
|
+
def service_port(self) -> pulumi.Input[_builtins.int]:
|
|
683
682
|
"""
|
|
684
683
|
Refers to the port that the Ingress action should route traffic to.
|
|
685
684
|
"""
|
|
686
685
|
return pulumi.get(self, "service_port")
|
|
687
686
|
|
|
688
687
|
@service_port.setter
|
|
689
|
-
def service_port(self, value: pulumi.Input[
|
|
688
|
+
def service_port(self, value: pulumi.Input[_builtins.int]):
|
|
690
689
|
pulumi.set(self, "service_port", value)
|
|
691
690
|
|
|
692
|
-
@property
|
|
691
|
+
@_builtins.property
|
|
693
692
|
@pulumi.getter(name="albAnnotationPrefix")
|
|
694
|
-
def alb_annotation_prefix(self) -> Optional[pulumi.Input[
|
|
693
|
+
def alb_annotation_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
695
694
|
"""
|
|
696
695
|
Has to match the configured annotation prefix on the alb ingress controller.
|
|
697
696
|
"""
|
|
698
697
|
return pulumi.get(self, "alb_annotation_prefix")
|
|
699
698
|
|
|
700
699
|
@alb_annotation_prefix.setter
|
|
701
|
-
def alb_annotation_prefix(self, value: Optional[pulumi.Input[
|
|
700
|
+
def alb_annotation_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
702
701
|
pulumi.set(self, "alb_annotation_prefix", value)
|
|
703
702
|
|
|
704
|
-
@property
|
|
703
|
+
@_builtins.property
|
|
705
704
|
@pulumi.getter(name="stickinessConfig")
|
|
706
705
|
def stickiness_config(self) -> Optional[pulumi.Input['RolloutSpecTrafficAlbStickinessConfigArgs']]:
|
|
707
706
|
"""
|
|
@@ -716,11 +715,11 @@ class RolloutSpecTrafficAlbArgs:
|
|
|
716
715
|
|
|
717
716
|
if not MYPY:
|
|
718
717
|
class RolloutSpecTrafficAlbStickinessConfigArgsDict(TypedDict):
|
|
719
|
-
duration_seconds: NotRequired[pulumi.Input[
|
|
718
|
+
duration_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
720
719
|
"""
|
|
721
720
|
Defines how long the load balancer should consistently route the user's request to the same target.
|
|
722
721
|
"""
|
|
723
|
-
enabled: NotRequired[pulumi.Input[
|
|
722
|
+
enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
|
724
723
|
"""
|
|
725
724
|
Enables the load balancer to bind a user's session to a specific target.
|
|
726
725
|
"""
|
|
@@ -730,45 +729,45 @@ elif False:
|
|
|
730
729
|
@pulumi.input_type
|
|
731
730
|
class RolloutSpecTrafficAlbStickinessConfigArgs:
|
|
732
731
|
def __init__(__self__, *,
|
|
733
|
-
duration_seconds: Optional[pulumi.Input[
|
|
734
|
-
enabled: Optional[pulumi.Input[
|
|
732
|
+
duration_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
733
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
735
734
|
"""
|
|
736
|
-
:param pulumi.Input[
|
|
737
|
-
:param pulumi.Input[
|
|
735
|
+
:param pulumi.Input[_builtins.int] duration_seconds: Defines how long the load balancer should consistently route the user's request to the same target.
|
|
736
|
+
:param pulumi.Input[_builtins.bool] enabled: Enables the load balancer to bind a user's session to a specific target.
|
|
738
737
|
"""
|
|
739
738
|
if duration_seconds is not None:
|
|
740
739
|
pulumi.set(__self__, "duration_seconds", duration_seconds)
|
|
741
740
|
if enabled is not None:
|
|
742
741
|
pulumi.set(__self__, "enabled", enabled)
|
|
743
742
|
|
|
744
|
-
@property
|
|
743
|
+
@_builtins.property
|
|
745
744
|
@pulumi.getter(name="durationSeconds")
|
|
746
|
-
def duration_seconds(self) -> Optional[pulumi.Input[
|
|
745
|
+
def duration_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
747
746
|
"""
|
|
748
747
|
Defines how long the load balancer should consistently route the user's request to the same target.
|
|
749
748
|
"""
|
|
750
749
|
return pulumi.get(self, "duration_seconds")
|
|
751
750
|
|
|
752
751
|
@duration_seconds.setter
|
|
753
|
-
def duration_seconds(self, value: Optional[pulumi.Input[
|
|
752
|
+
def duration_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
754
753
|
pulumi.set(self, "duration_seconds", value)
|
|
755
754
|
|
|
756
|
-
@property
|
|
755
|
+
@_builtins.property
|
|
757
756
|
@pulumi.getter
|
|
758
|
-
def enabled(self) -> Optional[pulumi.Input[
|
|
757
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
759
758
|
"""
|
|
760
759
|
Enables the load balancer to bind a user's session to a specific target.
|
|
761
760
|
"""
|
|
762
761
|
return pulumi.get(self, "enabled")
|
|
763
762
|
|
|
764
763
|
@enabled.setter
|
|
765
|
-
def enabled(self, value: Optional[pulumi.Input[
|
|
764
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
766
765
|
pulumi.set(self, "enabled", value)
|
|
767
766
|
|
|
768
767
|
|
|
769
768
|
if not MYPY:
|
|
770
769
|
class RolloutSpecTrafficAmbassadorArgsDict(TypedDict):
|
|
771
|
-
mappings: pulumi.Input[Sequence[pulumi.Input[
|
|
770
|
+
mappings: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
772
771
|
"""
|
|
773
772
|
A list of names of the Ambassador Mappings used to route traffic to the service.
|
|
774
773
|
"""
|
|
@@ -778,22 +777,22 @@ elif False:
|
|
|
778
777
|
@pulumi.input_type
|
|
779
778
|
class RolloutSpecTrafficAmbassadorArgs:
|
|
780
779
|
def __init__(__self__, *,
|
|
781
|
-
mappings: pulumi.Input[Sequence[pulumi.Input[
|
|
780
|
+
mappings: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
782
781
|
"""
|
|
783
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
782
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] mappings: A list of names of the Ambassador Mappings used to route traffic to the service.
|
|
784
783
|
"""
|
|
785
784
|
pulumi.set(__self__, "mappings", mappings)
|
|
786
785
|
|
|
787
|
-
@property
|
|
786
|
+
@_builtins.property
|
|
788
787
|
@pulumi.getter
|
|
789
|
-
def mappings(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
788
|
+
def mappings(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
790
789
|
"""
|
|
791
790
|
A list of names of the Ambassador Mappings used to route traffic to the service.
|
|
792
791
|
"""
|
|
793
792
|
return pulumi.get(self, "mappings")
|
|
794
793
|
|
|
795
794
|
@mappings.setter
|
|
796
|
-
def mappings(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
795
|
+
def mappings(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
797
796
|
pulumi.set(self, "mappings", value)
|
|
798
797
|
|
|
799
798
|
|
|
@@ -823,7 +822,7 @@ class RolloutSpecTrafficIstioArgs:
|
|
|
823
822
|
if destination_rule is not None:
|
|
824
823
|
pulumi.set(__self__, "destination_rule", destination_rule)
|
|
825
824
|
|
|
826
|
-
@property
|
|
825
|
+
@_builtins.property
|
|
827
826
|
@pulumi.getter(name="virtualServices")
|
|
828
827
|
def virtual_services(self) -> pulumi.Input[Sequence[pulumi.Input['RolloutSpecTrafficIstioVirtualServiceArgs']]]:
|
|
829
828
|
"""
|
|
@@ -835,7 +834,7 @@ class RolloutSpecTrafficIstioArgs:
|
|
|
835
834
|
def virtual_services(self, value: pulumi.Input[Sequence[pulumi.Input['RolloutSpecTrafficIstioVirtualServiceArgs']]]):
|
|
836
835
|
pulumi.set(self, "virtual_services", value)
|
|
837
836
|
|
|
838
|
-
@property
|
|
837
|
+
@_builtins.property
|
|
839
838
|
@pulumi.getter(name="destinationRule")
|
|
840
839
|
def destination_rule(self) -> Optional[pulumi.Input['RolloutSpecTrafficIstioDestinationRuleArgs']]:
|
|
841
840
|
"""
|
|
@@ -850,15 +849,15 @@ class RolloutSpecTrafficIstioArgs:
|
|
|
850
849
|
|
|
851
850
|
if not MYPY:
|
|
852
851
|
class RolloutSpecTrafficIstioDestinationRuleArgsDict(TypedDict):
|
|
853
|
-
canary_subset_name: pulumi.Input[
|
|
852
|
+
canary_subset_name: pulumi.Input[_builtins.str]
|
|
854
853
|
"""
|
|
855
854
|
The subset name to modify labels with the canary version.
|
|
856
855
|
"""
|
|
857
|
-
destination_rule_name: pulumi.Input[
|
|
856
|
+
destination_rule_name: pulumi.Input[_builtins.str]
|
|
858
857
|
"""
|
|
859
858
|
Holds the name of the DestinationRule.
|
|
860
859
|
"""
|
|
861
|
-
stable_subset_name: pulumi.Input[
|
|
860
|
+
stable_subset_name: pulumi.Input[_builtins.str]
|
|
862
861
|
"""
|
|
863
862
|
The subset name to modify labels with the stable version.
|
|
864
863
|
"""
|
|
@@ -868,58 +867,58 @@ elif False:
|
|
|
868
867
|
@pulumi.input_type
|
|
869
868
|
class RolloutSpecTrafficIstioDestinationRuleArgs:
|
|
870
869
|
def __init__(__self__, *,
|
|
871
|
-
canary_subset_name: pulumi.Input[
|
|
872
|
-
destination_rule_name: pulumi.Input[
|
|
873
|
-
stable_subset_name: pulumi.Input[
|
|
870
|
+
canary_subset_name: pulumi.Input[_builtins.str],
|
|
871
|
+
destination_rule_name: pulumi.Input[_builtins.str],
|
|
872
|
+
stable_subset_name: pulumi.Input[_builtins.str]):
|
|
874
873
|
"""
|
|
875
|
-
:param pulumi.Input[
|
|
876
|
-
:param pulumi.Input[
|
|
877
|
-
:param pulumi.Input[
|
|
874
|
+
:param pulumi.Input[_builtins.str] canary_subset_name: The subset name to modify labels with the canary version.
|
|
875
|
+
:param pulumi.Input[_builtins.str] destination_rule_name: Holds the name of the DestinationRule.
|
|
876
|
+
:param pulumi.Input[_builtins.str] stable_subset_name: The subset name to modify labels with the stable version.
|
|
878
877
|
"""
|
|
879
878
|
pulumi.set(__self__, "canary_subset_name", canary_subset_name)
|
|
880
879
|
pulumi.set(__self__, "destination_rule_name", destination_rule_name)
|
|
881
880
|
pulumi.set(__self__, "stable_subset_name", stable_subset_name)
|
|
882
881
|
|
|
883
|
-
@property
|
|
882
|
+
@_builtins.property
|
|
884
883
|
@pulumi.getter(name="canarySubsetName")
|
|
885
|
-
def canary_subset_name(self) -> pulumi.Input[
|
|
884
|
+
def canary_subset_name(self) -> pulumi.Input[_builtins.str]:
|
|
886
885
|
"""
|
|
887
886
|
The subset name to modify labels with the canary version.
|
|
888
887
|
"""
|
|
889
888
|
return pulumi.get(self, "canary_subset_name")
|
|
890
889
|
|
|
891
890
|
@canary_subset_name.setter
|
|
892
|
-
def canary_subset_name(self, value: pulumi.Input[
|
|
891
|
+
def canary_subset_name(self, value: pulumi.Input[_builtins.str]):
|
|
893
892
|
pulumi.set(self, "canary_subset_name", value)
|
|
894
893
|
|
|
895
|
-
@property
|
|
894
|
+
@_builtins.property
|
|
896
895
|
@pulumi.getter(name="destinationRuleName")
|
|
897
|
-
def destination_rule_name(self) -> pulumi.Input[
|
|
896
|
+
def destination_rule_name(self) -> pulumi.Input[_builtins.str]:
|
|
898
897
|
"""
|
|
899
898
|
Holds the name of the DestinationRule.
|
|
900
899
|
"""
|
|
901
900
|
return pulumi.get(self, "destination_rule_name")
|
|
902
901
|
|
|
903
902
|
@destination_rule_name.setter
|
|
904
|
-
def destination_rule_name(self, value: pulumi.Input[
|
|
903
|
+
def destination_rule_name(self, value: pulumi.Input[_builtins.str]):
|
|
905
904
|
pulumi.set(self, "destination_rule_name", value)
|
|
906
905
|
|
|
907
|
-
@property
|
|
906
|
+
@_builtins.property
|
|
908
907
|
@pulumi.getter(name="stableSubsetName")
|
|
909
|
-
def stable_subset_name(self) -> pulumi.Input[
|
|
908
|
+
def stable_subset_name(self) -> pulumi.Input[_builtins.str]:
|
|
910
909
|
"""
|
|
911
910
|
The subset name to modify labels with the stable version.
|
|
912
911
|
"""
|
|
913
912
|
return pulumi.get(self, "stable_subset_name")
|
|
914
913
|
|
|
915
914
|
@stable_subset_name.setter
|
|
916
|
-
def stable_subset_name(self, value: pulumi.Input[
|
|
915
|
+
def stable_subset_name(self, value: pulumi.Input[_builtins.str]):
|
|
917
916
|
pulumi.set(self, "stable_subset_name", value)
|
|
918
917
|
|
|
919
918
|
|
|
920
919
|
if not MYPY:
|
|
921
920
|
class RolloutSpecTrafficIstioVirtualServiceArgsDict(TypedDict):
|
|
922
|
-
virtual_service_name: pulumi.Input[
|
|
921
|
+
virtual_service_name: pulumi.Input[_builtins.str]
|
|
923
922
|
"""
|
|
924
923
|
Holds the name of the VirtualService.
|
|
925
924
|
"""
|
|
@@ -927,7 +926,7 @@ if not MYPY:
|
|
|
927
926
|
"""
|
|
928
927
|
A list of HTTPS routes within VirtualService.
|
|
929
928
|
"""
|
|
930
|
-
virtual_service_routes: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
929
|
+
virtual_service_routes: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
931
930
|
"""
|
|
932
931
|
A list of HTTP routes within VirtualService.
|
|
933
932
|
"""
|
|
@@ -937,13 +936,13 @@ elif False:
|
|
|
937
936
|
@pulumi.input_type
|
|
938
937
|
class RolloutSpecTrafficIstioVirtualServiceArgs:
|
|
939
938
|
def __init__(__self__, *,
|
|
940
|
-
virtual_service_name: pulumi.Input[
|
|
939
|
+
virtual_service_name: pulumi.Input[_builtins.str],
|
|
941
940
|
tls_routes: Optional[pulumi.Input[Sequence[pulumi.Input['RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs']]]] = None,
|
|
942
|
-
virtual_service_routes: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
941
|
+
virtual_service_routes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
943
942
|
"""
|
|
944
|
-
:param pulumi.Input[
|
|
943
|
+
:param pulumi.Input[_builtins.str] virtual_service_name: Holds the name of the VirtualService.
|
|
945
944
|
:param pulumi.Input[Sequence[pulumi.Input['RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs']]] tls_routes: A list of HTTPS routes within VirtualService.
|
|
946
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
945
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] virtual_service_routes: A list of HTTP routes within VirtualService.
|
|
947
946
|
"""
|
|
948
947
|
pulumi.set(__self__, "virtual_service_name", virtual_service_name)
|
|
949
948
|
if tls_routes is not None:
|
|
@@ -951,19 +950,19 @@ class RolloutSpecTrafficIstioVirtualServiceArgs:
|
|
|
951
950
|
if virtual_service_routes is not None:
|
|
952
951
|
pulumi.set(__self__, "virtual_service_routes", virtual_service_routes)
|
|
953
952
|
|
|
954
|
-
@property
|
|
953
|
+
@_builtins.property
|
|
955
954
|
@pulumi.getter(name="virtualServiceName")
|
|
956
|
-
def virtual_service_name(self) -> pulumi.Input[
|
|
955
|
+
def virtual_service_name(self) -> pulumi.Input[_builtins.str]:
|
|
957
956
|
"""
|
|
958
957
|
Holds the name of the VirtualService.
|
|
959
958
|
"""
|
|
960
959
|
return pulumi.get(self, "virtual_service_name")
|
|
961
960
|
|
|
962
961
|
@virtual_service_name.setter
|
|
963
|
-
def virtual_service_name(self, value: pulumi.Input[
|
|
962
|
+
def virtual_service_name(self, value: pulumi.Input[_builtins.str]):
|
|
964
963
|
pulumi.set(self, "virtual_service_name", value)
|
|
965
964
|
|
|
966
|
-
@property
|
|
965
|
+
@_builtins.property
|
|
967
966
|
@pulumi.getter(name="tlsRoutes")
|
|
968
967
|
def tls_routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs']]]]:
|
|
969
968
|
"""
|
|
@@ -975,26 +974,26 @@ class RolloutSpecTrafficIstioVirtualServiceArgs:
|
|
|
975
974
|
def tls_routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs']]]]):
|
|
976
975
|
pulumi.set(self, "tls_routes", value)
|
|
977
976
|
|
|
978
|
-
@property
|
|
977
|
+
@_builtins.property
|
|
979
978
|
@pulumi.getter(name="virtualServiceRoutes")
|
|
980
|
-
def virtual_service_routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
979
|
+
def virtual_service_routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
981
980
|
"""
|
|
982
981
|
A list of HTTP routes within VirtualService.
|
|
983
982
|
"""
|
|
984
983
|
return pulumi.get(self, "virtual_service_routes")
|
|
985
984
|
|
|
986
985
|
@virtual_service_routes.setter
|
|
987
|
-
def virtual_service_routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
986
|
+
def virtual_service_routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
988
987
|
pulumi.set(self, "virtual_service_routes", value)
|
|
989
988
|
|
|
990
989
|
|
|
991
990
|
if not MYPY:
|
|
992
991
|
class RolloutSpecTrafficIstioVirtualServiceTlsRouteArgsDict(TypedDict):
|
|
993
|
-
port: NotRequired[pulumi.Input[
|
|
992
|
+
port: NotRequired[pulumi.Input[_builtins.int]]
|
|
994
993
|
"""
|
|
995
994
|
The port of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
996
995
|
"""
|
|
997
|
-
sni_hosts: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
996
|
+
sni_hosts: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
998
997
|
"""
|
|
999
998
|
A list of all the SNI Hosts of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
1000
999
|
"""
|
|
@@ -1004,45 +1003,45 @@ elif False:
|
|
|
1004
1003
|
@pulumi.input_type
|
|
1005
1004
|
class RolloutSpecTrafficIstioVirtualServiceTlsRouteArgs:
|
|
1006
1005
|
def __init__(__self__, *,
|
|
1007
|
-
port: Optional[pulumi.Input[
|
|
1008
|
-
sni_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1006
|
+
port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1007
|
+
sni_hosts: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
1009
1008
|
"""
|
|
1010
|
-
:param pulumi.Input[
|
|
1011
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1009
|
+
:param pulumi.Input[_builtins.int] port: The port of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
1010
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] sni_hosts: A list of all the SNI Hosts of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
1012
1011
|
"""
|
|
1013
1012
|
if port is not None:
|
|
1014
1013
|
pulumi.set(__self__, "port", port)
|
|
1015
1014
|
if sni_hosts is not None:
|
|
1016
1015
|
pulumi.set(__self__, "sni_hosts", sni_hosts)
|
|
1017
1016
|
|
|
1018
|
-
@property
|
|
1017
|
+
@_builtins.property
|
|
1019
1018
|
@pulumi.getter
|
|
1020
|
-
def port(self) -> Optional[pulumi.Input[
|
|
1019
|
+
def port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1021
1020
|
"""
|
|
1022
1021
|
The port of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
1023
1022
|
"""
|
|
1024
1023
|
return pulumi.get(self, "port")
|
|
1025
1024
|
|
|
1026
1025
|
@port.setter
|
|
1027
|
-
def port(self, value: Optional[pulumi.Input[
|
|
1026
|
+
def port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1028
1027
|
pulumi.set(self, "port", value)
|
|
1029
1028
|
|
|
1030
|
-
@property
|
|
1029
|
+
@_builtins.property
|
|
1031
1030
|
@pulumi.getter(name="sniHosts")
|
|
1032
|
-
def sni_hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1031
|
+
def sni_hosts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1033
1032
|
"""
|
|
1034
1033
|
A list of all the SNI Hosts of the TLS Route desired to be matched in the given Istio VirtualService.
|
|
1035
1034
|
"""
|
|
1036
1035
|
return pulumi.get(self, "sni_hosts")
|
|
1037
1036
|
|
|
1038
1037
|
@sni_hosts.setter
|
|
1039
|
-
def sni_hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1038
|
+
def sni_hosts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
1040
1039
|
pulumi.set(self, "sni_hosts", value)
|
|
1041
1040
|
|
|
1042
1041
|
|
|
1043
1042
|
if not MYPY:
|
|
1044
1043
|
class RolloutSpecTrafficNginxArgsDict(TypedDict):
|
|
1045
|
-
stable_ingress: pulumi.Input[
|
|
1044
|
+
stable_ingress: pulumi.Input[_builtins.str]
|
|
1046
1045
|
"""
|
|
1047
1046
|
Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
1048
1047
|
"""
|
|
@@ -1050,7 +1049,7 @@ if not MYPY:
|
|
|
1050
1049
|
"""
|
|
1051
1050
|
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.
|
|
1052
1051
|
"""
|
|
1053
|
-
nginx_annotation_prefix: NotRequired[pulumi.Input[
|
|
1052
|
+
nginx_annotation_prefix: NotRequired[pulumi.Input[_builtins.str]]
|
|
1054
1053
|
"""
|
|
1055
1054
|
Has to match the configured annotation prefix on the Nginx ingress controller.
|
|
1056
1055
|
"""
|
|
@@ -1060,13 +1059,13 @@ elif False:
|
|
|
1060
1059
|
@pulumi.input_type
|
|
1061
1060
|
class RolloutSpecTrafficNginxArgs:
|
|
1062
1061
|
def __init__(__self__, *,
|
|
1063
|
-
stable_ingress: pulumi.Input[
|
|
1062
|
+
stable_ingress: pulumi.Input[_builtins.str],
|
|
1064
1063
|
additional_ingress_annotation: Optional[pulumi.Input['RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs']] = None,
|
|
1065
|
-
nginx_annotation_prefix: Optional[pulumi.Input[
|
|
1064
|
+
nginx_annotation_prefix: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1066
1065
|
"""
|
|
1067
|
-
:param pulumi.Input[
|
|
1066
|
+
:param pulumi.Input[_builtins.str] stable_ingress: Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
1068
1067
|
:param pulumi.Input['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.
|
|
1069
|
-
:param pulumi.Input[
|
|
1068
|
+
:param pulumi.Input[_builtins.str] nginx_annotation_prefix: Has to match the configured annotation prefix on the Nginx ingress controller.
|
|
1070
1069
|
"""
|
|
1071
1070
|
pulumi.set(__self__, "stable_ingress", stable_ingress)
|
|
1072
1071
|
if additional_ingress_annotation is not None:
|
|
@@ -1074,19 +1073,19 @@ class RolloutSpecTrafficNginxArgs:
|
|
|
1074
1073
|
if nginx_annotation_prefix is not None:
|
|
1075
1074
|
pulumi.set(__self__, "nginx_annotation_prefix", nginx_annotation_prefix)
|
|
1076
1075
|
|
|
1077
|
-
@property
|
|
1076
|
+
@_builtins.property
|
|
1078
1077
|
@pulumi.getter(name="stableIngress")
|
|
1079
|
-
def stable_ingress(self) -> pulumi.Input[
|
|
1078
|
+
def stable_ingress(self) -> pulumi.Input[_builtins.str]:
|
|
1080
1079
|
"""
|
|
1081
1080
|
Refers to the name of an `Ingress` resource in the same namespace as the `SpotDeployment`.
|
|
1082
1081
|
"""
|
|
1083
1082
|
return pulumi.get(self, "stable_ingress")
|
|
1084
1083
|
|
|
1085
1084
|
@stable_ingress.setter
|
|
1086
|
-
def stable_ingress(self, value: pulumi.Input[
|
|
1085
|
+
def stable_ingress(self, value: pulumi.Input[_builtins.str]):
|
|
1087
1086
|
pulumi.set(self, "stable_ingress", value)
|
|
1088
1087
|
|
|
1089
|
-
@property
|
|
1088
|
+
@_builtins.property
|
|
1090
1089
|
@pulumi.getter(name="additionalIngressAnnotation")
|
|
1091
1090
|
def additional_ingress_annotation(self) -> Optional[pulumi.Input['RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs']]:
|
|
1092
1091
|
"""
|
|
@@ -1098,26 +1097,26 @@ class RolloutSpecTrafficNginxArgs:
|
|
|
1098
1097
|
def additional_ingress_annotation(self, value: Optional[pulumi.Input['RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs']]):
|
|
1099
1098
|
pulumi.set(self, "additional_ingress_annotation", value)
|
|
1100
1099
|
|
|
1101
|
-
@property
|
|
1100
|
+
@_builtins.property
|
|
1102
1101
|
@pulumi.getter(name="nginxAnnotationPrefix")
|
|
1103
|
-
def nginx_annotation_prefix(self) -> Optional[pulumi.Input[
|
|
1102
|
+
def nginx_annotation_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1104
1103
|
"""
|
|
1105
1104
|
Has to match the configured annotation prefix on the Nginx ingress controller.
|
|
1106
1105
|
"""
|
|
1107
1106
|
return pulumi.get(self, "nginx_annotation_prefix")
|
|
1108
1107
|
|
|
1109
1108
|
@nginx_annotation_prefix.setter
|
|
1110
|
-
def nginx_annotation_prefix(self, value: Optional[pulumi.Input[
|
|
1109
|
+
def nginx_annotation_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1111
1110
|
pulumi.set(self, "nginx_annotation_prefix", value)
|
|
1112
1111
|
|
|
1113
1112
|
|
|
1114
1113
|
if not MYPY:
|
|
1115
1114
|
class RolloutSpecTrafficNginxAdditionalIngressAnnotationArgsDict(TypedDict):
|
|
1116
|
-
canary_by_header: NotRequired[pulumi.Input[
|
|
1115
|
+
canary_by_header: NotRequired[pulumi.Input[_builtins.str]]
|
|
1117
1116
|
"""
|
|
1118
1117
|
Allows customizing the header value instead of using hardcoded values.
|
|
1119
1118
|
"""
|
|
1120
|
-
key1: NotRequired[pulumi.Input[
|
|
1119
|
+
key1: NotRequired[pulumi.Input[_builtins.str]]
|
|
1121
1120
|
"""
|
|
1122
1121
|
Any of supported annotations.
|
|
1123
1122
|
"""
|
|
@@ -1127,49 +1126,49 @@ elif False:
|
|
|
1127
1126
|
@pulumi.input_type
|
|
1128
1127
|
class RolloutSpecTrafficNginxAdditionalIngressAnnotationArgs:
|
|
1129
1128
|
def __init__(__self__, *,
|
|
1130
|
-
canary_by_header: Optional[pulumi.Input[
|
|
1131
|
-
key1: Optional[pulumi.Input[
|
|
1129
|
+
canary_by_header: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1130
|
+
key1: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1132
1131
|
"""
|
|
1133
|
-
:param pulumi.Input[
|
|
1134
|
-
:param pulumi.Input[
|
|
1132
|
+
:param pulumi.Input[_builtins.str] canary_by_header: Allows customizing the header value instead of using hardcoded values.
|
|
1133
|
+
:param pulumi.Input[_builtins.str] key1: Any of supported annotations.
|
|
1135
1134
|
"""
|
|
1136
1135
|
if canary_by_header is not None:
|
|
1137
1136
|
pulumi.set(__self__, "canary_by_header", canary_by_header)
|
|
1138
1137
|
if key1 is not None:
|
|
1139
1138
|
pulumi.set(__self__, "key1", key1)
|
|
1140
1139
|
|
|
1141
|
-
@property
|
|
1140
|
+
@_builtins.property
|
|
1142
1141
|
@pulumi.getter(name="canaryByHeader")
|
|
1143
|
-
def canary_by_header(self) -> Optional[pulumi.Input[
|
|
1142
|
+
def canary_by_header(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1144
1143
|
"""
|
|
1145
1144
|
Allows customizing the header value instead of using hardcoded values.
|
|
1146
1145
|
"""
|
|
1147
1146
|
return pulumi.get(self, "canary_by_header")
|
|
1148
1147
|
|
|
1149
1148
|
@canary_by_header.setter
|
|
1150
|
-
def canary_by_header(self, value: Optional[pulumi.Input[
|
|
1149
|
+
def canary_by_header(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1151
1150
|
pulumi.set(self, "canary_by_header", value)
|
|
1152
1151
|
|
|
1153
|
-
@property
|
|
1152
|
+
@_builtins.property
|
|
1154
1153
|
@pulumi.getter
|
|
1155
|
-
def key1(self) -> Optional[pulumi.Input[
|
|
1154
|
+
def key1(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1156
1155
|
"""
|
|
1157
1156
|
Any of supported annotations.
|
|
1158
1157
|
"""
|
|
1159
1158
|
return pulumi.get(self, "key1")
|
|
1160
1159
|
|
|
1161
1160
|
@key1.setter
|
|
1162
|
-
def key1(self, value: Optional[pulumi.Input[
|
|
1161
|
+
def key1(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1163
1162
|
pulumi.set(self, "key1", value)
|
|
1164
1163
|
|
|
1165
1164
|
|
|
1166
1165
|
if not MYPY:
|
|
1167
1166
|
class RolloutSpecTrafficPingPongArgsDict(TypedDict):
|
|
1168
|
-
ping_service: pulumi.Input[
|
|
1167
|
+
ping_service: pulumi.Input[_builtins.str]
|
|
1169
1168
|
"""
|
|
1170
1169
|
Holds the name of the ping service.
|
|
1171
1170
|
"""
|
|
1172
|
-
pong_service: pulumi.Input[
|
|
1171
|
+
pong_service: pulumi.Input[_builtins.str]
|
|
1173
1172
|
"""
|
|
1174
1173
|
Holds the name of the pong service.
|
|
1175
1174
|
"""
|
|
@@ -1179,47 +1178,47 @@ elif False:
|
|
|
1179
1178
|
@pulumi.input_type
|
|
1180
1179
|
class RolloutSpecTrafficPingPongArgs:
|
|
1181
1180
|
def __init__(__self__, *,
|
|
1182
|
-
ping_service: pulumi.Input[
|
|
1183
|
-
pong_service: pulumi.Input[
|
|
1181
|
+
ping_service: pulumi.Input[_builtins.str],
|
|
1182
|
+
pong_service: pulumi.Input[_builtins.str]):
|
|
1184
1183
|
"""
|
|
1185
|
-
:param pulumi.Input[
|
|
1186
|
-
:param pulumi.Input[
|
|
1184
|
+
:param pulumi.Input[_builtins.str] ping_service: Holds the name of the ping service.
|
|
1185
|
+
:param pulumi.Input[_builtins.str] pong_service: Holds the name of the pong service.
|
|
1187
1186
|
"""
|
|
1188
1187
|
pulumi.set(__self__, "ping_service", ping_service)
|
|
1189
1188
|
pulumi.set(__self__, "pong_service", pong_service)
|
|
1190
1189
|
|
|
1191
|
-
@property
|
|
1190
|
+
@_builtins.property
|
|
1192
1191
|
@pulumi.getter(name="pingService")
|
|
1193
|
-
def ping_service(self) -> pulumi.Input[
|
|
1192
|
+
def ping_service(self) -> pulumi.Input[_builtins.str]:
|
|
1194
1193
|
"""
|
|
1195
1194
|
Holds the name of the ping service.
|
|
1196
1195
|
"""
|
|
1197
1196
|
return pulumi.get(self, "ping_service")
|
|
1198
1197
|
|
|
1199
1198
|
@ping_service.setter
|
|
1200
|
-
def ping_service(self, value: pulumi.Input[
|
|
1199
|
+
def ping_service(self, value: pulumi.Input[_builtins.str]):
|
|
1201
1200
|
pulumi.set(self, "ping_service", value)
|
|
1202
1201
|
|
|
1203
|
-
@property
|
|
1202
|
+
@_builtins.property
|
|
1204
1203
|
@pulumi.getter(name="pongService")
|
|
1205
|
-
def pong_service(self) -> pulumi.Input[
|
|
1204
|
+
def pong_service(self) -> pulumi.Input[_builtins.str]:
|
|
1206
1205
|
"""
|
|
1207
1206
|
Holds the name of the pong service.
|
|
1208
1207
|
"""
|
|
1209
1208
|
return pulumi.get(self, "pong_service")
|
|
1210
1209
|
|
|
1211
1210
|
@pong_service.setter
|
|
1212
|
-
def pong_service(self, value: pulumi.Input[
|
|
1211
|
+
def pong_service(self, value: pulumi.Input[_builtins.str]):
|
|
1213
1212
|
pulumi.set(self, "pong_service", value)
|
|
1214
1213
|
|
|
1215
1214
|
|
|
1216
1215
|
if not MYPY:
|
|
1217
1216
|
class RolloutSpecTrafficSmiArgsDict(TypedDict):
|
|
1218
|
-
smi_root_service: NotRequired[pulumi.Input[
|
|
1217
|
+
smi_root_service: NotRequired[pulumi.Input[_builtins.str]]
|
|
1219
1218
|
"""
|
|
1220
1219
|
Holds the name of service that clients use to communicate.
|
|
1221
1220
|
"""
|
|
1222
|
-
traffic_split_name: NotRequired[pulumi.Input[
|
|
1221
|
+
traffic_split_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1223
1222
|
"""
|
|
1224
1223
|
Holds the name of the TrafficSplit.
|
|
1225
1224
|
"""
|
|
@@ -1229,39 +1228,39 @@ elif False:
|
|
|
1229
1228
|
@pulumi.input_type
|
|
1230
1229
|
class RolloutSpecTrafficSmiArgs:
|
|
1231
1230
|
def __init__(__self__, *,
|
|
1232
|
-
smi_root_service: Optional[pulumi.Input[
|
|
1233
|
-
traffic_split_name: Optional[pulumi.Input[
|
|
1231
|
+
smi_root_service: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1232
|
+
traffic_split_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1234
1233
|
"""
|
|
1235
|
-
:param pulumi.Input[
|
|
1236
|
-
:param pulumi.Input[
|
|
1234
|
+
:param pulumi.Input[_builtins.str] smi_root_service: Holds the name of service that clients use to communicate.
|
|
1235
|
+
:param pulumi.Input[_builtins.str] traffic_split_name: Holds the name of the TrafficSplit.
|
|
1237
1236
|
"""
|
|
1238
1237
|
if smi_root_service is not None:
|
|
1239
1238
|
pulumi.set(__self__, "smi_root_service", smi_root_service)
|
|
1240
1239
|
if traffic_split_name is not None:
|
|
1241
1240
|
pulumi.set(__self__, "traffic_split_name", traffic_split_name)
|
|
1242
1241
|
|
|
1243
|
-
@property
|
|
1242
|
+
@_builtins.property
|
|
1244
1243
|
@pulumi.getter(name="smiRootService")
|
|
1245
|
-
def smi_root_service(self) -> Optional[pulumi.Input[
|
|
1244
|
+
def smi_root_service(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1246
1245
|
"""
|
|
1247
1246
|
Holds the name of service that clients use to communicate.
|
|
1248
1247
|
"""
|
|
1249
1248
|
return pulumi.get(self, "smi_root_service")
|
|
1250
1249
|
|
|
1251
1250
|
@smi_root_service.setter
|
|
1252
|
-
def smi_root_service(self, value: Optional[pulumi.Input[
|
|
1251
|
+
def smi_root_service(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1253
1252
|
pulumi.set(self, "smi_root_service", value)
|
|
1254
1253
|
|
|
1255
|
-
@property
|
|
1254
|
+
@_builtins.property
|
|
1256
1255
|
@pulumi.getter(name="trafficSplitName")
|
|
1257
|
-
def traffic_split_name(self) -> Optional[pulumi.Input[
|
|
1256
|
+
def traffic_split_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1258
1257
|
"""
|
|
1259
1258
|
Holds the name of the TrafficSplit.
|
|
1260
1259
|
"""
|
|
1261
1260
|
return pulumi.get(self, "traffic_split_name")
|
|
1262
1261
|
|
|
1263
1262
|
@traffic_split_name.setter
|
|
1264
|
-
def traffic_split_name(self, value: Optional[pulumi.Input[
|
|
1263
|
+
def traffic_split_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1265
1264
|
pulumi.set(self, "traffic_split_name", value)
|
|
1266
1265
|
|
|
1267
1266
|
|
|
@@ -1291,7 +1290,7 @@ class StrategyCanaryArgs:
|
|
|
1291
1290
|
if background_verification is not None:
|
|
1292
1291
|
pulumi.set(__self__, "background_verification", background_verification)
|
|
1293
1292
|
|
|
1294
|
-
@property
|
|
1293
|
+
@_builtins.property
|
|
1295
1294
|
@pulumi.getter
|
|
1296
1295
|
def steps(self) -> pulumi.Input[Sequence[pulumi.Input['StrategyCanaryStepArgs']]]:
|
|
1297
1296
|
"""
|
|
@@ -1303,7 +1302,7 @@ class StrategyCanaryArgs:
|
|
|
1303
1302
|
def steps(self, value: pulumi.Input[Sequence[pulumi.Input['StrategyCanaryStepArgs']]]):
|
|
1304
1303
|
pulumi.set(self, "steps", value)
|
|
1305
1304
|
|
|
1306
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1307
1306
|
@pulumi.getter(name="backgroundVerification")
|
|
1308
1307
|
def background_verification(self) -> Optional[pulumi.Input['StrategyCanaryBackgroundVerificationArgs']]:
|
|
1309
1308
|
"""
|
|
@@ -1318,7 +1317,7 @@ class StrategyCanaryArgs:
|
|
|
1318
1317
|
|
|
1319
1318
|
if not MYPY:
|
|
1320
1319
|
class StrategyCanaryBackgroundVerificationArgsDict(TypedDict):
|
|
1321
|
-
template_names: pulumi.Input[Sequence[pulumi.Input[
|
|
1320
|
+
template_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
1322
1321
|
"""
|
|
1323
1322
|
List of Verification Template names.
|
|
1324
1323
|
"""
|
|
@@ -1328,22 +1327,22 @@ elif False:
|
|
|
1328
1327
|
@pulumi.input_type
|
|
1329
1328
|
class StrategyCanaryBackgroundVerificationArgs:
|
|
1330
1329
|
def __init__(__self__, *,
|
|
1331
|
-
template_names: pulumi.Input[Sequence[pulumi.Input[
|
|
1330
|
+
template_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1332
1331
|
"""
|
|
1333
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1332
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] template_names: List of Verification Template names.
|
|
1334
1333
|
"""
|
|
1335
1334
|
pulumi.set(__self__, "template_names", template_names)
|
|
1336
1335
|
|
|
1337
|
-
@property
|
|
1336
|
+
@_builtins.property
|
|
1338
1337
|
@pulumi.getter(name="templateNames")
|
|
1339
|
-
def template_names(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
1338
|
+
def template_names(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
1340
1339
|
"""
|
|
1341
1340
|
List of Verification Template names.
|
|
1342
1341
|
"""
|
|
1343
1342
|
return pulumi.get(self, "template_names")
|
|
1344
1343
|
|
|
1345
1344
|
@template_names.setter
|
|
1346
|
-
def template_names(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
1345
|
+
def template_names(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1347
1346
|
pulumi.set(self, "template_names", value)
|
|
1348
1347
|
|
|
1349
1348
|
|
|
@@ -1361,11 +1360,11 @@ if not MYPY:
|
|
|
1361
1360
|
"""
|
|
1362
1361
|
Defines the list of HeaderRoutes to add to the Rollout.
|
|
1363
1362
|
"""
|
|
1364
|
-
set_weight: NotRequired[pulumi.Input[
|
|
1363
|
+
set_weight: NotRequired[pulumi.Input[_builtins.int]]
|
|
1365
1364
|
"""
|
|
1366
1365
|
Defines the percentage that the new version should receive.
|
|
1367
1366
|
"""
|
|
1368
|
-
step_name: NotRequired[pulumi.Input[
|
|
1367
|
+
step_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1369
1368
|
verification: NotRequired[pulumi.Input['StrategyCanaryStepVerificationArgsDict']]
|
|
1370
1369
|
"""
|
|
1371
1370
|
Represents the list of verifications to run in a step.
|
|
@@ -1379,14 +1378,14 @@ class StrategyCanaryStepArgs:
|
|
|
1379
1378
|
pause: Optional[pulumi.Input['StrategyCanaryStepPauseArgs']] = None,
|
|
1380
1379
|
set_canary_scale: Optional[pulumi.Input['StrategyCanaryStepSetCanaryScaleArgs']] = None,
|
|
1381
1380
|
set_header_route: Optional[pulumi.Input['StrategyCanaryStepSetHeaderRouteArgs']] = None,
|
|
1382
|
-
set_weight: Optional[pulumi.Input[
|
|
1383
|
-
step_name: Optional[pulumi.Input[
|
|
1381
|
+
set_weight: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1382
|
+
step_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1384
1383
|
verification: Optional[pulumi.Input['StrategyCanaryStepVerificationArgs']] = None):
|
|
1385
1384
|
"""
|
|
1386
1385
|
:param pulumi.Input['StrategyCanaryStepPauseArgs'] pause: Defines the duration of time to freeze the rollout.
|
|
1387
1386
|
:param pulumi.Input['StrategyCanaryStepSetCanaryScaleArgs'] set_canary_scale: Defines how to scale the version without traffic weight changing.
|
|
1388
1387
|
:param pulumi.Input['StrategyCanaryStepSetHeaderRouteArgs'] set_header_route: Defines the list of HeaderRoutes to add to the Rollout.
|
|
1389
|
-
:param pulumi.Input[
|
|
1388
|
+
:param pulumi.Input[_builtins.int] set_weight: Defines the percentage that the new version should receive.
|
|
1390
1389
|
:param pulumi.Input['StrategyCanaryStepVerificationArgs'] verification: Represents the list of verifications to run in a step.
|
|
1391
1390
|
"""
|
|
1392
1391
|
if pause is not None:
|
|
@@ -1402,7 +1401,7 @@ class StrategyCanaryStepArgs:
|
|
|
1402
1401
|
if verification is not None:
|
|
1403
1402
|
pulumi.set(__self__, "verification", verification)
|
|
1404
1403
|
|
|
1405
|
-
@property
|
|
1404
|
+
@_builtins.property
|
|
1406
1405
|
@pulumi.getter
|
|
1407
1406
|
def pause(self) -> Optional[pulumi.Input['StrategyCanaryStepPauseArgs']]:
|
|
1408
1407
|
"""
|
|
@@ -1414,7 +1413,7 @@ class StrategyCanaryStepArgs:
|
|
|
1414
1413
|
def pause(self, value: Optional[pulumi.Input['StrategyCanaryStepPauseArgs']]):
|
|
1415
1414
|
pulumi.set(self, "pause", value)
|
|
1416
1415
|
|
|
1417
|
-
@property
|
|
1416
|
+
@_builtins.property
|
|
1418
1417
|
@pulumi.getter(name="setCanaryScale")
|
|
1419
1418
|
def set_canary_scale(self) -> Optional[pulumi.Input['StrategyCanaryStepSetCanaryScaleArgs']]:
|
|
1420
1419
|
"""
|
|
@@ -1426,7 +1425,7 @@ class StrategyCanaryStepArgs:
|
|
|
1426
1425
|
def set_canary_scale(self, value: Optional[pulumi.Input['StrategyCanaryStepSetCanaryScaleArgs']]):
|
|
1427
1426
|
pulumi.set(self, "set_canary_scale", value)
|
|
1428
1427
|
|
|
1429
|
-
@property
|
|
1428
|
+
@_builtins.property
|
|
1430
1429
|
@pulumi.getter(name="setHeaderRoute")
|
|
1431
1430
|
def set_header_route(self) -> Optional[pulumi.Input['StrategyCanaryStepSetHeaderRouteArgs']]:
|
|
1432
1431
|
"""
|
|
@@ -1438,28 +1437,28 @@ class StrategyCanaryStepArgs:
|
|
|
1438
1437
|
def set_header_route(self, value: Optional[pulumi.Input['StrategyCanaryStepSetHeaderRouteArgs']]):
|
|
1439
1438
|
pulumi.set(self, "set_header_route", value)
|
|
1440
1439
|
|
|
1441
|
-
@property
|
|
1440
|
+
@_builtins.property
|
|
1442
1441
|
@pulumi.getter(name="setWeight")
|
|
1443
|
-
def set_weight(self) -> Optional[pulumi.Input[
|
|
1442
|
+
def set_weight(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1444
1443
|
"""
|
|
1445
1444
|
Defines the percentage that the new version should receive.
|
|
1446
1445
|
"""
|
|
1447
1446
|
return pulumi.get(self, "set_weight")
|
|
1448
1447
|
|
|
1449
1448
|
@set_weight.setter
|
|
1450
|
-
def set_weight(self, value: Optional[pulumi.Input[
|
|
1449
|
+
def set_weight(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1451
1450
|
pulumi.set(self, "set_weight", value)
|
|
1452
1451
|
|
|
1453
|
-
@property
|
|
1452
|
+
@_builtins.property
|
|
1454
1453
|
@pulumi.getter(name="stepName")
|
|
1455
|
-
def step_name(self) -> Optional[pulumi.Input[
|
|
1454
|
+
def step_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1456
1455
|
return pulumi.get(self, "step_name")
|
|
1457
1456
|
|
|
1458
1457
|
@step_name.setter
|
|
1459
|
-
def step_name(self, value: Optional[pulumi.Input[
|
|
1458
|
+
def step_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1460
1459
|
pulumi.set(self, "step_name", value)
|
|
1461
1460
|
|
|
1462
|
-
@property
|
|
1461
|
+
@_builtins.property
|
|
1463
1462
|
@pulumi.getter
|
|
1464
1463
|
def verification(self) -> Optional[pulumi.Input['StrategyCanaryStepVerificationArgs']]:
|
|
1465
1464
|
"""
|
|
@@ -1474,7 +1473,7 @@ class StrategyCanaryStepArgs:
|
|
|
1474
1473
|
|
|
1475
1474
|
if not MYPY:
|
|
1476
1475
|
class StrategyCanaryStepPauseArgsDict(TypedDict):
|
|
1477
|
-
duration: NotRequired[pulumi.Input[
|
|
1476
|
+
duration: NotRequired[pulumi.Input[_builtins.str]]
|
|
1478
1477
|
"""
|
|
1479
1478
|
The amount of time to wait before moving to the next step.
|
|
1480
1479
|
"""
|
|
@@ -1484,37 +1483,37 @@ elif False:
|
|
|
1484
1483
|
@pulumi.input_type
|
|
1485
1484
|
class StrategyCanaryStepPauseArgs:
|
|
1486
1485
|
def __init__(__self__, *,
|
|
1487
|
-
duration: Optional[pulumi.Input[
|
|
1486
|
+
duration: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1488
1487
|
"""
|
|
1489
|
-
:param pulumi.Input[
|
|
1488
|
+
:param pulumi.Input[_builtins.str] duration: The amount of time to wait before moving to the next step.
|
|
1490
1489
|
"""
|
|
1491
1490
|
if duration is not None:
|
|
1492
1491
|
pulumi.set(__self__, "duration", duration)
|
|
1493
1492
|
|
|
1494
|
-
@property
|
|
1493
|
+
@_builtins.property
|
|
1495
1494
|
@pulumi.getter
|
|
1496
|
-
def duration(self) -> Optional[pulumi.Input[
|
|
1495
|
+
def duration(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1497
1496
|
"""
|
|
1498
1497
|
The amount of time to wait before moving to the next step.
|
|
1499
1498
|
"""
|
|
1500
1499
|
return pulumi.get(self, "duration")
|
|
1501
1500
|
|
|
1502
1501
|
@duration.setter
|
|
1503
|
-
def duration(self, value: Optional[pulumi.Input[
|
|
1502
|
+
def duration(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1504
1503
|
pulumi.set(self, "duration", value)
|
|
1505
1504
|
|
|
1506
1505
|
|
|
1507
1506
|
if not MYPY:
|
|
1508
1507
|
class StrategyCanaryStepSetCanaryScaleArgsDict(TypedDict):
|
|
1509
|
-
match_traffic_weight: NotRequired[pulumi.Input[
|
|
1508
|
+
match_traffic_weight: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1510
1509
|
"""
|
|
1511
1510
|
Defines whether a rollout should match the current canary's setWeight step.
|
|
1512
1511
|
"""
|
|
1513
|
-
replicas: NotRequired[pulumi.Input[
|
|
1512
|
+
replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1514
1513
|
"""
|
|
1515
1514
|
Sets the number of replicas the new version should have.
|
|
1516
1515
|
"""
|
|
1517
|
-
weight: NotRequired[pulumi.Input[
|
|
1516
|
+
weight: NotRequired[pulumi.Input[_builtins.int]]
|
|
1518
1517
|
"""
|
|
1519
1518
|
Sets the percentage of replicas the new version should have.
|
|
1520
1519
|
"""
|
|
@@ -1524,13 +1523,13 @@ elif False:
|
|
|
1524
1523
|
@pulumi.input_type
|
|
1525
1524
|
class StrategyCanaryStepSetCanaryScaleArgs:
|
|
1526
1525
|
def __init__(__self__, *,
|
|
1527
|
-
match_traffic_weight: Optional[pulumi.Input[
|
|
1528
|
-
replicas: Optional[pulumi.Input[
|
|
1529
|
-
weight: Optional[pulumi.Input[
|
|
1526
|
+
match_traffic_weight: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1527
|
+
replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1528
|
+
weight: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1530
1529
|
"""
|
|
1531
|
-
:param pulumi.Input[
|
|
1532
|
-
:param pulumi.Input[
|
|
1533
|
-
:param pulumi.Input[
|
|
1530
|
+
:param pulumi.Input[_builtins.bool] match_traffic_weight: Defines whether a rollout should match the current canary's setWeight step.
|
|
1531
|
+
:param pulumi.Input[_builtins.int] replicas: Sets the number of replicas the new version should have.
|
|
1532
|
+
:param pulumi.Input[_builtins.int] weight: Sets the percentage of replicas the new version should have.
|
|
1534
1533
|
"""
|
|
1535
1534
|
if match_traffic_weight is not None:
|
|
1536
1535
|
pulumi.set(__self__, "match_traffic_weight", match_traffic_weight)
|
|
@@ -1539,46 +1538,46 @@ class StrategyCanaryStepSetCanaryScaleArgs:
|
|
|
1539
1538
|
if weight is not None:
|
|
1540
1539
|
pulumi.set(__self__, "weight", weight)
|
|
1541
1540
|
|
|
1542
|
-
@property
|
|
1541
|
+
@_builtins.property
|
|
1543
1542
|
@pulumi.getter(name="matchTrafficWeight")
|
|
1544
|
-
def match_traffic_weight(self) -> Optional[pulumi.Input[
|
|
1543
|
+
def match_traffic_weight(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1545
1544
|
"""
|
|
1546
1545
|
Defines whether a rollout should match the current canary's setWeight step.
|
|
1547
1546
|
"""
|
|
1548
1547
|
return pulumi.get(self, "match_traffic_weight")
|
|
1549
1548
|
|
|
1550
1549
|
@match_traffic_weight.setter
|
|
1551
|
-
def match_traffic_weight(self, value: Optional[pulumi.Input[
|
|
1550
|
+
def match_traffic_weight(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1552
1551
|
pulumi.set(self, "match_traffic_weight", value)
|
|
1553
1552
|
|
|
1554
|
-
@property
|
|
1553
|
+
@_builtins.property
|
|
1555
1554
|
@pulumi.getter
|
|
1556
|
-
def replicas(self) -> Optional[pulumi.Input[
|
|
1555
|
+
def replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1557
1556
|
"""
|
|
1558
1557
|
Sets the number of replicas the new version should have.
|
|
1559
1558
|
"""
|
|
1560
1559
|
return pulumi.get(self, "replicas")
|
|
1561
1560
|
|
|
1562
1561
|
@replicas.setter
|
|
1563
|
-
def replicas(self, value: Optional[pulumi.Input[
|
|
1562
|
+
def replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1564
1563
|
pulumi.set(self, "replicas", value)
|
|
1565
1564
|
|
|
1566
|
-
@property
|
|
1565
|
+
@_builtins.property
|
|
1567
1566
|
@pulumi.getter
|
|
1568
|
-
def weight(self) -> Optional[pulumi.Input[
|
|
1567
|
+
def weight(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1569
1568
|
"""
|
|
1570
1569
|
Sets the percentage of replicas the new version should have.
|
|
1571
1570
|
"""
|
|
1572
1571
|
return pulumi.get(self, "weight")
|
|
1573
1572
|
|
|
1574
1573
|
@weight.setter
|
|
1575
|
-
def weight(self, value: Optional[pulumi.Input[
|
|
1574
|
+
def weight(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1576
1575
|
pulumi.set(self, "weight", value)
|
|
1577
1576
|
|
|
1578
1577
|
|
|
1579
1578
|
if not MYPY:
|
|
1580
1579
|
class StrategyCanaryStepSetHeaderRouteArgsDict(TypedDict):
|
|
1581
|
-
header_route_name: pulumi.Input[
|
|
1580
|
+
header_route_name: pulumi.Input[_builtins.str]
|
|
1582
1581
|
"""
|
|
1583
1582
|
The name of the HeaderRoute group.
|
|
1584
1583
|
"""
|
|
@@ -1592,28 +1591,28 @@ elif False:
|
|
|
1592
1591
|
@pulumi.input_type
|
|
1593
1592
|
class StrategyCanaryStepSetHeaderRouteArgs:
|
|
1594
1593
|
def __init__(__self__, *,
|
|
1595
|
-
header_route_name: pulumi.Input[
|
|
1594
|
+
header_route_name: pulumi.Input[_builtins.str],
|
|
1596
1595
|
matches: pulumi.Input[Sequence[pulumi.Input['StrategyCanaryStepSetHeaderRouteMatchArgs']]]):
|
|
1597
1596
|
"""
|
|
1598
|
-
:param pulumi.Input[
|
|
1597
|
+
:param pulumi.Input[_builtins.str] header_route_name: The name of the HeaderRoute group.
|
|
1599
1598
|
:param pulumi.Input[Sequence[pulumi.Input['StrategyCanaryStepSetHeaderRouteMatchArgs']]] matches: The matching rules for the header route.
|
|
1600
1599
|
"""
|
|
1601
1600
|
pulumi.set(__self__, "header_route_name", header_route_name)
|
|
1602
1601
|
pulumi.set(__self__, "matches", matches)
|
|
1603
1602
|
|
|
1604
|
-
@property
|
|
1603
|
+
@_builtins.property
|
|
1605
1604
|
@pulumi.getter(name="headerRouteName")
|
|
1606
|
-
def header_route_name(self) -> pulumi.Input[
|
|
1605
|
+
def header_route_name(self) -> pulumi.Input[_builtins.str]:
|
|
1607
1606
|
"""
|
|
1608
1607
|
The name of the HeaderRoute group.
|
|
1609
1608
|
"""
|
|
1610
1609
|
return pulumi.get(self, "header_route_name")
|
|
1611
1610
|
|
|
1612
1611
|
@header_route_name.setter
|
|
1613
|
-
def header_route_name(self, value: pulumi.Input[
|
|
1612
|
+
def header_route_name(self, value: pulumi.Input[_builtins.str]):
|
|
1614
1613
|
pulumi.set(self, "header_route_name", value)
|
|
1615
1614
|
|
|
1616
|
-
@property
|
|
1615
|
+
@_builtins.property
|
|
1617
1616
|
@pulumi.getter
|
|
1618
1617
|
def matches(self) -> pulumi.Input[Sequence[pulumi.Input['StrategyCanaryStepSetHeaderRouteMatchArgs']]]:
|
|
1619
1618
|
"""
|
|
@@ -1628,7 +1627,7 @@ class StrategyCanaryStepSetHeaderRouteArgs:
|
|
|
1628
1627
|
|
|
1629
1628
|
if not MYPY:
|
|
1630
1629
|
class StrategyCanaryStepSetHeaderRouteMatchArgsDict(TypedDict):
|
|
1631
|
-
header_name: pulumi.Input[
|
|
1630
|
+
header_name: pulumi.Input[_builtins.str]
|
|
1632
1631
|
"""
|
|
1633
1632
|
The name of the header.
|
|
1634
1633
|
"""
|
|
@@ -1642,28 +1641,28 @@ elif False:
|
|
|
1642
1641
|
@pulumi.input_type
|
|
1643
1642
|
class StrategyCanaryStepSetHeaderRouteMatchArgs:
|
|
1644
1643
|
def __init__(__self__, *,
|
|
1645
|
-
header_name: pulumi.Input[
|
|
1644
|
+
header_name: pulumi.Input[_builtins.str],
|
|
1646
1645
|
header_value: pulumi.Input['StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs']):
|
|
1647
1646
|
"""
|
|
1648
|
-
:param pulumi.Input[
|
|
1647
|
+
:param pulumi.Input[_builtins.str] header_name: The name of the header.
|
|
1649
1648
|
:param pulumi.Input['StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs'] header_value: Defines a single header to add to the Rollout. Must be only one initialized from the following (exact, prefix, regex).
|
|
1650
1649
|
"""
|
|
1651
1650
|
pulumi.set(__self__, "header_name", header_name)
|
|
1652
1651
|
pulumi.set(__self__, "header_value", header_value)
|
|
1653
1652
|
|
|
1654
|
-
@property
|
|
1653
|
+
@_builtins.property
|
|
1655
1654
|
@pulumi.getter(name="headerName")
|
|
1656
|
-
def header_name(self) -> pulumi.Input[
|
|
1655
|
+
def header_name(self) -> pulumi.Input[_builtins.str]:
|
|
1657
1656
|
"""
|
|
1658
1657
|
The name of the header.
|
|
1659
1658
|
"""
|
|
1660
1659
|
return pulumi.get(self, "header_name")
|
|
1661
1660
|
|
|
1662
1661
|
@header_name.setter
|
|
1663
|
-
def header_name(self, value: pulumi.Input[
|
|
1662
|
+
def header_name(self, value: pulumi.Input[_builtins.str]):
|
|
1664
1663
|
pulumi.set(self, "header_name", value)
|
|
1665
1664
|
|
|
1666
|
-
@property
|
|
1665
|
+
@_builtins.property
|
|
1667
1666
|
@pulumi.getter(name="headerValue")
|
|
1668
1667
|
def header_value(self) -> pulumi.Input['StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs']:
|
|
1669
1668
|
"""
|
|
@@ -1678,15 +1677,15 @@ class StrategyCanaryStepSetHeaderRouteMatchArgs:
|
|
|
1678
1677
|
|
|
1679
1678
|
if not MYPY:
|
|
1680
1679
|
class StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgsDict(TypedDict):
|
|
1681
|
-
exact: NotRequired[pulumi.Input[
|
|
1680
|
+
exact: NotRequired[pulumi.Input[_builtins.str]]
|
|
1682
1681
|
"""
|
|
1683
1682
|
The exact header value.
|
|
1684
1683
|
"""
|
|
1685
|
-
prefix: NotRequired[pulumi.Input[
|
|
1684
|
+
prefix: NotRequired[pulumi.Input[_builtins.str]]
|
|
1686
1685
|
"""
|
|
1687
1686
|
The prefix of the value.
|
|
1688
1687
|
"""
|
|
1689
|
-
regex: NotRequired[pulumi.Input[
|
|
1688
|
+
regex: NotRequired[pulumi.Input[_builtins.str]]
|
|
1690
1689
|
"""
|
|
1691
1690
|
The value in a regex format.
|
|
1692
1691
|
"""
|
|
@@ -1696,13 +1695,13 @@ elif False:
|
|
|
1696
1695
|
@pulumi.input_type
|
|
1697
1696
|
class StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs:
|
|
1698
1697
|
def __init__(__self__, *,
|
|
1699
|
-
exact: Optional[pulumi.Input[
|
|
1700
|
-
prefix: Optional[pulumi.Input[
|
|
1701
|
-
regex: Optional[pulumi.Input[
|
|
1698
|
+
exact: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1699
|
+
prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1700
|
+
regex: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1702
1701
|
"""
|
|
1703
|
-
:param pulumi.Input[
|
|
1704
|
-
:param pulumi.Input[
|
|
1705
|
-
:param pulumi.Input[
|
|
1702
|
+
:param pulumi.Input[_builtins.str] exact: The exact header value.
|
|
1703
|
+
:param pulumi.Input[_builtins.str] prefix: The prefix of the value.
|
|
1704
|
+
:param pulumi.Input[_builtins.str] regex: The value in a regex format.
|
|
1706
1705
|
"""
|
|
1707
1706
|
if exact is not None:
|
|
1708
1707
|
pulumi.set(__self__, "exact", exact)
|
|
@@ -1711,46 +1710,46 @@ class StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs:
|
|
|
1711
1710
|
if regex is not None:
|
|
1712
1711
|
pulumi.set(__self__, "regex", regex)
|
|
1713
1712
|
|
|
1714
|
-
@property
|
|
1713
|
+
@_builtins.property
|
|
1715
1714
|
@pulumi.getter
|
|
1716
|
-
def exact(self) -> Optional[pulumi.Input[
|
|
1715
|
+
def exact(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1717
1716
|
"""
|
|
1718
1717
|
The exact header value.
|
|
1719
1718
|
"""
|
|
1720
1719
|
return pulumi.get(self, "exact")
|
|
1721
1720
|
|
|
1722
1721
|
@exact.setter
|
|
1723
|
-
def exact(self, value: Optional[pulumi.Input[
|
|
1722
|
+
def exact(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1724
1723
|
pulumi.set(self, "exact", value)
|
|
1725
1724
|
|
|
1726
|
-
@property
|
|
1725
|
+
@_builtins.property
|
|
1727
1726
|
@pulumi.getter
|
|
1728
|
-
def prefix(self) -> Optional[pulumi.Input[
|
|
1727
|
+
def prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1729
1728
|
"""
|
|
1730
1729
|
The prefix of the value.
|
|
1731
1730
|
"""
|
|
1732
1731
|
return pulumi.get(self, "prefix")
|
|
1733
1732
|
|
|
1734
1733
|
@prefix.setter
|
|
1735
|
-
def prefix(self, value: Optional[pulumi.Input[
|
|
1734
|
+
def prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1736
1735
|
pulumi.set(self, "prefix", value)
|
|
1737
1736
|
|
|
1738
|
-
@property
|
|
1737
|
+
@_builtins.property
|
|
1739
1738
|
@pulumi.getter
|
|
1740
|
-
def regex(self) -> Optional[pulumi.Input[
|
|
1739
|
+
def regex(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1741
1740
|
"""
|
|
1742
1741
|
The value in a regex format.
|
|
1743
1742
|
"""
|
|
1744
1743
|
return pulumi.get(self, "regex")
|
|
1745
1744
|
|
|
1746
1745
|
@regex.setter
|
|
1747
|
-
def regex(self, value: Optional[pulumi.Input[
|
|
1746
|
+
def regex(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1748
1747
|
pulumi.set(self, "regex", value)
|
|
1749
1748
|
|
|
1750
1749
|
|
|
1751
1750
|
if not MYPY:
|
|
1752
1751
|
class StrategyCanaryStepVerificationArgsDict(TypedDict):
|
|
1753
|
-
template_names: pulumi.Input[Sequence[pulumi.Input[
|
|
1752
|
+
template_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
1754
1753
|
"""
|
|
1755
1754
|
List of Verification Template names.
|
|
1756
1755
|
"""
|
|
@@ -1760,22 +1759,22 @@ elif False:
|
|
|
1760
1759
|
@pulumi.input_type
|
|
1761
1760
|
class StrategyCanaryStepVerificationArgs:
|
|
1762
1761
|
def __init__(__self__, *,
|
|
1763
|
-
template_names: pulumi.Input[Sequence[pulumi.Input[
|
|
1762
|
+
template_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1764
1763
|
"""
|
|
1765
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1764
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] template_names: List of Verification Template names.
|
|
1766
1765
|
"""
|
|
1767
1766
|
pulumi.set(__self__, "template_names", template_names)
|
|
1768
1767
|
|
|
1769
|
-
@property
|
|
1768
|
+
@_builtins.property
|
|
1770
1769
|
@pulumi.getter(name="templateNames")
|
|
1771
|
-
def template_names(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
1770
|
+
def template_names(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
1772
1771
|
"""
|
|
1773
1772
|
List of Verification Template names.
|
|
1774
1773
|
"""
|
|
1775
1774
|
return pulumi.get(self, "template_names")
|
|
1776
1775
|
|
|
1777
1776
|
@template_names.setter
|
|
1778
|
-
def template_names(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
1777
|
+
def template_names(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1779
1778
|
pulumi.set(self, "template_names", value)
|
|
1780
1779
|
|
|
1781
1780
|
|
|
@@ -1797,7 +1796,7 @@ class StrategyRollingArgs:
|
|
|
1797
1796
|
"""
|
|
1798
1797
|
pulumi.set(__self__, "steps", steps)
|
|
1799
1798
|
|
|
1800
|
-
@property
|
|
1799
|
+
@_builtins.property
|
|
1801
1800
|
@pulumi.getter
|
|
1802
1801
|
def steps(self) -> pulumi.Input[Sequence[pulumi.Input['StrategyRollingStepArgs']]]:
|
|
1803
1802
|
"""
|
|
@@ -1816,7 +1815,7 @@ if not MYPY:
|
|
|
1816
1815
|
"""
|
|
1817
1816
|
Defines the duration of time to freeze the rollout.
|
|
1818
1817
|
"""
|
|
1819
|
-
steps_name: NotRequired[pulumi.Input[
|
|
1818
|
+
steps_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1820
1819
|
verification: NotRequired[pulumi.Input['StrategyRollingStepVerificationArgsDict']]
|
|
1821
1820
|
"""
|
|
1822
1821
|
Represents the list of verifications to run in a step.
|
|
@@ -1828,7 +1827,7 @@ elif False:
|
|
|
1828
1827
|
class StrategyRollingStepArgs:
|
|
1829
1828
|
def __init__(__self__, *,
|
|
1830
1829
|
pause: Optional[pulumi.Input['StrategyRollingStepPauseArgs']] = None,
|
|
1831
|
-
steps_name: Optional[pulumi.Input[
|
|
1830
|
+
steps_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1832
1831
|
verification: Optional[pulumi.Input['StrategyRollingStepVerificationArgs']] = None):
|
|
1833
1832
|
"""
|
|
1834
1833
|
:param pulumi.Input['StrategyRollingStepPauseArgs'] pause: Defines the duration of time to freeze the rollout.
|
|
@@ -1841,7 +1840,7 @@ class StrategyRollingStepArgs:
|
|
|
1841
1840
|
if verification is not None:
|
|
1842
1841
|
pulumi.set(__self__, "verification", verification)
|
|
1843
1842
|
|
|
1844
|
-
@property
|
|
1843
|
+
@_builtins.property
|
|
1845
1844
|
@pulumi.getter
|
|
1846
1845
|
def pause(self) -> Optional[pulumi.Input['StrategyRollingStepPauseArgs']]:
|
|
1847
1846
|
"""
|
|
@@ -1853,16 +1852,16 @@ class StrategyRollingStepArgs:
|
|
|
1853
1852
|
def pause(self, value: Optional[pulumi.Input['StrategyRollingStepPauseArgs']]):
|
|
1854
1853
|
pulumi.set(self, "pause", value)
|
|
1855
1854
|
|
|
1856
|
-
@property
|
|
1855
|
+
@_builtins.property
|
|
1857
1856
|
@pulumi.getter(name="stepsName")
|
|
1858
|
-
def steps_name(self) -> Optional[pulumi.Input[
|
|
1857
|
+
def steps_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1859
1858
|
return pulumi.get(self, "steps_name")
|
|
1860
1859
|
|
|
1861
1860
|
@steps_name.setter
|
|
1862
|
-
def steps_name(self, value: Optional[pulumi.Input[
|
|
1861
|
+
def steps_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1863
1862
|
pulumi.set(self, "steps_name", value)
|
|
1864
1863
|
|
|
1865
|
-
@property
|
|
1864
|
+
@_builtins.property
|
|
1866
1865
|
@pulumi.getter
|
|
1867
1866
|
def verification(self) -> Optional[pulumi.Input['StrategyRollingStepVerificationArgs']]:
|
|
1868
1867
|
"""
|
|
@@ -1877,7 +1876,7 @@ class StrategyRollingStepArgs:
|
|
|
1877
1876
|
|
|
1878
1877
|
if not MYPY:
|
|
1879
1878
|
class StrategyRollingStepPauseArgsDict(TypedDict):
|
|
1880
|
-
duration: NotRequired[pulumi.Input[
|
|
1879
|
+
duration: NotRequired[pulumi.Input[_builtins.str]]
|
|
1881
1880
|
"""
|
|
1882
1881
|
The amount of time to wait before moving to the next step.
|
|
1883
1882
|
"""
|
|
@@ -1887,29 +1886,29 @@ elif False:
|
|
|
1887
1886
|
@pulumi.input_type
|
|
1888
1887
|
class StrategyRollingStepPauseArgs:
|
|
1889
1888
|
def __init__(__self__, *,
|
|
1890
|
-
duration: Optional[pulumi.Input[
|
|
1889
|
+
duration: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1891
1890
|
"""
|
|
1892
|
-
:param pulumi.Input[
|
|
1891
|
+
:param pulumi.Input[_builtins.str] duration: The amount of time to wait before moving to the next step.
|
|
1893
1892
|
"""
|
|
1894
1893
|
if duration is not None:
|
|
1895
1894
|
pulumi.set(__self__, "duration", duration)
|
|
1896
1895
|
|
|
1897
|
-
@property
|
|
1896
|
+
@_builtins.property
|
|
1898
1897
|
@pulumi.getter
|
|
1899
|
-
def duration(self) -> Optional[pulumi.Input[
|
|
1898
|
+
def duration(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1900
1899
|
"""
|
|
1901
1900
|
The amount of time to wait before moving to the next step.
|
|
1902
1901
|
"""
|
|
1903
1902
|
return pulumi.get(self, "duration")
|
|
1904
1903
|
|
|
1905
1904
|
@duration.setter
|
|
1906
|
-
def duration(self, value: Optional[pulumi.Input[
|
|
1905
|
+
def duration(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1907
1906
|
pulumi.set(self, "duration", value)
|
|
1908
1907
|
|
|
1909
1908
|
|
|
1910
1909
|
if not MYPY:
|
|
1911
1910
|
class StrategyRollingStepVerificationArgsDict(TypedDict):
|
|
1912
|
-
template_names: pulumi.Input[Sequence[pulumi.Input[
|
|
1911
|
+
template_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
1913
1912
|
"""
|
|
1914
1913
|
List of Verification Template names.
|
|
1915
1914
|
"""
|
|
@@ -1919,28 +1918,28 @@ elif False:
|
|
|
1919
1918
|
@pulumi.input_type
|
|
1920
1919
|
class StrategyRollingStepVerificationArgs:
|
|
1921
1920
|
def __init__(__self__, *,
|
|
1922
|
-
template_names: pulumi.Input[Sequence[pulumi.Input[
|
|
1921
|
+
template_names: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1923
1922
|
"""
|
|
1924
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1923
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] template_names: List of Verification Template names.
|
|
1925
1924
|
"""
|
|
1926
1925
|
pulumi.set(__self__, "template_names", template_names)
|
|
1927
1926
|
|
|
1928
|
-
@property
|
|
1927
|
+
@_builtins.property
|
|
1929
1928
|
@pulumi.getter(name="templateNames")
|
|
1930
|
-
def template_names(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
1929
|
+
def template_names(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
1931
1930
|
"""
|
|
1932
1931
|
List of Verification Template names.
|
|
1933
1932
|
"""
|
|
1934
1933
|
return pulumi.get(self, "template_names")
|
|
1935
1934
|
|
|
1936
1935
|
@template_names.setter
|
|
1937
|
-
def template_names(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
1936
|
+
def template_names(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
1938
1937
|
pulumi.set(self, "template_names", value)
|
|
1939
1938
|
|
|
1940
1939
|
|
|
1941
1940
|
if not MYPY:
|
|
1942
1941
|
class VerificationProviderCloudWatchArgsDict(TypedDict):
|
|
1943
|
-
iam_arn: pulumi.Input[
|
|
1942
|
+
iam_arn: pulumi.Input[_builtins.str]
|
|
1944
1943
|
"""
|
|
1945
1944
|
Set label key.
|
|
1946
1945
|
"""
|
|
@@ -1950,36 +1949,36 @@ elif False:
|
|
|
1950
1949
|
@pulumi.input_type
|
|
1951
1950
|
class VerificationProviderCloudWatchArgs:
|
|
1952
1951
|
def __init__(__self__, *,
|
|
1953
|
-
iam_arn: pulumi.Input[
|
|
1952
|
+
iam_arn: pulumi.Input[_builtins.str]):
|
|
1954
1953
|
"""
|
|
1955
|
-
:param pulumi.Input[
|
|
1954
|
+
:param pulumi.Input[_builtins.str] iam_arn: Set label key.
|
|
1956
1955
|
"""
|
|
1957
1956
|
pulumi.set(__self__, "iam_arn", iam_arn)
|
|
1958
1957
|
|
|
1959
|
-
@property
|
|
1958
|
+
@_builtins.property
|
|
1960
1959
|
@pulumi.getter(name="iamArn")
|
|
1961
|
-
def iam_arn(self) -> pulumi.Input[
|
|
1960
|
+
def iam_arn(self) -> pulumi.Input[_builtins.str]:
|
|
1962
1961
|
"""
|
|
1963
1962
|
Set label key.
|
|
1964
1963
|
"""
|
|
1965
1964
|
return pulumi.get(self, "iam_arn")
|
|
1966
1965
|
|
|
1967
1966
|
@iam_arn.setter
|
|
1968
|
-
def iam_arn(self, value: pulumi.Input[
|
|
1967
|
+
def iam_arn(self, value: pulumi.Input[_builtins.str]):
|
|
1969
1968
|
pulumi.set(self, "iam_arn", value)
|
|
1970
1969
|
|
|
1971
1970
|
|
|
1972
1971
|
if not MYPY:
|
|
1973
1972
|
class VerificationProviderDatadogArgsDict(TypedDict):
|
|
1974
|
-
address: pulumi.Input[
|
|
1973
|
+
address: pulumi.Input[_builtins.str]
|
|
1975
1974
|
"""
|
|
1976
1975
|
DataDog API URL.
|
|
1977
1976
|
"""
|
|
1978
|
-
api_key: pulumi.Input[
|
|
1977
|
+
api_key: pulumi.Input[_builtins.str]
|
|
1979
1978
|
"""
|
|
1980
1979
|
API key required by the Datadog Agent to submit metrics and events to Datadog.
|
|
1981
1980
|
"""
|
|
1982
|
-
app_key: pulumi.Input[
|
|
1981
|
+
app_key: pulumi.Input[_builtins.str]
|
|
1983
1982
|
"""
|
|
1984
1983
|
API key that gives users access to Datadog’s programmatic API.
|
|
1985
1984
|
"""
|
|
@@ -1989,66 +1988,66 @@ elif False:
|
|
|
1989
1988
|
@pulumi.input_type
|
|
1990
1989
|
class VerificationProviderDatadogArgs:
|
|
1991
1990
|
def __init__(__self__, *,
|
|
1992
|
-
address: pulumi.Input[
|
|
1993
|
-
api_key: pulumi.Input[
|
|
1994
|
-
app_key: pulumi.Input[
|
|
1991
|
+
address: pulumi.Input[_builtins.str],
|
|
1992
|
+
api_key: pulumi.Input[_builtins.str],
|
|
1993
|
+
app_key: pulumi.Input[_builtins.str]):
|
|
1995
1994
|
"""
|
|
1996
|
-
:param pulumi.Input[
|
|
1997
|
-
:param pulumi.Input[
|
|
1998
|
-
:param pulumi.Input[
|
|
1995
|
+
:param pulumi.Input[_builtins.str] address: DataDog API URL.
|
|
1996
|
+
:param pulumi.Input[_builtins.str] api_key: API key required by the Datadog Agent to submit metrics and events to Datadog.
|
|
1997
|
+
:param pulumi.Input[_builtins.str] app_key: API key that gives users access to Datadog’s programmatic API.
|
|
1999
1998
|
"""
|
|
2000
1999
|
pulumi.set(__self__, "address", address)
|
|
2001
2000
|
pulumi.set(__self__, "api_key", api_key)
|
|
2002
2001
|
pulumi.set(__self__, "app_key", app_key)
|
|
2003
2002
|
|
|
2004
|
-
@property
|
|
2003
|
+
@_builtins.property
|
|
2005
2004
|
@pulumi.getter
|
|
2006
|
-
def address(self) -> pulumi.Input[
|
|
2005
|
+
def address(self) -> pulumi.Input[_builtins.str]:
|
|
2007
2006
|
"""
|
|
2008
2007
|
DataDog API URL.
|
|
2009
2008
|
"""
|
|
2010
2009
|
return pulumi.get(self, "address")
|
|
2011
2010
|
|
|
2012
2011
|
@address.setter
|
|
2013
|
-
def address(self, value: pulumi.Input[
|
|
2012
|
+
def address(self, value: pulumi.Input[_builtins.str]):
|
|
2014
2013
|
pulumi.set(self, "address", value)
|
|
2015
2014
|
|
|
2016
|
-
@property
|
|
2015
|
+
@_builtins.property
|
|
2017
2016
|
@pulumi.getter(name="apiKey")
|
|
2018
|
-
def api_key(self) -> pulumi.Input[
|
|
2017
|
+
def api_key(self) -> pulumi.Input[_builtins.str]:
|
|
2019
2018
|
"""
|
|
2020
2019
|
API key required by the Datadog Agent to submit metrics and events to Datadog.
|
|
2021
2020
|
"""
|
|
2022
2021
|
return pulumi.get(self, "api_key")
|
|
2023
2022
|
|
|
2024
2023
|
@api_key.setter
|
|
2025
|
-
def api_key(self, value: pulumi.Input[
|
|
2024
|
+
def api_key(self, value: pulumi.Input[_builtins.str]):
|
|
2026
2025
|
pulumi.set(self, "api_key", value)
|
|
2027
2026
|
|
|
2028
|
-
@property
|
|
2027
|
+
@_builtins.property
|
|
2029
2028
|
@pulumi.getter(name="appKey")
|
|
2030
|
-
def app_key(self) -> pulumi.Input[
|
|
2029
|
+
def app_key(self) -> pulumi.Input[_builtins.str]:
|
|
2031
2030
|
"""
|
|
2032
2031
|
API key that gives users access to Datadog’s programmatic API.
|
|
2033
2032
|
"""
|
|
2034
2033
|
return pulumi.get(self, "app_key")
|
|
2035
2034
|
|
|
2036
2035
|
@app_key.setter
|
|
2037
|
-
def app_key(self, value: pulumi.Input[
|
|
2036
|
+
def app_key(self, value: pulumi.Input[_builtins.str]):
|
|
2038
2037
|
pulumi.set(self, "app_key", value)
|
|
2039
2038
|
|
|
2040
2039
|
|
|
2041
2040
|
if not MYPY:
|
|
2042
2041
|
class VerificationProviderJenkinsArgsDict(TypedDict):
|
|
2043
|
-
api_token: pulumi.Input[
|
|
2042
|
+
api_token: pulumi.Input[_builtins.str]
|
|
2044
2043
|
"""
|
|
2045
2044
|
The Jenkins server’s access apiToken.
|
|
2046
2045
|
"""
|
|
2047
|
-
base_url: pulumi.Input[
|
|
2046
|
+
base_url: pulumi.Input[_builtins.str]
|
|
2048
2047
|
"""
|
|
2049
2048
|
The address of the Jenkins server within the cluster.
|
|
2050
2049
|
"""
|
|
2051
|
-
username: pulumi.Input[
|
|
2050
|
+
username: pulumi.Input[_builtins.str]
|
|
2052
2051
|
"""
|
|
2053
2052
|
The Jenkins server’s access username.
|
|
2054
2053
|
"""
|
|
@@ -2058,71 +2057,71 @@ elif False:
|
|
|
2058
2057
|
@pulumi.input_type
|
|
2059
2058
|
class VerificationProviderJenkinsArgs:
|
|
2060
2059
|
def __init__(__self__, *,
|
|
2061
|
-
api_token: pulumi.Input[
|
|
2062
|
-
base_url: pulumi.Input[
|
|
2063
|
-
username: pulumi.Input[
|
|
2060
|
+
api_token: pulumi.Input[_builtins.str],
|
|
2061
|
+
base_url: pulumi.Input[_builtins.str],
|
|
2062
|
+
username: pulumi.Input[_builtins.str]):
|
|
2064
2063
|
"""
|
|
2065
|
-
:param pulumi.Input[
|
|
2066
|
-
:param pulumi.Input[
|
|
2067
|
-
:param pulumi.Input[
|
|
2064
|
+
:param pulumi.Input[_builtins.str] api_token: The Jenkins server’s access apiToken.
|
|
2065
|
+
:param pulumi.Input[_builtins.str] base_url: The address of the Jenkins server within the cluster.
|
|
2066
|
+
:param pulumi.Input[_builtins.str] username: The Jenkins server’s access username.
|
|
2068
2067
|
"""
|
|
2069
2068
|
pulumi.set(__self__, "api_token", api_token)
|
|
2070
2069
|
pulumi.set(__self__, "base_url", base_url)
|
|
2071
2070
|
pulumi.set(__self__, "username", username)
|
|
2072
2071
|
|
|
2073
|
-
@property
|
|
2072
|
+
@_builtins.property
|
|
2074
2073
|
@pulumi.getter(name="apiToken")
|
|
2075
|
-
def api_token(self) -> pulumi.Input[
|
|
2074
|
+
def api_token(self) -> pulumi.Input[_builtins.str]:
|
|
2076
2075
|
"""
|
|
2077
2076
|
The Jenkins server’s access apiToken.
|
|
2078
2077
|
"""
|
|
2079
2078
|
return pulumi.get(self, "api_token")
|
|
2080
2079
|
|
|
2081
2080
|
@api_token.setter
|
|
2082
|
-
def api_token(self, value: pulumi.Input[
|
|
2081
|
+
def api_token(self, value: pulumi.Input[_builtins.str]):
|
|
2083
2082
|
pulumi.set(self, "api_token", value)
|
|
2084
2083
|
|
|
2085
|
-
@property
|
|
2084
|
+
@_builtins.property
|
|
2086
2085
|
@pulumi.getter(name="baseUrl")
|
|
2087
|
-
def base_url(self) -> pulumi.Input[
|
|
2086
|
+
def base_url(self) -> pulumi.Input[_builtins.str]:
|
|
2088
2087
|
"""
|
|
2089
2088
|
The address of the Jenkins server within the cluster.
|
|
2090
2089
|
"""
|
|
2091
2090
|
return pulumi.get(self, "base_url")
|
|
2092
2091
|
|
|
2093
2092
|
@base_url.setter
|
|
2094
|
-
def base_url(self, value: pulumi.Input[
|
|
2093
|
+
def base_url(self, value: pulumi.Input[_builtins.str]):
|
|
2095
2094
|
pulumi.set(self, "base_url", value)
|
|
2096
2095
|
|
|
2097
|
-
@property
|
|
2096
|
+
@_builtins.property
|
|
2098
2097
|
@pulumi.getter
|
|
2099
|
-
def username(self) -> pulumi.Input[
|
|
2098
|
+
def username(self) -> pulumi.Input[_builtins.str]:
|
|
2100
2099
|
"""
|
|
2101
2100
|
The Jenkins server’s access username.
|
|
2102
2101
|
"""
|
|
2103
2102
|
return pulumi.get(self, "username")
|
|
2104
2103
|
|
|
2105
2104
|
@username.setter
|
|
2106
|
-
def username(self, value: pulumi.Input[
|
|
2105
|
+
def username(self, value: pulumi.Input[_builtins.str]):
|
|
2107
2106
|
pulumi.set(self, "username", value)
|
|
2108
2107
|
|
|
2109
2108
|
|
|
2110
2109
|
if not MYPY:
|
|
2111
2110
|
class VerificationProviderNewRelicArgsDict(TypedDict):
|
|
2112
|
-
account_id: pulumi.Input[
|
|
2113
|
-
personal_api_key: pulumi.Input[
|
|
2111
|
+
account_id: pulumi.Input[_builtins.str]
|
|
2112
|
+
personal_api_key: pulumi.Input[_builtins.str]
|
|
2114
2113
|
"""
|
|
2115
2114
|
The NewRelic user key
|
|
2116
2115
|
"""
|
|
2117
|
-
base_url_nerd_graph: NotRequired[pulumi.Input[
|
|
2116
|
+
base_url_nerd_graph: NotRequired[pulumi.Input[_builtins.str]]
|
|
2118
2117
|
"""
|
|
2119
2118
|
The base URL for NerdGraph for a proxy.
|
|
2120
2119
|
"""
|
|
2121
|
-
base_url_rest: NotRequired[pulumi.Input[
|
|
2120
|
+
base_url_rest: NotRequired[pulumi.Input[_builtins.str]]
|
|
2122
2121
|
"""
|
|
2123
2122
|
The base URL of the New Relic REST API for a proxy.
|
|
2124
2123
|
"""
|
|
2125
|
-
region: NotRequired[pulumi.Input[
|
|
2124
|
+
region: NotRequired[pulumi.Input[_builtins.str]]
|
|
2126
2125
|
"""
|
|
2127
2126
|
A region which the account is attached to. Default is "us".
|
|
2128
2127
|
"""
|
|
@@ -2132,16 +2131,16 @@ elif False:
|
|
|
2132
2131
|
@pulumi.input_type
|
|
2133
2132
|
class VerificationProviderNewRelicArgs:
|
|
2134
2133
|
def __init__(__self__, *,
|
|
2135
|
-
account_id: pulumi.Input[
|
|
2136
|
-
personal_api_key: pulumi.Input[
|
|
2137
|
-
base_url_nerd_graph: Optional[pulumi.Input[
|
|
2138
|
-
base_url_rest: Optional[pulumi.Input[
|
|
2139
|
-
region: Optional[pulumi.Input[
|
|
2134
|
+
account_id: pulumi.Input[_builtins.str],
|
|
2135
|
+
personal_api_key: pulumi.Input[_builtins.str],
|
|
2136
|
+
base_url_nerd_graph: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2137
|
+
base_url_rest: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2138
|
+
region: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2140
2139
|
"""
|
|
2141
|
-
:param pulumi.Input[
|
|
2142
|
-
:param pulumi.Input[
|
|
2143
|
-
:param pulumi.Input[
|
|
2144
|
-
:param pulumi.Input[
|
|
2140
|
+
:param pulumi.Input[_builtins.str] personal_api_key: The NewRelic user key
|
|
2141
|
+
:param pulumi.Input[_builtins.str] base_url_nerd_graph: The base URL for NerdGraph for a proxy.
|
|
2142
|
+
:param pulumi.Input[_builtins.str] base_url_rest: The base URL of the New Relic REST API for a proxy.
|
|
2143
|
+
:param pulumi.Input[_builtins.str] region: A region which the account is attached to. Default is "us".
|
|
2145
2144
|
"""
|
|
2146
2145
|
pulumi.set(__self__, "account_id", account_id)
|
|
2147
2146
|
pulumi.set(__self__, "personal_api_key", personal_api_key)
|
|
@@ -2152,67 +2151,67 @@ class VerificationProviderNewRelicArgs:
|
|
|
2152
2151
|
if region is not None:
|
|
2153
2152
|
pulumi.set(__self__, "region", region)
|
|
2154
2153
|
|
|
2155
|
-
@property
|
|
2154
|
+
@_builtins.property
|
|
2156
2155
|
@pulumi.getter(name="accountId")
|
|
2157
|
-
def account_id(self) -> pulumi.Input[
|
|
2156
|
+
def account_id(self) -> pulumi.Input[_builtins.str]:
|
|
2158
2157
|
return pulumi.get(self, "account_id")
|
|
2159
2158
|
|
|
2160
2159
|
@account_id.setter
|
|
2161
|
-
def account_id(self, value: pulumi.Input[
|
|
2160
|
+
def account_id(self, value: pulumi.Input[_builtins.str]):
|
|
2162
2161
|
pulumi.set(self, "account_id", value)
|
|
2163
2162
|
|
|
2164
|
-
@property
|
|
2163
|
+
@_builtins.property
|
|
2165
2164
|
@pulumi.getter(name="personalApiKey")
|
|
2166
|
-
def personal_api_key(self) -> pulumi.Input[
|
|
2165
|
+
def personal_api_key(self) -> pulumi.Input[_builtins.str]:
|
|
2167
2166
|
"""
|
|
2168
2167
|
The NewRelic user key
|
|
2169
2168
|
"""
|
|
2170
2169
|
return pulumi.get(self, "personal_api_key")
|
|
2171
2170
|
|
|
2172
2171
|
@personal_api_key.setter
|
|
2173
|
-
def personal_api_key(self, value: pulumi.Input[
|
|
2172
|
+
def personal_api_key(self, value: pulumi.Input[_builtins.str]):
|
|
2174
2173
|
pulumi.set(self, "personal_api_key", value)
|
|
2175
2174
|
|
|
2176
|
-
@property
|
|
2175
|
+
@_builtins.property
|
|
2177
2176
|
@pulumi.getter(name="baseUrlNerdGraph")
|
|
2178
|
-
def base_url_nerd_graph(self) -> Optional[pulumi.Input[
|
|
2177
|
+
def base_url_nerd_graph(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2179
2178
|
"""
|
|
2180
2179
|
The base URL for NerdGraph for a proxy.
|
|
2181
2180
|
"""
|
|
2182
2181
|
return pulumi.get(self, "base_url_nerd_graph")
|
|
2183
2182
|
|
|
2184
2183
|
@base_url_nerd_graph.setter
|
|
2185
|
-
def base_url_nerd_graph(self, value: Optional[pulumi.Input[
|
|
2184
|
+
def base_url_nerd_graph(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2186
2185
|
pulumi.set(self, "base_url_nerd_graph", value)
|
|
2187
2186
|
|
|
2188
|
-
@property
|
|
2187
|
+
@_builtins.property
|
|
2189
2188
|
@pulumi.getter(name="baseUrlRest")
|
|
2190
|
-
def base_url_rest(self) -> Optional[pulumi.Input[
|
|
2189
|
+
def base_url_rest(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2191
2190
|
"""
|
|
2192
2191
|
The base URL of the New Relic REST API for a proxy.
|
|
2193
2192
|
"""
|
|
2194
2193
|
return pulumi.get(self, "base_url_rest")
|
|
2195
2194
|
|
|
2196
2195
|
@base_url_rest.setter
|
|
2197
|
-
def base_url_rest(self, value: Optional[pulumi.Input[
|
|
2196
|
+
def base_url_rest(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2198
2197
|
pulumi.set(self, "base_url_rest", value)
|
|
2199
2198
|
|
|
2200
|
-
@property
|
|
2199
|
+
@_builtins.property
|
|
2201
2200
|
@pulumi.getter
|
|
2202
|
-
def region(self) -> Optional[pulumi.Input[
|
|
2201
|
+
def region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2203
2202
|
"""
|
|
2204
2203
|
A region which the account is attached to. Default is "us".
|
|
2205
2204
|
"""
|
|
2206
2205
|
return pulumi.get(self, "region")
|
|
2207
2206
|
|
|
2208
2207
|
@region.setter
|
|
2209
|
-
def region(self, value: Optional[pulumi.Input[
|
|
2208
|
+
def region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2210
2209
|
pulumi.set(self, "region", value)
|
|
2211
2210
|
|
|
2212
2211
|
|
|
2213
2212
|
if not MYPY:
|
|
2214
2213
|
class VerificationProviderPrometheusArgsDict(TypedDict):
|
|
2215
|
-
address: pulumi.Input[
|
|
2214
|
+
address: pulumi.Input[_builtins.str]
|
|
2216
2215
|
"""
|
|
2217
2216
|
The address which the Prometheus server available on.
|
|
2218
2217
|
"""
|
|
@@ -2222,32 +2221,32 @@ elif False:
|
|
|
2222
2221
|
@pulumi.input_type
|
|
2223
2222
|
class VerificationProviderPrometheusArgs:
|
|
2224
2223
|
def __init__(__self__, *,
|
|
2225
|
-
address: pulumi.Input[
|
|
2224
|
+
address: pulumi.Input[_builtins.str]):
|
|
2226
2225
|
"""
|
|
2227
|
-
:param pulumi.Input[
|
|
2226
|
+
:param pulumi.Input[_builtins.str] address: The address which the Prometheus server available on.
|
|
2228
2227
|
"""
|
|
2229
2228
|
pulumi.set(__self__, "address", address)
|
|
2230
2229
|
|
|
2231
|
-
@property
|
|
2230
|
+
@_builtins.property
|
|
2232
2231
|
@pulumi.getter
|
|
2233
|
-
def address(self) -> pulumi.Input[
|
|
2232
|
+
def address(self) -> pulumi.Input[_builtins.str]:
|
|
2234
2233
|
"""
|
|
2235
2234
|
The address which the Prometheus server available on.
|
|
2236
2235
|
"""
|
|
2237
2236
|
return pulumi.get(self, "address")
|
|
2238
2237
|
|
|
2239
2238
|
@address.setter
|
|
2240
|
-
def address(self, value: pulumi.Input[
|
|
2239
|
+
def address(self, value: pulumi.Input[_builtins.str]):
|
|
2241
2240
|
pulumi.set(self, "address", value)
|
|
2242
2241
|
|
|
2243
2242
|
|
|
2244
2243
|
if not MYPY:
|
|
2245
2244
|
class VerificationTemplateArgArgsDict(TypedDict):
|
|
2246
|
-
arg_name: pulumi.Input[
|
|
2245
|
+
arg_name: pulumi.Input[_builtins.str]
|
|
2247
2246
|
"""
|
|
2248
2247
|
Name of an argument.
|
|
2249
2248
|
"""
|
|
2250
|
-
value: NotRequired[pulumi.Input[
|
|
2249
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2251
2250
|
"""
|
|
2252
2251
|
String representation of data.
|
|
2253
2252
|
"""
|
|
@@ -2261,12 +2260,12 @@ elif False:
|
|
|
2261
2260
|
@pulumi.input_type
|
|
2262
2261
|
class VerificationTemplateArgArgs:
|
|
2263
2262
|
def __init__(__self__, *,
|
|
2264
|
-
arg_name: pulumi.Input[
|
|
2265
|
-
value: Optional[pulumi.Input[
|
|
2263
|
+
arg_name: pulumi.Input[_builtins.str],
|
|
2264
|
+
value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2266
2265
|
value_from: Optional[pulumi.Input['VerificationTemplateArgValueFromArgs']] = None):
|
|
2267
2266
|
"""
|
|
2268
|
-
:param pulumi.Input[
|
|
2269
|
-
:param pulumi.Input[
|
|
2267
|
+
:param pulumi.Input[_builtins.str] arg_name: Name of an argument.
|
|
2268
|
+
:param pulumi.Input[_builtins.str] value: String representation of data.
|
|
2270
2269
|
:param pulumi.Input['VerificationTemplateArgValueFromArgs'] value_from: ValueFrom object.
|
|
2271
2270
|
"""
|
|
2272
2271
|
pulumi.set(__self__, "arg_name", arg_name)
|
|
@@ -2275,31 +2274,31 @@ class VerificationTemplateArgArgs:
|
|
|
2275
2274
|
if value_from is not None:
|
|
2276
2275
|
pulumi.set(__self__, "value_from", value_from)
|
|
2277
2276
|
|
|
2278
|
-
@property
|
|
2277
|
+
@_builtins.property
|
|
2279
2278
|
@pulumi.getter(name="argName")
|
|
2280
|
-
def arg_name(self) -> pulumi.Input[
|
|
2279
|
+
def arg_name(self) -> pulumi.Input[_builtins.str]:
|
|
2281
2280
|
"""
|
|
2282
2281
|
Name of an argument.
|
|
2283
2282
|
"""
|
|
2284
2283
|
return pulumi.get(self, "arg_name")
|
|
2285
2284
|
|
|
2286
2285
|
@arg_name.setter
|
|
2287
|
-
def arg_name(self, value: pulumi.Input[
|
|
2286
|
+
def arg_name(self, value: pulumi.Input[_builtins.str]):
|
|
2288
2287
|
pulumi.set(self, "arg_name", value)
|
|
2289
2288
|
|
|
2290
|
-
@property
|
|
2289
|
+
@_builtins.property
|
|
2291
2290
|
@pulumi.getter
|
|
2292
|
-
def value(self) -> Optional[pulumi.Input[
|
|
2291
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2293
2292
|
"""
|
|
2294
2293
|
String representation of data.
|
|
2295
2294
|
"""
|
|
2296
2295
|
return pulumi.get(self, "value")
|
|
2297
2296
|
|
|
2298
2297
|
@value.setter
|
|
2299
|
-
def value(self, value: Optional[pulumi.Input[
|
|
2298
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2300
2299
|
pulumi.set(self, "value", value)
|
|
2301
2300
|
|
|
2302
|
-
@property
|
|
2301
|
+
@_builtins.property
|
|
2303
2302
|
@pulumi.getter(name="valueFrom")
|
|
2304
2303
|
def value_from(self) -> Optional[pulumi.Input['VerificationTemplateArgValueFromArgs']]:
|
|
2305
2304
|
"""
|
|
@@ -2331,7 +2330,7 @@ class VerificationTemplateArgValueFromArgs:
|
|
|
2331
2330
|
if secret_key_ref is not None:
|
|
2332
2331
|
pulumi.set(__self__, "secret_key_ref", secret_key_ref)
|
|
2333
2332
|
|
|
2334
|
-
@property
|
|
2333
|
+
@_builtins.property
|
|
2335
2334
|
@pulumi.getter(name="secretKeyRef")
|
|
2336
2335
|
def secret_key_ref(self) -> Optional[pulumi.Input['VerificationTemplateArgValueFromSecretKeyRefArgs']]:
|
|
2337
2336
|
"""
|
|
@@ -2346,11 +2345,11 @@ class VerificationTemplateArgValueFromArgs:
|
|
|
2346
2345
|
|
|
2347
2346
|
if not MYPY:
|
|
2348
2347
|
class VerificationTemplateArgValueFromSecretKeyRefArgsDict(TypedDict):
|
|
2349
|
-
key: pulumi.Input[
|
|
2348
|
+
key: pulumi.Input[_builtins.str]
|
|
2350
2349
|
"""
|
|
2351
2350
|
The name of the field inside the secret.
|
|
2352
2351
|
"""
|
|
2353
|
-
name: pulumi.Input[
|
|
2352
|
+
name: pulumi.Input[_builtins.str]
|
|
2354
2353
|
"""
|
|
2355
2354
|
The name of the secret.
|
|
2356
2355
|
"""
|
|
@@ -2360,43 +2359,43 @@ elif False:
|
|
|
2360
2359
|
@pulumi.input_type
|
|
2361
2360
|
class VerificationTemplateArgValueFromSecretKeyRefArgs:
|
|
2362
2361
|
def __init__(__self__, *,
|
|
2363
|
-
key: pulumi.Input[
|
|
2364
|
-
name: pulumi.Input[
|
|
2362
|
+
key: pulumi.Input[_builtins.str],
|
|
2363
|
+
name: pulumi.Input[_builtins.str]):
|
|
2365
2364
|
"""
|
|
2366
|
-
:param pulumi.Input[
|
|
2367
|
-
:param pulumi.Input[
|
|
2365
|
+
:param pulumi.Input[_builtins.str] key: The name of the field inside the secret.
|
|
2366
|
+
:param pulumi.Input[_builtins.str] name: The name of the secret.
|
|
2368
2367
|
"""
|
|
2369
2368
|
pulumi.set(__self__, "key", key)
|
|
2370
2369
|
pulumi.set(__self__, "name", name)
|
|
2371
2370
|
|
|
2372
|
-
@property
|
|
2371
|
+
@_builtins.property
|
|
2373
2372
|
@pulumi.getter
|
|
2374
|
-
def key(self) -> pulumi.Input[
|
|
2373
|
+
def key(self) -> pulumi.Input[_builtins.str]:
|
|
2375
2374
|
"""
|
|
2376
2375
|
The name of the field inside the secret.
|
|
2377
2376
|
"""
|
|
2378
2377
|
return pulumi.get(self, "key")
|
|
2379
2378
|
|
|
2380
2379
|
@key.setter
|
|
2381
|
-
def key(self, value: pulumi.Input[
|
|
2380
|
+
def key(self, value: pulumi.Input[_builtins.str]):
|
|
2382
2381
|
pulumi.set(self, "key", value)
|
|
2383
2382
|
|
|
2384
|
-
@property
|
|
2383
|
+
@_builtins.property
|
|
2385
2384
|
@pulumi.getter
|
|
2386
|
-
def name(self) -> pulumi.Input[
|
|
2385
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2387
2386
|
"""
|
|
2388
2387
|
The name of the secret.
|
|
2389
2388
|
"""
|
|
2390
2389
|
return pulumi.get(self, "name")
|
|
2391
2390
|
|
|
2392
2391
|
@name.setter
|
|
2393
|
-
def name(self, value: pulumi.Input[
|
|
2392
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2394
2393
|
pulumi.set(self, "name", value)
|
|
2395
2394
|
|
|
2396
2395
|
|
|
2397
2396
|
if not MYPY:
|
|
2398
2397
|
class VerificationTemplateMetricArgsDict(TypedDict):
|
|
2399
|
-
metrics_name: pulumi.Input[
|
|
2398
|
+
metrics_name: pulumi.Input[_builtins.str]
|
|
2400
2399
|
"""
|
|
2401
2400
|
The name of the verification metric.
|
|
2402
2401
|
"""
|
|
@@ -2408,35 +2407,35 @@ if not MYPY:
|
|
|
2408
2407
|
"""
|
|
2409
2408
|
Baseline Object.
|
|
2410
2409
|
"""
|
|
2411
|
-
consecutive_error_limit: NotRequired[pulumi.Input[
|
|
2410
|
+
consecutive_error_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
2412
2411
|
"""
|
|
2413
2412
|
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.
|
|
2414
2413
|
"""
|
|
2415
|
-
count: NotRequired[pulumi.Input[
|
|
2414
|
+
count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2416
2415
|
"""
|
|
2417
2416
|
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.
|
|
2418
2417
|
"""
|
|
2419
|
-
dry_run: NotRequired[pulumi.Input[
|
|
2418
|
+
dry_run: NotRequired[pulumi.Input[_builtins.bool]]
|
|
2420
2419
|
"""
|
|
2421
2420
|
Defines whether the metric should have an impact on the result of the rollout.
|
|
2422
2421
|
"""
|
|
2423
|
-
failure_condition: NotRequired[pulumi.Input[
|
|
2422
|
+
failure_condition: NotRequired[pulumi.Input[_builtins.str]]
|
|
2424
2423
|
"""
|
|
2425
2424
|
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.
|
|
2426
2425
|
"""
|
|
2427
|
-
failure_limit: NotRequired[pulumi.Input[
|
|
2426
|
+
failure_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
2428
2427
|
"""
|
|
2429
2428
|
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.
|
|
2430
2429
|
"""
|
|
2431
|
-
initial_delay: NotRequired[pulumi.Input[
|
|
2430
|
+
initial_delay: NotRequired[pulumi.Input[_builtins.str]]
|
|
2432
2431
|
"""
|
|
2433
2432
|
How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2434
2433
|
"""
|
|
2435
|
-
interval: NotRequired[pulumi.Input[
|
|
2434
|
+
interval: NotRequired[pulumi.Input[_builtins.str]]
|
|
2436
2435
|
"""
|
|
2437
2436
|
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.
|
|
2438
2437
|
"""
|
|
2439
|
-
success_condition: NotRequired[pulumi.Input[
|
|
2438
|
+
success_condition: NotRequired[pulumi.Input[_builtins.str]]
|
|
2440
2439
|
"""
|
|
2441
2440
|
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.
|
|
2442
2441
|
"""
|
|
@@ -2446,29 +2445,29 @@ elif False:
|
|
|
2446
2445
|
@pulumi.input_type
|
|
2447
2446
|
class VerificationTemplateMetricArgs:
|
|
2448
2447
|
def __init__(__self__, *,
|
|
2449
|
-
metrics_name: pulumi.Input[
|
|
2448
|
+
metrics_name: pulumi.Input[_builtins.str],
|
|
2450
2449
|
providers: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderArgs']]],
|
|
2451
2450
|
baseline: Optional[pulumi.Input['VerificationTemplateMetricBaselineArgs']] = None,
|
|
2452
|
-
consecutive_error_limit: Optional[pulumi.Input[
|
|
2453
|
-
count: Optional[pulumi.Input[
|
|
2454
|
-
dry_run: Optional[pulumi.Input[
|
|
2455
|
-
failure_condition: Optional[pulumi.Input[
|
|
2456
|
-
failure_limit: Optional[pulumi.Input[
|
|
2457
|
-
initial_delay: Optional[pulumi.Input[
|
|
2458
|
-
interval: Optional[pulumi.Input[
|
|
2459
|
-
success_condition: Optional[pulumi.Input[
|
|
2460
|
-
"""
|
|
2461
|
-
:param pulumi.Input[
|
|
2451
|
+
consecutive_error_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2452
|
+
count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2453
|
+
dry_run: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2454
|
+
failure_condition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2455
|
+
failure_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2456
|
+
initial_delay: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2457
|
+
interval: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2458
|
+
success_condition: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2459
|
+
"""
|
|
2460
|
+
:param pulumi.Input[_builtins.str] metrics_name: The name of the verification metric.
|
|
2462
2461
|
:param pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderArgs']]] providers: The name of the monitoring tool chosen for the metric.
|
|
2463
2462
|
:param pulumi.Input['VerificationTemplateMetricBaselineArgs'] baseline: Baseline Object.
|
|
2464
|
-
:param pulumi.Input[
|
|
2465
|
-
:param pulumi.Input[
|
|
2466
|
-
:param pulumi.Input[
|
|
2467
|
-
:param pulumi.Input[
|
|
2468
|
-
:param pulumi.Input[
|
|
2469
|
-
:param pulumi.Input[
|
|
2470
|
-
:param pulumi.Input[
|
|
2471
|
-
:param pulumi.Input[
|
|
2463
|
+
:param pulumi.Input[_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.
|
|
2464
|
+
:param pulumi.Input[_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.
|
|
2465
|
+
:param pulumi.Input[_builtins.bool] dry_run: Defines whether the metric should have an impact on the result of the rollout.
|
|
2466
|
+
:param pulumi.Input[_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.
|
|
2467
|
+
:param pulumi.Input[_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.
|
|
2468
|
+
:param pulumi.Input[_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.
|
|
2469
|
+
:param pulumi.Input[_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.
|
|
2470
|
+
:param pulumi.Input[_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.
|
|
2472
2471
|
"""
|
|
2473
2472
|
pulumi.set(__self__, "metrics_name", metrics_name)
|
|
2474
2473
|
pulumi.set(__self__, "providers", providers)
|
|
@@ -2491,19 +2490,19 @@ class VerificationTemplateMetricArgs:
|
|
|
2491
2490
|
if success_condition is not None:
|
|
2492
2491
|
pulumi.set(__self__, "success_condition", success_condition)
|
|
2493
2492
|
|
|
2494
|
-
@property
|
|
2493
|
+
@_builtins.property
|
|
2495
2494
|
@pulumi.getter(name="metricsName")
|
|
2496
|
-
def metrics_name(self) -> pulumi.Input[
|
|
2495
|
+
def metrics_name(self) -> pulumi.Input[_builtins.str]:
|
|
2497
2496
|
"""
|
|
2498
2497
|
The name of the verification metric.
|
|
2499
2498
|
"""
|
|
2500
2499
|
return pulumi.get(self, "metrics_name")
|
|
2501
2500
|
|
|
2502
2501
|
@metrics_name.setter
|
|
2503
|
-
def metrics_name(self, value: pulumi.Input[
|
|
2502
|
+
def metrics_name(self, value: pulumi.Input[_builtins.str]):
|
|
2504
2503
|
pulumi.set(self, "metrics_name", value)
|
|
2505
2504
|
|
|
2506
|
-
@property
|
|
2505
|
+
@_builtins.property
|
|
2507
2506
|
@pulumi.getter
|
|
2508
2507
|
def providers(self) -> pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderArgs']]]:
|
|
2509
2508
|
"""
|
|
@@ -2515,7 +2514,7 @@ class VerificationTemplateMetricArgs:
|
|
|
2515
2514
|
def providers(self, value: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderArgs']]]):
|
|
2516
2515
|
pulumi.set(self, "providers", value)
|
|
2517
2516
|
|
|
2518
|
-
@property
|
|
2517
|
+
@_builtins.property
|
|
2519
2518
|
@pulumi.getter
|
|
2520
2519
|
def baseline(self) -> Optional[pulumi.Input['VerificationTemplateMetricBaselineArgs']]:
|
|
2521
2520
|
"""
|
|
@@ -2527,100 +2526,100 @@ class VerificationTemplateMetricArgs:
|
|
|
2527
2526
|
def baseline(self, value: Optional[pulumi.Input['VerificationTemplateMetricBaselineArgs']]):
|
|
2528
2527
|
pulumi.set(self, "baseline", value)
|
|
2529
2528
|
|
|
2530
|
-
@property
|
|
2529
|
+
@_builtins.property
|
|
2531
2530
|
@pulumi.getter(name="consecutiveErrorLimit")
|
|
2532
|
-
def consecutive_error_limit(self) -> Optional[pulumi.Input[
|
|
2531
|
+
def consecutive_error_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2533
2532
|
"""
|
|
2534
2533
|
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.
|
|
2535
2534
|
"""
|
|
2536
2535
|
return pulumi.get(self, "consecutive_error_limit")
|
|
2537
2536
|
|
|
2538
2537
|
@consecutive_error_limit.setter
|
|
2539
|
-
def consecutive_error_limit(self, value: Optional[pulumi.Input[
|
|
2538
|
+
def consecutive_error_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2540
2539
|
pulumi.set(self, "consecutive_error_limit", value)
|
|
2541
2540
|
|
|
2542
|
-
@property
|
|
2541
|
+
@_builtins.property
|
|
2543
2542
|
@pulumi.getter
|
|
2544
|
-
def count(self) -> Optional[pulumi.Input[
|
|
2543
|
+
def count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2545
2544
|
"""
|
|
2546
2545
|
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.
|
|
2547
2546
|
"""
|
|
2548
2547
|
return pulumi.get(self, "count")
|
|
2549
2548
|
|
|
2550
2549
|
@count.setter
|
|
2551
|
-
def count(self, value: Optional[pulumi.Input[
|
|
2550
|
+
def count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2552
2551
|
pulumi.set(self, "count", value)
|
|
2553
2552
|
|
|
2554
|
-
@property
|
|
2553
|
+
@_builtins.property
|
|
2555
2554
|
@pulumi.getter(name="dryRun")
|
|
2556
|
-
def dry_run(self) -> Optional[pulumi.Input[
|
|
2555
|
+
def dry_run(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
2557
2556
|
"""
|
|
2558
2557
|
Defines whether the metric should have an impact on the result of the rollout.
|
|
2559
2558
|
"""
|
|
2560
2559
|
return pulumi.get(self, "dry_run")
|
|
2561
2560
|
|
|
2562
2561
|
@dry_run.setter
|
|
2563
|
-
def dry_run(self, value: Optional[pulumi.Input[
|
|
2562
|
+
def dry_run(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
2564
2563
|
pulumi.set(self, "dry_run", value)
|
|
2565
2564
|
|
|
2566
|
-
@property
|
|
2565
|
+
@_builtins.property
|
|
2567
2566
|
@pulumi.getter(name="failureCondition")
|
|
2568
|
-
def failure_condition(self) -> Optional[pulumi.Input[
|
|
2567
|
+
def failure_condition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2569
2568
|
"""
|
|
2570
2569
|
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.
|
|
2571
2570
|
"""
|
|
2572
2571
|
return pulumi.get(self, "failure_condition")
|
|
2573
2572
|
|
|
2574
2573
|
@failure_condition.setter
|
|
2575
|
-
def failure_condition(self, value: Optional[pulumi.Input[
|
|
2574
|
+
def failure_condition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2576
2575
|
pulumi.set(self, "failure_condition", value)
|
|
2577
2576
|
|
|
2578
|
-
@property
|
|
2577
|
+
@_builtins.property
|
|
2579
2578
|
@pulumi.getter(name="failureLimit")
|
|
2580
|
-
def failure_limit(self) -> Optional[pulumi.Input[
|
|
2579
|
+
def failure_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2581
2580
|
"""
|
|
2582
2581
|
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.
|
|
2583
2582
|
"""
|
|
2584
2583
|
return pulumi.get(self, "failure_limit")
|
|
2585
2584
|
|
|
2586
2585
|
@failure_limit.setter
|
|
2587
|
-
def failure_limit(self, value: Optional[pulumi.Input[
|
|
2586
|
+
def failure_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2588
2587
|
pulumi.set(self, "failure_limit", value)
|
|
2589
2588
|
|
|
2590
|
-
@property
|
|
2589
|
+
@_builtins.property
|
|
2591
2590
|
@pulumi.getter(name="initialDelay")
|
|
2592
|
-
def initial_delay(self) -> Optional[pulumi.Input[
|
|
2591
|
+
def initial_delay(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2593
2592
|
"""
|
|
2594
2593
|
How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
|
|
2595
2594
|
"""
|
|
2596
2595
|
return pulumi.get(self, "initial_delay")
|
|
2597
2596
|
|
|
2598
2597
|
@initial_delay.setter
|
|
2599
|
-
def initial_delay(self, value: Optional[pulumi.Input[
|
|
2598
|
+
def initial_delay(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2600
2599
|
pulumi.set(self, "initial_delay", value)
|
|
2601
2600
|
|
|
2602
|
-
@property
|
|
2601
|
+
@_builtins.property
|
|
2603
2602
|
@pulumi.getter
|
|
2604
|
-
def interval(self) -> Optional[pulumi.Input[
|
|
2603
|
+
def interval(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2605
2604
|
"""
|
|
2606
2605
|
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.
|
|
2607
2606
|
"""
|
|
2608
2607
|
return pulumi.get(self, "interval")
|
|
2609
2608
|
|
|
2610
2609
|
@interval.setter
|
|
2611
|
-
def interval(self, value: Optional[pulumi.Input[
|
|
2610
|
+
def interval(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2612
2611
|
pulumi.set(self, "interval", value)
|
|
2613
2612
|
|
|
2614
|
-
@property
|
|
2613
|
+
@_builtins.property
|
|
2615
2614
|
@pulumi.getter(name="successCondition")
|
|
2616
|
-
def success_condition(self) -> Optional[pulumi.Input[
|
|
2615
|
+
def success_condition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2617
2616
|
"""
|
|
2618
2617
|
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.
|
|
2619
2618
|
"""
|
|
2620
2619
|
return pulumi.get(self, "success_condition")
|
|
2621
2620
|
|
|
2622
2621
|
@success_condition.setter
|
|
2623
|
-
def success_condition(self, value: Optional[pulumi.Input[
|
|
2622
|
+
def success_condition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2624
2623
|
pulumi.set(self, "success_condition", value)
|
|
2625
2624
|
|
|
2626
2625
|
|
|
@@ -2630,15 +2629,15 @@ if not MYPY:
|
|
|
2630
2629
|
"""
|
|
2631
2630
|
The name of the monitoring tool chosen for the metric.
|
|
2632
2631
|
"""
|
|
2633
|
-
threshold: pulumi.Input[
|
|
2632
|
+
threshold: pulumi.Input[_builtins.str]
|
|
2634
2633
|
"""
|
|
2635
2634
|
A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
|
|
2636
2635
|
"""
|
|
2637
|
-
max_range: NotRequired[pulumi.Input[
|
|
2636
|
+
max_range: NotRequired[pulumi.Input[_builtins.int]]
|
|
2638
2637
|
"""
|
|
2639
2638
|
Number in percent we allow the new version’s data result to be under baseline data result.
|
|
2640
2639
|
"""
|
|
2641
|
-
min_range: NotRequired[pulumi.Input[
|
|
2640
|
+
min_range: NotRequired[pulumi.Input[_builtins.int]]
|
|
2642
2641
|
"""
|
|
2643
2642
|
Number in percent we allow the new version’s data result to be under baseline data result.*
|
|
2644
2643
|
"""
|
|
@@ -2649,14 +2648,14 @@ elif False:
|
|
|
2649
2648
|
class VerificationTemplateMetricBaselineArgs:
|
|
2650
2649
|
def __init__(__self__, *,
|
|
2651
2650
|
baseline_providers: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricBaselineBaselineProviderArgs']]],
|
|
2652
|
-
threshold: pulumi.Input[
|
|
2653
|
-
max_range: Optional[pulumi.Input[
|
|
2654
|
-
min_range: Optional[pulumi.Input[
|
|
2651
|
+
threshold: pulumi.Input[_builtins.str],
|
|
2652
|
+
max_range: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2653
|
+
min_range: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2655
2654
|
"""
|
|
2656
2655
|
:param pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricBaselineBaselineProviderArgs']]] baseline_providers: The name of the monitoring tool chosen for the metric.
|
|
2657
|
-
:param pulumi.Input[
|
|
2658
|
-
:param pulumi.Input[
|
|
2659
|
-
:param pulumi.Input[
|
|
2656
|
+
:param pulumi.Input[_builtins.str] threshold: A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
|
|
2657
|
+
:param pulumi.Input[_builtins.int] max_range: Number in percent we allow the new version’s data result to be under baseline data result.
|
|
2658
|
+
:param pulumi.Input[_builtins.int] min_range: Number in percent we allow the new version’s data result to be under baseline data result.*
|
|
2660
2659
|
"""
|
|
2661
2660
|
pulumi.set(__self__, "baseline_providers", baseline_providers)
|
|
2662
2661
|
pulumi.set(__self__, "threshold", threshold)
|
|
@@ -2665,7 +2664,7 @@ class VerificationTemplateMetricBaselineArgs:
|
|
|
2665
2664
|
if min_range is not None:
|
|
2666
2665
|
pulumi.set(__self__, "min_range", min_range)
|
|
2667
2666
|
|
|
2668
|
-
@property
|
|
2667
|
+
@_builtins.property
|
|
2669
2668
|
@pulumi.getter(name="baselineProviders")
|
|
2670
2669
|
def baseline_providers(self) -> pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricBaselineBaselineProviderArgs']]]:
|
|
2671
2670
|
"""
|
|
@@ -2677,40 +2676,40 @@ class VerificationTemplateMetricBaselineArgs:
|
|
|
2677
2676
|
def baseline_providers(self, value: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricBaselineBaselineProviderArgs']]]):
|
|
2678
2677
|
pulumi.set(self, "baseline_providers", value)
|
|
2679
2678
|
|
|
2680
|
-
@property
|
|
2679
|
+
@_builtins.property
|
|
2681
2680
|
@pulumi.getter
|
|
2682
|
-
def threshold(self) -> pulumi.Input[
|
|
2681
|
+
def threshold(self) -> pulumi.Input[_builtins.str]:
|
|
2683
2682
|
"""
|
|
2684
2683
|
A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
|
|
2685
2684
|
"""
|
|
2686
2685
|
return pulumi.get(self, "threshold")
|
|
2687
2686
|
|
|
2688
2687
|
@threshold.setter
|
|
2689
|
-
def threshold(self, value: pulumi.Input[
|
|
2688
|
+
def threshold(self, value: pulumi.Input[_builtins.str]):
|
|
2690
2689
|
pulumi.set(self, "threshold", value)
|
|
2691
2690
|
|
|
2692
|
-
@property
|
|
2691
|
+
@_builtins.property
|
|
2693
2692
|
@pulumi.getter(name="maxRange")
|
|
2694
|
-
def max_range(self) -> Optional[pulumi.Input[
|
|
2693
|
+
def max_range(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2695
2694
|
"""
|
|
2696
2695
|
Number in percent we allow the new version’s data result to be under baseline data result.
|
|
2697
2696
|
"""
|
|
2698
2697
|
return pulumi.get(self, "max_range")
|
|
2699
2698
|
|
|
2700
2699
|
@max_range.setter
|
|
2701
|
-
def max_range(self, value: Optional[pulumi.Input[
|
|
2700
|
+
def max_range(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2702
2701
|
pulumi.set(self, "max_range", value)
|
|
2703
2702
|
|
|
2704
|
-
@property
|
|
2703
|
+
@_builtins.property
|
|
2705
2704
|
@pulumi.getter(name="minRange")
|
|
2706
|
-
def min_range(self) -> Optional[pulumi.Input[
|
|
2705
|
+
def min_range(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2707
2706
|
"""
|
|
2708
2707
|
Number in percent we allow the new version’s data result to be under baseline data result.*
|
|
2709
2708
|
"""
|
|
2710
2709
|
return pulumi.get(self, "min_range")
|
|
2711
2710
|
|
|
2712
2711
|
@min_range.setter
|
|
2713
|
-
def min_range(self, value: Optional[pulumi.Input[
|
|
2712
|
+
def min_range(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2714
2713
|
pulumi.set(self, "min_range", value)
|
|
2715
2714
|
|
|
2716
2715
|
|
|
@@ -2749,7 +2748,7 @@ class VerificationTemplateMetricBaselineBaselineProviderArgs:
|
|
|
2749
2748
|
if prometheus is not None:
|
|
2750
2749
|
pulumi.set(__self__, "prometheus", prometheus)
|
|
2751
2750
|
|
|
2752
|
-
@property
|
|
2751
|
+
@_builtins.property
|
|
2753
2752
|
@pulumi.getter
|
|
2754
2753
|
def datadog(self) -> Optional[pulumi.Input['VerificationTemplateMetricBaselineBaselineProviderDatadogArgs']]:
|
|
2755
2754
|
"""
|
|
@@ -2761,7 +2760,7 @@ class VerificationTemplateMetricBaselineBaselineProviderArgs:
|
|
|
2761
2760
|
def datadog(self, value: Optional[pulumi.Input['VerificationTemplateMetricBaselineBaselineProviderDatadogArgs']]):
|
|
2762
2761
|
pulumi.set(self, "datadog", value)
|
|
2763
2762
|
|
|
2764
|
-
@property
|
|
2763
|
+
@_builtins.property
|
|
2765
2764
|
@pulumi.getter(name="newRelic")
|
|
2766
2765
|
def new_relic(self) -> Optional[pulumi.Input['VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs']]:
|
|
2767
2766
|
"""
|
|
@@ -2773,7 +2772,7 @@ class VerificationTemplateMetricBaselineBaselineProviderArgs:
|
|
|
2773
2772
|
def new_relic(self, value: Optional[pulumi.Input['VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs']]):
|
|
2774
2773
|
pulumi.set(self, "new_relic", value)
|
|
2775
2774
|
|
|
2776
|
-
@property
|
|
2775
|
+
@_builtins.property
|
|
2777
2776
|
@pulumi.getter
|
|
2778
2777
|
def prometheus(self) -> Optional[pulumi.Input['VerificationTemplateMetricBaselineBaselineProviderPrometheusArgs']]:
|
|
2779
2778
|
"""
|
|
@@ -2788,11 +2787,11 @@ class VerificationTemplateMetricBaselineBaselineProviderArgs:
|
|
|
2788
2787
|
|
|
2789
2788
|
if not MYPY:
|
|
2790
2789
|
class VerificationTemplateMetricBaselineBaselineProviderDatadogArgsDict(TypedDict):
|
|
2791
|
-
datadog_query: pulumi.Input[
|
|
2790
|
+
datadog_query: pulumi.Input[_builtins.str]
|
|
2792
2791
|
"""
|
|
2793
2792
|
A request for information retrieved from Datadog.
|
|
2794
2793
|
"""
|
|
2795
|
-
duration: NotRequired[pulumi.Input[
|
|
2794
|
+
duration: NotRequired[pulumi.Input[_builtins.str]]
|
|
2796
2795
|
"""
|
|
2797
2796
|
The window of time we are looking at in DataDog.
|
|
2798
2797
|
"""
|
|
@@ -2802,48 +2801,48 @@ elif False:
|
|
|
2802
2801
|
@pulumi.input_type
|
|
2803
2802
|
class VerificationTemplateMetricBaselineBaselineProviderDatadogArgs:
|
|
2804
2803
|
def __init__(__self__, *,
|
|
2805
|
-
datadog_query: pulumi.Input[
|
|
2806
|
-
duration: Optional[pulumi.Input[
|
|
2804
|
+
datadog_query: pulumi.Input[_builtins.str],
|
|
2805
|
+
duration: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2807
2806
|
"""
|
|
2808
|
-
:param pulumi.Input[
|
|
2809
|
-
:param pulumi.Input[
|
|
2807
|
+
:param pulumi.Input[_builtins.str] datadog_query: A request for information retrieved from Datadog.
|
|
2808
|
+
:param pulumi.Input[_builtins.str] duration: The window of time we are looking at in DataDog.
|
|
2810
2809
|
"""
|
|
2811
2810
|
pulumi.set(__self__, "datadog_query", datadog_query)
|
|
2812
2811
|
if duration is not None:
|
|
2813
2812
|
pulumi.set(__self__, "duration", duration)
|
|
2814
2813
|
|
|
2815
|
-
@property
|
|
2814
|
+
@_builtins.property
|
|
2816
2815
|
@pulumi.getter(name="datadogQuery")
|
|
2817
|
-
def datadog_query(self) -> pulumi.Input[
|
|
2816
|
+
def datadog_query(self) -> pulumi.Input[_builtins.str]:
|
|
2818
2817
|
"""
|
|
2819
2818
|
A request for information retrieved from Datadog.
|
|
2820
2819
|
"""
|
|
2821
2820
|
return pulumi.get(self, "datadog_query")
|
|
2822
2821
|
|
|
2823
2822
|
@datadog_query.setter
|
|
2824
|
-
def datadog_query(self, value: pulumi.Input[
|
|
2823
|
+
def datadog_query(self, value: pulumi.Input[_builtins.str]):
|
|
2825
2824
|
pulumi.set(self, "datadog_query", value)
|
|
2826
2825
|
|
|
2827
|
-
@property
|
|
2826
|
+
@_builtins.property
|
|
2828
2827
|
@pulumi.getter
|
|
2829
|
-
def duration(self) -> Optional[pulumi.Input[
|
|
2828
|
+
def duration(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2830
2829
|
"""
|
|
2831
2830
|
The window of time we are looking at in DataDog.
|
|
2832
2831
|
"""
|
|
2833
2832
|
return pulumi.get(self, "duration")
|
|
2834
2833
|
|
|
2835
2834
|
@duration.setter
|
|
2836
|
-
def duration(self, value: Optional[pulumi.Input[
|
|
2835
|
+
def duration(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2837
2836
|
pulumi.set(self, "duration", value)
|
|
2838
2837
|
|
|
2839
2838
|
|
|
2840
2839
|
if not MYPY:
|
|
2841
2840
|
class VerificationTemplateMetricBaselineBaselineProviderNewRelicArgsDict(TypedDict):
|
|
2842
|
-
new_relic_query: pulumi.Input[
|
|
2841
|
+
new_relic_query: pulumi.Input[_builtins.str]
|
|
2843
2842
|
"""
|
|
2844
2843
|
A raw newrelic NRQL query to perform.
|
|
2845
2844
|
"""
|
|
2846
|
-
profile: NotRequired[pulumi.Input[
|
|
2845
|
+
profile: NotRequired[pulumi.Input[_builtins.str]]
|
|
2847
2846
|
"""
|
|
2848
2847
|
The name of the secret holding NR account configuration.
|
|
2849
2848
|
"""
|
|
@@ -2853,44 +2852,44 @@ elif False:
|
|
|
2853
2852
|
@pulumi.input_type
|
|
2854
2853
|
class VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs:
|
|
2855
2854
|
def __init__(__self__, *,
|
|
2856
|
-
new_relic_query: pulumi.Input[
|
|
2857
|
-
profile: Optional[pulumi.Input[
|
|
2855
|
+
new_relic_query: pulumi.Input[_builtins.str],
|
|
2856
|
+
profile: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2858
2857
|
"""
|
|
2859
|
-
:param pulumi.Input[
|
|
2860
|
-
:param pulumi.Input[
|
|
2858
|
+
:param pulumi.Input[_builtins.str] new_relic_query: A raw newrelic NRQL query to perform.
|
|
2859
|
+
:param pulumi.Input[_builtins.str] profile: The name of the secret holding NR account configuration.
|
|
2861
2860
|
"""
|
|
2862
2861
|
pulumi.set(__self__, "new_relic_query", new_relic_query)
|
|
2863
2862
|
if profile is not None:
|
|
2864
2863
|
pulumi.set(__self__, "profile", profile)
|
|
2865
2864
|
|
|
2866
|
-
@property
|
|
2865
|
+
@_builtins.property
|
|
2867
2866
|
@pulumi.getter(name="newRelicQuery")
|
|
2868
|
-
def new_relic_query(self) -> pulumi.Input[
|
|
2867
|
+
def new_relic_query(self) -> pulumi.Input[_builtins.str]:
|
|
2869
2868
|
"""
|
|
2870
2869
|
A raw newrelic NRQL query to perform.
|
|
2871
2870
|
"""
|
|
2872
2871
|
return pulumi.get(self, "new_relic_query")
|
|
2873
2872
|
|
|
2874
2873
|
@new_relic_query.setter
|
|
2875
|
-
def new_relic_query(self, value: pulumi.Input[
|
|
2874
|
+
def new_relic_query(self, value: pulumi.Input[_builtins.str]):
|
|
2876
2875
|
pulumi.set(self, "new_relic_query", value)
|
|
2877
2876
|
|
|
2878
|
-
@property
|
|
2877
|
+
@_builtins.property
|
|
2879
2878
|
@pulumi.getter
|
|
2880
|
-
def profile(self) -> Optional[pulumi.Input[
|
|
2879
|
+
def profile(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2881
2880
|
"""
|
|
2882
2881
|
The name of the secret holding NR account configuration.
|
|
2883
2882
|
"""
|
|
2884
2883
|
return pulumi.get(self, "profile")
|
|
2885
2884
|
|
|
2886
2885
|
@profile.setter
|
|
2887
|
-
def profile(self, value: Optional[pulumi.Input[
|
|
2886
|
+
def profile(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2888
2887
|
pulumi.set(self, "profile", value)
|
|
2889
2888
|
|
|
2890
2889
|
|
|
2891
2890
|
if not MYPY:
|
|
2892
2891
|
class VerificationTemplateMetricBaselineBaselineProviderPrometheusArgsDict(TypedDict):
|
|
2893
|
-
prometheus_query: pulumi.Input[
|
|
2892
|
+
prometheus_query: pulumi.Input[_builtins.str]
|
|
2894
2893
|
"""
|
|
2895
2894
|
A request for information retrieved from Prometheus.
|
|
2896
2895
|
"""
|
|
@@ -2900,22 +2899,22 @@ elif False:
|
|
|
2900
2899
|
@pulumi.input_type
|
|
2901
2900
|
class VerificationTemplateMetricBaselineBaselineProviderPrometheusArgs:
|
|
2902
2901
|
def __init__(__self__, *,
|
|
2903
|
-
prometheus_query: pulumi.Input[
|
|
2902
|
+
prometheus_query: pulumi.Input[_builtins.str]):
|
|
2904
2903
|
"""
|
|
2905
|
-
:param pulumi.Input[
|
|
2904
|
+
:param pulumi.Input[_builtins.str] prometheus_query: A request for information retrieved from Prometheus.
|
|
2906
2905
|
"""
|
|
2907
2906
|
pulumi.set(__self__, "prometheus_query", prometheus_query)
|
|
2908
2907
|
|
|
2909
|
-
@property
|
|
2908
|
+
@_builtins.property
|
|
2910
2909
|
@pulumi.getter(name="prometheusQuery")
|
|
2911
|
-
def prometheus_query(self) -> pulumi.Input[
|
|
2910
|
+
def prometheus_query(self) -> pulumi.Input[_builtins.str]:
|
|
2912
2911
|
"""
|
|
2913
2912
|
A request for information retrieved from Prometheus.
|
|
2914
2913
|
"""
|
|
2915
2914
|
return pulumi.get(self, "prometheus_query")
|
|
2916
2915
|
|
|
2917
2916
|
@prometheus_query.setter
|
|
2918
|
-
def prometheus_query(self, value: pulumi.Input[
|
|
2917
|
+
def prometheus_query(self, value: pulumi.Input[_builtins.str]):
|
|
2919
2918
|
pulumi.set(self, "prometheus_query", value)
|
|
2920
2919
|
|
|
2921
2920
|
|
|
@@ -2986,7 +2985,7 @@ class VerificationTemplateMetricProviderArgs:
|
|
|
2986
2985
|
if web is not None:
|
|
2987
2986
|
pulumi.set(__self__, "web", web)
|
|
2988
2987
|
|
|
2989
|
-
@property
|
|
2988
|
+
@_builtins.property
|
|
2990
2989
|
@pulumi.getter(name="cloudWatch")
|
|
2991
2990
|
def cloud_watch(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderCloudWatchArgs']]:
|
|
2992
2991
|
"""
|
|
@@ -2998,7 +2997,7 @@ class VerificationTemplateMetricProviderArgs:
|
|
|
2998
2997
|
def cloud_watch(self, value: Optional[pulumi.Input['VerificationTemplateMetricProviderCloudWatchArgs']]):
|
|
2999
2998
|
pulumi.set(self, "cloud_watch", value)
|
|
3000
2999
|
|
|
3001
|
-
@property
|
|
3000
|
+
@_builtins.property
|
|
3002
3001
|
@pulumi.getter
|
|
3003
3002
|
def datadog(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderDatadogArgs']]:
|
|
3004
3003
|
"""
|
|
@@ -3010,7 +3009,7 @@ class VerificationTemplateMetricProviderArgs:
|
|
|
3010
3009
|
def datadog(self, value: Optional[pulumi.Input['VerificationTemplateMetricProviderDatadogArgs']]):
|
|
3011
3010
|
pulumi.set(self, "datadog", value)
|
|
3012
3011
|
|
|
3013
|
-
@property
|
|
3012
|
+
@_builtins.property
|
|
3014
3013
|
@pulumi.getter
|
|
3015
3014
|
def jenkins(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderJenkinsArgs']]:
|
|
3016
3015
|
"""
|
|
@@ -3022,7 +3021,7 @@ class VerificationTemplateMetricProviderArgs:
|
|
|
3022
3021
|
def jenkins(self, value: Optional[pulumi.Input['VerificationTemplateMetricProviderJenkinsArgs']]):
|
|
3023
3022
|
pulumi.set(self, "jenkins", value)
|
|
3024
3023
|
|
|
3025
|
-
@property
|
|
3024
|
+
@_builtins.property
|
|
3026
3025
|
@pulumi.getter
|
|
3027
3026
|
def job(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderJobArgs']]:
|
|
3028
3027
|
"""
|
|
@@ -3034,7 +3033,7 @@ class VerificationTemplateMetricProviderArgs:
|
|
|
3034
3033
|
def job(self, value: Optional[pulumi.Input['VerificationTemplateMetricProviderJobArgs']]):
|
|
3035
3034
|
pulumi.set(self, "job", value)
|
|
3036
3035
|
|
|
3037
|
-
@property
|
|
3036
|
+
@_builtins.property
|
|
3038
3037
|
@pulumi.getter(name="newRelic")
|
|
3039
3038
|
def new_relic(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderNewRelicArgs']]:
|
|
3040
3039
|
"""
|
|
@@ -3046,7 +3045,7 @@ class VerificationTemplateMetricProviderArgs:
|
|
|
3046
3045
|
def new_relic(self, value: Optional[pulumi.Input['VerificationTemplateMetricProviderNewRelicArgs']]):
|
|
3047
3046
|
pulumi.set(self, "new_relic", value)
|
|
3048
3047
|
|
|
3049
|
-
@property
|
|
3048
|
+
@_builtins.property
|
|
3050
3049
|
@pulumi.getter
|
|
3051
3050
|
def prometheus(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderPrometheusArgs']]:
|
|
3052
3051
|
"""
|
|
@@ -3058,7 +3057,7 @@ class VerificationTemplateMetricProviderArgs:
|
|
|
3058
3057
|
def prometheus(self, value: Optional[pulumi.Input['VerificationTemplateMetricProviderPrometheusArgs']]):
|
|
3059
3058
|
pulumi.set(self, "prometheus", value)
|
|
3060
3059
|
|
|
3061
|
-
@property
|
|
3060
|
+
@_builtins.property
|
|
3062
3061
|
@pulumi.getter
|
|
3063
3062
|
def web(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderWebArgs']]:
|
|
3064
3063
|
"""
|
|
@@ -3077,7 +3076,7 @@ if not MYPY:
|
|
|
3077
3076
|
"""
|
|
3078
3077
|
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.
|
|
3079
3078
|
"""
|
|
3080
|
-
duration: NotRequired[pulumi.Input[
|
|
3079
|
+
duration: NotRequired[pulumi.Input[_builtins.str]]
|
|
3081
3080
|
"""
|
|
3082
3081
|
The window of time we are looking at in CloudWatch.
|
|
3083
3082
|
"""
|
|
@@ -3088,16 +3087,16 @@ elif False:
|
|
|
3088
3087
|
class VerificationTemplateMetricProviderCloudWatchArgs:
|
|
3089
3088
|
def __init__(__self__, *,
|
|
3090
3089
|
metric_data_queries: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs']]],
|
|
3091
|
-
duration: Optional[pulumi.Input[
|
|
3090
|
+
duration: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3092
3091
|
"""
|
|
3093
3092
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
3094
|
-
:param pulumi.Input[
|
|
3093
|
+
:param pulumi.Input[_builtins.str] duration: The window of time we are looking at in CloudWatch.
|
|
3095
3094
|
"""
|
|
3096
3095
|
pulumi.set(__self__, "metric_data_queries", metric_data_queries)
|
|
3097
3096
|
if duration is not None:
|
|
3098
3097
|
pulumi.set(__self__, "duration", duration)
|
|
3099
3098
|
|
|
3100
|
-
@property
|
|
3099
|
+
@_builtins.property
|
|
3101
3100
|
@pulumi.getter(name="metricDataQueries")
|
|
3102
3101
|
def metric_data_queries(self) -> pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs']]]:
|
|
3103
3102
|
"""
|
|
@@ -3109,30 +3108,30 @@ class VerificationTemplateMetricProviderCloudWatchArgs:
|
|
|
3109
3108
|
def metric_data_queries(self, value: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs']]]):
|
|
3110
3109
|
pulumi.set(self, "metric_data_queries", value)
|
|
3111
3110
|
|
|
3112
|
-
@property
|
|
3111
|
+
@_builtins.property
|
|
3113
3112
|
@pulumi.getter
|
|
3114
|
-
def duration(self) -> Optional[pulumi.Input[
|
|
3113
|
+
def duration(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3115
3114
|
"""
|
|
3116
3115
|
The window of time we are looking at in CloudWatch.
|
|
3117
3116
|
"""
|
|
3118
3117
|
return pulumi.get(self, "duration")
|
|
3119
3118
|
|
|
3120
3119
|
@duration.setter
|
|
3121
|
-
def duration(self, value: Optional[pulumi.Input[
|
|
3120
|
+
def duration(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3122
3121
|
pulumi.set(self, "duration", value)
|
|
3123
3122
|
|
|
3124
3123
|
|
|
3125
3124
|
if not MYPY:
|
|
3126
3125
|
class VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgsDict(TypedDict):
|
|
3127
|
-
id: pulumi.Input[
|
|
3126
|
+
id: pulumi.Input[_builtins.str]
|
|
3128
3127
|
"""
|
|
3129
3128
|
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.
|
|
3130
3129
|
"""
|
|
3131
|
-
expression: NotRequired[pulumi.Input[
|
|
3130
|
+
expression: NotRequired[pulumi.Input[_builtins.str]]
|
|
3132
3131
|
"""
|
|
3133
3132
|
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.
|
|
3134
3133
|
"""
|
|
3135
|
-
label: NotRequired[pulumi.Input[
|
|
3134
|
+
label: NotRequired[pulumi.Input[_builtins.str]]
|
|
3136
3135
|
"""
|
|
3137
3136
|
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
|
|
3138
3137
|
"""
|
|
@@ -3140,11 +3139,11 @@ if not MYPY:
|
|
|
3140
3139
|
"""
|
|
3141
3140
|
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.
|
|
3142
3141
|
"""
|
|
3143
|
-
period: NotRequired[pulumi.Input[
|
|
3142
|
+
period: NotRequired[pulumi.Input[_builtins.int]]
|
|
3144
3143
|
"""
|
|
3145
3144
|
The granularity, in seconds, of the returned data points.
|
|
3146
3145
|
"""
|
|
3147
|
-
return_data: NotRequired[pulumi.Input[
|
|
3146
|
+
return_data: NotRequired[pulumi.Input[_builtins.bool]]
|
|
3148
3147
|
"""
|
|
3149
3148
|
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.
|
|
3150
3149
|
"""
|
|
@@ -3154,19 +3153,19 @@ elif False:
|
|
|
3154
3153
|
@pulumi.input_type
|
|
3155
3154
|
class VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs:
|
|
3156
3155
|
def __init__(__self__, *,
|
|
3157
|
-
id: pulumi.Input[
|
|
3158
|
-
expression: Optional[pulumi.Input[
|
|
3159
|
-
label: Optional[pulumi.Input[
|
|
3156
|
+
id: pulumi.Input[_builtins.str],
|
|
3157
|
+
expression: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3158
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3160
3159
|
metric_stat: Optional[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs']] = None,
|
|
3161
|
-
period: Optional[pulumi.Input[
|
|
3162
|
-
return_data: Optional[pulumi.Input[
|
|
3160
|
+
period: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3161
|
+
return_data: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
3163
3162
|
"""
|
|
3164
|
-
:param pulumi.Input[
|
|
3165
|
-
:param pulumi.Input[
|
|
3166
|
-
:param pulumi.Input[
|
|
3163
|
+
:param pulumi.Input[_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.
|
|
3164
|
+
:param pulumi.Input[_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.
|
|
3165
|
+
:param pulumi.Input[_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
|
|
3167
3166
|
:param pulumi.Input['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.
|
|
3168
|
-
:param pulumi.Input[
|
|
3169
|
-
:param pulumi.Input[
|
|
3167
|
+
:param pulumi.Input[_builtins.int] period: The granularity, in seconds, of the returned data points.
|
|
3168
|
+
:param pulumi.Input[_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.
|
|
3170
3169
|
"""
|
|
3171
3170
|
pulumi.set(__self__, "id", id)
|
|
3172
3171
|
if expression is not None:
|
|
@@ -3180,43 +3179,43 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs:
|
|
|
3180
3179
|
if return_data is not None:
|
|
3181
3180
|
pulumi.set(__self__, "return_data", return_data)
|
|
3182
3181
|
|
|
3183
|
-
@property
|
|
3182
|
+
@_builtins.property
|
|
3184
3183
|
@pulumi.getter
|
|
3185
|
-
def id(self) -> pulumi.Input[
|
|
3184
|
+
def id(self) -> pulumi.Input[_builtins.str]:
|
|
3186
3185
|
"""
|
|
3187
3186
|
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.
|
|
3188
3187
|
"""
|
|
3189
3188
|
return pulumi.get(self, "id")
|
|
3190
3189
|
|
|
3191
3190
|
@id.setter
|
|
3192
|
-
def id(self, value: pulumi.Input[
|
|
3191
|
+
def id(self, value: pulumi.Input[_builtins.str]):
|
|
3193
3192
|
pulumi.set(self, "id", value)
|
|
3194
3193
|
|
|
3195
|
-
@property
|
|
3194
|
+
@_builtins.property
|
|
3196
3195
|
@pulumi.getter
|
|
3197
|
-
def expression(self) -> Optional[pulumi.Input[
|
|
3196
|
+
def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3198
3197
|
"""
|
|
3199
3198
|
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.
|
|
3200
3199
|
"""
|
|
3201
3200
|
return pulumi.get(self, "expression")
|
|
3202
3201
|
|
|
3203
3202
|
@expression.setter
|
|
3204
|
-
def expression(self, value: Optional[pulumi.Input[
|
|
3203
|
+
def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3205
3204
|
pulumi.set(self, "expression", value)
|
|
3206
3205
|
|
|
3207
|
-
@property
|
|
3206
|
+
@_builtins.property
|
|
3208
3207
|
@pulumi.getter
|
|
3209
|
-
def label(self) -> Optional[pulumi.Input[
|
|
3208
|
+
def label(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3210
3209
|
"""
|
|
3211
3210
|
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
|
|
3212
3211
|
"""
|
|
3213
3212
|
return pulumi.get(self, "label")
|
|
3214
3213
|
|
|
3215
3214
|
@label.setter
|
|
3216
|
-
def label(self, value: Optional[pulumi.Input[
|
|
3215
|
+
def label(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3217
3216
|
pulumi.set(self, "label", value)
|
|
3218
3217
|
|
|
3219
|
-
@property
|
|
3218
|
+
@_builtins.property
|
|
3220
3219
|
@pulumi.getter(name="metricStat")
|
|
3221
3220
|
def metric_stat(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs']]:
|
|
3222
3221
|
"""
|
|
@@ -3228,28 +3227,28 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs:
|
|
|
3228
3227
|
def metric_stat(self, value: Optional[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs']]):
|
|
3229
3228
|
pulumi.set(self, "metric_stat", value)
|
|
3230
3229
|
|
|
3231
|
-
@property
|
|
3230
|
+
@_builtins.property
|
|
3232
3231
|
@pulumi.getter
|
|
3233
|
-
def period(self) -> Optional[pulumi.Input[
|
|
3232
|
+
def period(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3234
3233
|
"""
|
|
3235
3234
|
The granularity, in seconds, of the returned data points.
|
|
3236
3235
|
"""
|
|
3237
3236
|
return pulumi.get(self, "period")
|
|
3238
3237
|
|
|
3239
3238
|
@period.setter
|
|
3240
|
-
def period(self, value: Optional[pulumi.Input[
|
|
3239
|
+
def period(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3241
3240
|
pulumi.set(self, "period", value)
|
|
3242
3241
|
|
|
3243
|
-
@property
|
|
3242
|
+
@_builtins.property
|
|
3244
3243
|
@pulumi.getter(name="returnData")
|
|
3245
|
-
def return_data(self) -> Optional[pulumi.Input[
|
|
3244
|
+
def return_data(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
3246
3245
|
"""
|
|
3247
3246
|
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.
|
|
3248
3247
|
"""
|
|
3249
3248
|
return pulumi.get(self, "return_data")
|
|
3250
3249
|
|
|
3251
3250
|
@return_data.setter
|
|
3252
|
-
def return_data(self, value: Optional[pulumi.Input[
|
|
3251
|
+
def return_data(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
3253
3252
|
pulumi.set(self, "return_data", value)
|
|
3254
3253
|
|
|
3255
3254
|
|
|
@@ -3259,15 +3258,15 @@ if not MYPY:
|
|
|
3259
3258
|
"""
|
|
3260
3259
|
The metric to return, including the metric name, namespace, and dimensions.
|
|
3261
3260
|
"""
|
|
3262
|
-
metric_period: NotRequired[pulumi.Input[
|
|
3261
|
+
metric_period: NotRequired[pulumi.Input[_builtins.int]]
|
|
3263
3262
|
"""
|
|
3264
3263
|
The granularity, in seconds, of the returned data points.
|
|
3265
3264
|
"""
|
|
3266
|
-
stat: NotRequired[pulumi.Input[
|
|
3265
|
+
stat: NotRequired[pulumi.Input[_builtins.str]]
|
|
3267
3266
|
"""
|
|
3268
3267
|
The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
3269
3268
|
"""
|
|
3270
|
-
unit: NotRequired[pulumi.Input[
|
|
3269
|
+
unit: NotRequired[pulumi.Input[_builtins.str]]
|
|
3271
3270
|
"""
|
|
3272
3271
|
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"`
|
|
3273
3272
|
"""
|
|
@@ -3278,14 +3277,14 @@ elif False:
|
|
|
3278
3277
|
class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs:
|
|
3279
3278
|
def __init__(__self__, *,
|
|
3280
3279
|
metric: Optional[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs']] = None,
|
|
3281
|
-
metric_period: Optional[pulumi.Input[
|
|
3282
|
-
stat: Optional[pulumi.Input[
|
|
3283
|
-
unit: Optional[pulumi.Input[
|
|
3280
|
+
metric_period: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3281
|
+
stat: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3282
|
+
unit: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3284
3283
|
"""
|
|
3285
3284
|
:param pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs'] metric: The metric to return, including the metric name, namespace, and dimensions.
|
|
3286
|
-
:param pulumi.Input[
|
|
3287
|
-
:param pulumi.Input[
|
|
3288
|
-
:param pulumi.Input[
|
|
3285
|
+
:param pulumi.Input[_builtins.int] metric_period: The granularity, in seconds, of the returned data points.
|
|
3286
|
+
:param pulumi.Input[_builtins.str] stat: The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
3287
|
+
:param pulumi.Input[_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"`
|
|
3289
3288
|
"""
|
|
3290
3289
|
if metric is not None:
|
|
3291
3290
|
pulumi.set(__self__, "metric", metric)
|
|
@@ -3296,7 +3295,7 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs:
|
|
|
3296
3295
|
if unit is not None:
|
|
3297
3296
|
pulumi.set(__self__, "unit", unit)
|
|
3298
3297
|
|
|
3299
|
-
@property
|
|
3298
|
+
@_builtins.property
|
|
3300
3299
|
@pulumi.getter
|
|
3301
3300
|
def metric(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs']]:
|
|
3302
3301
|
"""
|
|
@@ -3308,46 +3307,46 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs:
|
|
|
3308
3307
|
def metric(self, value: Optional[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs']]):
|
|
3309
3308
|
pulumi.set(self, "metric", value)
|
|
3310
3309
|
|
|
3311
|
-
@property
|
|
3310
|
+
@_builtins.property
|
|
3312
3311
|
@pulumi.getter(name="metricPeriod")
|
|
3313
|
-
def metric_period(self) -> Optional[pulumi.Input[
|
|
3312
|
+
def metric_period(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3314
3313
|
"""
|
|
3315
3314
|
The granularity, in seconds, of the returned data points.
|
|
3316
3315
|
"""
|
|
3317
3316
|
return pulumi.get(self, "metric_period")
|
|
3318
3317
|
|
|
3319
3318
|
@metric_period.setter
|
|
3320
|
-
def metric_period(self, value: Optional[pulumi.Input[
|
|
3319
|
+
def metric_period(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3321
3320
|
pulumi.set(self, "metric_period", value)
|
|
3322
3321
|
|
|
3323
|
-
@property
|
|
3322
|
+
@_builtins.property
|
|
3324
3323
|
@pulumi.getter
|
|
3325
|
-
def stat(self) -> Optional[pulumi.Input[
|
|
3324
|
+
def stat(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3326
3325
|
"""
|
|
3327
3326
|
The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
3328
3327
|
"""
|
|
3329
3328
|
return pulumi.get(self, "stat")
|
|
3330
3329
|
|
|
3331
3330
|
@stat.setter
|
|
3332
|
-
def stat(self, value: Optional[pulumi.Input[
|
|
3331
|
+
def stat(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3333
3332
|
pulumi.set(self, "stat", value)
|
|
3334
3333
|
|
|
3335
|
-
@property
|
|
3334
|
+
@_builtins.property
|
|
3336
3335
|
@pulumi.getter
|
|
3337
|
-
def unit(self) -> Optional[pulumi.Input[
|
|
3336
|
+
def unit(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3338
3337
|
"""
|
|
3339
3338
|
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"`
|
|
3340
3339
|
"""
|
|
3341
3340
|
return pulumi.get(self, "unit")
|
|
3342
3341
|
|
|
3343
3342
|
@unit.setter
|
|
3344
|
-
def unit(self, value: Optional[pulumi.Input[
|
|
3343
|
+
def unit(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3345
3344
|
pulumi.set(self, "unit", value)
|
|
3346
3345
|
|
|
3347
3346
|
|
|
3348
3347
|
if not MYPY:
|
|
3349
3348
|
class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgsDict(TypedDict):
|
|
3350
|
-
metric_name: pulumi.Input[
|
|
3349
|
+
metric_name: pulumi.Input[_builtins.str]
|
|
3351
3350
|
"""
|
|
3352
3351
|
The name of the metric.
|
|
3353
3352
|
"""
|
|
@@ -3355,7 +3354,7 @@ if not MYPY:
|
|
|
3355
3354
|
"""
|
|
3356
3355
|
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
|
|
3357
3356
|
"""
|
|
3358
|
-
namespace: NotRequired[pulumi.Input[
|
|
3357
|
+
namespace: NotRequired[pulumi.Input[_builtins.str]]
|
|
3359
3358
|
"""
|
|
3360
3359
|
The namespace of the metric.
|
|
3361
3360
|
"""
|
|
@@ -3365,13 +3364,13 @@ elif False:
|
|
|
3365
3364
|
@pulumi.input_type
|
|
3366
3365
|
class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs:
|
|
3367
3366
|
def __init__(__self__, *,
|
|
3368
|
-
metric_name: pulumi.Input[
|
|
3367
|
+
metric_name: pulumi.Input[_builtins.str],
|
|
3369
3368
|
dimensions: Optional[pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs']]]] = None,
|
|
3370
|
-
namespace: Optional[pulumi.Input[
|
|
3369
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3371
3370
|
"""
|
|
3372
|
-
:param pulumi.Input[
|
|
3371
|
+
:param pulumi.Input[_builtins.str] metric_name: The name of the metric.
|
|
3373
3372
|
:param pulumi.Input[Sequence[pulumi.Input['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
|
|
3374
|
-
:param pulumi.Input[
|
|
3373
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace of the metric.
|
|
3375
3374
|
"""
|
|
3376
3375
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
3377
3376
|
if dimensions is not None:
|
|
@@ -3379,19 +3378,19 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
3379
3378
|
if namespace is not None:
|
|
3380
3379
|
pulumi.set(__self__, "namespace", namespace)
|
|
3381
3380
|
|
|
3382
|
-
@property
|
|
3381
|
+
@_builtins.property
|
|
3383
3382
|
@pulumi.getter(name="metricName")
|
|
3384
|
-
def metric_name(self) -> pulumi.Input[
|
|
3383
|
+
def metric_name(self) -> pulumi.Input[_builtins.str]:
|
|
3385
3384
|
"""
|
|
3386
3385
|
The name of the metric.
|
|
3387
3386
|
"""
|
|
3388
3387
|
return pulumi.get(self, "metric_name")
|
|
3389
3388
|
|
|
3390
3389
|
@metric_name.setter
|
|
3391
|
-
def metric_name(self, value: pulumi.Input[
|
|
3390
|
+
def metric_name(self, value: pulumi.Input[_builtins.str]):
|
|
3392
3391
|
pulumi.set(self, "metric_name", value)
|
|
3393
3392
|
|
|
3394
|
-
@property
|
|
3393
|
+
@_builtins.property
|
|
3395
3394
|
@pulumi.getter
|
|
3396
3395
|
def dimensions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs']]]]:
|
|
3397
3396
|
"""
|
|
@@ -3403,26 +3402,26 @@ class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetri
|
|
|
3403
3402
|
def dimensions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs']]]]):
|
|
3404
3403
|
pulumi.set(self, "dimensions", value)
|
|
3405
3404
|
|
|
3406
|
-
@property
|
|
3405
|
+
@_builtins.property
|
|
3407
3406
|
@pulumi.getter
|
|
3408
|
-
def namespace(self) -> Optional[pulumi.Input[
|
|
3407
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3409
3408
|
"""
|
|
3410
3409
|
The namespace of the metric.
|
|
3411
3410
|
"""
|
|
3412
3411
|
return pulumi.get(self, "namespace")
|
|
3413
3412
|
|
|
3414
3413
|
@namespace.setter
|
|
3415
|
-
def namespace(self, value: Optional[pulumi.Input[
|
|
3414
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3416
3415
|
pulumi.set(self, "namespace", value)
|
|
3417
3416
|
|
|
3418
3417
|
|
|
3419
3418
|
if not MYPY:
|
|
3420
3419
|
class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgsDict(TypedDict):
|
|
3421
|
-
dimension_name: pulumi.Input[
|
|
3420
|
+
dimension_name: pulumi.Input[_builtins.str]
|
|
3422
3421
|
"""
|
|
3423
3422
|
The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
3424
3423
|
"""
|
|
3425
|
-
dimension_value: pulumi.Input[
|
|
3424
|
+
dimension_value: pulumi.Input[_builtins.str]
|
|
3426
3425
|
"""
|
|
3427
3426
|
The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
3428
3427
|
"""
|
|
@@ -3432,47 +3431,47 @@ elif False:
|
|
|
3432
3431
|
@pulumi.input_type
|
|
3433
3432
|
class VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs:
|
|
3434
3433
|
def __init__(__self__, *,
|
|
3435
|
-
dimension_name: pulumi.Input[
|
|
3436
|
-
dimension_value: pulumi.Input[
|
|
3434
|
+
dimension_name: pulumi.Input[_builtins.str],
|
|
3435
|
+
dimension_value: pulumi.Input[_builtins.str]):
|
|
3437
3436
|
"""
|
|
3438
|
-
:param pulumi.Input[
|
|
3439
|
-
:param pulumi.Input[
|
|
3437
|
+
:param pulumi.Input[_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
|
|
3438
|
+
:param pulumi.Input[_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
|
|
3440
3439
|
"""
|
|
3441
3440
|
pulumi.set(__self__, "dimension_name", dimension_name)
|
|
3442
3441
|
pulumi.set(__self__, "dimension_value", dimension_value)
|
|
3443
3442
|
|
|
3444
|
-
@property
|
|
3443
|
+
@_builtins.property
|
|
3445
3444
|
@pulumi.getter(name="dimensionName")
|
|
3446
|
-
def dimension_name(self) -> pulumi.Input[
|
|
3445
|
+
def dimension_name(self) -> pulumi.Input[_builtins.str]:
|
|
3447
3446
|
"""
|
|
3448
3447
|
The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
3449
3448
|
"""
|
|
3450
3449
|
return pulumi.get(self, "dimension_name")
|
|
3451
3450
|
|
|
3452
3451
|
@dimension_name.setter
|
|
3453
|
-
def dimension_name(self, value: pulumi.Input[
|
|
3452
|
+
def dimension_name(self, value: pulumi.Input[_builtins.str]):
|
|
3454
3453
|
pulumi.set(self, "dimension_name", value)
|
|
3455
3454
|
|
|
3456
|
-
@property
|
|
3455
|
+
@_builtins.property
|
|
3457
3456
|
@pulumi.getter(name="dimensionValue")
|
|
3458
|
-
def dimension_value(self) -> pulumi.Input[
|
|
3457
|
+
def dimension_value(self) -> pulumi.Input[_builtins.str]:
|
|
3459
3458
|
"""
|
|
3460
3459
|
The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
|
|
3461
3460
|
"""
|
|
3462
3461
|
return pulumi.get(self, "dimension_value")
|
|
3463
3462
|
|
|
3464
3463
|
@dimension_value.setter
|
|
3465
|
-
def dimension_value(self, value: pulumi.Input[
|
|
3464
|
+
def dimension_value(self, value: pulumi.Input[_builtins.str]):
|
|
3466
3465
|
pulumi.set(self, "dimension_value", value)
|
|
3467
3466
|
|
|
3468
3467
|
|
|
3469
3468
|
if not MYPY:
|
|
3470
3469
|
class VerificationTemplateMetricProviderDatadogArgsDict(TypedDict):
|
|
3471
|
-
datadog_query: NotRequired[pulumi.Input[
|
|
3470
|
+
datadog_query: NotRequired[pulumi.Input[_builtins.str]]
|
|
3472
3471
|
"""
|
|
3473
3472
|
A request for information retrieved from Datadog.
|
|
3474
3473
|
"""
|
|
3475
|
-
duration: NotRequired[pulumi.Input[
|
|
3474
|
+
duration: NotRequired[pulumi.Input[_builtins.str]]
|
|
3476
3475
|
"""
|
|
3477
3476
|
The window of time we are looking at in DataDog.
|
|
3478
3477
|
"""
|
|
@@ -3482,53 +3481,53 @@ elif False:
|
|
|
3482
3481
|
@pulumi.input_type
|
|
3483
3482
|
class VerificationTemplateMetricProviderDatadogArgs:
|
|
3484
3483
|
def __init__(__self__, *,
|
|
3485
|
-
datadog_query: Optional[pulumi.Input[
|
|
3486
|
-
duration: Optional[pulumi.Input[
|
|
3484
|
+
datadog_query: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3485
|
+
duration: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3487
3486
|
"""
|
|
3488
|
-
:param pulumi.Input[
|
|
3489
|
-
:param pulumi.Input[
|
|
3487
|
+
:param pulumi.Input[_builtins.str] datadog_query: A request for information retrieved from Datadog.
|
|
3488
|
+
:param pulumi.Input[_builtins.str] duration: The window of time we are looking at in DataDog.
|
|
3490
3489
|
"""
|
|
3491
3490
|
if datadog_query is not None:
|
|
3492
3491
|
pulumi.set(__self__, "datadog_query", datadog_query)
|
|
3493
3492
|
if duration is not None:
|
|
3494
3493
|
pulumi.set(__self__, "duration", duration)
|
|
3495
3494
|
|
|
3496
|
-
@property
|
|
3495
|
+
@_builtins.property
|
|
3497
3496
|
@pulumi.getter(name="datadogQuery")
|
|
3498
|
-
def datadog_query(self) -> Optional[pulumi.Input[
|
|
3497
|
+
def datadog_query(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3499
3498
|
"""
|
|
3500
3499
|
A request for information retrieved from Datadog.
|
|
3501
3500
|
"""
|
|
3502
3501
|
return pulumi.get(self, "datadog_query")
|
|
3503
3502
|
|
|
3504
3503
|
@datadog_query.setter
|
|
3505
|
-
def datadog_query(self, value: Optional[pulumi.Input[
|
|
3504
|
+
def datadog_query(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3506
3505
|
pulumi.set(self, "datadog_query", value)
|
|
3507
3506
|
|
|
3508
|
-
@property
|
|
3507
|
+
@_builtins.property
|
|
3509
3508
|
@pulumi.getter
|
|
3510
|
-
def duration(self) -> Optional[pulumi.Input[
|
|
3509
|
+
def duration(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3511
3510
|
"""
|
|
3512
3511
|
The window of time we are looking at in DataDog.
|
|
3513
3512
|
"""
|
|
3514
3513
|
return pulumi.get(self, "duration")
|
|
3515
3514
|
|
|
3516
3515
|
@duration.setter
|
|
3517
|
-
def duration(self, value: Optional[pulumi.Input[
|
|
3516
|
+
def duration(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3518
3517
|
pulumi.set(self, "duration", value)
|
|
3519
3518
|
|
|
3520
3519
|
|
|
3521
3520
|
if not MYPY:
|
|
3522
3521
|
class VerificationTemplateMetricProviderJenkinsArgsDict(TypedDict):
|
|
3523
|
-
jenkins_interval: pulumi.Input[
|
|
3522
|
+
jenkins_interval: pulumi.Input[_builtins.str]
|
|
3524
3523
|
"""
|
|
3525
3524
|
The interval time to poll status.
|
|
3526
3525
|
"""
|
|
3527
|
-
pipeline_name: pulumi.Input[
|
|
3526
|
+
pipeline_name: pulumi.Input[_builtins.str]
|
|
3528
3527
|
"""
|
|
3529
3528
|
The Jenkins pipeline name.
|
|
3530
3529
|
"""
|
|
3531
|
-
timeout: pulumi.Input[
|
|
3530
|
+
timeout: pulumi.Input[_builtins.str]
|
|
3532
3531
|
"""
|
|
3533
3532
|
The total jenkins timeout.
|
|
3534
3533
|
"""
|
|
@@ -3536,7 +3535,7 @@ if not MYPY:
|
|
|
3536
3535
|
"""
|
|
3537
3536
|
List of parameters.
|
|
3538
3537
|
"""
|
|
3539
|
-
tls_verification: NotRequired[pulumi.Input[
|
|
3538
|
+
tls_verification: NotRequired[pulumi.Input[_builtins.bool]]
|
|
3540
3539
|
"""
|
|
3541
3540
|
Host TLS verification.
|
|
3542
3541
|
"""
|
|
@@ -3546,17 +3545,17 @@ elif False:
|
|
|
3546
3545
|
@pulumi.input_type
|
|
3547
3546
|
class VerificationTemplateMetricProviderJenkinsArgs:
|
|
3548
3547
|
def __init__(__self__, *,
|
|
3549
|
-
jenkins_interval: pulumi.Input[
|
|
3550
|
-
pipeline_name: pulumi.Input[
|
|
3551
|
-
timeout: pulumi.Input[
|
|
3548
|
+
jenkins_interval: pulumi.Input[_builtins.str],
|
|
3549
|
+
pipeline_name: pulumi.Input[_builtins.str],
|
|
3550
|
+
timeout: pulumi.Input[_builtins.str],
|
|
3552
3551
|
jenkins_parameters: Optional[pulumi.Input['VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs']] = None,
|
|
3553
|
-
tls_verification: Optional[pulumi.Input[
|
|
3552
|
+
tls_verification: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
3554
3553
|
"""
|
|
3555
|
-
:param pulumi.Input[
|
|
3556
|
-
:param pulumi.Input[
|
|
3557
|
-
:param pulumi.Input[
|
|
3554
|
+
:param pulumi.Input[_builtins.str] jenkins_interval: The interval time to poll status.
|
|
3555
|
+
:param pulumi.Input[_builtins.str] pipeline_name: The Jenkins pipeline name.
|
|
3556
|
+
:param pulumi.Input[_builtins.str] timeout: The total jenkins timeout.
|
|
3558
3557
|
:param pulumi.Input['VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs'] jenkins_parameters: List of parameters.
|
|
3559
|
-
:param pulumi.Input[
|
|
3558
|
+
:param pulumi.Input[_builtins.bool] tls_verification: Host TLS verification.
|
|
3560
3559
|
"""
|
|
3561
3560
|
pulumi.set(__self__, "jenkins_interval", jenkins_interval)
|
|
3562
3561
|
pulumi.set(__self__, "pipeline_name", pipeline_name)
|
|
@@ -3566,43 +3565,43 @@ class VerificationTemplateMetricProviderJenkinsArgs:
|
|
|
3566
3565
|
if tls_verification is not None:
|
|
3567
3566
|
pulumi.set(__self__, "tls_verification", tls_verification)
|
|
3568
3567
|
|
|
3569
|
-
@property
|
|
3568
|
+
@_builtins.property
|
|
3570
3569
|
@pulumi.getter(name="jenkinsInterval")
|
|
3571
|
-
def jenkins_interval(self) -> pulumi.Input[
|
|
3570
|
+
def jenkins_interval(self) -> pulumi.Input[_builtins.str]:
|
|
3572
3571
|
"""
|
|
3573
3572
|
The interval time to poll status.
|
|
3574
3573
|
"""
|
|
3575
3574
|
return pulumi.get(self, "jenkins_interval")
|
|
3576
3575
|
|
|
3577
3576
|
@jenkins_interval.setter
|
|
3578
|
-
def jenkins_interval(self, value: pulumi.Input[
|
|
3577
|
+
def jenkins_interval(self, value: pulumi.Input[_builtins.str]):
|
|
3579
3578
|
pulumi.set(self, "jenkins_interval", value)
|
|
3580
3579
|
|
|
3581
|
-
@property
|
|
3580
|
+
@_builtins.property
|
|
3582
3581
|
@pulumi.getter(name="pipelineName")
|
|
3583
|
-
def pipeline_name(self) -> pulumi.Input[
|
|
3582
|
+
def pipeline_name(self) -> pulumi.Input[_builtins.str]:
|
|
3584
3583
|
"""
|
|
3585
3584
|
The Jenkins pipeline name.
|
|
3586
3585
|
"""
|
|
3587
3586
|
return pulumi.get(self, "pipeline_name")
|
|
3588
3587
|
|
|
3589
3588
|
@pipeline_name.setter
|
|
3590
|
-
def pipeline_name(self, value: pulumi.Input[
|
|
3589
|
+
def pipeline_name(self, value: pulumi.Input[_builtins.str]):
|
|
3591
3590
|
pulumi.set(self, "pipeline_name", value)
|
|
3592
3591
|
|
|
3593
|
-
@property
|
|
3592
|
+
@_builtins.property
|
|
3594
3593
|
@pulumi.getter
|
|
3595
|
-
def timeout(self) -> pulumi.Input[
|
|
3594
|
+
def timeout(self) -> pulumi.Input[_builtins.str]:
|
|
3596
3595
|
"""
|
|
3597
3596
|
The total jenkins timeout.
|
|
3598
3597
|
"""
|
|
3599
3598
|
return pulumi.get(self, "timeout")
|
|
3600
3599
|
|
|
3601
3600
|
@timeout.setter
|
|
3602
|
-
def timeout(self, value: pulumi.Input[
|
|
3601
|
+
def timeout(self, value: pulumi.Input[_builtins.str]):
|
|
3603
3602
|
pulumi.set(self, "timeout", value)
|
|
3604
3603
|
|
|
3605
|
-
@property
|
|
3604
|
+
@_builtins.property
|
|
3606
3605
|
@pulumi.getter(name="jenkinsParameters")
|
|
3607
3606
|
def jenkins_parameters(self) -> Optional[pulumi.Input['VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs']]:
|
|
3608
3607
|
"""
|
|
@@ -3614,26 +3613,26 @@ class VerificationTemplateMetricProviderJenkinsArgs:
|
|
|
3614
3613
|
def jenkins_parameters(self, value: Optional[pulumi.Input['VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs']]):
|
|
3615
3614
|
pulumi.set(self, "jenkins_parameters", value)
|
|
3616
3615
|
|
|
3617
|
-
@property
|
|
3616
|
+
@_builtins.property
|
|
3618
3617
|
@pulumi.getter(name="tlsVerification")
|
|
3619
|
-
def tls_verification(self) -> Optional[pulumi.Input[
|
|
3618
|
+
def tls_verification(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
3620
3619
|
"""
|
|
3621
3620
|
Host TLS verification.
|
|
3622
3621
|
"""
|
|
3623
3622
|
return pulumi.get(self, "tls_verification")
|
|
3624
3623
|
|
|
3625
3624
|
@tls_verification.setter
|
|
3626
|
-
def tls_verification(self, value: Optional[pulumi.Input[
|
|
3625
|
+
def tls_verification(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
3627
3626
|
pulumi.set(self, "tls_verification", value)
|
|
3628
3627
|
|
|
3629
3628
|
|
|
3630
3629
|
if not MYPY:
|
|
3631
3630
|
class VerificationTemplateMetricProviderJenkinsJenkinsParametersArgsDict(TypedDict):
|
|
3632
|
-
parameter_key: pulumi.Input[
|
|
3631
|
+
parameter_key: pulumi.Input[_builtins.str]
|
|
3633
3632
|
"""
|
|
3634
3633
|
Key of an argument.
|
|
3635
3634
|
"""
|
|
3636
|
-
parameter_value: pulumi.Input[
|
|
3635
|
+
parameter_value: pulumi.Input[_builtins.str]
|
|
3637
3636
|
"""
|
|
3638
3637
|
Value of an argument.
|
|
3639
3638
|
"""
|
|
@@ -3643,37 +3642,37 @@ elif False:
|
|
|
3643
3642
|
@pulumi.input_type
|
|
3644
3643
|
class VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs:
|
|
3645
3644
|
def __init__(__self__, *,
|
|
3646
|
-
parameter_key: pulumi.Input[
|
|
3647
|
-
parameter_value: pulumi.Input[
|
|
3645
|
+
parameter_key: pulumi.Input[_builtins.str],
|
|
3646
|
+
parameter_value: pulumi.Input[_builtins.str]):
|
|
3648
3647
|
"""
|
|
3649
|
-
:param pulumi.Input[
|
|
3650
|
-
:param pulumi.Input[
|
|
3648
|
+
:param pulumi.Input[_builtins.str] parameter_key: Key of an argument.
|
|
3649
|
+
:param pulumi.Input[_builtins.str] parameter_value: Value of an argument.
|
|
3651
3650
|
"""
|
|
3652
3651
|
pulumi.set(__self__, "parameter_key", parameter_key)
|
|
3653
3652
|
pulumi.set(__self__, "parameter_value", parameter_value)
|
|
3654
3653
|
|
|
3655
|
-
@property
|
|
3654
|
+
@_builtins.property
|
|
3656
3655
|
@pulumi.getter(name="parameterKey")
|
|
3657
|
-
def parameter_key(self) -> pulumi.Input[
|
|
3656
|
+
def parameter_key(self) -> pulumi.Input[_builtins.str]:
|
|
3658
3657
|
"""
|
|
3659
3658
|
Key of an argument.
|
|
3660
3659
|
"""
|
|
3661
3660
|
return pulumi.get(self, "parameter_key")
|
|
3662
3661
|
|
|
3663
3662
|
@parameter_key.setter
|
|
3664
|
-
def parameter_key(self, value: pulumi.Input[
|
|
3663
|
+
def parameter_key(self, value: pulumi.Input[_builtins.str]):
|
|
3665
3664
|
pulumi.set(self, "parameter_key", value)
|
|
3666
3665
|
|
|
3667
|
-
@property
|
|
3666
|
+
@_builtins.property
|
|
3668
3667
|
@pulumi.getter(name="parameterValue")
|
|
3669
|
-
def parameter_value(self) -> pulumi.Input[
|
|
3668
|
+
def parameter_value(self) -> pulumi.Input[_builtins.str]:
|
|
3670
3669
|
"""
|
|
3671
3670
|
Value of an argument.
|
|
3672
3671
|
"""
|
|
3673
3672
|
return pulumi.get(self, "parameter_value")
|
|
3674
3673
|
|
|
3675
3674
|
@parameter_value.setter
|
|
3676
|
-
def parameter_value(self, value: pulumi.Input[
|
|
3675
|
+
def parameter_value(self, value: pulumi.Input[_builtins.str]):
|
|
3677
3676
|
pulumi.set(self, "parameter_value", value)
|
|
3678
3677
|
|
|
3679
3678
|
|
|
@@ -3695,7 +3694,7 @@ class VerificationTemplateMetricProviderJobArgs:
|
|
|
3695
3694
|
"""
|
|
3696
3695
|
pulumi.set(__self__, "specs", specs)
|
|
3697
3696
|
|
|
3698
|
-
@property
|
|
3697
|
+
@_builtins.property
|
|
3699
3698
|
@pulumi.getter
|
|
3700
3699
|
def specs(self) -> pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecArgs']]]:
|
|
3701
3700
|
"""
|
|
@@ -3714,7 +3713,7 @@ if not MYPY:
|
|
|
3714
3713
|
"""
|
|
3715
3714
|
Describes the pod that will be created when executing a job.
|
|
3716
3715
|
"""
|
|
3717
|
-
backoff_limit: NotRequired[pulumi.Input[
|
|
3716
|
+
backoff_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
3718
3717
|
"""
|
|
3719
3718
|
Specifies the number of retries before marking this job failed.
|
|
3720
3719
|
"""
|
|
@@ -3725,16 +3724,16 @@ elif False:
|
|
|
3725
3724
|
class VerificationTemplateMetricProviderJobSpecArgs:
|
|
3726
3725
|
def __init__(__self__, *,
|
|
3727
3726
|
job_templates: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecJobTemplateArgs']]],
|
|
3728
|
-
backoff_limit: Optional[pulumi.Input[
|
|
3727
|
+
backoff_limit: Optional[pulumi.Input[_builtins.int]] = None):
|
|
3729
3728
|
"""
|
|
3730
3729
|
:param pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecJobTemplateArgs']]] job_templates: Describes the pod that will be created when executing a job.
|
|
3731
|
-
:param pulumi.Input[
|
|
3730
|
+
:param pulumi.Input[_builtins.int] backoff_limit: Specifies the number of retries before marking this job failed.
|
|
3732
3731
|
"""
|
|
3733
3732
|
pulumi.set(__self__, "job_templates", job_templates)
|
|
3734
3733
|
if backoff_limit is not None:
|
|
3735
3734
|
pulumi.set(__self__, "backoff_limit", backoff_limit)
|
|
3736
3735
|
|
|
3737
|
-
@property
|
|
3736
|
+
@_builtins.property
|
|
3738
3737
|
@pulumi.getter(name="jobTemplates")
|
|
3739
3738
|
def job_templates(self) -> pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecJobTemplateArgs']]]:
|
|
3740
3739
|
"""
|
|
@@ -3746,16 +3745,16 @@ class VerificationTemplateMetricProviderJobSpecArgs:
|
|
|
3746
3745
|
def job_templates(self, value: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecJobTemplateArgs']]]):
|
|
3747
3746
|
pulumi.set(self, "job_templates", value)
|
|
3748
3747
|
|
|
3749
|
-
@property
|
|
3748
|
+
@_builtins.property
|
|
3750
3749
|
@pulumi.getter(name="backoffLimit")
|
|
3751
|
-
def backoff_limit(self) -> Optional[pulumi.Input[
|
|
3750
|
+
def backoff_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3752
3751
|
"""
|
|
3753
3752
|
Specifies the number of retries before marking this job failed.
|
|
3754
3753
|
"""
|
|
3755
3754
|
return pulumi.get(self, "backoff_limit")
|
|
3756
3755
|
|
|
3757
3756
|
@backoff_limit.setter
|
|
3758
|
-
def backoff_limit(self, value: Optional[pulumi.Input[
|
|
3757
|
+
def backoff_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3759
3758
|
pulumi.set(self, "backoff_limit", value)
|
|
3760
3759
|
|
|
3761
3760
|
|
|
@@ -3777,7 +3776,7 @@ class VerificationTemplateMetricProviderJobSpecJobTemplateArgs:
|
|
|
3777
3776
|
"""
|
|
3778
3777
|
pulumi.set(__self__, "template_specs", template_specs)
|
|
3779
3778
|
|
|
3780
|
-
@property
|
|
3779
|
+
@_builtins.property
|
|
3781
3780
|
@pulumi.getter(name="templateSpecs")
|
|
3782
3781
|
def template_specs(self) -> pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs']]]:
|
|
3783
3782
|
"""
|
|
@@ -3796,7 +3795,7 @@ if not MYPY:
|
|
|
3796
3795
|
"""
|
|
3797
3796
|
A list of containers belonging to the pod.
|
|
3798
3797
|
"""
|
|
3799
|
-
restart_policy: pulumi.Input[
|
|
3798
|
+
restart_policy: pulumi.Input[_builtins.str]
|
|
3800
3799
|
"""
|
|
3801
3800
|
Restart policy for all containers within the pod. Enum: `"Never" "OnFailure"`
|
|
3802
3801
|
"""
|
|
@@ -3807,15 +3806,15 @@ elif False:
|
|
|
3807
3806
|
class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs:
|
|
3808
3807
|
def __init__(__self__, *,
|
|
3809
3808
|
containers: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs']]],
|
|
3810
|
-
restart_policy: pulumi.Input[
|
|
3809
|
+
restart_policy: pulumi.Input[_builtins.str]):
|
|
3811
3810
|
"""
|
|
3812
3811
|
:param pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs']]] containers: A list of containers belonging to the pod.
|
|
3813
|
-
:param pulumi.Input[
|
|
3812
|
+
:param pulumi.Input[_builtins.str] restart_policy: Restart policy for all containers within the pod. Enum: `"Never" "OnFailure"`
|
|
3814
3813
|
"""
|
|
3815
3814
|
pulumi.set(__self__, "containers", containers)
|
|
3816
3815
|
pulumi.set(__self__, "restart_policy", restart_policy)
|
|
3817
3816
|
|
|
3818
|
-
@property
|
|
3817
|
+
@_builtins.property
|
|
3819
3818
|
@pulumi.getter
|
|
3820
3819
|
def containers(self) -> pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs']]]:
|
|
3821
3820
|
"""
|
|
@@ -3827,30 +3826,30 @@ class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs:
|
|
|
3827
3826
|
def containers(self, value: pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs']]]):
|
|
3828
3827
|
pulumi.set(self, "containers", value)
|
|
3829
3828
|
|
|
3830
|
-
@property
|
|
3829
|
+
@_builtins.property
|
|
3831
3830
|
@pulumi.getter(name="restartPolicy")
|
|
3832
|
-
def restart_policy(self) -> pulumi.Input[
|
|
3831
|
+
def restart_policy(self) -> pulumi.Input[_builtins.str]:
|
|
3833
3832
|
"""
|
|
3834
3833
|
Restart policy for all containers within the pod. Enum: `"Never" "OnFailure"`
|
|
3835
3834
|
"""
|
|
3836
3835
|
return pulumi.get(self, "restart_policy")
|
|
3837
3836
|
|
|
3838
3837
|
@restart_policy.setter
|
|
3839
|
-
def restart_policy(self, value: pulumi.Input[
|
|
3838
|
+
def restart_policy(self, value: pulumi.Input[_builtins.str]):
|
|
3840
3839
|
pulumi.set(self, "restart_policy", value)
|
|
3841
3840
|
|
|
3842
3841
|
|
|
3843
3842
|
if not MYPY:
|
|
3844
3843
|
class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgsDict(TypedDict):
|
|
3845
|
-
commands: pulumi.Input[Sequence[pulumi.Input[
|
|
3844
|
+
commands: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
3846
3845
|
"""
|
|
3847
3846
|
The entry point of a container.
|
|
3848
3847
|
"""
|
|
3849
|
-
container_name: pulumi.Input[
|
|
3848
|
+
container_name: pulumi.Input[_builtins.str]
|
|
3850
3849
|
"""
|
|
3851
3850
|
The name of a container.
|
|
3852
3851
|
"""
|
|
3853
|
-
image: pulumi.Input[
|
|
3852
|
+
image: pulumi.Input[_builtins.str]
|
|
3854
3853
|
"""
|
|
3855
3854
|
The image name of a container.
|
|
3856
3855
|
"""
|
|
@@ -3860,62 +3859,62 @@ elif False:
|
|
|
3860
3859
|
@pulumi.input_type
|
|
3861
3860
|
class VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs:
|
|
3862
3861
|
def __init__(__self__, *,
|
|
3863
|
-
commands: pulumi.Input[Sequence[pulumi.Input[
|
|
3864
|
-
container_name: pulumi.Input[
|
|
3865
|
-
image: pulumi.Input[
|
|
3862
|
+
commands: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
3863
|
+
container_name: pulumi.Input[_builtins.str],
|
|
3864
|
+
image: pulumi.Input[_builtins.str]):
|
|
3866
3865
|
"""
|
|
3867
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
3868
|
-
:param pulumi.Input[
|
|
3869
|
-
:param pulumi.Input[
|
|
3866
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] commands: The entry point of a container.
|
|
3867
|
+
:param pulumi.Input[_builtins.str] container_name: The name of a container.
|
|
3868
|
+
:param pulumi.Input[_builtins.str] image: The image name of a container.
|
|
3870
3869
|
"""
|
|
3871
3870
|
pulumi.set(__self__, "commands", commands)
|
|
3872
3871
|
pulumi.set(__self__, "container_name", container_name)
|
|
3873
3872
|
pulumi.set(__self__, "image", image)
|
|
3874
3873
|
|
|
3875
|
-
@property
|
|
3874
|
+
@_builtins.property
|
|
3876
3875
|
@pulumi.getter
|
|
3877
|
-
def commands(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
3876
|
+
def commands(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
3878
3877
|
"""
|
|
3879
3878
|
The entry point of a container.
|
|
3880
3879
|
"""
|
|
3881
3880
|
return pulumi.get(self, "commands")
|
|
3882
3881
|
|
|
3883
3882
|
@commands.setter
|
|
3884
|
-
def commands(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
3883
|
+
def commands(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
|
3885
3884
|
pulumi.set(self, "commands", value)
|
|
3886
3885
|
|
|
3887
|
-
@property
|
|
3886
|
+
@_builtins.property
|
|
3888
3887
|
@pulumi.getter(name="containerName")
|
|
3889
|
-
def container_name(self) -> pulumi.Input[
|
|
3888
|
+
def container_name(self) -> pulumi.Input[_builtins.str]:
|
|
3890
3889
|
"""
|
|
3891
3890
|
The name of a container.
|
|
3892
3891
|
"""
|
|
3893
3892
|
return pulumi.get(self, "container_name")
|
|
3894
3893
|
|
|
3895
3894
|
@container_name.setter
|
|
3896
|
-
def container_name(self, value: pulumi.Input[
|
|
3895
|
+
def container_name(self, value: pulumi.Input[_builtins.str]):
|
|
3897
3896
|
pulumi.set(self, "container_name", value)
|
|
3898
3897
|
|
|
3899
|
-
@property
|
|
3898
|
+
@_builtins.property
|
|
3900
3899
|
@pulumi.getter
|
|
3901
|
-
def image(self) -> pulumi.Input[
|
|
3900
|
+
def image(self) -> pulumi.Input[_builtins.str]:
|
|
3902
3901
|
"""
|
|
3903
3902
|
The image name of a container.
|
|
3904
3903
|
"""
|
|
3905
3904
|
return pulumi.get(self, "image")
|
|
3906
3905
|
|
|
3907
3906
|
@image.setter
|
|
3908
|
-
def image(self, value: pulumi.Input[
|
|
3907
|
+
def image(self, value: pulumi.Input[_builtins.str]):
|
|
3909
3908
|
pulumi.set(self, "image", value)
|
|
3910
3909
|
|
|
3911
3910
|
|
|
3912
3911
|
if not MYPY:
|
|
3913
3912
|
class VerificationTemplateMetricProviderNewRelicArgsDict(TypedDict):
|
|
3914
|
-
new_relic_query: pulumi.Input[
|
|
3913
|
+
new_relic_query: pulumi.Input[_builtins.str]
|
|
3915
3914
|
"""
|
|
3916
3915
|
A raw newrelic NRQL query to perform.
|
|
3917
3916
|
"""
|
|
3918
|
-
profile: NotRequired[pulumi.Input[
|
|
3917
|
+
profile: NotRequired[pulumi.Input[_builtins.str]]
|
|
3919
3918
|
"""
|
|
3920
3919
|
The name of the secret holding NR account configuration.
|
|
3921
3920
|
"""
|
|
@@ -3925,44 +3924,44 @@ elif False:
|
|
|
3925
3924
|
@pulumi.input_type
|
|
3926
3925
|
class VerificationTemplateMetricProviderNewRelicArgs:
|
|
3927
3926
|
def __init__(__self__, *,
|
|
3928
|
-
new_relic_query: pulumi.Input[
|
|
3929
|
-
profile: Optional[pulumi.Input[
|
|
3927
|
+
new_relic_query: pulumi.Input[_builtins.str],
|
|
3928
|
+
profile: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3930
3929
|
"""
|
|
3931
|
-
:param pulumi.Input[
|
|
3932
|
-
:param pulumi.Input[
|
|
3930
|
+
:param pulumi.Input[_builtins.str] new_relic_query: A raw newrelic NRQL query to perform.
|
|
3931
|
+
:param pulumi.Input[_builtins.str] profile: The name of the secret holding NR account configuration.
|
|
3933
3932
|
"""
|
|
3934
3933
|
pulumi.set(__self__, "new_relic_query", new_relic_query)
|
|
3935
3934
|
if profile is not None:
|
|
3936
3935
|
pulumi.set(__self__, "profile", profile)
|
|
3937
3936
|
|
|
3938
|
-
@property
|
|
3937
|
+
@_builtins.property
|
|
3939
3938
|
@pulumi.getter(name="newRelicQuery")
|
|
3940
|
-
def new_relic_query(self) -> pulumi.Input[
|
|
3939
|
+
def new_relic_query(self) -> pulumi.Input[_builtins.str]:
|
|
3941
3940
|
"""
|
|
3942
3941
|
A raw newrelic NRQL query to perform.
|
|
3943
3942
|
"""
|
|
3944
3943
|
return pulumi.get(self, "new_relic_query")
|
|
3945
3944
|
|
|
3946
3945
|
@new_relic_query.setter
|
|
3947
|
-
def new_relic_query(self, value: pulumi.Input[
|
|
3946
|
+
def new_relic_query(self, value: pulumi.Input[_builtins.str]):
|
|
3948
3947
|
pulumi.set(self, "new_relic_query", value)
|
|
3949
3948
|
|
|
3950
|
-
@property
|
|
3949
|
+
@_builtins.property
|
|
3951
3950
|
@pulumi.getter
|
|
3952
|
-
def profile(self) -> Optional[pulumi.Input[
|
|
3951
|
+
def profile(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3953
3952
|
"""
|
|
3954
3953
|
The name of the secret holding NR account configuration.
|
|
3955
3954
|
"""
|
|
3956
3955
|
return pulumi.get(self, "profile")
|
|
3957
3956
|
|
|
3958
3957
|
@profile.setter
|
|
3959
|
-
def profile(self, value: Optional[pulumi.Input[
|
|
3958
|
+
def profile(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3960
3959
|
pulumi.set(self, "profile", value)
|
|
3961
3960
|
|
|
3962
3961
|
|
|
3963
3962
|
if not MYPY:
|
|
3964
3963
|
class VerificationTemplateMetricProviderPrometheusArgsDict(TypedDict):
|
|
3965
|
-
prometheus_query: pulumi.Input[
|
|
3964
|
+
prometheus_query: pulumi.Input[_builtins.str]
|
|
3966
3965
|
"""
|
|
3967
3966
|
A request for information retrieved from Prometheus.
|
|
3968
3967
|
"""
|
|
@@ -3972,48 +3971,48 @@ elif False:
|
|
|
3972
3971
|
@pulumi.input_type
|
|
3973
3972
|
class VerificationTemplateMetricProviderPrometheusArgs:
|
|
3974
3973
|
def __init__(__self__, *,
|
|
3975
|
-
prometheus_query: pulumi.Input[
|
|
3974
|
+
prometheus_query: pulumi.Input[_builtins.str]):
|
|
3976
3975
|
"""
|
|
3977
|
-
:param pulumi.Input[
|
|
3976
|
+
:param pulumi.Input[_builtins.str] prometheus_query: A request for information retrieved from Prometheus.
|
|
3978
3977
|
"""
|
|
3979
3978
|
pulumi.set(__self__, "prometheus_query", prometheus_query)
|
|
3980
3979
|
|
|
3981
|
-
@property
|
|
3980
|
+
@_builtins.property
|
|
3982
3981
|
@pulumi.getter(name="prometheusQuery")
|
|
3983
|
-
def prometheus_query(self) -> pulumi.Input[
|
|
3982
|
+
def prometheus_query(self) -> pulumi.Input[_builtins.str]:
|
|
3984
3983
|
"""
|
|
3985
3984
|
A request for information retrieved from Prometheus.
|
|
3986
3985
|
"""
|
|
3987
3986
|
return pulumi.get(self, "prometheus_query")
|
|
3988
3987
|
|
|
3989
3988
|
@prometheus_query.setter
|
|
3990
|
-
def prometheus_query(self, value: pulumi.Input[
|
|
3989
|
+
def prometheus_query(self, value: pulumi.Input[_builtins.str]):
|
|
3991
3990
|
pulumi.set(self, "prometheus_query", value)
|
|
3992
3991
|
|
|
3993
3992
|
|
|
3994
3993
|
if not MYPY:
|
|
3995
3994
|
class VerificationTemplateMetricProviderWebArgsDict(TypedDict):
|
|
3996
|
-
url: pulumi.Input[
|
|
3995
|
+
url: pulumi.Input[_builtins.str]
|
|
3997
3996
|
"""
|
|
3998
3997
|
The address of the web metric.
|
|
3999
3998
|
"""
|
|
4000
|
-
body: NotRequired[pulumi.Input[
|
|
3999
|
+
body: NotRequired[pulumi.Input[_builtins.str]]
|
|
4001
4000
|
"""
|
|
4002
4001
|
The body of the web metric.
|
|
4003
4002
|
"""
|
|
4004
|
-
insecure: NotRequired[pulumi.Input[
|
|
4003
|
+
insecure: NotRequired[pulumi.Input[_builtins.bool]]
|
|
4005
4004
|
"""
|
|
4006
4005
|
Skips host TLS verification.
|
|
4007
4006
|
"""
|
|
4008
|
-
json_path: NotRequired[pulumi.Input[
|
|
4007
|
+
json_path: NotRequired[pulumi.Input[_builtins.str]]
|
|
4009
4008
|
"""
|
|
4010
4009
|
A JSON Path to use as the result variable. Default is "{$}"
|
|
4011
4010
|
"""
|
|
4012
|
-
method: NotRequired[pulumi.Input[
|
|
4011
|
+
method: NotRequired[pulumi.Input[_builtins.str]]
|
|
4013
4012
|
"""
|
|
4014
4013
|
The method of the web metric. Enum: "GET" "POST" "PUT"
|
|
4015
4014
|
"""
|
|
4016
|
-
timeout_seconds: NotRequired[pulumi.Input[
|
|
4015
|
+
timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
4017
4016
|
"""
|
|
4018
4017
|
The timeout for the request in seconds. Default is 10.
|
|
4019
4018
|
"""
|
|
@@ -4027,20 +4026,20 @@ elif False:
|
|
|
4027
4026
|
@pulumi.input_type
|
|
4028
4027
|
class VerificationTemplateMetricProviderWebArgs:
|
|
4029
4028
|
def __init__(__self__, *,
|
|
4030
|
-
url: pulumi.Input[
|
|
4031
|
-
body: Optional[pulumi.Input[
|
|
4032
|
-
insecure: Optional[pulumi.Input[
|
|
4033
|
-
json_path: Optional[pulumi.Input[
|
|
4034
|
-
method: Optional[pulumi.Input[
|
|
4035
|
-
timeout_seconds: Optional[pulumi.Input[
|
|
4029
|
+
url: pulumi.Input[_builtins.str],
|
|
4030
|
+
body: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4031
|
+
insecure: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
4032
|
+
json_path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4033
|
+
method: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4034
|
+
timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
4036
4035
|
web_headers: Optional[pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderWebWebHeaderArgs']]]] = None):
|
|
4037
4036
|
"""
|
|
4038
|
-
:param pulumi.Input[
|
|
4039
|
-
:param pulumi.Input[
|
|
4040
|
-
:param pulumi.Input[
|
|
4041
|
-
:param pulumi.Input[
|
|
4042
|
-
:param pulumi.Input[
|
|
4043
|
-
:param pulumi.Input[
|
|
4037
|
+
:param pulumi.Input[_builtins.str] url: The address of the web metric.
|
|
4038
|
+
:param pulumi.Input[_builtins.str] body: The body of the web metric.
|
|
4039
|
+
:param pulumi.Input[_builtins.bool] insecure: Skips host TLS verification.
|
|
4040
|
+
:param pulumi.Input[_builtins.str] json_path: A JSON Path to use as the result variable. Default is "{$}"
|
|
4041
|
+
:param pulumi.Input[_builtins.str] method: The method of the web metric. Enum: "GET" "POST" "PUT"
|
|
4042
|
+
:param pulumi.Input[_builtins.int] timeout_seconds: The timeout for the request in seconds. Default is 10.
|
|
4044
4043
|
:param pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderWebWebHeaderArgs']]] web_headers: Optional HTTP headers to use in the request.
|
|
4045
4044
|
"""
|
|
4046
4045
|
pulumi.set(__self__, "url", url)
|
|
@@ -4057,79 +4056,79 @@ class VerificationTemplateMetricProviderWebArgs:
|
|
|
4057
4056
|
if web_headers is not None:
|
|
4058
4057
|
pulumi.set(__self__, "web_headers", web_headers)
|
|
4059
4058
|
|
|
4060
|
-
@property
|
|
4059
|
+
@_builtins.property
|
|
4061
4060
|
@pulumi.getter
|
|
4062
|
-
def url(self) -> pulumi.Input[
|
|
4061
|
+
def url(self) -> pulumi.Input[_builtins.str]:
|
|
4063
4062
|
"""
|
|
4064
4063
|
The address of the web metric.
|
|
4065
4064
|
"""
|
|
4066
4065
|
return pulumi.get(self, "url")
|
|
4067
4066
|
|
|
4068
4067
|
@url.setter
|
|
4069
|
-
def url(self, value: pulumi.Input[
|
|
4068
|
+
def url(self, value: pulumi.Input[_builtins.str]):
|
|
4070
4069
|
pulumi.set(self, "url", value)
|
|
4071
4070
|
|
|
4072
|
-
@property
|
|
4071
|
+
@_builtins.property
|
|
4073
4072
|
@pulumi.getter
|
|
4074
|
-
def body(self) -> Optional[pulumi.Input[
|
|
4073
|
+
def body(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4075
4074
|
"""
|
|
4076
4075
|
The body of the web metric.
|
|
4077
4076
|
"""
|
|
4078
4077
|
return pulumi.get(self, "body")
|
|
4079
4078
|
|
|
4080
4079
|
@body.setter
|
|
4081
|
-
def body(self, value: Optional[pulumi.Input[
|
|
4080
|
+
def body(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4082
4081
|
pulumi.set(self, "body", value)
|
|
4083
4082
|
|
|
4084
|
-
@property
|
|
4083
|
+
@_builtins.property
|
|
4085
4084
|
@pulumi.getter
|
|
4086
|
-
def insecure(self) -> Optional[pulumi.Input[
|
|
4085
|
+
def insecure(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
4087
4086
|
"""
|
|
4088
4087
|
Skips host TLS verification.
|
|
4089
4088
|
"""
|
|
4090
4089
|
return pulumi.get(self, "insecure")
|
|
4091
4090
|
|
|
4092
4091
|
@insecure.setter
|
|
4093
|
-
def insecure(self, value: Optional[pulumi.Input[
|
|
4092
|
+
def insecure(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
4094
4093
|
pulumi.set(self, "insecure", value)
|
|
4095
4094
|
|
|
4096
|
-
@property
|
|
4095
|
+
@_builtins.property
|
|
4097
4096
|
@pulumi.getter(name="jsonPath")
|
|
4098
|
-
def json_path(self) -> Optional[pulumi.Input[
|
|
4097
|
+
def json_path(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4099
4098
|
"""
|
|
4100
4099
|
A JSON Path to use as the result variable. Default is "{$}"
|
|
4101
4100
|
"""
|
|
4102
4101
|
return pulumi.get(self, "json_path")
|
|
4103
4102
|
|
|
4104
4103
|
@json_path.setter
|
|
4105
|
-
def json_path(self, value: Optional[pulumi.Input[
|
|
4104
|
+
def json_path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4106
4105
|
pulumi.set(self, "json_path", value)
|
|
4107
4106
|
|
|
4108
|
-
@property
|
|
4107
|
+
@_builtins.property
|
|
4109
4108
|
@pulumi.getter
|
|
4110
|
-
def method(self) -> Optional[pulumi.Input[
|
|
4109
|
+
def method(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4111
4110
|
"""
|
|
4112
4111
|
The method of the web metric. Enum: "GET" "POST" "PUT"
|
|
4113
4112
|
"""
|
|
4114
4113
|
return pulumi.get(self, "method")
|
|
4115
4114
|
|
|
4116
4115
|
@method.setter
|
|
4117
|
-
def method(self, value: Optional[pulumi.Input[
|
|
4116
|
+
def method(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4118
4117
|
pulumi.set(self, "method", value)
|
|
4119
4118
|
|
|
4120
|
-
@property
|
|
4119
|
+
@_builtins.property
|
|
4121
4120
|
@pulumi.getter(name="timeoutSeconds")
|
|
4122
|
-
def timeout_seconds(self) -> Optional[pulumi.Input[
|
|
4121
|
+
def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
4123
4122
|
"""
|
|
4124
4123
|
The timeout for the request in seconds. Default is 10.
|
|
4125
4124
|
"""
|
|
4126
4125
|
return pulumi.get(self, "timeout_seconds")
|
|
4127
4126
|
|
|
4128
4127
|
@timeout_seconds.setter
|
|
4129
|
-
def timeout_seconds(self, value: Optional[pulumi.Input[
|
|
4128
|
+
def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
4130
4129
|
pulumi.set(self, "timeout_seconds", value)
|
|
4131
4130
|
|
|
4132
|
-
@property
|
|
4131
|
+
@_builtins.property
|
|
4133
4132
|
@pulumi.getter(name="webHeaders")
|
|
4134
4133
|
def web_headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VerificationTemplateMetricProviderWebWebHeaderArgs']]]]:
|
|
4135
4134
|
"""
|
|
@@ -4144,11 +4143,11 @@ class VerificationTemplateMetricProviderWebArgs:
|
|
|
4144
4143
|
|
|
4145
4144
|
if not MYPY:
|
|
4146
4145
|
class VerificationTemplateMetricProviderWebWebHeaderArgsDict(TypedDict):
|
|
4147
|
-
web_header_key: pulumi.Input[
|
|
4146
|
+
web_header_key: pulumi.Input[_builtins.str]
|
|
4148
4147
|
"""
|
|
4149
4148
|
The name of a header
|
|
4150
4149
|
"""
|
|
4151
|
-
web_header_value: pulumi.Input[
|
|
4150
|
+
web_header_value: pulumi.Input[_builtins.str]
|
|
4152
4151
|
"""
|
|
4153
4152
|
The value of a header
|
|
4154
4153
|
"""
|
|
@@ -4158,37 +4157,37 @@ elif False:
|
|
|
4158
4157
|
@pulumi.input_type
|
|
4159
4158
|
class VerificationTemplateMetricProviderWebWebHeaderArgs:
|
|
4160
4159
|
def __init__(__self__, *,
|
|
4161
|
-
web_header_key: pulumi.Input[
|
|
4162
|
-
web_header_value: pulumi.Input[
|
|
4160
|
+
web_header_key: pulumi.Input[_builtins.str],
|
|
4161
|
+
web_header_value: pulumi.Input[_builtins.str]):
|
|
4163
4162
|
"""
|
|
4164
|
-
:param pulumi.Input[
|
|
4165
|
-
:param pulumi.Input[
|
|
4163
|
+
:param pulumi.Input[_builtins.str] web_header_key: The name of a header
|
|
4164
|
+
:param pulumi.Input[_builtins.str] web_header_value: The value of a header
|
|
4166
4165
|
"""
|
|
4167
4166
|
pulumi.set(__self__, "web_header_key", web_header_key)
|
|
4168
4167
|
pulumi.set(__self__, "web_header_value", web_header_value)
|
|
4169
4168
|
|
|
4170
|
-
@property
|
|
4169
|
+
@_builtins.property
|
|
4171
4170
|
@pulumi.getter(name="webHeaderKey")
|
|
4172
|
-
def web_header_key(self) -> pulumi.Input[
|
|
4171
|
+
def web_header_key(self) -> pulumi.Input[_builtins.str]:
|
|
4173
4172
|
"""
|
|
4174
4173
|
The name of a header
|
|
4175
4174
|
"""
|
|
4176
4175
|
return pulumi.get(self, "web_header_key")
|
|
4177
4176
|
|
|
4178
4177
|
@web_header_key.setter
|
|
4179
|
-
def web_header_key(self, value: pulumi.Input[
|
|
4178
|
+
def web_header_key(self, value: pulumi.Input[_builtins.str]):
|
|
4180
4179
|
pulumi.set(self, "web_header_key", value)
|
|
4181
4180
|
|
|
4182
|
-
@property
|
|
4181
|
+
@_builtins.property
|
|
4183
4182
|
@pulumi.getter(name="webHeaderValue")
|
|
4184
|
-
def web_header_value(self) -> pulumi.Input[
|
|
4183
|
+
def web_header_value(self) -> pulumi.Input[_builtins.str]:
|
|
4185
4184
|
"""
|
|
4186
4185
|
The value of a header
|
|
4187
4186
|
"""
|
|
4188
4187
|
return pulumi.get(self, "web_header_value")
|
|
4189
4188
|
|
|
4190
4189
|
@web_header_value.setter
|
|
4191
|
-
def web_header_value(self, value: pulumi.Input[
|
|
4190
|
+
def web_header_value(self, value: pulumi.Input[_builtins.str]):
|
|
4192
4191
|
pulumi.set(self, "web_header_value", value)
|
|
4193
4192
|
|
|
4194
4193
|
|