pulumi-alicloud 3.60.0a1723455033__py3-none-any.whl → 3.60.0a1723462134__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-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +150 -0
- pulumi_alicloud/adb/resource_group.py +48 -20
- pulumi_alicloud/alb/_inputs.py +22 -22
- pulumi_alicloud/alb/load_balancer.py +119 -133
- pulumi_alicloud/alb/outputs.py +22 -22
- pulumi_alicloud/alb/server_group.py +2 -2
- pulumi_alicloud/aligreen/__init__.py +13 -0
- pulumi_alicloud/aligreen/audit_callback.py +422 -0
- pulumi_alicloud/aligreen/biz_type.py +398 -0
- pulumi_alicloud/aligreen/callback.py +449 -0
- pulumi_alicloud/aligreen/image_lib.py +406 -0
- pulumi_alicloud/aligreen/keyword_lib.py +615 -0
- pulumi_alicloud/aligreen/oss_stock_task.py +1661 -0
- pulumi_alicloud/amqp/binding.py +94 -102
- pulumi_alicloud/apigateway/__init__.py +2 -0
- pulumi_alicloud/apigateway/_inputs.py +221 -2
- pulumi_alicloud/apigateway/access_control_list.py +17 -9
- pulumi_alicloud/apigateway/acl_entry_attachment.py +303 -0
- pulumi_alicloud/apigateway/api.py +4 -2
- pulumi_alicloud/apigateway/group.py +51 -2
- pulumi_alicloud/apigateway/instance.py +396 -63
- pulumi_alicloud/apigateway/instance_acl_attachment.py +326 -0
- pulumi_alicloud/apigateway/outputs.py +223 -2
- pulumi_alicloud/apigateway/vpc_access.py +2 -2
- pulumi_alicloud/arms/get_remote_writes.py +4 -0
- pulumi_alicloud/arms/outputs.py +2 -2
- pulumi_alicloud/arms/remote_write.py +4 -0
- pulumi_alicloud/cen/route_entry.py +2 -2
- pulumi_alicloud/cen/vbr_health_check.py +1 -1
- pulumi_alicloud/cfg/aggregate_delivery.py +255 -118
- pulumi_alicloud/cfg/delivery.py +259 -122
- pulumi_alicloud/clickhouse/_inputs.py +39 -0
- pulumi_alicloud/clickhouse/db_cluster.py +66 -6
- pulumi_alicloud/clickhouse/outputs.py +50 -0
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/control_policy.py +116 -108
- pulumi_alicloud/cloudfirewall/vpc_cen_tr_firewall.py +929 -0
- pulumi_alicloud/cloudmonitor/service_monitoring_agent_process.py +2 -2
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +0 -76
- pulumi_alicloud/cms/_inputs.py +214 -42
- pulumi_alicloud/cms/alarm.py +61 -14
- pulumi_alicloud/cms/dynamic_tag_group.py +53 -51
- pulumi_alicloud/cms/metric_rule_black_list.py +2 -2
- pulumi_alicloud/cms/metric_rule_template.py +54 -87
- pulumi_alicloud/cms/outputs.py +214 -42
- pulumi_alicloud/cs/get_kubernetes_clusters.py +4 -2
- pulumi_alicloud/cs/outputs.py +2 -2
- pulumi_alicloud/databasefilesystem/instance_attachment.py +2 -2
- pulumi_alicloud/databasefilesystem/snapshot.py +2 -2
- pulumi_alicloud/ddos/basic_threshold.py +2 -2
- pulumi_alicloud/ddos/bgp_ip.py +2 -6
- pulumi_alicloud/eci/get_container_groups.py +2 -2
- pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_image_pipeline.py +2 -2
- pulumi_alicloud/ecs/ecs_instance_set.py +2 -2
- pulumi_alicloud/ecs/ecs_invocation.py +2 -2
- pulumi_alicloud/ecs/ecs_key_pair_attachment.py +2 -2
- pulumi_alicloud/ecs/ecs_launch_template.py +9 -9
- pulumi_alicloud/ecs/ecs_network_interface_attachment.py +2 -2
- pulumi_alicloud/ecs/eip_association.py +4 -6
- pulumi_alicloud/ecs/get_ecs_network_interfaces.py +46 -6
- pulumi_alicloud/ecs/get_instances.py +3 -3
- pulumi_alicloud/ecs/get_network_interfaces.py +5 -5
- pulumi_alicloud/ecs/image.py +4 -6
- pulumi_alicloud/ecs/image_copy.py +2 -2
- pulumi_alicloud/ecs/image_export.py +2 -2
- pulumi_alicloud/ecs/image_import.py +14 -6
- pulumi_alicloud/ecs/image_share_permission.py +2 -2
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/outputs.py +48 -26
- pulumi_alicloud/edas/instance_cluster_attachment.py +2 -2
- pulumi_alicloud/eds/outputs.py +10 -10
- pulumi_alicloud/ess/scaling_group.py +101 -7
- pulumi_alicloud/fc/__init__.py +7 -0
- pulumi_alicloud/fc/_inputs.py +1666 -0
- pulumi_alicloud/fc/outputs.py +1723 -2
- pulumi_alicloud/fc/v3_alias.py +440 -0
- pulumi_alicloud/fc/v3_async_invoke_config.py +439 -0
- pulumi_alicloud/fc/v3_concurrency_config.py +281 -0
- pulumi_alicloud/fc/v3_custom_domain.py +847 -0
- pulumi_alicloud/fc/v3_function.py +1391 -0
- pulumi_alicloud/fc/v3_function_version.py +313 -0
- pulumi_alicloud/fc/v3_trigger.py +663 -0
- pulumi_alicloud/ga/basic_accelerator.py +8 -8
- pulumi_alicloud/governance/__init__.py +12 -0
- pulumi_alicloud/governance/_inputs.py +70 -0
- pulumi_alicloud/governance/account.py +505 -0
- pulumi_alicloud/governance/baseline.py +387 -0
- pulumi_alicloud/governance/get_baselines.py +241 -0
- pulumi_alicloud/governance/outputs.py +99 -0
- pulumi_alicloud/hbr/ecs_backup_client.py +2 -2
- pulumi_alicloud/hbr/ecs_backup_plan.py +2 -2
- pulumi_alicloud/hbr/server_backup_plan.py +2 -2
- pulumi_alicloud/kvstore/instance.py +47 -0
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/maxcompute/get_projects.py +12 -14
- pulumi_alicloud/maxcompute/get_service.py +4 -0
- pulumi_alicloud/maxcompute/outputs.py +75 -60
- pulumi_alicloud/maxcompute/project.py +7 -7
- pulumi_alicloud/polardb/outputs.py +2 -2
- pulumi_alicloud/privatelink/outputs.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/login_profile.py +8 -8
- pulumi_alicloud/rds/get_instances.py +1 -1
- pulumi_alicloud/rds/rds_account.py +189 -49
- pulumi_alicloud/rds/read_write_splitting_connection.py +10 -2
- pulumi_alicloud/slb/get_application_load_balancers.py +3 -3
- pulumi_alicloud/slb/get_load_balancers.py +3 -3
- pulumi_alicloud/slb/load_balancer.py +7 -7
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group_server_attachment.py +2 -2
- pulumi_alicloud/vpc/bgp_peer.py +1 -1
- pulumi_alicloud/vpc/get_networks.py +2 -2
- pulumi_alicloud/vpc/get_switches.py +27 -27
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/outputs.py +24 -24
- pulumi_alicloud/vpc/traffic_mirror_session.py +2 -2
- pulumi_alicloud/vpn/outputs.py +4 -4
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/RECORD +122 -99
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.60.0a1723455033.dist-info → pulumi_alicloud-3.60.0a1723462134.dist-info}/top_level.txt +0 -0
pulumi_alicloud/cms/outputs.py
CHANGED
|
@@ -11,6 +11,8 @@ from .. import _utilities
|
|
|
11
11
|
from . import outputs
|
|
12
12
|
|
|
13
13
|
__all__ = [
|
|
14
|
+
'AlarmCompositeExpression',
|
|
15
|
+
'AlarmCompositeExpressionExpressionList',
|
|
14
16
|
'AlarmEscalationsCritical',
|
|
15
17
|
'AlarmEscalationsInfo',
|
|
16
18
|
'AlarmEscalationsWarn',
|
|
@@ -87,6 +89,176 @@ __all__ = [
|
|
|
87
89
|
'GetSlsGroupsGroupSlsGroupConfigResult',
|
|
88
90
|
]
|
|
89
91
|
|
|
92
|
+
@pulumi.output_type
|
|
93
|
+
class AlarmCompositeExpression(dict):
|
|
94
|
+
@staticmethod
|
|
95
|
+
def __key_warning(key: str):
|
|
96
|
+
suggest = None
|
|
97
|
+
if key == "expressionListJoin":
|
|
98
|
+
suggest = "expression_list_join"
|
|
99
|
+
elif key == "expressionLists":
|
|
100
|
+
suggest = "expression_lists"
|
|
101
|
+
elif key == "expressionRaw":
|
|
102
|
+
suggest = "expression_raw"
|
|
103
|
+
|
|
104
|
+
if suggest:
|
|
105
|
+
pulumi.log.warn(f"Key '{key}' not found in AlarmCompositeExpression. Access the value via the '{suggest}' property getter instead.")
|
|
106
|
+
|
|
107
|
+
def __getitem__(self, key: str) -> Any:
|
|
108
|
+
AlarmCompositeExpression.__key_warning(key)
|
|
109
|
+
return super().__getitem__(key)
|
|
110
|
+
|
|
111
|
+
def get(self, key: str, default = None) -> Any:
|
|
112
|
+
AlarmCompositeExpression.__key_warning(key)
|
|
113
|
+
return super().get(key, default)
|
|
114
|
+
|
|
115
|
+
def __init__(__self__, *,
|
|
116
|
+
expression_list_join: Optional[str] = None,
|
|
117
|
+
expression_lists: Optional[Sequence['outputs.AlarmCompositeExpressionExpressionList']] = None,
|
|
118
|
+
expression_raw: Optional[str] = None,
|
|
119
|
+
level: Optional[str] = None,
|
|
120
|
+
times: Optional[int] = None):
|
|
121
|
+
"""
|
|
122
|
+
:param str expression_list_join: The relationship between the trigger conditions for multiple metrics. Valid values: `&&`, `||`.
|
|
123
|
+
:param Sequence['AlarmCompositeExpressionExpressionListArgs'] expression_lists: The trigger conditions that are created in standard mode. See `expression_list` below.
|
|
124
|
+
:param str expression_raw: The trigger conditions that are created by using expressions.
|
|
125
|
+
:param str level: The level of the alert. Valid values: `CRITICAL`, `WARN`, `INFO`.
|
|
126
|
+
:param int times: The number of consecutive triggers.
|
|
127
|
+
"""
|
|
128
|
+
if expression_list_join is not None:
|
|
129
|
+
pulumi.set(__self__, "expression_list_join", expression_list_join)
|
|
130
|
+
if expression_lists is not None:
|
|
131
|
+
pulumi.set(__self__, "expression_lists", expression_lists)
|
|
132
|
+
if expression_raw is not None:
|
|
133
|
+
pulumi.set(__self__, "expression_raw", expression_raw)
|
|
134
|
+
if level is not None:
|
|
135
|
+
pulumi.set(__self__, "level", level)
|
|
136
|
+
if times is not None:
|
|
137
|
+
pulumi.set(__self__, "times", times)
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
@pulumi.getter(name="expressionListJoin")
|
|
141
|
+
def expression_list_join(self) -> Optional[str]:
|
|
142
|
+
"""
|
|
143
|
+
The relationship between the trigger conditions for multiple metrics. Valid values: `&&`, `||`.
|
|
144
|
+
"""
|
|
145
|
+
return pulumi.get(self, "expression_list_join")
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
@pulumi.getter(name="expressionLists")
|
|
149
|
+
def expression_lists(self) -> Optional[Sequence['outputs.AlarmCompositeExpressionExpressionList']]:
|
|
150
|
+
"""
|
|
151
|
+
The trigger conditions that are created in standard mode. See `expression_list` below.
|
|
152
|
+
"""
|
|
153
|
+
return pulumi.get(self, "expression_lists")
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
@pulumi.getter(name="expressionRaw")
|
|
157
|
+
def expression_raw(self) -> Optional[str]:
|
|
158
|
+
"""
|
|
159
|
+
The trigger conditions that are created by using expressions.
|
|
160
|
+
"""
|
|
161
|
+
return pulumi.get(self, "expression_raw")
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
@pulumi.getter
|
|
165
|
+
def level(self) -> Optional[str]:
|
|
166
|
+
"""
|
|
167
|
+
The level of the alert. Valid values: `CRITICAL`, `WARN`, `INFO`.
|
|
168
|
+
"""
|
|
169
|
+
return pulumi.get(self, "level")
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
@pulumi.getter
|
|
173
|
+
def times(self) -> Optional[int]:
|
|
174
|
+
"""
|
|
175
|
+
The number of consecutive triggers.
|
|
176
|
+
"""
|
|
177
|
+
return pulumi.get(self, "times")
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
@pulumi.output_type
|
|
181
|
+
class AlarmCompositeExpressionExpressionList(dict):
|
|
182
|
+
@staticmethod
|
|
183
|
+
def __key_warning(key: str):
|
|
184
|
+
suggest = None
|
|
185
|
+
if key == "comparisonOperator":
|
|
186
|
+
suggest = "comparison_operator"
|
|
187
|
+
elif key == "metricName":
|
|
188
|
+
suggest = "metric_name"
|
|
189
|
+
|
|
190
|
+
if suggest:
|
|
191
|
+
pulumi.log.warn(f"Key '{key}' not found in AlarmCompositeExpressionExpressionList. Access the value via the '{suggest}' property getter instead.")
|
|
192
|
+
|
|
193
|
+
def __getitem__(self, key: str) -> Any:
|
|
194
|
+
AlarmCompositeExpressionExpressionList.__key_warning(key)
|
|
195
|
+
return super().__getitem__(key)
|
|
196
|
+
|
|
197
|
+
def get(self, key: str, default = None) -> Any:
|
|
198
|
+
AlarmCompositeExpressionExpressionList.__key_warning(key)
|
|
199
|
+
return super().get(key, default)
|
|
200
|
+
|
|
201
|
+
def __init__(__self__, *,
|
|
202
|
+
comparison_operator: Optional[str] = None,
|
|
203
|
+
metric_name: Optional[str] = None,
|
|
204
|
+
period: Optional[str] = None,
|
|
205
|
+
statistics: Optional[str] = None,
|
|
206
|
+
threshold: Optional[str] = None):
|
|
207
|
+
"""
|
|
208
|
+
:param str metric_name: The metric that is used to monitor the cloud service.
|
|
209
|
+
:param str period: The statistical period of the metric. Unit: seconds. Default value: `300`.
|
|
210
|
+
:param str statistics: Field `statistics` has been removed from provider version 1.216.0. New field `escalations_critical.statistics` instead.
|
|
211
|
+
:param str threshold: Field `threshold` has been removed from provider version 1.216.0. New field `escalations_critical.threshold` instead.
|
|
212
|
+
"""
|
|
213
|
+
if comparison_operator is not None:
|
|
214
|
+
pulumi.set(__self__, "comparison_operator", comparison_operator)
|
|
215
|
+
if metric_name is not None:
|
|
216
|
+
pulumi.set(__self__, "metric_name", metric_name)
|
|
217
|
+
if period is not None:
|
|
218
|
+
pulumi.set(__self__, "period", period)
|
|
219
|
+
if statistics is not None:
|
|
220
|
+
pulumi.set(__self__, "statistics", statistics)
|
|
221
|
+
if threshold is not None:
|
|
222
|
+
pulumi.set(__self__, "threshold", threshold)
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
@pulumi.getter(name="comparisonOperator")
|
|
226
|
+
def comparison_operator(self) -> Optional[str]:
|
|
227
|
+
return pulumi.get(self, "comparison_operator")
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
@pulumi.getter(name="metricName")
|
|
231
|
+
def metric_name(self) -> Optional[str]:
|
|
232
|
+
"""
|
|
233
|
+
The metric that is used to monitor the cloud service.
|
|
234
|
+
"""
|
|
235
|
+
return pulumi.get(self, "metric_name")
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
@pulumi.getter
|
|
239
|
+
def period(self) -> Optional[str]:
|
|
240
|
+
"""
|
|
241
|
+
The statistical period of the metric. Unit: seconds. Default value: `300`.
|
|
242
|
+
"""
|
|
243
|
+
return pulumi.get(self, "period")
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
@pulumi.getter
|
|
247
|
+
def statistics(self) -> Optional[str]:
|
|
248
|
+
"""
|
|
249
|
+
Field `statistics` has been removed from provider version 1.216.0. New field `escalations_critical.statistics` instead.
|
|
250
|
+
"""
|
|
251
|
+
return pulumi.get(self, "statistics")
|
|
252
|
+
|
|
253
|
+
@property
|
|
254
|
+
@pulumi.getter
|
|
255
|
+
def threshold(self) -> Optional[str]:
|
|
256
|
+
"""
|
|
257
|
+
Field `threshold` has been removed from provider version 1.216.0. New field `escalations_critical.threshold` instead.
|
|
258
|
+
"""
|
|
259
|
+
return pulumi.get(self, "threshold")
|
|
260
|
+
|
|
261
|
+
|
|
90
262
|
@pulumi.output_type
|
|
91
263
|
class AlarmEscalationsCritical(dict):
|
|
92
264
|
@staticmethod
|
|
@@ -402,11 +574,12 @@ class AlarmTarget(dict):
|
|
|
402
574
|
level: Optional[str] = None,
|
|
403
575
|
target_id: Optional[str] = None):
|
|
404
576
|
"""
|
|
405
|
-
:param str arn:
|
|
577
|
+
:param str arn: ARN uniquely identifies the resource that the alert targets.
|
|
578
|
+
> **NOTE:** The targets attribute is used to specify where notifications or actions should be directed when an alarm condition is met. This attribute corresponds to what is referred to as the "Push Channel" in the Alibaba Cloud console.
|
|
406
579
|
> **NOTE:** Currently, the Alibaba Cloud Resource Name (ARN) of the resource. To use, please [submit an application](https://www.alibabacloud.com/help/en/cloudmonitor/latest/describemetricruletargets).
|
|
407
|
-
:param str json_params:
|
|
580
|
+
:param str json_params: Specifies additional parameters for the alert callback in JSON format. This can include configuration settings specific to the alert action.
|
|
408
581
|
:param str level: The level of the alert. Valid values: `Critical`, `Warn`, `Info`.
|
|
409
|
-
:param str target_id: The ID of the resource for which alerts are triggered.
|
|
582
|
+
:param str target_id: The ID of the resource for which alerts are triggered. This is typically used to specify individual resources that should respond to the alert.
|
|
410
583
|
"""
|
|
411
584
|
if arn is not None:
|
|
412
585
|
pulumi.set(__self__, "arn", arn)
|
|
@@ -421,7 +594,8 @@ class AlarmTarget(dict):
|
|
|
421
594
|
@pulumi.getter
|
|
422
595
|
def arn(self) -> Optional[str]:
|
|
423
596
|
"""
|
|
424
|
-
|
|
597
|
+
ARN uniquely identifies the resource that the alert targets.
|
|
598
|
+
> **NOTE:** The targets attribute is used to specify where notifications or actions should be directed when an alarm condition is met. This attribute corresponds to what is referred to as the "Push Channel" in the Alibaba Cloud console.
|
|
425
599
|
> **NOTE:** Currently, the Alibaba Cloud Resource Name (ARN) of the resource. To use, please [submit an application](https://www.alibabacloud.com/help/en/cloudmonitor/latest/describemetricruletargets).
|
|
426
600
|
"""
|
|
427
601
|
return pulumi.get(self, "arn")
|
|
@@ -430,7 +604,7 @@ class AlarmTarget(dict):
|
|
|
430
604
|
@pulumi.getter(name="jsonParams")
|
|
431
605
|
def json_params(self) -> Optional[str]:
|
|
432
606
|
"""
|
|
433
|
-
|
|
607
|
+
Specifies additional parameters for the alert callback in JSON format. This can include configuration settings specific to the alert action.
|
|
434
608
|
"""
|
|
435
609
|
return pulumi.get(self, "json_params")
|
|
436
610
|
|
|
@@ -446,7 +620,7 @@ class AlarmTarget(dict):
|
|
|
446
620
|
@pulumi.getter(name="targetId")
|
|
447
621
|
def target_id(self) -> Optional[str]:
|
|
448
622
|
"""
|
|
449
|
-
The ID of the resource for which alerts are triggered.
|
|
623
|
+
The ID of the resource for which alerts are triggered. This is typically used to specify individual resources that should respond to the alert.
|
|
450
624
|
"""
|
|
451
625
|
return pulumi.get(self, "target_id")
|
|
452
626
|
|
|
@@ -476,8 +650,8 @@ class DynamicTagGroupMatchExpress(dict):
|
|
|
476
650
|
tag_value: str,
|
|
477
651
|
tag_value_match_function: str):
|
|
478
652
|
"""
|
|
479
|
-
:param str tag_value: The tag
|
|
480
|
-
:param str tag_value_match_function:
|
|
653
|
+
:param str tag_value: The tag values of the cloud resources.
|
|
654
|
+
:param str tag_value_match_function: The method that is used to match the tag values of the cloud resources. Valid values: `all`, `startWith`, `endWith`, `contains`, `notContains`, `equals`.
|
|
481
655
|
"""
|
|
482
656
|
pulumi.set(__self__, "tag_value", tag_value)
|
|
483
657
|
pulumi.set(__self__, "tag_value_match_function", tag_value_match_function)
|
|
@@ -486,7 +660,7 @@ class DynamicTagGroupMatchExpress(dict):
|
|
|
486
660
|
@pulumi.getter(name="tagValue")
|
|
487
661
|
def tag_value(self) -> str:
|
|
488
662
|
"""
|
|
489
|
-
The tag
|
|
663
|
+
The tag values of the cloud resources.
|
|
490
664
|
"""
|
|
491
665
|
return pulumi.get(self, "tag_value")
|
|
492
666
|
|
|
@@ -494,7 +668,7 @@ class DynamicTagGroupMatchExpress(dict):
|
|
|
494
668
|
@pulumi.getter(name="tagValueMatchFunction")
|
|
495
669
|
def tag_value_match_function(self) -> str:
|
|
496
670
|
"""
|
|
497
|
-
|
|
671
|
+
The method that is used to match the tag values of the cloud resources. Valid values: `all`, `startWith`, `endWith`, `contains`, `notContains`, `equals`.
|
|
498
672
|
"""
|
|
499
673
|
return pulumi.get(self, "tag_value_match_function")
|
|
500
674
|
|
|
@@ -1874,12 +2048,11 @@ class MetricRuleTemplateAlertTemplate(dict):
|
|
|
1874
2048
|
escalations: Optional['outputs.MetricRuleTemplateAlertTemplateEscalations'] = None,
|
|
1875
2049
|
webhook: Optional[str] = None):
|
|
1876
2050
|
"""
|
|
1877
|
-
:param str category: The abbreviation of the service name.
|
|
2051
|
+
:param str category: The abbreviation of the Alibaba Cloud service name.
|
|
2052
|
+
> **NOTE:** To obtain the abbreviation of an Alibaba Cloud service name, call the [DescribeProjectMeta](https://www.alibabacloud.com/help/en/cms/developer-reference/api-cms-2019-01-01-describeprojectmeta) operation. The metricCategory tag in the Labels response parameter indicates the abbreviation of the Alibaba Cloud service name.
|
|
1878
2053
|
:param str metric_name: The name of the metric.
|
|
1879
|
-
|
|
1880
2054
|
> **NOTE:** For more information, see [DescribeMetricMetaList](https://www.alibabacloud.com/help/doc-detail/98846.htm) or [Appendix 1: Metrics](https://www.alibabacloud.com/help/doc-detail/28619.htm).
|
|
1881
|
-
:param str namespace: The namespace of the service.
|
|
1882
|
-
|
|
2055
|
+
:param str namespace: The namespace of the cloud service.
|
|
1883
2056
|
> **NOTE:** For more information, see [DescribeMetricMetaList](https://www.alibabacloud.com/help/doc-detail/98846.htm) or [Appendix 1: Metrics](https://www.alibabacloud.com/help/doc-detail/28619.htm).
|
|
1884
2057
|
:param str rule_name: The name of the alert rule.
|
|
1885
2058
|
:param 'MetricRuleTemplateAlertTemplateEscalationsArgs' escalations: The information about the trigger condition based on the alert level. See `escalations` below.
|
|
@@ -1898,7 +2071,8 @@ class MetricRuleTemplateAlertTemplate(dict):
|
|
|
1898
2071
|
@pulumi.getter
|
|
1899
2072
|
def category(self) -> str:
|
|
1900
2073
|
"""
|
|
1901
|
-
The abbreviation of the service name.
|
|
2074
|
+
The abbreviation of the Alibaba Cloud service name.
|
|
2075
|
+
> **NOTE:** To obtain the abbreviation of an Alibaba Cloud service name, call the [DescribeProjectMeta](https://www.alibabacloud.com/help/en/cms/developer-reference/api-cms-2019-01-01-describeprojectmeta) operation. The metricCategory tag in the Labels response parameter indicates the abbreviation of the Alibaba Cloud service name.
|
|
1902
2076
|
"""
|
|
1903
2077
|
return pulumi.get(self, "category")
|
|
1904
2078
|
|
|
@@ -1907,7 +2081,6 @@ class MetricRuleTemplateAlertTemplate(dict):
|
|
|
1907
2081
|
def metric_name(self) -> str:
|
|
1908
2082
|
"""
|
|
1909
2083
|
The name of the metric.
|
|
1910
|
-
|
|
1911
2084
|
> **NOTE:** For more information, see [DescribeMetricMetaList](https://www.alibabacloud.com/help/doc-detail/98846.htm) or [Appendix 1: Metrics](https://www.alibabacloud.com/help/doc-detail/28619.htm).
|
|
1912
2085
|
"""
|
|
1913
2086
|
return pulumi.get(self, "metric_name")
|
|
@@ -1916,8 +2089,7 @@ class MetricRuleTemplateAlertTemplate(dict):
|
|
|
1916
2089
|
@pulumi.getter
|
|
1917
2090
|
def namespace(self) -> str:
|
|
1918
2091
|
"""
|
|
1919
|
-
The namespace of the service.
|
|
1920
|
-
|
|
2092
|
+
The namespace of the cloud service.
|
|
1921
2093
|
> **NOTE:** For more information, see [DescribeMetricMetaList](https://www.alibabacloud.com/help/doc-detail/98846.htm) or [Appendix 1: Metrics](https://www.alibabacloud.com/help/doc-detail/28619.htm).
|
|
1922
2094
|
"""
|
|
1923
2095
|
return pulumi.get(self, "namespace")
|
|
@@ -2015,10 +2187,10 @@ class MetricRuleTemplateAlertTemplateEscalationsCritical(dict):
|
|
|
2015
2187
|
threshold: Optional[str] = None,
|
|
2016
2188
|
times: Optional[str] = None):
|
|
2017
2189
|
"""
|
|
2018
|
-
:param str comparison_operator: The comparison operator of the threshold for
|
|
2019
|
-
:param str statistics: The statistical aggregation method for
|
|
2020
|
-
:param str threshold: The threshold for
|
|
2021
|
-
:param str times: The consecutive number of times for which the metric value is measured before a
|
|
2190
|
+
:param str comparison_operator: The comparison operator of the threshold for warn-level alerts. Valid values: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanOrEqualToThreshold`, `LessThanThreshold`, `NotEqualToThreshold`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`.
|
|
2191
|
+
:param str statistics: The statistical aggregation method for warn-level alerts.
|
|
2192
|
+
:param str threshold: The threshold for warn-level alerts.
|
|
2193
|
+
:param str times: The consecutive number of times for which the metric value is measured before a warn-level alert is triggered.
|
|
2022
2194
|
"""
|
|
2023
2195
|
if comparison_operator is not None:
|
|
2024
2196
|
pulumi.set(__self__, "comparison_operator", comparison_operator)
|
|
@@ -2033,7 +2205,7 @@ class MetricRuleTemplateAlertTemplateEscalationsCritical(dict):
|
|
|
2033
2205
|
@pulumi.getter(name="comparisonOperator")
|
|
2034
2206
|
def comparison_operator(self) -> Optional[str]:
|
|
2035
2207
|
"""
|
|
2036
|
-
The comparison operator of the threshold for
|
|
2208
|
+
The comparison operator of the threshold for warn-level alerts. Valid values: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanOrEqualToThreshold`, `LessThanThreshold`, `NotEqualToThreshold`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`.
|
|
2037
2209
|
"""
|
|
2038
2210
|
return pulumi.get(self, "comparison_operator")
|
|
2039
2211
|
|
|
@@ -2041,7 +2213,7 @@ class MetricRuleTemplateAlertTemplateEscalationsCritical(dict):
|
|
|
2041
2213
|
@pulumi.getter
|
|
2042
2214
|
def statistics(self) -> Optional[str]:
|
|
2043
2215
|
"""
|
|
2044
|
-
The statistical aggregation method for
|
|
2216
|
+
The statistical aggregation method for warn-level alerts.
|
|
2045
2217
|
"""
|
|
2046
2218
|
return pulumi.get(self, "statistics")
|
|
2047
2219
|
|
|
@@ -2049,7 +2221,7 @@ class MetricRuleTemplateAlertTemplateEscalationsCritical(dict):
|
|
|
2049
2221
|
@pulumi.getter
|
|
2050
2222
|
def threshold(self) -> Optional[str]:
|
|
2051
2223
|
"""
|
|
2052
|
-
The threshold for
|
|
2224
|
+
The threshold for warn-level alerts.
|
|
2053
2225
|
"""
|
|
2054
2226
|
return pulumi.get(self, "threshold")
|
|
2055
2227
|
|
|
@@ -2057,7 +2229,7 @@ class MetricRuleTemplateAlertTemplateEscalationsCritical(dict):
|
|
|
2057
2229
|
@pulumi.getter
|
|
2058
2230
|
def times(self) -> Optional[str]:
|
|
2059
2231
|
"""
|
|
2060
|
-
The consecutive number of times for which the metric value is measured before a
|
|
2232
|
+
The consecutive number of times for which the metric value is measured before a warn-level alert is triggered.
|
|
2061
2233
|
"""
|
|
2062
2234
|
return pulumi.get(self, "times")
|
|
2063
2235
|
|
|
@@ -2087,10 +2259,10 @@ class MetricRuleTemplateAlertTemplateEscalationsInfo(dict):
|
|
|
2087
2259
|
threshold: Optional[str] = None,
|
|
2088
2260
|
times: Optional[str] = None):
|
|
2089
2261
|
"""
|
|
2090
|
-
:param str comparison_operator: The comparison operator of the threshold for
|
|
2091
|
-
:param str statistics: The statistical aggregation method for
|
|
2092
|
-
:param str threshold: The threshold for
|
|
2093
|
-
:param str times: The consecutive number of times for which the metric value is measured before a
|
|
2262
|
+
:param str comparison_operator: The comparison operator of the threshold for warn-level alerts. Valid values: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanOrEqualToThreshold`, `LessThanThreshold`, `NotEqualToThreshold`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`.
|
|
2263
|
+
:param str statistics: The statistical aggregation method for warn-level alerts.
|
|
2264
|
+
:param str threshold: The threshold for warn-level alerts.
|
|
2265
|
+
:param str times: The consecutive number of times for which the metric value is measured before a warn-level alert is triggered.
|
|
2094
2266
|
"""
|
|
2095
2267
|
if comparison_operator is not None:
|
|
2096
2268
|
pulumi.set(__self__, "comparison_operator", comparison_operator)
|
|
@@ -2105,7 +2277,7 @@ class MetricRuleTemplateAlertTemplateEscalationsInfo(dict):
|
|
|
2105
2277
|
@pulumi.getter(name="comparisonOperator")
|
|
2106
2278
|
def comparison_operator(self) -> Optional[str]:
|
|
2107
2279
|
"""
|
|
2108
|
-
The comparison operator of the threshold for
|
|
2280
|
+
The comparison operator of the threshold for warn-level alerts. Valid values: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanOrEqualToThreshold`, `LessThanThreshold`, `NotEqualToThreshold`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`.
|
|
2109
2281
|
"""
|
|
2110
2282
|
return pulumi.get(self, "comparison_operator")
|
|
2111
2283
|
|
|
@@ -2113,7 +2285,7 @@ class MetricRuleTemplateAlertTemplateEscalationsInfo(dict):
|
|
|
2113
2285
|
@pulumi.getter
|
|
2114
2286
|
def statistics(self) -> Optional[str]:
|
|
2115
2287
|
"""
|
|
2116
|
-
The statistical aggregation method for
|
|
2288
|
+
The statistical aggregation method for warn-level alerts.
|
|
2117
2289
|
"""
|
|
2118
2290
|
return pulumi.get(self, "statistics")
|
|
2119
2291
|
|
|
@@ -2121,7 +2293,7 @@ class MetricRuleTemplateAlertTemplateEscalationsInfo(dict):
|
|
|
2121
2293
|
@pulumi.getter
|
|
2122
2294
|
def threshold(self) -> Optional[str]:
|
|
2123
2295
|
"""
|
|
2124
|
-
The threshold for
|
|
2296
|
+
The threshold for warn-level alerts.
|
|
2125
2297
|
"""
|
|
2126
2298
|
return pulumi.get(self, "threshold")
|
|
2127
2299
|
|
|
@@ -2129,7 +2301,7 @@ class MetricRuleTemplateAlertTemplateEscalationsInfo(dict):
|
|
|
2129
2301
|
@pulumi.getter
|
|
2130
2302
|
def times(self) -> Optional[str]:
|
|
2131
2303
|
"""
|
|
2132
|
-
The consecutive number of times for which the metric value is measured before a
|
|
2304
|
+
The consecutive number of times for which the metric value is measured before a warn-level alert is triggered.
|
|
2133
2305
|
"""
|
|
2134
2306
|
return pulumi.get(self, "times")
|
|
2135
2307
|
|
|
@@ -2159,10 +2331,10 @@ class MetricRuleTemplateAlertTemplateEscalationsWarn(dict):
|
|
|
2159
2331
|
threshold: Optional[str] = None,
|
|
2160
2332
|
times: Optional[str] = None):
|
|
2161
2333
|
"""
|
|
2162
|
-
:param str comparison_operator: The comparison operator of the threshold for
|
|
2163
|
-
:param str statistics: The statistical aggregation method for
|
|
2164
|
-
:param str threshold: The threshold for
|
|
2165
|
-
:param str times: The consecutive number of times for which the metric value is measured before a
|
|
2334
|
+
:param str comparison_operator: The comparison operator of the threshold for warn-level alerts. Valid values: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanOrEqualToThreshold`, `LessThanThreshold`, `NotEqualToThreshold`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`.
|
|
2335
|
+
:param str statistics: The statistical aggregation method for warn-level alerts.
|
|
2336
|
+
:param str threshold: The threshold for warn-level alerts.
|
|
2337
|
+
:param str times: The consecutive number of times for which the metric value is measured before a warn-level alert is triggered.
|
|
2166
2338
|
"""
|
|
2167
2339
|
if comparison_operator is not None:
|
|
2168
2340
|
pulumi.set(__self__, "comparison_operator", comparison_operator)
|
|
@@ -2177,7 +2349,7 @@ class MetricRuleTemplateAlertTemplateEscalationsWarn(dict):
|
|
|
2177
2349
|
@pulumi.getter(name="comparisonOperator")
|
|
2178
2350
|
def comparison_operator(self) -> Optional[str]:
|
|
2179
2351
|
"""
|
|
2180
|
-
The comparison operator of the threshold for
|
|
2352
|
+
The comparison operator of the threshold for warn-level alerts. Valid values: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanOrEqualToThreshold`, `LessThanThreshold`, `NotEqualToThreshold`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`.
|
|
2181
2353
|
"""
|
|
2182
2354
|
return pulumi.get(self, "comparison_operator")
|
|
2183
2355
|
|
|
@@ -2185,7 +2357,7 @@ class MetricRuleTemplateAlertTemplateEscalationsWarn(dict):
|
|
|
2185
2357
|
@pulumi.getter
|
|
2186
2358
|
def statistics(self) -> Optional[str]:
|
|
2187
2359
|
"""
|
|
2188
|
-
The statistical aggregation method for
|
|
2360
|
+
The statistical aggregation method for warn-level alerts.
|
|
2189
2361
|
"""
|
|
2190
2362
|
return pulumi.get(self, "statistics")
|
|
2191
2363
|
|
|
@@ -2193,7 +2365,7 @@ class MetricRuleTemplateAlertTemplateEscalationsWarn(dict):
|
|
|
2193
2365
|
@pulumi.getter
|
|
2194
2366
|
def threshold(self) -> Optional[str]:
|
|
2195
2367
|
"""
|
|
2196
|
-
The threshold for
|
|
2368
|
+
The threshold for warn-level alerts.
|
|
2197
2369
|
"""
|
|
2198
2370
|
return pulumi.get(self, "threshold")
|
|
2199
2371
|
|
|
@@ -2201,7 +2373,7 @@ class MetricRuleTemplateAlertTemplateEscalationsWarn(dict):
|
|
|
2201
2373
|
@pulumi.getter
|
|
2202
2374
|
def times(self) -> Optional[str]:
|
|
2203
2375
|
"""
|
|
2204
|
-
The consecutive number of times for which the metric value is measured before a
|
|
2376
|
+
The consecutive number of times for which the metric value is measured before a warn-level alert is triggered.
|
|
2205
2377
|
"""
|
|
2206
2378
|
return pulumi.get(self, "times")
|
|
2207
2379
|
|
|
@@ -126,7 +126,7 @@ def get_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
126
126
|
"""
|
|
127
127
|
This data source provides a list Container Service Kubernetes Clusters on Alibaba Cloud.
|
|
128
128
|
|
|
129
|
-
> **NOTE:** Available
|
|
129
|
+
> **NOTE:** Available since v1.34.0+.
|
|
130
130
|
|
|
131
131
|
> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kube_config_file_prefix`.
|
|
132
132
|
|
|
@@ -144,6 +144,7 @@ def get_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
144
144
|
```
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
:param bool enable_details: Boolean, false by default, only `id` and `name` are exported. Set to true if more details are needed, e.g., `master_disk_category`, `slb_internet_enabled`, `connections`. See full list in attributes.
|
|
147
148
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
148
149
|
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/k8s`, then it will be named with `~/.kube/k8s-clusterID-kubeconfig`. From version 1.187.0+, kube_config will not export kube_config if this field is not set.
|
|
149
150
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
@@ -179,7 +180,7 @@ def get_kubernetes_clusters_output(enable_details: Optional[pulumi.Input[Optiona
|
|
|
179
180
|
"""
|
|
180
181
|
This data source provides a list Container Service Kubernetes Clusters on Alibaba Cloud.
|
|
181
182
|
|
|
182
|
-
> **NOTE:** Available
|
|
183
|
+
> **NOTE:** Available since v1.34.0+.
|
|
183
184
|
|
|
184
185
|
> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kube_config_file_prefix`.
|
|
185
186
|
|
|
@@ -197,6 +198,7 @@ def get_kubernetes_clusters_output(enable_details: Optional[pulumi.Input[Optiona
|
|
|
197
198
|
```
|
|
198
199
|
|
|
199
200
|
|
|
201
|
+
:param bool enable_details: Boolean, false by default, only `id` and `name` are exported. Set to true if more details are needed, e.g., `master_disk_category`, `slb_internet_enabled`, `connections`. See full list in attributes.
|
|
200
202
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
201
203
|
:param str kube_config_file_prefix: The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/k8s`, then it will be named with `~/.kube/k8s-clusterID-kubeconfig`. From version 1.187.0+, kube_config will not export kube_config if this field is not set.
|
|
202
204
|
:param str name_regex: A regex string to filter results by cluster name.
|
pulumi_alicloud/cs/outputs.py
CHANGED
|
@@ -4943,7 +4943,7 @@ class GetServerlessKubernetesClustersClusterResult(dict):
|
|
|
4943
4943
|
:param str nat_gateway_id: The ID of nat gateway used to launch kubernetes cluster.
|
|
4944
4944
|
:param str security_group_id: The ID of security group where the current cluster is located.
|
|
4945
4945
|
:param str vpc_id: The ID of VPC where the current cluster is located.
|
|
4946
|
-
:param str vswitch_id: The ID of
|
|
4946
|
+
:param str vswitch_id: The ID of vSwitch where the current cluster is located.
|
|
4947
4947
|
"""
|
|
4948
4948
|
pulumi.set(__self__, "connections", connections)
|
|
4949
4949
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
|
@@ -5026,7 +5026,7 @@ class GetServerlessKubernetesClustersClusterResult(dict):
|
|
|
5026
5026
|
@pulumi.getter(name="vswitchId")
|
|
5027
5027
|
def vswitch_id(self) -> str:
|
|
5028
5028
|
"""
|
|
5029
|
-
The ID of
|
|
5029
|
+
The ID of vSwitch where the current cluster is located.
|
|
5030
5030
|
"""
|
|
5031
5031
|
return pulumi.get(self, "vswitch_id")
|
|
5032
5032
|
|
|
@@ -136,7 +136,7 @@ class InstanceAttachment(pulumi.CustomResource):
|
|
|
136
136
|
example = alicloud.ecs.get_instance_types(availability_zone=zone_id,
|
|
137
137
|
instance_type_family="ecs.g7se")
|
|
138
138
|
example_get_images = alicloud.ecs.get_images(instance_type=example.instance_types[len(example.instance_types) - 1].id,
|
|
139
|
-
name_regex="^
|
|
139
|
+
name_regex="^aliyun_2_1903_x64_20G_alibase_20240628.vhd",
|
|
140
140
|
owners="system")
|
|
141
141
|
default = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
142
142
|
default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0],
|
|
@@ -205,7 +205,7 @@ class InstanceAttachment(pulumi.CustomResource):
|
|
|
205
205
|
example = alicloud.ecs.get_instance_types(availability_zone=zone_id,
|
|
206
206
|
instance_type_family="ecs.g7se")
|
|
207
207
|
example_get_images = alicloud.ecs.get_images(instance_type=example.instance_types[len(example.instance_types) - 1].id,
|
|
208
|
-
name_regex="^
|
|
208
|
+
name_regex="^aliyun_2_1903_x64_20G_alibase_20240628.vhd",
|
|
209
209
|
owners="system")
|
|
210
210
|
default = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
211
211
|
default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0],
|
|
@@ -236,7 +236,7 @@ class Snapshot(pulumi.CustomResource):
|
|
|
236
236
|
example = alicloud.ecs.get_instance_types(availability_zone=zone_id,
|
|
237
237
|
instance_type_family="ecs.g7se")
|
|
238
238
|
example_get_images = alicloud.ecs.get_images(instance_type=example.instance_types[len(example.instance_types) - 1].id,
|
|
239
|
-
name_regex="^
|
|
239
|
+
name_regex="^aliyun_2_1903_x64_20G_alibase_20240628.vhd",
|
|
240
240
|
owners="system")
|
|
241
241
|
default = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
242
242
|
default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0],
|
|
@@ -313,7 +313,7 @@ class Snapshot(pulumi.CustomResource):
|
|
|
313
313
|
example = alicloud.ecs.get_instance_types(availability_zone=zone_id,
|
|
314
314
|
instance_type_family="ecs.g7se")
|
|
315
315
|
example_get_images = alicloud.ecs.get_images(instance_type=example.instance_types[len(example.instance_types) - 1].id,
|
|
316
|
-
name_regex="^
|
|
316
|
+
name_regex="^aliyun_2_1903_x64_20G_alibase_20240628.vhd",
|
|
317
317
|
owners="system")
|
|
318
318
|
default = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
319
319
|
default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0],
|
|
@@ -248,7 +248,7 @@ class BasicThreshold(pulumi.CustomResource):
|
|
|
248
248
|
available_resource_creation="VSwitch")
|
|
249
249
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
|
|
250
250
|
instance_type_family="ecs.sn1ne")
|
|
251
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
251
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
252
252
|
most_recent=True,
|
|
253
253
|
owners="system")
|
|
254
254
|
default_network = alicloud.vpc.Network("default",
|
|
@@ -326,7 +326,7 @@ class BasicThreshold(pulumi.CustomResource):
|
|
|
326
326
|
available_resource_creation="VSwitch")
|
|
327
327
|
default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
|
|
328
328
|
instance_type_family="ecs.sn1ne")
|
|
329
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
329
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
330
330
|
most_recent=True,
|
|
331
331
|
owners="system")
|
|
332
332
|
default_network = alicloud.vpc.Network("default",
|
pulumi_alicloud/ddos/bgp_ip.py
CHANGED
|
@@ -199,7 +199,6 @@ class BgpIp(pulumi.CustomResource):
|
|
|
199
199
|
if name is None:
|
|
200
200
|
name = "tf-example"
|
|
201
201
|
default = alicloud.resourcemanager.get_resource_groups()
|
|
202
|
-
current = alicloud.get_account()
|
|
203
202
|
instance = alicloud.ddos.DdosBgpInstance("instance",
|
|
204
203
|
name=name,
|
|
205
204
|
base_bandwidth=20,
|
|
@@ -212,8 +211,7 @@ class BgpIp(pulumi.CustomResource):
|
|
|
212
211
|
default_bgp_ip = alicloud.ddos.BgpIp("default",
|
|
213
212
|
instance_id=instance.id,
|
|
214
213
|
ip=default_eip_address.ip_address,
|
|
215
|
-
resource_group_id=default.groups[0].id
|
|
216
|
-
member_uid=current.id)
|
|
214
|
+
resource_group_id=default.groups[0].id)
|
|
217
215
|
```
|
|
218
216
|
|
|
219
217
|
## Import
|
|
@@ -257,7 +255,6 @@ class BgpIp(pulumi.CustomResource):
|
|
|
257
255
|
if name is None:
|
|
258
256
|
name = "tf-example"
|
|
259
257
|
default = alicloud.resourcemanager.get_resource_groups()
|
|
260
|
-
current = alicloud.get_account()
|
|
261
258
|
instance = alicloud.ddos.DdosBgpInstance("instance",
|
|
262
259
|
name=name,
|
|
263
260
|
base_bandwidth=20,
|
|
@@ -270,8 +267,7 @@ class BgpIp(pulumi.CustomResource):
|
|
|
270
267
|
default_bgp_ip = alicloud.ddos.BgpIp("default",
|
|
271
268
|
instance_id=instance.id,
|
|
272
269
|
ip=default_eip_address.ip_address,
|
|
273
|
-
resource_group_id=default.groups[0].id
|
|
274
|
-
member_uid=current.id)
|
|
270
|
+
resource_group_id=default.groups[0].id)
|
|
275
271
|
```
|
|
276
272
|
|
|
277
273
|
## Import
|
|
@@ -210,7 +210,7 @@ def get_container_groups(container_group_name: Optional[str] = None,
|
|
|
210
210
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
211
211
|
:param str resource_group_id: The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
|
|
212
212
|
:param str status: The status list. For more information, see the description of ContainerGroup arrays.
|
|
213
|
-
:param str vswitch_id: The ID of the
|
|
213
|
+
:param str vswitch_id: The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
|
|
214
214
|
:param str zone_id: The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.
|
|
215
215
|
"""
|
|
216
216
|
__args__ = dict()
|
|
@@ -287,7 +287,7 @@ def get_container_groups_output(container_group_name: Optional[pulumi.Input[Opti
|
|
|
287
287
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
288
288
|
:param str resource_group_id: The ID of the resource group to which the container group belongs. If you have not specified a resource group for the container group, it is added to the default resource group.
|
|
289
289
|
:param str status: The status list. For more information, see the description of ContainerGroup arrays.
|
|
290
|
-
:param str vswitch_id: The ID of the
|
|
290
|
+
:param str vswitch_id: The ID of the vSwitch. Currently, container groups can only be deployed in VPC networks.
|
|
291
291
|
:param str zone_id: The ID of the zone where you want to deploy the container group. If no value is specified, the system assigns a zone to the container group. By default, no value is specified.
|
|
292
292
|
"""
|
|
293
293
|
...
|
|
@@ -278,7 +278,7 @@ class EcsDiskAttachment(pulumi.CustomResource):
|
|
|
278
278
|
name="tf-example",
|
|
279
279
|
description="New security group",
|
|
280
280
|
vpc_id=default_network.id)
|
|
281
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
281
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
282
282
|
most_recent=True,
|
|
283
283
|
owners="system")
|
|
284
284
|
default_instance = alicloud.ecs.Instance("default",
|
|
@@ -364,7 +364,7 @@ class EcsDiskAttachment(pulumi.CustomResource):
|
|
|
364
364
|
name="tf-example",
|
|
365
365
|
description="New security group",
|
|
366
366
|
vpc_id=default_network.id)
|
|
367
|
-
default_get_images = alicloud.ecs.get_images(name_regex="^
|
|
367
|
+
default_get_images = alicloud.ecs.get_images(name_regex="^ubuntu_18.*64",
|
|
368
368
|
most_recent=True,
|
|
369
369
|
owners="system")
|
|
370
370
|
default_instance = alicloud.ecs.Instance("default",
|