pulumi-alicloud 3.73.0__py3-none-any.whl → 3.73.0a1736313335__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 +0 -59
- pulumi_alicloud/alb/__init__.py +0 -1
- pulumi_alicloud/alb/_inputs.py +6 -6
- pulumi_alicloud/alb/a_script.py +98 -116
- pulumi_alicloud/alb/outputs.py +4 -4
- pulumi_alicloud/alikafka/instance.py +70 -188
- pulumi_alicloud/amqp/instance.py +28 -77
- pulumi_alicloud/bastionhost/_inputs.py +38 -40
- pulumi_alicloud/bastionhost/get_instances.py +22 -6
- pulumi_alicloud/bastionhost/outputs.py +49 -60
- pulumi_alicloud/cen/instance_grant.py +0 -4
- pulumi_alicloud/cms/_inputs.py +15 -21
- pulumi_alicloud/cms/alarm.py +7 -7
- pulumi_alicloud/cms/outputs.py +10 -14
- pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +2 -4
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +0 -2
- pulumi_alicloud/cs/kubernetes.py +14 -14
- pulumi_alicloud/cs/managed_kubernetes.py +47 -137
- pulumi_alicloud/dataworks/__init__.py +0 -4
- pulumi_alicloud/dataworks/_inputs.py +0 -1534
- pulumi_alicloud/dataworks/outputs.py +0 -1247
- pulumi_alicloud/dcdn/waf_rule.py +14 -14
- pulumi_alicloud/dns/get_alidns_domains.py +2 -7
- pulumi_alicloud/dns/outputs.py +0 -8
- pulumi_alicloud/ecs/ecs_launch_template.py +0 -122
- pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
- pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/launch_template.py +0 -88
- pulumi_alicloud/fc/custom_domain.py +2 -2
- pulumi_alicloud/fc/function.py +4 -32
- pulumi_alicloud/fc/v2_function.py +0 -20
- pulumi_alicloud/hbr/__init__.py +0 -1
- pulumi_alicloud/ims/oidc_provider.py +0 -28
- pulumi_alicloud/log/resource_record.py +26 -42
- pulumi_alicloud/message/service_queue.py +59 -106
- pulumi_alicloud/message/service_topic.py +37 -182
- pulumi_alicloud/mongodb/account.py +163 -138
- pulumi_alicloud/oos/secret_parameter.py +9 -84
- pulumi_alicloud/oss/bucket.py +1 -1
- pulumi_alicloud/oss/bucket_policy.py +4 -2
- pulumi_alicloud/oss/bucket_referer.py +4 -2
- pulumi_alicloud/oss/get_buckets.py +2 -16
- pulumi_alicloud/oss/outputs.py +17 -18
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/sae/application.py +7 -84
- pulumi_alicloud/sls/collection_policy.py +2 -2
- pulumi_alicloud/vpc/__init__.py +0 -5
- pulumi_alicloud/vpc/get_networks.py +0 -3
- pulumi_alicloud/vpc/nat_gateway.py +7 -145
- pulumi_alicloud/vpc/outputs.py +0 -777
- pulumi_alicloud/vpc/snat_entry.py +48 -107
- pulumi_alicloud/vpn/_inputs.py +72 -96
- pulumi_alicloud/vpn/connection.py +28 -24
- pulumi_alicloud/vpn/outputs.py +48 -64
- pulumi_alicloud/yundun/_inputs.py +24 -26
- pulumi_alicloud/yundun/outputs.py +22 -37
- {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736313335.dist-info}/METADATA +2 -2
- {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736313335.dist-info}/RECORD +61 -78
- {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736313335.dist-info}/WHEEL +1 -1
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +0 -303
- pulumi_alicloud/cloudcontrol/__init__.py +0 -12
- pulumi_alicloud/cloudcontrol/get_prices.py +0 -199
- pulumi_alicloud/cloudcontrol/get_products.py +0 -187
- pulumi_alicloud/cloudcontrol/get_resource_types.py +0 -178
- pulumi_alicloud/cloudcontrol/outputs.py +0 -688
- pulumi_alicloud/cloudcontrol/resource.py +0 -407
- pulumi_alicloud/dataworks/di_alarm_rule.py +0 -708
- pulumi_alicloud/dataworks/di_job.py +0 -1005
- pulumi_alicloud/dataworks/dw_resource_group.py +0 -703
- pulumi_alicloud/dataworks/network.py +0 -331
- pulumi_alicloud/hbr/cross_account.py +0 -338
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +0 -295
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +0 -196
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +0 -353
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +0 -333
- pulumi_alicloud/vpc/get_ipam_ipams.py +0 -291
- {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736313335.dist-info}/top_level.txt +0 -0
|
@@ -62,32 +62,33 @@ class InstanceAdAuthServer(dict):
|
|
|
62
62
|
base_dn: str,
|
|
63
63
|
domain: str,
|
|
64
64
|
is_ssl: bool,
|
|
65
|
+
password: str,
|
|
65
66
|
port: int,
|
|
66
67
|
server: str,
|
|
67
68
|
email_mapping: Optional[str] = None,
|
|
68
69
|
filter: Optional[str] = None,
|
|
69
70
|
mobile_mapping: Optional[str] = None,
|
|
70
71
|
name_mapping: Optional[str] = None,
|
|
71
|
-
password: Optional[str] = None,
|
|
72
72
|
standby_server: Optional[str] = None):
|
|
73
73
|
"""
|
|
74
74
|
:param str account: The username of the account that is used for the AD server.
|
|
75
75
|
:param str base_dn: The Base distinguished name (DN).
|
|
76
76
|
:param str domain: The domain on the AD server.
|
|
77
77
|
:param bool is_ssl: Specifies whether to support SSL.
|
|
78
|
+
:param str password: The password of the account that is used for the AD server.
|
|
78
79
|
:param int port: The port that is used to access the AD server.
|
|
79
80
|
:param str server: The address of the AD server.
|
|
80
81
|
:param str email_mapping: The field that is used to indicate the email address of a user on the AD server.
|
|
81
82
|
:param str filter: The condition that is used to filter users.
|
|
82
83
|
:param str mobile_mapping: The field that is used to indicate the mobile phone number of a user on the AD server.
|
|
83
84
|
:param str name_mapping: The field that is used to indicate the name of a user on the AD server.
|
|
84
|
-
:param str password: The password of the account that is used for the AD server.
|
|
85
85
|
:param str standby_server: The address of the secondary AD server.
|
|
86
86
|
"""
|
|
87
87
|
pulumi.set(__self__, "account", account)
|
|
88
88
|
pulumi.set(__self__, "base_dn", base_dn)
|
|
89
89
|
pulumi.set(__self__, "domain", domain)
|
|
90
90
|
pulumi.set(__self__, "is_ssl", is_ssl)
|
|
91
|
+
pulumi.set(__self__, "password", password)
|
|
91
92
|
pulumi.set(__self__, "port", port)
|
|
92
93
|
pulumi.set(__self__, "server", server)
|
|
93
94
|
if email_mapping is not None:
|
|
@@ -98,8 +99,6 @@ class InstanceAdAuthServer(dict):
|
|
|
98
99
|
pulumi.set(__self__, "mobile_mapping", mobile_mapping)
|
|
99
100
|
if name_mapping is not None:
|
|
100
101
|
pulumi.set(__self__, "name_mapping", name_mapping)
|
|
101
|
-
if password is not None:
|
|
102
|
-
pulumi.set(__self__, "password", password)
|
|
103
102
|
if standby_server is not None:
|
|
104
103
|
pulumi.set(__self__, "standby_server", standby_server)
|
|
105
104
|
|
|
@@ -135,6 +134,14 @@ class InstanceAdAuthServer(dict):
|
|
|
135
134
|
"""
|
|
136
135
|
return pulumi.get(self, "is_ssl")
|
|
137
136
|
|
|
137
|
+
@property
|
|
138
|
+
@pulumi.getter
|
|
139
|
+
def password(self) -> str:
|
|
140
|
+
"""
|
|
141
|
+
The password of the account that is used for the AD server.
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "password")
|
|
144
|
+
|
|
138
145
|
@property
|
|
139
146
|
@pulumi.getter
|
|
140
147
|
def port(self) -> int:
|
|
@@ -183,14 +190,6 @@ class InstanceAdAuthServer(dict):
|
|
|
183
190
|
"""
|
|
184
191
|
return pulumi.get(self, "name_mapping")
|
|
185
192
|
|
|
186
|
-
@property
|
|
187
|
-
@pulumi.getter
|
|
188
|
-
def password(self) -> Optional[str]:
|
|
189
|
-
"""
|
|
190
|
-
The password of the account that is used for the AD server.
|
|
191
|
-
"""
|
|
192
|
-
return pulumi.get(self, "password")
|
|
193
|
-
|
|
194
193
|
@property
|
|
195
194
|
@pulumi.getter(name="standbyServer")
|
|
196
195
|
def standby_server(self) -> Optional[str]:
|
|
@@ -234,6 +233,7 @@ class InstanceLdapAuthServer(dict):
|
|
|
234
233
|
def __init__(__self__, *,
|
|
235
234
|
account: str,
|
|
236
235
|
base_dn: str,
|
|
236
|
+
password: str,
|
|
237
237
|
port: int,
|
|
238
238
|
server: str,
|
|
239
239
|
email_mapping: Optional[str] = None,
|
|
@@ -242,11 +242,11 @@ class InstanceLdapAuthServer(dict):
|
|
|
242
242
|
login_name_mapping: Optional[str] = None,
|
|
243
243
|
mobile_mapping: Optional[str] = None,
|
|
244
244
|
name_mapping: Optional[str] = None,
|
|
245
|
-
password: Optional[str] = None,
|
|
246
245
|
standby_server: Optional[str] = None):
|
|
247
246
|
"""
|
|
248
247
|
:param str account: The username of the account that is used for the LDAP server.
|
|
249
248
|
:param str base_dn: The Base distinguished name (DN).
|
|
249
|
+
:param str password: The password of the account that is used for the LDAP server.
|
|
250
250
|
:param int port: The port that is used to access the LDAP server.
|
|
251
251
|
:param str server: The address of the LDAP server.
|
|
252
252
|
:param str email_mapping: The field that is used to indicate the email address of a user on the LDAP server.
|
|
@@ -255,11 +255,11 @@ class InstanceLdapAuthServer(dict):
|
|
|
255
255
|
:param str login_name_mapping: The field that is used to indicate the logon name of a user on the LDAP server.
|
|
256
256
|
:param str mobile_mapping: The field that is used to indicate the mobile phone number of a user on the LDAP server.
|
|
257
257
|
:param str name_mapping: The field that is used to indicate the name of a user on the LDAP server.
|
|
258
|
-
:param str password: The password of the account that is used for the LDAP server.
|
|
259
258
|
:param str standby_server: The address of the secondary LDAP server.
|
|
260
259
|
"""
|
|
261
260
|
pulumi.set(__self__, "account", account)
|
|
262
261
|
pulumi.set(__self__, "base_dn", base_dn)
|
|
262
|
+
pulumi.set(__self__, "password", password)
|
|
263
263
|
pulumi.set(__self__, "port", port)
|
|
264
264
|
pulumi.set(__self__, "server", server)
|
|
265
265
|
if email_mapping is not None:
|
|
@@ -274,8 +274,6 @@ class InstanceLdapAuthServer(dict):
|
|
|
274
274
|
pulumi.set(__self__, "mobile_mapping", mobile_mapping)
|
|
275
275
|
if name_mapping is not None:
|
|
276
276
|
pulumi.set(__self__, "name_mapping", name_mapping)
|
|
277
|
-
if password is not None:
|
|
278
|
-
pulumi.set(__self__, "password", password)
|
|
279
277
|
if standby_server is not None:
|
|
280
278
|
pulumi.set(__self__, "standby_server", standby_server)
|
|
281
279
|
|
|
@@ -295,6 +293,14 @@ class InstanceLdapAuthServer(dict):
|
|
|
295
293
|
"""
|
|
296
294
|
return pulumi.get(self, "base_dn")
|
|
297
295
|
|
|
296
|
+
@property
|
|
297
|
+
@pulumi.getter
|
|
298
|
+
def password(self) -> str:
|
|
299
|
+
"""
|
|
300
|
+
The password of the account that is used for the LDAP server.
|
|
301
|
+
"""
|
|
302
|
+
return pulumi.get(self, "password")
|
|
303
|
+
|
|
298
304
|
@property
|
|
299
305
|
@pulumi.getter
|
|
300
306
|
def port(self) -> int:
|
|
@@ -359,14 +365,6 @@ class InstanceLdapAuthServer(dict):
|
|
|
359
365
|
"""
|
|
360
366
|
return pulumi.get(self, "name_mapping")
|
|
361
367
|
|
|
362
|
-
@property
|
|
363
|
-
@pulumi.getter
|
|
364
|
-
def password(self) -> Optional[str]:
|
|
365
|
-
"""
|
|
366
|
-
The password of the account that is used for the LDAP server.
|
|
367
|
-
"""
|
|
368
|
-
return pulumi.get(self, "password")
|
|
369
|
-
|
|
370
368
|
@property
|
|
371
369
|
@pulumi.getter(name="standbyServer")
|
|
372
370
|
def standby_server(self) -> Optional[str]:
|
|
@@ -777,7 +775,6 @@ class GetHostsHostProtocolResult(dict):
|
|
|
777
775
|
@pulumi.output_type
|
|
778
776
|
class GetInstancesInstanceResult(dict):
|
|
779
777
|
def __init__(__self__, *,
|
|
780
|
-
bandwidth: str,
|
|
781
778
|
description: str,
|
|
782
779
|
id: str,
|
|
783
780
|
instance_status: str,
|
|
@@ -786,24 +783,27 @@ class GetInstancesInstanceResult(dict):
|
|
|
786
783
|
public_domain: str,
|
|
787
784
|
public_network_access: bool,
|
|
788
785
|
security_group_ids: Sequence[str],
|
|
789
|
-
|
|
790
|
-
tags: Mapping[str, str]
|
|
791
|
-
user_vswitch_id: str):
|
|
786
|
+
user_vswitch_id: str,
|
|
787
|
+
tags: Optional[Mapping[str, str]] = None):
|
|
792
788
|
"""
|
|
793
|
-
:param str bandwidth: The bandwidth of Cloud Bastionhost instance.
|
|
794
789
|
:param str description: The instance's remark.
|
|
795
790
|
:param str id: The instance's id.
|
|
796
791
|
:param str instance_status: The instance's status.
|
|
797
|
-
:param str license_code: The instance's license code.
|
|
798
792
|
:param str private_domain: The instance's private domain name.
|
|
799
793
|
:param str public_domain: The instance's public domain name.
|
|
800
794
|
:param bool public_network_access: The instance's public network access configuration.
|
|
801
795
|
:param Sequence[str] security_group_ids: The instance's security group configuration.
|
|
802
|
-
:param str storage: The storage of Cloud Bastionhost instance in TB.
|
|
803
|
-
:param Mapping[str, str] tags: A map of tags assigned to the bastionhost instance.
|
|
804
796
|
:param str user_vswitch_id: The instance's vSwitch ID.
|
|
797
|
+
:param Mapping[str, str] tags: A map of tags assigned to the bastionhost instance. It must be in the format:
|
|
798
|
+
```python
|
|
799
|
+
import pulumi
|
|
800
|
+
import pulumi_alicloud as alicloud
|
|
801
|
+
|
|
802
|
+
instance = alicloud.bastionhost.get_instances(tags={
|
|
803
|
+
"tagKey1": "tagValue1",
|
|
804
|
+
})
|
|
805
|
+
```
|
|
805
806
|
"""
|
|
806
|
-
pulumi.set(__self__, "bandwidth", bandwidth)
|
|
807
807
|
pulumi.set(__self__, "description", description)
|
|
808
808
|
pulumi.set(__self__, "id", id)
|
|
809
809
|
pulumi.set(__self__, "instance_status", instance_status)
|
|
@@ -812,17 +812,9 @@ class GetInstancesInstanceResult(dict):
|
|
|
812
812
|
pulumi.set(__self__, "public_domain", public_domain)
|
|
813
813
|
pulumi.set(__self__, "public_network_access", public_network_access)
|
|
814
814
|
pulumi.set(__self__, "security_group_ids", security_group_ids)
|
|
815
|
-
pulumi.set(__self__, "storage", storage)
|
|
816
|
-
pulumi.set(__self__, "tags", tags)
|
|
817
815
|
pulumi.set(__self__, "user_vswitch_id", user_vswitch_id)
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
@pulumi.getter
|
|
821
|
-
def bandwidth(self) -> str:
|
|
822
|
-
"""
|
|
823
|
-
The bandwidth of Cloud Bastionhost instance.
|
|
824
|
-
"""
|
|
825
|
-
return pulumi.get(self, "bandwidth")
|
|
816
|
+
if tags is not None:
|
|
817
|
+
pulumi.set(__self__, "tags", tags)
|
|
826
818
|
|
|
827
819
|
@property
|
|
828
820
|
@pulumi.getter
|
|
@@ -851,9 +843,6 @@ class GetInstancesInstanceResult(dict):
|
|
|
851
843
|
@property
|
|
852
844
|
@pulumi.getter(name="licenseCode")
|
|
853
845
|
def license_code(self) -> str:
|
|
854
|
-
"""
|
|
855
|
-
The instance's license code.
|
|
856
|
-
"""
|
|
857
846
|
return pulumi.get(self, "license_code")
|
|
858
847
|
|
|
859
848
|
@property
|
|
@@ -889,28 +878,28 @@ class GetInstancesInstanceResult(dict):
|
|
|
889
878
|
return pulumi.get(self, "security_group_ids")
|
|
890
879
|
|
|
891
880
|
@property
|
|
892
|
-
@pulumi.getter
|
|
893
|
-
def
|
|
881
|
+
@pulumi.getter(name="userVswitchId")
|
|
882
|
+
def user_vswitch_id(self) -> str:
|
|
894
883
|
"""
|
|
895
|
-
The
|
|
884
|
+
The instance's vSwitch ID.
|
|
896
885
|
"""
|
|
897
|
-
return pulumi.get(self, "
|
|
886
|
+
return pulumi.get(self, "user_vswitch_id")
|
|
898
887
|
|
|
899
888
|
@property
|
|
900
889
|
@pulumi.getter
|
|
901
|
-
def tags(self) -> Mapping[str, str]:
|
|
890
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
902
891
|
"""
|
|
903
|
-
A map of tags assigned to the bastionhost instance.
|
|
904
|
-
|
|
905
|
-
|
|
892
|
+
A map of tags assigned to the bastionhost instance. It must be in the format:
|
|
893
|
+
```python
|
|
894
|
+
import pulumi
|
|
895
|
+
import pulumi_alicloud as alicloud
|
|
906
896
|
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
The instance's vSwitch ID.
|
|
897
|
+
instance = alicloud.bastionhost.get_instances(tags={
|
|
898
|
+
"tagKey1": "tagValue1",
|
|
899
|
+
})
|
|
900
|
+
```
|
|
912
901
|
"""
|
|
913
|
-
return pulumi.get(self, "
|
|
902
|
+
return pulumi.get(self, "tags")
|
|
914
903
|
|
|
915
904
|
|
|
916
905
|
@pulumi.output_type
|
|
@@ -139,8 +139,6 @@ class InstanceGrant(pulumi.CustomResource):
|
|
|
139
139
|
|
|
140
140
|
For more information about how to use it, see [Attach a network in a different account](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-attachcenchildinstance).
|
|
141
141
|
|
|
142
|
-
> **NOTE:** Deprecated since v1.241.0. The resource have been deprecated and new resource type cen.TransitRouterGrantAttachment is recommended.
|
|
143
|
-
|
|
144
142
|
> **NOTE:** Available since v1.37.0.
|
|
145
143
|
|
|
146
144
|
## Example Usage
|
|
@@ -195,8 +193,6 @@ class InstanceGrant(pulumi.CustomResource):
|
|
|
195
193
|
|
|
196
194
|
For more information about how to use it, see [Attach a network in a different account](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-attachcenchildinstance).
|
|
197
195
|
|
|
198
|
-
> **NOTE:** Deprecated since v1.241.0. The resource have been deprecated and new resource type cen.TransitRouterGrantAttachment is recommended.
|
|
199
|
-
|
|
200
196
|
> **NOTE:** Available since v1.37.0.
|
|
201
197
|
|
|
202
198
|
## Example Usage
|
pulumi_alicloud/cms/_inputs.py
CHANGED
|
@@ -680,15 +680,13 @@ if not MYPY:
|
|
|
680
680
|
class AlarmTargetArgsDict(TypedDict):
|
|
681
681
|
arn: NotRequired[pulumi.Input[str]]
|
|
682
682
|
"""
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
- Simple Log Service: `acs:log:{regionId}:{userId}:project/{Project name}/logstore/{Logstore name}`
|
|
687
|
-
- Function Compute: `acs:fc:{regionId}:{userId}:services/{Service name}/functions/{Function name}`
|
|
683
|
+
ARN uniquely identifies the resource that the alert targets.
|
|
684
|
+
> **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.
|
|
685
|
+
> **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).
|
|
688
686
|
"""
|
|
689
687
|
json_params: NotRequired[pulumi.Input[str]]
|
|
690
688
|
"""
|
|
691
|
-
|
|
689
|
+
Specifies additional parameters for the alert callback in JSON format. This can include configuration settings specific to the alert action.
|
|
692
690
|
"""
|
|
693
691
|
level: NotRequired[pulumi.Input[str]]
|
|
694
692
|
"""
|
|
@@ -696,7 +694,7 @@ if not MYPY:
|
|
|
696
694
|
"""
|
|
697
695
|
target_id: NotRequired[pulumi.Input[str]]
|
|
698
696
|
"""
|
|
699
|
-
The ID of the resource for which alerts are triggered.
|
|
697
|
+
The ID of the resource for which alerts are triggered. This is typically used to specify individual resources that should respond to the alert.
|
|
700
698
|
"""
|
|
701
699
|
elif False:
|
|
702
700
|
AlarmTargetArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -709,14 +707,12 @@ class AlarmTargetArgs:
|
|
|
709
707
|
level: Optional[pulumi.Input[str]] = None,
|
|
710
708
|
target_id: Optional[pulumi.Input[str]] = None):
|
|
711
709
|
"""
|
|
712
|
-
:param pulumi.Input[str] arn:
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
- Function Compute: `acs:fc:{regionId}:{userId}:services/{Service name}/functions/{Function name}`
|
|
717
|
-
:param pulumi.Input[str] json_params: The parameters of the alert callback. The parameters are in the JSON format.
|
|
710
|
+
:param pulumi.Input[str] arn: ARN uniquely identifies the resource that the alert targets.
|
|
711
|
+
> **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.
|
|
712
|
+
> **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).
|
|
713
|
+
:param pulumi.Input[str] json_params: Specifies additional parameters for the alert callback in JSON format. This can include configuration settings specific to the alert action.
|
|
718
714
|
:param pulumi.Input[str] level: The level of the alert. Valid values: `Critical`, `Warn`, `Info`.
|
|
719
|
-
:param pulumi.Input[str] target_id: The ID of the resource for which alerts are triggered.
|
|
715
|
+
:param pulumi.Input[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.
|
|
720
716
|
"""
|
|
721
717
|
if arn is not None:
|
|
722
718
|
pulumi.set(__self__, "arn", arn)
|
|
@@ -731,11 +727,9 @@ class AlarmTargetArgs:
|
|
|
731
727
|
@pulumi.getter
|
|
732
728
|
def arn(self) -> Optional[pulumi.Input[str]]:
|
|
733
729
|
"""
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
- Simple Log Service: `acs:log:{regionId}:{userId}:project/{Project name}/logstore/{Logstore name}`
|
|
738
|
-
- Function Compute: `acs:fc:{regionId}:{userId}:services/{Service name}/functions/{Function name}`
|
|
730
|
+
ARN uniquely identifies the resource that the alert targets.
|
|
731
|
+
> **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.
|
|
732
|
+
> **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).
|
|
739
733
|
"""
|
|
740
734
|
return pulumi.get(self, "arn")
|
|
741
735
|
|
|
@@ -747,7 +741,7 @@ class AlarmTargetArgs:
|
|
|
747
741
|
@pulumi.getter(name="jsonParams")
|
|
748
742
|
def json_params(self) -> Optional[pulumi.Input[str]]:
|
|
749
743
|
"""
|
|
750
|
-
|
|
744
|
+
Specifies additional parameters for the alert callback in JSON format. This can include configuration settings specific to the alert action.
|
|
751
745
|
"""
|
|
752
746
|
return pulumi.get(self, "json_params")
|
|
753
747
|
|
|
@@ -771,7 +765,7 @@ class AlarmTargetArgs:
|
|
|
771
765
|
@pulumi.getter(name="targetId")
|
|
772
766
|
def target_id(self) -> Optional[pulumi.Input[str]]:
|
|
773
767
|
"""
|
|
774
|
-
The ID of the resource for which alerts are triggered.
|
|
768
|
+
The ID of the resource for which alerts are triggered. This is typically used to specify individual resources that should respond to the alert.
|
|
775
769
|
"""
|
|
776
770
|
return pulumi.get(self, "target_id")
|
|
777
771
|
|
pulumi_alicloud/cms/alarm.py
CHANGED
|
@@ -62,7 +62,7 @@ class AlarmArgs:
|
|
|
62
62
|
:param pulumi.Input[int] silence_time: Notification silence period in the alarm state, in seconds. Default value: `86400`. Valid value range: [300, 86400].
|
|
63
63
|
:param pulumi.Input[int] start_time: Field `start_time` has been deprecated from provider version 1.50.0. New field `effective_interval` instead.
|
|
64
64
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
65
|
-
:param pulumi.Input[Sequence[pulumi.Input['AlarmTargetArgs']]] targets:
|
|
65
|
+
:param pulumi.Input[Sequence[pulumi.Input['AlarmTargetArgs']]] targets: The information about the resource for which alerts are triggered. See `targets` below.
|
|
66
66
|
:param pulumi.Input[str] webhook: The webhook that should be called when the alarm is triggered. Currently, only http protocol is supported. Default is empty string.
|
|
67
67
|
"""
|
|
68
68
|
pulumi.set(__self__, "contact_groups", contact_groups)
|
|
@@ -336,7 +336,7 @@ class AlarmArgs:
|
|
|
336
336
|
@pulumi.getter
|
|
337
337
|
def targets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlarmTargetArgs']]]]:
|
|
338
338
|
"""
|
|
339
|
-
|
|
339
|
+
The information about the resource for which alerts are triggered. See `targets` below.
|
|
340
340
|
"""
|
|
341
341
|
return pulumi.get(self, "targets")
|
|
342
342
|
|
|
@@ -403,7 +403,7 @@ class _AlarmState:
|
|
|
403
403
|
:param pulumi.Input[int] start_time: Field `start_time` has been deprecated from provider version 1.50.0. New field `effective_interval` instead.
|
|
404
404
|
:param pulumi.Input[str] status: The status of the Alarm.
|
|
405
405
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
406
|
-
:param pulumi.Input[Sequence[pulumi.Input['AlarmTargetArgs']]] targets:
|
|
406
|
+
:param pulumi.Input[Sequence[pulumi.Input['AlarmTargetArgs']]] targets: The information about the resource for which alerts are triggered. See `targets` below.
|
|
407
407
|
:param pulumi.Input[str] webhook: The webhook that should be called when the alarm is triggered. Currently, only http protocol is supported. Default is empty string.
|
|
408
408
|
"""
|
|
409
409
|
if composite_expression is not None:
|
|
@@ -694,7 +694,7 @@ class _AlarmState:
|
|
|
694
694
|
@pulumi.getter
|
|
695
695
|
def targets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlarmTargetArgs']]]]:
|
|
696
696
|
"""
|
|
697
|
-
|
|
697
|
+
The information about the resource for which alerts are triggered. See `targets` below.
|
|
698
698
|
"""
|
|
699
699
|
return pulumi.get(self, "targets")
|
|
700
700
|
|
|
@@ -836,7 +836,7 @@ class Alarm(pulumi.CustomResource):
|
|
|
836
836
|
:param pulumi.Input[int] silence_time: Notification silence period in the alarm state, in seconds. Default value: `86400`. Valid value range: [300, 86400].
|
|
837
837
|
:param pulumi.Input[int] start_time: Field `start_time` has been deprecated from provider version 1.50.0. New field `effective_interval` instead.
|
|
838
838
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
839
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['AlarmTargetArgs', 'AlarmTargetArgsDict']]]] targets:
|
|
839
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AlarmTargetArgs', 'AlarmTargetArgsDict']]]] targets: The information about the resource for which alerts are triggered. See `targets` below.
|
|
840
840
|
:param pulumi.Input[str] webhook: The webhook that should be called when the alarm is triggered. Currently, only http protocol is supported. Default is empty string.
|
|
841
841
|
"""
|
|
842
842
|
...
|
|
@@ -1048,7 +1048,7 @@ class Alarm(pulumi.CustomResource):
|
|
|
1048
1048
|
:param pulumi.Input[int] start_time: Field `start_time` has been deprecated from provider version 1.50.0. New field `effective_interval` instead.
|
|
1049
1049
|
:param pulumi.Input[str] status: The status of the Alarm.
|
|
1050
1050
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
1051
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['AlarmTargetArgs', 'AlarmTargetArgsDict']]]] targets:
|
|
1051
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['AlarmTargetArgs', 'AlarmTargetArgsDict']]]] targets: The information about the resource for which alerts are triggered. See `targets` below.
|
|
1052
1052
|
:param pulumi.Input[str] webhook: The webhook that should be called when the alarm is triggered. Currently, only http protocol is supported. Default is empty string.
|
|
1053
1053
|
"""
|
|
1054
1054
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1238,7 +1238,7 @@ class Alarm(pulumi.CustomResource):
|
|
|
1238
1238
|
@pulumi.getter
|
|
1239
1239
|
def targets(self) -> pulumi.Output[Sequence['outputs.AlarmTarget']]:
|
|
1240
1240
|
"""
|
|
1241
|
-
|
|
1241
|
+
The information about the resource for which alerts are triggered. See `targets` below.
|
|
1242
1242
|
"""
|
|
1243
1243
|
return pulumi.get(self, "targets")
|
|
1244
1244
|
|
pulumi_alicloud/cms/outputs.py
CHANGED
|
@@ -579,14 +579,12 @@ class AlarmTarget(dict):
|
|
|
579
579
|
level: Optional[str] = None,
|
|
580
580
|
target_id: Optional[str] = None):
|
|
581
581
|
"""
|
|
582
|
-
:param str arn:
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
- Function Compute: `acs:fc:{regionId}:{userId}:services/{Service name}/functions/{Function name}`
|
|
587
|
-
:param str json_params: The parameters of the alert callback. The parameters are in the JSON format.
|
|
582
|
+
:param str arn: ARN uniquely identifies the resource that the alert targets.
|
|
583
|
+
> **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.
|
|
584
|
+
> **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).
|
|
585
|
+
:param str json_params: Specifies additional parameters for the alert callback in JSON format. This can include configuration settings specific to the alert action.
|
|
588
586
|
:param str level: The level of the alert. Valid values: `Critical`, `Warn`, `Info`.
|
|
589
|
-
:param str target_id: The ID of the resource for which alerts are triggered.
|
|
587
|
+
: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.
|
|
590
588
|
"""
|
|
591
589
|
if arn is not None:
|
|
592
590
|
pulumi.set(__self__, "arn", arn)
|
|
@@ -601,11 +599,9 @@ class AlarmTarget(dict):
|
|
|
601
599
|
@pulumi.getter
|
|
602
600
|
def arn(self) -> Optional[str]:
|
|
603
601
|
"""
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
- Simple Log Service: `acs:log:{regionId}:{userId}:project/{Project name}/logstore/{Logstore name}`
|
|
608
|
-
- Function Compute: `acs:fc:{regionId}:{userId}:services/{Service name}/functions/{Function name}`
|
|
602
|
+
ARN uniquely identifies the resource that the alert targets.
|
|
603
|
+
> **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.
|
|
604
|
+
> **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).
|
|
609
605
|
"""
|
|
610
606
|
return pulumi.get(self, "arn")
|
|
611
607
|
|
|
@@ -613,7 +609,7 @@ class AlarmTarget(dict):
|
|
|
613
609
|
@pulumi.getter(name="jsonParams")
|
|
614
610
|
def json_params(self) -> Optional[str]:
|
|
615
611
|
"""
|
|
616
|
-
|
|
612
|
+
Specifies additional parameters for the alert callback in JSON format. This can include configuration settings specific to the alert action.
|
|
617
613
|
"""
|
|
618
614
|
return pulumi.get(self, "json_params")
|
|
619
615
|
|
|
@@ -629,7 +625,7 @@ class AlarmTarget(dict):
|
|
|
629
625
|
@pulumi.getter(name="targetId")
|
|
630
626
|
def target_id(self) -> Optional[str]:
|
|
631
627
|
"""
|
|
632
|
-
The ID of the resource for which alerts are triggered.
|
|
628
|
+
The ID of the resource for which alerts are triggered. This is typically used to specify individual resources that should respond to the alert.
|
|
633
629
|
"""
|
|
634
630
|
return pulumi.get(self, "target_id")
|
|
635
631
|
|
|
@@ -121,7 +121,7 @@ def get_edge_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
121
121
|
"""
|
|
122
122
|
This data source provides a list Container Service Edge Kubernetes Clusters on Alibaba Cloud.
|
|
123
123
|
|
|
124
|
-
> **NOTE:** Available
|
|
124
|
+
> **NOTE:** Available in v1.103.0+
|
|
125
125
|
|
|
126
126
|
## Example Usage
|
|
127
127
|
|
|
@@ -136,7 +136,6 @@ def get_edge_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
: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.
|
|
140
139
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
141
140
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
142
141
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
@@ -165,7 +164,7 @@ def get_edge_kubernetes_clusters_output(enable_details: Optional[pulumi.Input[Op
|
|
|
165
164
|
"""
|
|
166
165
|
This data source provides a list Container Service Edge Kubernetes Clusters on Alibaba Cloud.
|
|
167
166
|
|
|
168
|
-
> **NOTE:** Available
|
|
167
|
+
> **NOTE:** Available in v1.103.0+
|
|
169
168
|
|
|
170
169
|
## Example Usage
|
|
171
170
|
|
|
@@ -180,7 +179,6 @@ def get_edge_kubernetes_clusters_output(enable_details: Optional[pulumi.Input[Op
|
|
|
180
179
|
```
|
|
181
180
|
|
|
182
181
|
|
|
183
|
-
: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.
|
|
184
182
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
185
183
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
186
184
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
@@ -149,7 +149,6 @@ def get_managed_kubernetes_clusters(enable_details: Optional[bool] = None,
|
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
: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.
|
|
153
152
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
154
153
|
: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/managed`, then it will be named with `~/.kube/managed-clusterID-kubeconfig`. From version 1.187.0+, kube_config will not export kube_config if this field is not set.
|
|
155
154
|
:param str name_regex: A regex string to filter results by cluster name.
|
|
@@ -200,7 +199,6 @@ def get_managed_kubernetes_clusters_output(enable_details: Optional[pulumi.Input
|
|
|
200
199
|
```
|
|
201
200
|
|
|
202
201
|
|
|
203
|
-
: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.
|
|
204
202
|
:param Sequence[str] ids: Cluster IDs to filter.
|
|
205
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/managed`, then it will be named with `~/.kube/managed-clusterID-kubeconfig`. From version 1.187.0+, kube_config will not export kube_config if this field is not set.
|
|
206
204
|
:param str name_regex: A regex string to filter results by cluster name.
|