pulumi-alicloud 3.61.2a1725006221__py3-none-any.whl → 3.62.0a1724476801__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/brain/get_industrial_pid_loops.py +2 -18
- pulumi_alicloud/brain/get_industrial_pid_organizations.py +2 -12
- pulumi_alicloud/brain/get_industrial_pid_projects.py +2 -18
- pulumi_alicloud/brain/get_industrial_serice.py +2 -6
- pulumi_alicloud/brain/industrial_pid_loop.py +2 -6
- pulumi_alicloud/brain/industrial_pid_organization.py +4 -4
- pulumi_alicloud/brain/industrial_pid_project.py +4 -4
- pulumi_alicloud/cas/certificate.py +13 -155
- pulumi_alicloud/cas/service_certificate.py +30 -9
- pulumi_alicloud/cdn/real_time_log_delivery.py +2 -2
- pulumi_alicloud/cen/get_transit_router_route_tables.py +14 -81
- pulumi_alicloud/cen/outputs.py +2 -6
- pulumi_alicloud/cfg/remediation.py +2 -6
- pulumi_alicloud/clickhouse/account.py +2 -2
- pulumi_alicloud/clickhouse/backup_policy.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +0 -2
- pulumi_alicloud/cs/_inputs.py +21 -141
- pulumi_alicloud/cs/kubernetes.py +7 -7
- pulumi_alicloud/cs/managed_kubernetes.py +45 -506
- pulumi_alicloud/cs/outputs.py +21 -148
- pulumi_alicloud/cs/registry_enterprise_namespace.py +72 -92
- pulumi_alicloud/cs/registry_enterprise_repo.py +74 -96
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +101 -105
- pulumi_alicloud/cs/serverless_kubernetes.py +206 -174
- pulumi_alicloud/databasefilesystem/instance.py +2 -2
- pulumi_alicloud/dts/consumer_channel.py +2 -2
- pulumi_alicloud/dts/subscription_job.py +2 -2
- pulumi_alicloud/ecs/auto_provisioning_group.py +2 -2
- pulumi_alicloud/ehpc/get_clusters.py +2 -11
- pulumi_alicloud/ehpc/get_job_templates.py +2 -5
- pulumi_alicloud/ehpc/job_template.py +2 -2
- pulumi_alicloud/ehpc/outputs.py +2 -34
- pulumi_alicloud/fc/function.py +6 -6
- pulumi_alicloud/fc/function_async_invoke_config.py +2 -2
- pulumi_alicloud/fc/trigger.py +2 -2
- pulumi_alicloud/gpdb/account.py +4 -0
- pulumi_alicloud/gpdb/connection.py +4 -0
- pulumi_alicloud/log/alert.py +28 -30
- pulumi_alicloud/log/audit.py +0 -2
- pulumi_alicloud/log/dashboard.py +8 -8
- pulumi_alicloud/log/etl.py +26 -26
- pulumi_alicloud/log/ingestion.py +10 -10
- pulumi_alicloud/log/log_tail_attachment.py +14 -14
- pulumi_alicloud/log/log_tail_config.py +10 -10
- pulumi_alicloud/log/machine_group.py +4 -4
- pulumi_alicloud/log/oss_export.py +10 -10
- pulumi_alicloud/log/project.py +4 -4
- pulumi_alicloud/log/store_index.py +10 -10
- pulumi_alicloud/nlb/server_group.py +2 -2
- pulumi_alicloud/oos/service_setting.py +8 -10
- pulumi_alicloud/oss/bucket.py +10 -18
- pulumi_alicloud/oss/bucket_object.py +8 -12
- pulumi_alicloud/oss/bucket_replication.py +2 -2
- pulumi_alicloud/polardb/cluster.py +21 -75
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/zone_record.py +2 -2
- pulumi_alicloud/ram/access_key.py +0 -4
- pulumi_alicloud/rds/account_privilege.py +2 -2
- pulumi_alicloud/rds/backup_policy.py +12 -270
- pulumi_alicloud/rds/database.py +7 -49
- pulumi_alicloud/rds/instance.py +2 -4
- pulumi_alicloud/rocketmq/group.py +2 -2
- pulumi_alicloud/rocketmq/topic.py +2 -2
- pulumi_alicloud/sls/alert.py +6 -6
- pulumi_alicloud/sls/scheduled_sql.py +10 -10
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/ipv6_internet_bandwidth.py +4 -4
- pulumi_alicloud/vpc/route_table_attachment.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +2 -2
- {pulumi_alicloud-3.61.2a1725006221.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.61.2a1725006221.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/RECORD +73 -73
- {pulumi_alicloud-3.61.2a1725006221.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.61.2a1725006221.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/top_level.txt +0 -0
|
@@ -22,7 +22,7 @@ class GetTransitRouterRouteTablesResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getTransitRouterRouteTables.
|
|
24
24
|
"""
|
|
25
|
-
def __init__(__self__, id=None, ids=None, name_regex=None, names=None, output_file=None, status=None, tables=None, transit_router_id=None, transit_router_route_table_ids=None, transit_router_route_table_names=None, transit_router_route_table_status=None
|
|
25
|
+
def __init__(__self__, id=None, ids=None, name_regex=None, names=None, output_file=None, status=None, tables=None, transit_router_id=None, transit_router_route_table_ids=None, transit_router_route_table_names=None, transit_router_route_table_status=None):
|
|
26
26
|
if id and not isinstance(id, str):
|
|
27
27
|
raise TypeError("Expected argument 'id' to be a str")
|
|
28
28
|
pulumi.set(__self__, "id", id)
|
|
@@ -56,9 +56,6 @@ class GetTransitRouterRouteTablesResult:
|
|
|
56
56
|
if transit_router_route_table_status and not isinstance(transit_router_route_table_status, str):
|
|
57
57
|
raise TypeError("Expected argument 'transit_router_route_table_status' to be a str")
|
|
58
58
|
pulumi.set(__self__, "transit_router_route_table_status", transit_router_route_table_status)
|
|
59
|
-
if transit_router_route_table_type and not isinstance(transit_router_route_table_type, str):
|
|
60
|
-
raise TypeError("Expected argument 'transit_router_route_table_type' to be a str")
|
|
61
|
-
pulumi.set(__self__, "transit_router_route_table_type", transit_router_route_table_type)
|
|
62
59
|
|
|
63
60
|
@property
|
|
64
61
|
@pulumi.getter
|
|
@@ -71,6 +68,9 @@ class GetTransitRouterRouteTablesResult:
|
|
|
71
68
|
@property
|
|
72
69
|
@pulumi.getter
|
|
73
70
|
def ids(self) -> Sequence[str]:
|
|
71
|
+
"""
|
|
72
|
+
A list of CEN Transit Router Route Table IDs.
|
|
73
|
+
"""
|
|
74
74
|
return pulumi.get(self, "ids")
|
|
75
75
|
|
|
76
76
|
@property
|
|
@@ -94,9 +94,6 @@ class GetTransitRouterRouteTablesResult:
|
|
|
94
94
|
@property
|
|
95
95
|
@pulumi.getter
|
|
96
96
|
def status(self) -> Optional[str]:
|
|
97
|
-
"""
|
|
98
|
-
The status of the route table.
|
|
99
|
-
"""
|
|
100
97
|
return pulumi.get(self, "status")
|
|
101
98
|
|
|
102
99
|
@property
|
|
@@ -125,15 +122,10 @@ class GetTransitRouterRouteTablesResult:
|
|
|
125
122
|
@property
|
|
126
123
|
@pulumi.getter(name="transitRouterRouteTableStatus")
|
|
127
124
|
def transit_router_route_table_status(self) -> Optional[str]:
|
|
128
|
-
return pulumi.get(self, "transit_router_route_table_status")
|
|
129
|
-
|
|
130
|
-
@property
|
|
131
|
-
@pulumi.getter(name="transitRouterRouteTableType")
|
|
132
|
-
def transit_router_route_table_type(self) -> Optional[str]:
|
|
133
125
|
"""
|
|
134
|
-
|
|
126
|
+
The status of the route table.
|
|
135
127
|
"""
|
|
136
|
-
return pulumi.get(self, "
|
|
128
|
+
return pulumi.get(self, "transit_router_route_table_status")
|
|
137
129
|
|
|
138
130
|
|
|
139
131
|
class AwaitableGetTransitRouterRouteTablesResult(GetTransitRouterRouteTablesResult):
|
|
@@ -152,8 +144,7 @@ class AwaitableGetTransitRouterRouteTablesResult(GetTransitRouterRouteTablesResu
|
|
|
152
144
|
transit_router_id=self.transit_router_id,
|
|
153
145
|
transit_router_route_table_ids=self.transit_router_route_table_ids,
|
|
154
146
|
transit_router_route_table_names=self.transit_router_route_table_names,
|
|
155
|
-
transit_router_route_table_status=self.transit_router_route_table_status
|
|
156
|
-
transit_router_route_table_type=self.transit_router_route_table_type)
|
|
147
|
+
transit_router_route_table_status=self.transit_router_route_table_status)
|
|
157
148
|
|
|
158
149
|
|
|
159
150
|
def get_transit_router_route_tables(ids: Optional[Sequence[str]] = None,
|
|
@@ -164,47 +155,19 @@ def get_transit_router_route_tables(ids: Optional[Sequence[str]] = None,
|
|
|
164
155
|
transit_router_route_table_ids: Optional[Sequence[str]] = None,
|
|
165
156
|
transit_router_route_table_names: Optional[Sequence[str]] = None,
|
|
166
157
|
transit_router_route_table_status: Optional[str] = None,
|
|
167
|
-
transit_router_route_table_type: Optional[str] = None,
|
|
168
158
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTransitRouterRouteTablesResult:
|
|
169
159
|
"""
|
|
170
|
-
This data source provides CEN Transit Router Route Tables available to the user.[What is Cen Transit Router Route Tables](https://
|
|
171
|
-
|
|
172
|
-
> **NOTE:** Available since v1.126.0.
|
|
173
|
-
|
|
174
|
-
## Example Usage
|
|
160
|
+
This data source provides CEN Transit Router Route Tables available to the user.[What is Cen Transit Router Route Tables](https://help.aliyun.com/document_detail/261237.html)
|
|
175
161
|
|
|
176
|
-
|
|
177
|
-
import pulumi
|
|
178
|
-
import pulumi_alicloud as alicloud
|
|
179
|
-
|
|
180
|
-
config = pulumi.Config()
|
|
181
|
-
name = config.get("name")
|
|
182
|
-
if name is None:
|
|
183
|
-
name = "tf-example"
|
|
184
|
-
default_instance = alicloud.cen.Instance("default",
|
|
185
|
-
cen_instance_name=name,
|
|
186
|
-
protection_level="REDUCED")
|
|
187
|
-
default_transit_router = alicloud.cen.TransitRouter("default",
|
|
188
|
-
cen_id=default_instance.id,
|
|
189
|
-
transit_router_name=name)
|
|
190
|
-
default_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("default",
|
|
191
|
-
transit_router_id=default_transit_router.transit_router_id,
|
|
192
|
-
transit_router_route_table_description="desp",
|
|
193
|
-
transit_router_route_table_name=name)
|
|
194
|
-
default = alicloud.cen.get_transit_router_route_tables_output(transit_router_id=default_transit_router.transit_router_id)
|
|
195
|
-
pulumi.export("firstTransitRouterRouteTableType", default.tables[0].transit_router_route_table_type)
|
|
196
|
-
```
|
|
162
|
+
> **NOTE:** Available in 1.126.0+
|
|
197
163
|
|
|
198
164
|
|
|
199
165
|
:param Sequence[str] ids: A list of CEN Transit Router Route Table IDs.
|
|
200
|
-
:param str name_regex: A regex string to filter CEN Transit Router Route Table by name.
|
|
201
166
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
202
|
-
:param str status: The status of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..
|
|
203
167
|
:param str transit_router_id: ID of the CEN Transit Router Route Table.
|
|
204
168
|
:param Sequence[str] transit_router_route_table_ids: A list of ID of the CEN Transit Router Route Table.
|
|
205
169
|
:param Sequence[str] transit_router_route_table_names: A list of name of the CEN Transit Router Route Table.
|
|
206
|
-
:param str transit_router_route_table_status: The status of the transit router route table to query.
|
|
207
|
-
:param str transit_router_route_table_type: The type of the transit router route table to query. Valid values `System` and `Custom`.
|
|
170
|
+
:param str transit_router_route_table_status: The status of the transit router route table to query.
|
|
208
171
|
"""
|
|
209
172
|
__args__ = dict()
|
|
210
173
|
__args__['ids'] = ids
|
|
@@ -215,7 +178,6 @@ def get_transit_router_route_tables(ids: Optional[Sequence[str]] = None,
|
|
|
215
178
|
__args__['transitRouterRouteTableIds'] = transit_router_route_table_ids
|
|
216
179
|
__args__['transitRouterRouteTableNames'] = transit_router_route_table_names
|
|
217
180
|
__args__['transitRouterRouteTableStatus'] = transit_router_route_table_status
|
|
218
|
-
__args__['transitRouterRouteTableType'] = transit_router_route_table_type
|
|
219
181
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
220
182
|
__ret__ = pulumi.runtime.invoke('alicloud:cen/getTransitRouterRouteTables:getTransitRouterRouteTables', __args__, opts=opts, typ=GetTransitRouterRouteTablesResult).value
|
|
221
183
|
|
|
@@ -230,8 +192,7 @@ def get_transit_router_route_tables(ids: Optional[Sequence[str]] = None,
|
|
|
230
192
|
transit_router_id=pulumi.get(__ret__, 'transit_router_id'),
|
|
231
193
|
transit_router_route_table_ids=pulumi.get(__ret__, 'transit_router_route_table_ids'),
|
|
232
194
|
transit_router_route_table_names=pulumi.get(__ret__, 'transit_router_route_table_names'),
|
|
233
|
-
transit_router_route_table_status=pulumi.get(__ret__, 'transit_router_route_table_status')
|
|
234
|
-
transit_router_route_table_type=pulumi.get(__ret__, 'transit_router_route_table_type'))
|
|
195
|
+
transit_router_route_table_status=pulumi.get(__ret__, 'transit_router_route_table_status'))
|
|
235
196
|
|
|
236
197
|
|
|
237
198
|
@_utilities.lift_output_func(get_transit_router_route_tables)
|
|
@@ -243,46 +204,18 @@ def get_transit_router_route_tables_output(ids: Optional[pulumi.Input[Optional[S
|
|
|
243
204
|
transit_router_route_table_ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
244
205
|
transit_router_route_table_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
245
206
|
transit_router_route_table_status: Optional[pulumi.Input[Optional[str]]] = None,
|
|
246
|
-
transit_router_route_table_type: Optional[pulumi.Input[Optional[str]]] = None,
|
|
247
207
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitRouterRouteTablesResult]:
|
|
248
208
|
"""
|
|
249
|
-
This data source provides CEN Transit Router Route Tables available to the user.[What is Cen Transit Router Route Tables](https://
|
|
250
|
-
|
|
251
|
-
> **NOTE:** Available since v1.126.0.
|
|
252
|
-
|
|
253
|
-
## Example Usage
|
|
254
|
-
|
|
255
|
-
```python
|
|
256
|
-
import pulumi
|
|
257
|
-
import pulumi_alicloud as alicloud
|
|
209
|
+
This data source provides CEN Transit Router Route Tables available to the user.[What is Cen Transit Router Route Tables](https://help.aliyun.com/document_detail/261237.html)
|
|
258
210
|
|
|
259
|
-
|
|
260
|
-
name = config.get("name")
|
|
261
|
-
if name is None:
|
|
262
|
-
name = "tf-example"
|
|
263
|
-
default_instance = alicloud.cen.Instance("default",
|
|
264
|
-
cen_instance_name=name,
|
|
265
|
-
protection_level="REDUCED")
|
|
266
|
-
default_transit_router = alicloud.cen.TransitRouter("default",
|
|
267
|
-
cen_id=default_instance.id,
|
|
268
|
-
transit_router_name=name)
|
|
269
|
-
default_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("default",
|
|
270
|
-
transit_router_id=default_transit_router.transit_router_id,
|
|
271
|
-
transit_router_route_table_description="desp",
|
|
272
|
-
transit_router_route_table_name=name)
|
|
273
|
-
default = alicloud.cen.get_transit_router_route_tables_output(transit_router_id=default_transit_router.transit_router_id)
|
|
274
|
-
pulumi.export("firstTransitRouterRouteTableType", default.tables[0].transit_router_route_table_type)
|
|
275
|
-
```
|
|
211
|
+
> **NOTE:** Available in 1.126.0+
|
|
276
212
|
|
|
277
213
|
|
|
278
214
|
:param Sequence[str] ids: A list of CEN Transit Router Route Table IDs.
|
|
279
|
-
:param str name_regex: A regex string to filter CEN Transit Router Route Table by name.
|
|
280
215
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
281
|
-
:param str status: The status of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..
|
|
282
216
|
:param str transit_router_id: ID of the CEN Transit Router Route Table.
|
|
283
217
|
:param Sequence[str] transit_router_route_table_ids: A list of ID of the CEN Transit Router Route Table.
|
|
284
218
|
:param Sequence[str] transit_router_route_table_names: A list of name of the CEN Transit Router Route Table.
|
|
285
|
-
:param str transit_router_route_table_status: The status of the transit router route table to query.
|
|
286
|
-
:param str transit_router_route_table_type: The type of the transit router route table to query. Valid values `System` and `Custom`.
|
|
219
|
+
:param str transit_router_route_table_status: The status of the transit router route table to query.
|
|
287
220
|
"""
|
|
288
221
|
...
|
pulumi_alicloud/cen/outputs.py
CHANGED
|
@@ -2969,11 +2969,10 @@ class GetTransitRouterRouteTablesTableResult(dict):
|
|
|
2969
2969
|
transit_router_route_table_type: str):
|
|
2970
2970
|
"""
|
|
2971
2971
|
:param str id: ID of resource.
|
|
2972
|
-
:param str status: The status of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..
|
|
2973
2972
|
:param str transit_router_route_table_description: The description of the transit router route table.
|
|
2974
2973
|
:param str transit_router_route_table_id: ID of the trabsit router route table.
|
|
2975
2974
|
:param str transit_router_route_table_name: Name of the transit router route table.
|
|
2976
|
-
:param str transit_router_route_table_type: The type of the transit router route table to query. Valid values `
|
|
2975
|
+
:param str transit_router_route_table_type: The type of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..
|
|
2977
2976
|
"""
|
|
2978
2977
|
pulumi.set(__self__, "id", id)
|
|
2979
2978
|
pulumi.set(__self__, "status", status)
|
|
@@ -2993,9 +2992,6 @@ class GetTransitRouterRouteTablesTableResult(dict):
|
|
|
2993
2992
|
@property
|
|
2994
2993
|
@pulumi.getter
|
|
2995
2994
|
def status(self) -> str:
|
|
2996
|
-
"""
|
|
2997
|
-
The status of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..
|
|
2998
|
-
"""
|
|
2999
2995
|
return pulumi.get(self, "status")
|
|
3000
2996
|
|
|
3001
2997
|
@property
|
|
@@ -3026,7 +3022,7 @@ class GetTransitRouterRouteTablesTableResult(dict):
|
|
|
3026
3022
|
@pulumi.getter(name="transitRouterRouteTableType")
|
|
3027
3023
|
def transit_router_route_table_type(self) -> str:
|
|
3028
3024
|
"""
|
|
3029
|
-
The type of the transit router route table to query. Valid values `
|
|
3025
|
+
The type of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..
|
|
3030
3026
|
"""
|
|
3031
3027
|
return pulumi.get(self, "transit_router_route_table_type")
|
|
3032
3028
|
|
|
@@ -276,12 +276,10 @@ class Remediation(pulumi.CustomResource):
|
|
|
276
276
|
max=99999)
|
|
277
277
|
default_bucket = alicloud.oss.Bucket("default",
|
|
278
278
|
bucket=f"{name}-{default_integer['result']}",
|
|
279
|
+
acl="public-read",
|
|
279
280
|
tags={
|
|
280
281
|
"For": "example",
|
|
281
282
|
})
|
|
282
|
-
name_bucket_acl = alicloud.oss.BucketAcl("name",
|
|
283
|
-
bucket=default_bucket.bucket,
|
|
284
|
-
acl="public-read")
|
|
285
283
|
default_rule = alicloud.cfg.Rule("default",
|
|
286
284
|
description="If the ACL policy of the OSS bucket denies read access from the Internet, the configuration is considered compliant.",
|
|
287
285
|
source_owner="ALIYUN",
|
|
@@ -353,12 +351,10 @@ class Remediation(pulumi.CustomResource):
|
|
|
353
351
|
max=99999)
|
|
354
352
|
default_bucket = alicloud.oss.Bucket("default",
|
|
355
353
|
bucket=f"{name}-{default_integer['result']}",
|
|
354
|
+
acl="public-read",
|
|
356
355
|
tags={
|
|
357
356
|
"For": "example",
|
|
358
357
|
})
|
|
359
|
-
name_bucket_acl = alicloud.oss.BucketAcl("name",
|
|
360
|
-
bucket=default_bucket.bucket,
|
|
361
|
-
acl="public-read")
|
|
362
358
|
default_rule = alicloud.cfg.Rule("default",
|
|
363
359
|
description="If the ACL policy of the OSS bucket denies read access from the Internet, the configuration is considered compliant.",
|
|
364
360
|
source_owner="ALIYUN",
|
|
@@ -455,7 +455,7 @@ class Account(pulumi.CustomResource):
|
|
|
455
455
|
vswitch_name=name,
|
|
456
456
|
cidr_block="10.4.0.0/24",
|
|
457
457
|
vpc_id=default_network.id,
|
|
458
|
-
zone_id=default.regions[0].zone_ids[
|
|
458
|
+
zone_id=default.regions[0].zone_ids[0].zone_id)
|
|
459
459
|
default_db_cluster = alicloud.clickhouse.DbCluster("default",
|
|
460
460
|
db_cluster_version="22.8.5.29",
|
|
461
461
|
category="Basic",
|
|
@@ -533,7 +533,7 @@ class Account(pulumi.CustomResource):
|
|
|
533
533
|
vswitch_name=name,
|
|
534
534
|
cidr_block="10.4.0.0/24",
|
|
535
535
|
vpc_id=default_network.id,
|
|
536
|
-
zone_id=default.regions[0].zone_ids[
|
|
536
|
+
zone_id=default.regions[0].zone_ids[0].zone_id)
|
|
537
537
|
default_db_cluster = alicloud.clickhouse.DbCluster("default",
|
|
538
538
|
db_cluster_version="22.8.5.29",
|
|
539
539
|
category="Basic",
|
|
@@ -207,7 +207,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
207
207
|
vswitch_name=name,
|
|
208
208
|
cidr_block="10.4.0.0/24",
|
|
209
209
|
vpc_id=default_network.id,
|
|
210
|
-
zone_id=default.regions[0].zone_ids[
|
|
210
|
+
zone_id=default.regions[0].zone_ids[0].zone_id)
|
|
211
211
|
default_db_cluster = alicloud.clickhouse.DbCluster("default",
|
|
212
212
|
db_cluster_version="22.8.5.29",
|
|
213
213
|
status="Running",
|
|
@@ -280,7 +280,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
280
280
|
vswitch_name=name,
|
|
281
281
|
cidr_block="10.4.0.0/24",
|
|
282
282
|
vpc_id=default_network.id,
|
|
283
|
-
zone_id=default.regions[0].zone_ids[
|
|
283
|
+
zone_id=default.regions[0].zone_ids[0].zone_id)
|
|
284
284
|
default_db_cluster = alicloud.clickhouse.DbCluster("default",
|
|
285
285
|
db_cluster_version="22.8.5.29",
|
|
286
286
|
status="Running",
|
|
@@ -706,7 +706,6 @@ class Instance(pulumi.CustomResource):
|
|
|
706
706
|
```
|
|
707
707
|
|
|
708
708
|
create a subscription instance
|
|
709
|
-
|
|
710
709
|
```python
|
|
711
710
|
import pulumi
|
|
712
711
|
import pulumi_alicloud as alicloud
|
|
@@ -780,7 +779,6 @@ class Instance(pulumi.CustomResource):
|
|
|
780
779
|
```
|
|
781
780
|
|
|
782
781
|
create a subscription instance
|
|
783
|
-
|
|
784
782
|
```python
|
|
785
783
|
import pulumi
|
|
786
784
|
import pulumi_alicloud as alicloud
|
pulumi_alicloud/cs/_inputs.py
CHANGED
|
@@ -47,7 +47,6 @@ __all__ = [
|
|
|
47
47
|
'NodePoolTaintArgs',
|
|
48
48
|
'NodePoolTeeConfigArgs',
|
|
49
49
|
'ServerlessKubernetesAddonArgs',
|
|
50
|
-
'ServerlessKubernetesDeleteOptionArgs',
|
|
51
50
|
'ServerlessKubernetesRrsaMetadataArgs',
|
|
52
51
|
'SwarmNodeArgs',
|
|
53
52
|
]
|
|
@@ -980,7 +979,7 @@ class KubernetesDeleteOptionArgs:
|
|
|
980
979
|
"""
|
|
981
980
|
:param pulumi.Input[str] delete_mode: The deletion mode of the cluster. Different resources may have different default behavior, see `resource_type` for details. Valid values:
|
|
982
981
|
:param pulumi.Input[str] resource_type: The type of resources that are created by cluster. Valid values:
|
|
983
|
-
- `SLB`: SLB resources created
|
|
982
|
+
- `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available.
|
|
984
983
|
- `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
|
|
985
984
|
- `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
|
|
986
985
|
- `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
|
|
@@ -988,7 +987,7 @@ class KubernetesDeleteOptionArgs:
|
|
|
988
987
|
```
|
|
989
988
|
...
|
|
990
989
|
// Specify delete_options as below when deleting cluster
|
|
991
|
-
// delete SLB resources created by the
|
|
990
|
+
// delete SLB resources created by the cluster
|
|
992
991
|
delete_options {
|
|
993
992
|
delete_mode = "delete"
|
|
994
993
|
resource_type = "SLB"
|
|
@@ -1032,7 +1031,7 @@ class KubernetesDeleteOptionArgs:
|
|
|
1032
1031
|
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
|
1033
1032
|
"""
|
|
1034
1033
|
The type of resources that are created by cluster. Valid values:
|
|
1035
|
-
- `SLB`: SLB resources created
|
|
1034
|
+
- `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available.
|
|
1036
1035
|
- `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
|
|
1037
1036
|
- `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
|
|
1038
1037
|
- `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
|
|
@@ -1040,7 +1039,7 @@ class KubernetesDeleteOptionArgs:
|
|
|
1040
1039
|
```
|
|
1041
1040
|
...
|
|
1042
1041
|
// Specify delete_options as below when deleting cluster
|
|
1043
|
-
// delete SLB resources created by the
|
|
1042
|
+
// delete SLB resources created by the cluster
|
|
1044
1043
|
delete_options {
|
|
1045
1044
|
delete_mode = "delete"
|
|
1046
1045
|
resource_type = "SLB"
|
|
@@ -1379,8 +1378,8 @@ class ManagedKubernetesCertificateAuthorityArgs:
|
|
|
1379
1378
|
client_key: Optional[pulumi.Input[str]] = None,
|
|
1380
1379
|
cluster_cert: Optional[pulumi.Input[str]] = None):
|
|
1381
1380
|
"""
|
|
1382
|
-
:param pulumi.Input[str] client_cert: The
|
|
1383
|
-
:param pulumi.Input[str] client_key: The
|
|
1381
|
+
:param pulumi.Input[str] client_cert: The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
|
|
1382
|
+
:param pulumi.Input[str] client_key: The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
|
|
1384
1383
|
:param pulumi.Input[str] cluster_cert: The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
|
|
1385
1384
|
"""
|
|
1386
1385
|
if client_cert is not None:
|
|
@@ -1394,7 +1393,7 @@ class ManagedKubernetesCertificateAuthorityArgs:
|
|
|
1394
1393
|
@pulumi.getter(name="clientCert")
|
|
1395
1394
|
def client_cert(self) -> Optional[pulumi.Input[str]]:
|
|
1396
1395
|
"""
|
|
1397
|
-
The
|
|
1396
|
+
The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
|
|
1398
1397
|
"""
|
|
1399
1398
|
return pulumi.get(self, "client_cert")
|
|
1400
1399
|
|
|
@@ -1406,7 +1405,7 @@ class ManagedKubernetesCertificateAuthorityArgs:
|
|
|
1406
1405
|
@pulumi.getter(name="clientKey")
|
|
1407
1406
|
def client_key(self) -> Optional[pulumi.Input[str]]:
|
|
1408
1407
|
"""
|
|
1409
|
-
The
|
|
1408
|
+
The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
|
|
1410
1409
|
"""
|
|
1411
1410
|
return pulumi.get(self, "client_key")
|
|
1412
1411
|
|
|
@@ -1506,7 +1505,7 @@ class ManagedKubernetesDeleteOptionArgs:
|
|
|
1506
1505
|
"""
|
|
1507
1506
|
:param pulumi.Input[str] delete_mode: The deletion mode of the cluster. Different resources may have different default behavior, see `resource_type` for details. Valid values:
|
|
1508
1507
|
:param pulumi.Input[str] resource_type: The type of resources that are created by cluster. Valid values:
|
|
1509
|
-
- `SLB`: SLB resources created
|
|
1508
|
+
- `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available.
|
|
1510
1509
|
- `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
|
|
1511
1510
|
- `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
|
|
1512
1511
|
- `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
|
|
@@ -1514,7 +1513,7 @@ class ManagedKubernetesDeleteOptionArgs:
|
|
|
1514
1513
|
```
|
|
1515
1514
|
...
|
|
1516
1515
|
// Specify delete_options as below when deleting cluster
|
|
1517
|
-
// delete SLB resources created by the
|
|
1516
|
+
// delete SLB resources created by the cluster
|
|
1518
1517
|
delete_options {
|
|
1519
1518
|
delete_mode = "delete"
|
|
1520
1519
|
resource_type = "SLB"
|
|
@@ -1558,7 +1557,7 @@ class ManagedKubernetesDeleteOptionArgs:
|
|
|
1558
1557
|
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
|
1559
1558
|
"""
|
|
1560
1559
|
The type of resources that are created by cluster. Valid values:
|
|
1561
|
-
- `SLB`: SLB resources created
|
|
1560
|
+
- `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available.
|
|
1562
1561
|
- `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
|
|
1563
1562
|
- `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
|
|
1564
1563
|
- `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
|
|
@@ -1566,7 +1565,7 @@ class ManagedKubernetesDeleteOptionArgs:
|
|
|
1566
1565
|
```
|
|
1567
1566
|
...
|
|
1568
1567
|
// Specify delete_options as below when deleting cluster
|
|
1569
|
-
// delete SLB resources created by the
|
|
1568
|
+
// delete SLB resources created by the cluster
|
|
1570
1569
|
delete_options {
|
|
1571
1570
|
delete_mode = "delete"
|
|
1572
1571
|
resource_type = "SLB"
|
|
@@ -2895,8 +2894,7 @@ class ServerlessKubernetesAddonArgs:
|
|
|
2895
2894
|
def __init__(__self__, *,
|
|
2896
2895
|
config: Optional[pulumi.Input[str]] = None,
|
|
2897
2896
|
disabled: Optional[pulumi.Input[bool]] = None,
|
|
2898
|
-
name: Optional[pulumi.Input[str]] = None
|
|
2899
|
-
version: Optional[pulumi.Input[str]] = None):
|
|
2897
|
+
name: Optional[pulumi.Input[str]] = None):
|
|
2900
2898
|
"""
|
|
2901
2899
|
:param pulumi.Input[str] config: The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.
|
|
2902
2900
|
:param pulumi.Input[bool] disabled: Disables the automatic installation of a component. Default is `false`.
|
|
@@ -2904,7 +2902,7 @@ class ServerlessKubernetesAddonArgs:
|
|
|
2904
2902
|
The following example is the definition of addons block, The type of this field is list:
|
|
2905
2903
|
|
|
2906
2904
|
```
|
|
2907
|
-
# install nginx ingress, conflict with
|
|
2905
|
+
# install nginx ingress, conflict with SLB ingress
|
|
2908
2906
|
addons {
|
|
2909
2907
|
name = "nginx-ingress-controller"
|
|
2910
2908
|
# use internet
|
|
@@ -2912,7 +2910,7 @@ class ServerlessKubernetesAddonArgs:
|
|
|
2912
2910
|
# if use intranet, detail below.
|
|
2913
2911
|
# config = "{\\"IngressSlbNetworkType\\":\\"intranet",\\"IngressSlbSpec\\":\\"slb.s2.small\\"}"
|
|
2914
2912
|
}
|
|
2915
|
-
# install
|
|
2913
|
+
# install SLB ingress, conflict with nginx ingress
|
|
2916
2914
|
addons {
|
|
2917
2915
|
name = "alb-ingress-controller"
|
|
2918
2916
|
}
|
|
@@ -2927,10 +2925,11 @@ class ServerlessKubernetesAddonArgs:
|
|
|
2927
2925
|
# install prometheus
|
|
2928
2926
|
addons {
|
|
2929
2927
|
name = "arms-prometheus"
|
|
2928
|
+
# prometheus also provides managed version, specify with name `managed-arms-prometheus` for professional serverless clusters
|
|
2929
|
+
# name = "managed-arms-prometheus"
|
|
2930
2930
|
}
|
|
2931
2931
|
```
|
|
2932
2932
|
:param pulumi.Input[str] name: Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).
|
|
2933
|
-
:param pulumi.Input[str] version: It specifies the version of the component.
|
|
2934
2933
|
"""
|
|
2935
2934
|
if config is not None:
|
|
2936
2935
|
pulumi.set(__self__, "config", config)
|
|
@@ -2938,8 +2937,6 @@ class ServerlessKubernetesAddonArgs:
|
|
|
2938
2937
|
pulumi.set(__self__, "disabled", disabled)
|
|
2939
2938
|
if name is not None:
|
|
2940
2939
|
pulumi.set(__self__, "name", name)
|
|
2941
|
-
if version is not None:
|
|
2942
|
-
pulumi.set(__self__, "version", version)
|
|
2943
2940
|
|
|
2944
2941
|
@property
|
|
2945
2942
|
@pulumi.getter
|
|
@@ -2962,7 +2959,7 @@ class ServerlessKubernetesAddonArgs:
|
|
|
2962
2959
|
The following example is the definition of addons block, The type of this field is list:
|
|
2963
2960
|
|
|
2964
2961
|
```
|
|
2965
|
-
# install nginx ingress, conflict with
|
|
2962
|
+
# install nginx ingress, conflict with SLB ingress
|
|
2966
2963
|
addons {
|
|
2967
2964
|
name = "nginx-ingress-controller"
|
|
2968
2965
|
# use internet
|
|
@@ -2970,7 +2967,7 @@ class ServerlessKubernetesAddonArgs:
|
|
|
2970
2967
|
# if use intranet, detail below.
|
|
2971
2968
|
# config = "{\\"IngressSlbNetworkType\\":\\"intranet",\\"IngressSlbSpec\\":\\"slb.s2.small\\"}"
|
|
2972
2969
|
}
|
|
2973
|
-
# install
|
|
2970
|
+
# install SLB ingress, conflict with nginx ingress
|
|
2974
2971
|
addons {
|
|
2975
2972
|
name = "alb-ingress-controller"
|
|
2976
2973
|
}
|
|
@@ -2985,6 +2982,8 @@ class ServerlessKubernetesAddonArgs:
|
|
|
2985
2982
|
# install prometheus
|
|
2986
2983
|
addons {
|
|
2987
2984
|
name = "arms-prometheus"
|
|
2985
|
+
# prometheus also provides managed version, specify with name `managed-arms-prometheus` for professional serverless clusters
|
|
2986
|
+
# name = "managed-arms-prometheus"
|
|
2988
2987
|
}
|
|
2989
2988
|
```
|
|
2990
2989
|
"""
|
|
@@ -3006,125 +3005,6 @@ class ServerlessKubernetesAddonArgs:
|
|
|
3006
3005
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
3007
3006
|
pulumi.set(self, "name", value)
|
|
3008
3007
|
|
|
3009
|
-
@property
|
|
3010
|
-
@pulumi.getter
|
|
3011
|
-
def version(self) -> Optional[pulumi.Input[str]]:
|
|
3012
|
-
"""
|
|
3013
|
-
It specifies the version of the component.
|
|
3014
|
-
"""
|
|
3015
|
-
return pulumi.get(self, "version")
|
|
3016
|
-
|
|
3017
|
-
@version.setter
|
|
3018
|
-
def version(self, value: Optional[pulumi.Input[str]]):
|
|
3019
|
-
pulumi.set(self, "version", value)
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
@pulumi.input_type
|
|
3023
|
-
class ServerlessKubernetesDeleteOptionArgs:
|
|
3024
|
-
def __init__(__self__, *,
|
|
3025
|
-
delete_mode: Optional[pulumi.Input[str]] = None,
|
|
3026
|
-
resource_type: Optional[pulumi.Input[str]] = None):
|
|
3027
|
-
"""
|
|
3028
|
-
:param pulumi.Input[str] delete_mode: The deletion mode of the cluster. Different resources may have different default behavior, see `resource_type` for details. Valid values:
|
|
3029
|
-
:param pulumi.Input[str] resource_type: The type of resources that are created by cluster. Valid values:
|
|
3030
|
-
- `SLB`: SLB resources created by the Nginx Ingress Service, default behavior is to delete, option to retain is available.
|
|
3031
|
-
- `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
|
|
3032
|
-
- `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
|
|
3033
|
-
- `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
|
|
3034
|
-
- `PrivateZone`: PrivateZone resources created by the cluster, default behavior is to retain, option to delete is available.
|
|
3035
|
-
```
|
|
3036
|
-
...
|
|
3037
|
-
// Specify delete_options as below when deleting cluster
|
|
3038
|
-
// delete SLB resources created by the Nginx Ingress Service
|
|
3039
|
-
delete_options {
|
|
3040
|
-
delete_mode = "delete"
|
|
3041
|
-
resource_type = "SLB"
|
|
3042
|
-
}
|
|
3043
|
-
// delete ALB resources created by the ALB Ingress Controller
|
|
3044
|
-
delete_options {
|
|
3045
|
-
delete_mode = "delete"
|
|
3046
|
-
resource_type = "ALB"
|
|
3047
|
-
}
|
|
3048
|
-
// delete SLS Project used by the cluster logging feature
|
|
3049
|
-
delete_options {
|
|
3050
|
-
delete_mode = "delete"
|
|
3051
|
-
resource_type = "SLS_Data"
|
|
3052
|
-
}
|
|
3053
|
-
// delete SLS Project used for the managed cluster control plane logs
|
|
3054
|
-
delete_options {
|
|
3055
|
-
delete_mode = "delete"
|
|
3056
|
-
resource_type = "SLS_ControlPlane"
|
|
3057
|
-
}
|
|
3058
|
-
// delete PrivateZone resources created by the cluster
|
|
3059
|
-
delete_options {
|
|
3060
|
-
delete_mode = "delete"
|
|
3061
|
-
resource_type = "PrivateZone"
|
|
3062
|
-
}
|
|
3063
|
-
```
|
|
3064
|
-
"""
|
|
3065
|
-
if delete_mode is not None:
|
|
3066
|
-
pulumi.set(__self__, "delete_mode", delete_mode)
|
|
3067
|
-
if resource_type is not None:
|
|
3068
|
-
pulumi.set(__self__, "resource_type", resource_type)
|
|
3069
|
-
|
|
3070
|
-
@property
|
|
3071
|
-
@pulumi.getter(name="deleteMode")
|
|
3072
|
-
def delete_mode(self) -> Optional[pulumi.Input[str]]:
|
|
3073
|
-
"""
|
|
3074
|
-
The deletion mode of the cluster. Different resources may have different default behavior, see `resource_type` for details. Valid values:
|
|
3075
|
-
"""
|
|
3076
|
-
return pulumi.get(self, "delete_mode")
|
|
3077
|
-
|
|
3078
|
-
@delete_mode.setter
|
|
3079
|
-
def delete_mode(self, value: Optional[pulumi.Input[str]]):
|
|
3080
|
-
pulumi.set(self, "delete_mode", value)
|
|
3081
|
-
|
|
3082
|
-
@property
|
|
3083
|
-
@pulumi.getter(name="resourceType")
|
|
3084
|
-
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
|
3085
|
-
"""
|
|
3086
|
-
The type of resources that are created by cluster. Valid values:
|
|
3087
|
-
- `SLB`: SLB resources created by the Nginx Ingress Service, default behavior is to delete, option to retain is available.
|
|
3088
|
-
- `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
|
|
3089
|
-
- `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
|
|
3090
|
-
- `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
|
|
3091
|
-
- `PrivateZone`: PrivateZone resources created by the cluster, default behavior is to retain, option to delete is available.
|
|
3092
|
-
```
|
|
3093
|
-
...
|
|
3094
|
-
// Specify delete_options as below when deleting cluster
|
|
3095
|
-
// delete SLB resources created by the Nginx Ingress Service
|
|
3096
|
-
delete_options {
|
|
3097
|
-
delete_mode = "delete"
|
|
3098
|
-
resource_type = "SLB"
|
|
3099
|
-
}
|
|
3100
|
-
// delete ALB resources created by the ALB Ingress Controller
|
|
3101
|
-
delete_options {
|
|
3102
|
-
delete_mode = "delete"
|
|
3103
|
-
resource_type = "ALB"
|
|
3104
|
-
}
|
|
3105
|
-
// delete SLS Project used by the cluster logging feature
|
|
3106
|
-
delete_options {
|
|
3107
|
-
delete_mode = "delete"
|
|
3108
|
-
resource_type = "SLS_Data"
|
|
3109
|
-
}
|
|
3110
|
-
// delete SLS Project used for the managed cluster control plane logs
|
|
3111
|
-
delete_options {
|
|
3112
|
-
delete_mode = "delete"
|
|
3113
|
-
resource_type = "SLS_ControlPlane"
|
|
3114
|
-
}
|
|
3115
|
-
// delete PrivateZone resources created by the cluster
|
|
3116
|
-
delete_options {
|
|
3117
|
-
delete_mode = "delete"
|
|
3118
|
-
resource_type = "PrivateZone"
|
|
3119
|
-
}
|
|
3120
|
-
```
|
|
3121
|
-
"""
|
|
3122
|
-
return pulumi.get(self, "resource_type")
|
|
3123
|
-
|
|
3124
|
-
@resource_type.setter
|
|
3125
|
-
def resource_type(self, value: Optional[pulumi.Input[str]]):
|
|
3126
|
-
pulumi.set(self, "resource_type", value)
|
|
3127
|
-
|
|
3128
3008
|
|
|
3129
3009
|
@pulumi.input_type
|
|
3130
3010
|
class ServerlessKubernetesRrsaMetadataArgs:
|