pulumi-alicloud 3.63.0a1727371922__py3-none-any.whl → 3.63.0a1727705137__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 +24 -0
- pulumi_alicloud/alb/acl.py +18 -19
- pulumi_alicloud/alb/health_check_template.py +96 -88
- pulumi_alicloud/cms/_inputs.py +6 -6
- pulumi_alicloud/cms/outputs.py +6 -6
- pulumi_alicloud/ddos/_inputs.py +8 -9
- pulumi_alicloud/ddos/domain_resource.py +446 -90
- pulumi_alicloud/ddos/outputs.py +7 -8
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/ecs_snapshot.py +199 -77
- pulumi_alicloud/ecs/snapshot.py +26 -8
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/alarm.py +47 -0
- pulumi_alicloud/ess/server_group_attachment.py +552 -0
- pulumi_alicloud/ga/_inputs.py +23 -5
- pulumi_alicloud/ga/outputs.py +21 -5
- pulumi_alicloud/governance/account.py +61 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/_inputs.py +361 -3
- pulumi_alicloud/gpdb/db_instance_ip_array.py +533 -0
- pulumi_alicloud/gpdb/get_data_backups.py +288 -0
- pulumi_alicloud/gpdb/get_log_backups.py +225 -0
- pulumi_alicloud/gpdb/instance.py +47 -0
- pulumi_alicloud/gpdb/outputs.py +597 -4
- pulumi_alicloud/gpdb/streaming_job.py +1568 -0
- pulumi_alicloud/nlb/load_balancer.py +116 -0
- pulumi_alicloud/oos/get_secret_parameters.py +111 -9
- pulumi_alicloud/oos/outputs.py +22 -11
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_account_alias.py +35 -2
- pulumi_alicloud/rds/instance.py +21 -21
- pulumi_alicloud/rocketmq/_inputs.py +79 -22
- pulumi_alicloud/rocketmq/outputs.py +85 -21
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +307 -113
- pulumi_alicloud/vpc/peer_connection.py +127 -59
- pulumi_alicloud/vpc/peer_connection_accepter.py +263 -42
- pulumi_alicloud/vpc/route_entry.py +232 -210
- {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/RECORD +41 -36
- {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/top_level.txt +0 -0
|
@@ -24,6 +24,7 @@ class RocketMQInstanceArgs:
|
|
|
24
24
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
25
25
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
26
26
|
auto_renew_period_unit: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
27
28
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
28
29
|
period: Optional[pulumi.Input[int]] = None,
|
|
29
30
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
@@ -34,35 +35,57 @@ class RocketMQInstanceArgs:
|
|
|
34
35
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
35
36
|
"""
|
|
36
37
|
The set of arguments for constructing a RocketMQInstance resource.
|
|
37
|
-
:param pulumi.Input['RocketMQInstanceNetworkInfoArgs'] network_info: Instance network configuration information
|
|
38
|
-
:param pulumi.Input[str] payment_type: The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment
|
|
38
|
+
:param pulumi.Input['RocketMQInstanceNetworkInfoArgs'] network_info: Instance network configuration information See `network_info` below.
|
|
39
|
+
:param pulumi.Input[str] payment_type: The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment:
|
|
40
|
+
|
|
41
|
+
The parameter values are as follows:
|
|
39
42
|
- PayAsYouGo: Pay-as-you-go, a post-payment model where you pay after usage.
|
|
40
43
|
- Subscription: Subscription-based, a pre-payment model where you pay before usage.
|
|
44
|
+
|
|
41
45
|
For more information, please refer to [Billing Methods](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/overview-2).
|
|
42
|
-
:param pulumi.Input[str] series_code: The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
46
|
+
:param pulumi.Input[str] series_code: The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
47
|
+
|
|
48
|
+
The parameter values are as follows:
|
|
43
49
|
- standard: Standard Edition
|
|
44
50
|
- ultimate: Platinum Edition
|
|
45
|
-
- professional: Professional Edition
|
|
51
|
+
- professional: Professional Edition
|
|
46
52
|
:param pulumi.Input[str] service_code: The code of the service code instance. The code of the RocketMQ is rmq.
|
|
47
|
-
:param pulumi.Input[str] sub_series_code: The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
53
|
+
:param pulumi.Input[str] sub_series_code: The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
54
|
+
|
|
55
|
+
The parameter values are as follows:
|
|
48
56
|
- cluster_ha: Cluster High Availability Edition
|
|
49
57
|
- single_node: Single Node Testing Edition
|
|
58
|
+
|
|
50
59
|
When selecting the primary series as ultimate (Platinum Edition), the sub-series can only be chosen as cluster_ha (Cluster High Availability Edition).
|
|
51
60
|
:param pulumi.Input[bool] auto_renew: Whether to enable auto-renewal. This parameter is only applicable when the payment type for the instance is Subscription (prepaid).
|
|
52
61
|
- true: Enable auto-renewal
|
|
53
|
-
- false: Disable auto-renewal
|
|
54
|
-
:param pulumi.Input[int] auto_renew_period: Auto-renewal period. This parameter is only valid when auto-renewal is enabled.
|
|
62
|
+
- false: Disable auto-renewal
|
|
63
|
+
:param pulumi.Input[int] auto_renew_period: Auto-renewal period. This parameter is only valid when auto-renewal is enabled. Unit: months.
|
|
64
|
+
|
|
65
|
+
The values can be as follows:
|
|
66
|
+
- Monthly renewal: 1, 2, 3, 6, 12
|
|
55
67
|
:param pulumi.Input[str] auto_renew_period_unit: The minimum periodic unit for the duration of auto-renewal. This parameter is only valid when auto-renewal is enabled. Valid values: `Month`, `Year`.
|
|
56
|
-
:param pulumi.Input[str]
|
|
57
|
-
|
|
68
|
+
:param pulumi.Input[str] commodity_code: Commodity code
|
|
69
|
+
|
|
70
|
+
ons_rmqsub_public_cn: Package year and month instance
|
|
71
|
+
|
|
72
|
+
ons_rmqpost_public_cn: Pay-As-You-Go instance
|
|
73
|
+
|
|
74
|
+
Next: Serverless instances
|
|
75
|
+
:param pulumi.Input[str] instance_name: The name of instance
|
|
76
|
+
:param pulumi.Input[int] period: Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
77
|
+
|
|
78
|
+
The values can be as follows:
|
|
58
79
|
- Monthly purchase: 1, 2, 3, 4, 5, 6
|
|
59
|
-
- Annual purchase: 1, 2, 3
|
|
60
|
-
:param pulumi.Input[str] period_unit: The minimum periodic unit for the duration of purchase.
|
|
80
|
+
- Annual purchase: 1, 2, 3
|
|
81
|
+
:param pulumi.Input[str] period_unit: The minimum periodic unit for the duration of purchase.
|
|
82
|
+
|
|
83
|
+
The parameter values are as follows:
|
|
61
84
|
- Month: Purchase on a monthly basis
|
|
62
|
-
- Year: Purchase on an annual basis
|
|
63
|
-
:param pulumi.Input['RocketMQInstanceProductInfoArgs'] product_info: product info
|
|
64
|
-
:param pulumi.Input[str] remark: Custom description
|
|
65
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
85
|
+
- Year: Purchase on an annual basis
|
|
86
|
+
:param pulumi.Input['RocketMQInstanceProductInfoArgs'] product_info: product info See `product_info` below.
|
|
87
|
+
:param pulumi.Input[str] remark: Custom description
|
|
88
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
66
89
|
:param pulumi.Input['RocketMQInstanceSoftwareArgs'] software: Instance software information. See `software` below.
|
|
67
90
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The resource label.
|
|
68
91
|
"""
|
|
@@ -77,6 +100,8 @@ class RocketMQInstanceArgs:
|
|
|
77
100
|
pulumi.set(__self__, "auto_renew_period", auto_renew_period)
|
|
78
101
|
if auto_renew_period_unit is not None:
|
|
79
102
|
pulumi.set(__self__, "auto_renew_period_unit", auto_renew_period_unit)
|
|
103
|
+
if commodity_code is not None:
|
|
104
|
+
pulumi.set(__self__, "commodity_code", commodity_code)
|
|
80
105
|
if instance_name is not None:
|
|
81
106
|
pulumi.set(__self__, "instance_name", instance_name)
|
|
82
107
|
if period is not None:
|
|
@@ -98,7 +123,7 @@ class RocketMQInstanceArgs:
|
|
|
98
123
|
@pulumi.getter(name="networkInfo")
|
|
99
124
|
def network_info(self) -> pulumi.Input['RocketMQInstanceNetworkInfoArgs']:
|
|
100
125
|
"""
|
|
101
|
-
Instance network configuration information
|
|
126
|
+
Instance network configuration information See `network_info` below.
|
|
102
127
|
"""
|
|
103
128
|
return pulumi.get(self, "network_info")
|
|
104
129
|
|
|
@@ -110,9 +135,12 @@ class RocketMQInstanceArgs:
|
|
|
110
135
|
@pulumi.getter(name="paymentType")
|
|
111
136
|
def payment_type(self) -> pulumi.Input[str]:
|
|
112
137
|
"""
|
|
113
|
-
The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment
|
|
138
|
+
The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment:
|
|
139
|
+
|
|
140
|
+
The parameter values are as follows:
|
|
114
141
|
- PayAsYouGo: Pay-as-you-go, a post-payment model where you pay after usage.
|
|
115
142
|
- Subscription: Subscription-based, a pre-payment model where you pay before usage.
|
|
143
|
+
|
|
116
144
|
For more information, please refer to [Billing Methods](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/overview-2).
|
|
117
145
|
"""
|
|
118
146
|
return pulumi.get(self, "payment_type")
|
|
@@ -125,10 +153,12 @@ class RocketMQInstanceArgs:
|
|
|
125
153
|
@pulumi.getter(name="seriesCode")
|
|
126
154
|
def series_code(self) -> pulumi.Input[str]:
|
|
127
155
|
"""
|
|
128
|
-
The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
156
|
+
The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
157
|
+
|
|
158
|
+
The parameter values are as follows:
|
|
129
159
|
- standard: Standard Edition
|
|
130
160
|
- ultimate: Platinum Edition
|
|
131
|
-
- professional: Professional Edition
|
|
161
|
+
- professional: Professional Edition
|
|
132
162
|
"""
|
|
133
163
|
return pulumi.get(self, "series_code")
|
|
134
164
|
|
|
@@ -152,9 +182,12 @@ class RocketMQInstanceArgs:
|
|
|
152
182
|
@pulumi.getter(name="subSeriesCode")
|
|
153
183
|
def sub_series_code(self) -> pulumi.Input[str]:
|
|
154
184
|
"""
|
|
155
|
-
The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
185
|
+
The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
186
|
+
|
|
187
|
+
The parameter values are as follows:
|
|
156
188
|
- cluster_ha: Cluster High Availability Edition
|
|
157
189
|
- single_node: Single Node Testing Edition
|
|
190
|
+
|
|
158
191
|
When selecting the primary series as ultimate (Platinum Edition), the sub-series can only be chosen as cluster_ha (Cluster High Availability Edition).
|
|
159
192
|
"""
|
|
160
193
|
return pulumi.get(self, "sub_series_code")
|
|
@@ -169,7 +202,7 @@ class RocketMQInstanceArgs:
|
|
|
169
202
|
"""
|
|
170
203
|
Whether to enable auto-renewal. This parameter is only applicable when the payment type for the instance is Subscription (prepaid).
|
|
171
204
|
- true: Enable auto-renewal
|
|
172
|
-
- false: Disable auto-renewal
|
|
205
|
+
- false: Disable auto-renewal
|
|
173
206
|
"""
|
|
174
207
|
return pulumi.get(self, "auto_renew")
|
|
175
208
|
|
|
@@ -181,7 +214,10 @@ class RocketMQInstanceArgs:
|
|
|
181
214
|
@pulumi.getter(name="autoRenewPeriod")
|
|
182
215
|
def auto_renew_period(self) -> Optional[pulumi.Input[int]]:
|
|
183
216
|
"""
|
|
184
|
-
Auto-renewal period. This parameter is only valid when auto-renewal is enabled.
|
|
217
|
+
Auto-renewal period. This parameter is only valid when auto-renewal is enabled. Unit: months.
|
|
218
|
+
|
|
219
|
+
The values can be as follows:
|
|
220
|
+
- Monthly renewal: 1, 2, 3, 6, 12
|
|
185
221
|
"""
|
|
186
222
|
return pulumi.get(self, "auto_renew_period")
|
|
187
223
|
|
|
@@ -201,11 +237,29 @@ class RocketMQInstanceArgs:
|
|
|
201
237
|
def auto_renew_period_unit(self, value: Optional[pulumi.Input[str]]):
|
|
202
238
|
pulumi.set(self, "auto_renew_period_unit", value)
|
|
203
239
|
|
|
240
|
+
@property
|
|
241
|
+
@pulumi.getter(name="commodityCode")
|
|
242
|
+
def commodity_code(self) -> Optional[pulumi.Input[str]]:
|
|
243
|
+
"""
|
|
244
|
+
Commodity code
|
|
245
|
+
|
|
246
|
+
ons_rmqsub_public_cn: Package year and month instance
|
|
247
|
+
|
|
248
|
+
ons_rmqpost_public_cn: Pay-As-You-Go instance
|
|
249
|
+
|
|
250
|
+
Next: Serverless instances
|
|
251
|
+
"""
|
|
252
|
+
return pulumi.get(self, "commodity_code")
|
|
253
|
+
|
|
254
|
+
@commodity_code.setter
|
|
255
|
+
def commodity_code(self, value: Optional[pulumi.Input[str]]):
|
|
256
|
+
pulumi.set(self, "commodity_code", value)
|
|
257
|
+
|
|
204
258
|
@property
|
|
205
259
|
@pulumi.getter(name="instanceName")
|
|
206
260
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
207
261
|
"""
|
|
208
|
-
The name of instance
|
|
262
|
+
The name of instance
|
|
209
263
|
"""
|
|
210
264
|
return pulumi.get(self, "instance_name")
|
|
211
265
|
|
|
@@ -217,9 +271,11 @@ class RocketMQInstanceArgs:
|
|
|
217
271
|
@pulumi.getter
|
|
218
272
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
219
273
|
"""
|
|
220
|
-
Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
274
|
+
Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
275
|
+
|
|
276
|
+
The values can be as follows:
|
|
221
277
|
- Monthly purchase: 1, 2, 3, 4, 5, 6
|
|
222
|
-
- Annual purchase: 1, 2, 3
|
|
278
|
+
- Annual purchase: 1, 2, 3
|
|
223
279
|
"""
|
|
224
280
|
return pulumi.get(self, "period")
|
|
225
281
|
|
|
@@ -231,9 +287,11 @@ class RocketMQInstanceArgs:
|
|
|
231
287
|
@pulumi.getter(name="periodUnit")
|
|
232
288
|
def period_unit(self) -> Optional[pulumi.Input[str]]:
|
|
233
289
|
"""
|
|
234
|
-
The minimum periodic unit for the duration of purchase.
|
|
290
|
+
The minimum periodic unit for the duration of purchase.
|
|
291
|
+
|
|
292
|
+
The parameter values are as follows:
|
|
235
293
|
- Month: Purchase on a monthly basis
|
|
236
|
-
- Year: Purchase on an annual basis
|
|
294
|
+
- Year: Purchase on an annual basis
|
|
237
295
|
"""
|
|
238
296
|
return pulumi.get(self, "period_unit")
|
|
239
297
|
|
|
@@ -245,7 +303,7 @@ class RocketMQInstanceArgs:
|
|
|
245
303
|
@pulumi.getter(name="productInfo")
|
|
246
304
|
def product_info(self) -> Optional[pulumi.Input['RocketMQInstanceProductInfoArgs']]:
|
|
247
305
|
"""
|
|
248
|
-
product info
|
|
306
|
+
product info See `product_info` below.
|
|
249
307
|
"""
|
|
250
308
|
return pulumi.get(self, "product_info")
|
|
251
309
|
|
|
@@ -257,7 +315,7 @@ class RocketMQInstanceArgs:
|
|
|
257
315
|
@pulumi.getter
|
|
258
316
|
def remark(self) -> Optional[pulumi.Input[str]]:
|
|
259
317
|
"""
|
|
260
|
-
Custom description
|
|
318
|
+
Custom description
|
|
261
319
|
"""
|
|
262
320
|
return pulumi.get(self, "remark")
|
|
263
321
|
|
|
@@ -269,7 +327,7 @@ class RocketMQInstanceArgs:
|
|
|
269
327
|
@pulumi.getter(name="resourceGroupId")
|
|
270
328
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
271
329
|
"""
|
|
272
|
-
The ID of the resource group
|
|
330
|
+
The ID of the resource group
|
|
273
331
|
"""
|
|
274
332
|
return pulumi.get(self, "resource_group_id")
|
|
275
333
|
|
|
@@ -308,6 +366,7 @@ class _RocketMQInstanceState:
|
|
|
308
366
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
309
367
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
310
368
|
auto_renew_period_unit: Optional[pulumi.Input[str]] = None,
|
|
369
|
+
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
311
370
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
312
371
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
313
372
|
network_info: Optional[pulumi.Input['RocketMQInstanceNetworkInfoArgs']] = None,
|
|
@@ -327,35 +386,57 @@ class _RocketMQInstanceState:
|
|
|
327
386
|
Input properties used for looking up and filtering RocketMQInstance resources.
|
|
328
387
|
:param pulumi.Input[bool] auto_renew: Whether to enable auto-renewal. This parameter is only applicable when the payment type for the instance is Subscription (prepaid).
|
|
329
388
|
- true: Enable auto-renewal
|
|
330
|
-
- false: Disable auto-renewal
|
|
331
|
-
:param pulumi.Input[int] auto_renew_period: Auto-renewal period. This parameter is only valid when auto-renewal is enabled.
|
|
389
|
+
- false: Disable auto-renewal
|
|
390
|
+
:param pulumi.Input[int] auto_renew_period: Auto-renewal period. This parameter is only valid when auto-renewal is enabled. Unit: months.
|
|
391
|
+
|
|
392
|
+
The values can be as follows:
|
|
393
|
+
- Monthly renewal: 1, 2, 3, 6, 12
|
|
332
394
|
:param pulumi.Input[str] auto_renew_period_unit: The minimum periodic unit for the duration of auto-renewal. This parameter is only valid when auto-renewal is enabled. Valid values: `Month`, `Year`.
|
|
333
|
-
:param pulumi.Input[str]
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
395
|
+
:param pulumi.Input[str] commodity_code: Commodity code
|
|
396
|
+
|
|
397
|
+
ons_rmqsub_public_cn: Package year and month instance
|
|
398
|
+
|
|
399
|
+
ons_rmqpost_public_cn: Pay-As-You-Go instance
|
|
400
|
+
|
|
401
|
+
Next: Serverless instances
|
|
402
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
403
|
+
:param pulumi.Input[str] instance_name: The name of instance
|
|
404
|
+
:param pulumi.Input['RocketMQInstanceNetworkInfoArgs'] network_info: Instance network configuration information See `network_info` below.
|
|
405
|
+
:param pulumi.Input[str] payment_type: The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment:
|
|
406
|
+
|
|
407
|
+
The parameter values are as follows:
|
|
337
408
|
- PayAsYouGo: Pay-as-you-go, a post-payment model where you pay after usage.
|
|
338
409
|
- Subscription: Subscription-based, a pre-payment model where you pay before usage.
|
|
410
|
+
|
|
339
411
|
For more information, please refer to [Billing Methods](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/overview-2).
|
|
340
|
-
:param pulumi.Input[int] period: Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
412
|
+
:param pulumi.Input[int] period: Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
413
|
+
|
|
414
|
+
The values can be as follows:
|
|
341
415
|
- Monthly purchase: 1, 2, 3, 4, 5, 6
|
|
342
|
-
- Annual purchase: 1, 2, 3
|
|
343
|
-
:param pulumi.Input[str] period_unit: The minimum periodic unit for the duration of purchase.
|
|
416
|
+
- Annual purchase: 1, 2, 3
|
|
417
|
+
:param pulumi.Input[str] period_unit: The minimum periodic unit for the duration of purchase.
|
|
418
|
+
|
|
419
|
+
The parameter values are as follows:
|
|
344
420
|
- Month: Purchase on a monthly basis
|
|
345
|
-
- Year: Purchase on an annual basis
|
|
346
|
-
:param pulumi.Input['RocketMQInstanceProductInfoArgs'] product_info: product info
|
|
347
|
-
:param pulumi.Input[str] remark: Custom description
|
|
348
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
349
|
-
:param pulumi.Input[str] series_code: The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
421
|
+
- Year: Purchase on an annual basis
|
|
422
|
+
:param pulumi.Input['RocketMQInstanceProductInfoArgs'] product_info: product info See `product_info` below.
|
|
423
|
+
:param pulumi.Input[str] remark: Custom description
|
|
424
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
425
|
+
:param pulumi.Input[str] series_code: The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
426
|
+
|
|
427
|
+
The parameter values are as follows:
|
|
350
428
|
- standard: Standard Edition
|
|
351
429
|
- ultimate: Platinum Edition
|
|
352
|
-
- professional: Professional Edition
|
|
430
|
+
- professional: Professional Edition
|
|
353
431
|
:param pulumi.Input[str] service_code: The code of the service code instance. The code of the RocketMQ is rmq.
|
|
354
432
|
:param pulumi.Input['RocketMQInstanceSoftwareArgs'] software: Instance software information. See `software` below.
|
|
355
|
-
:param pulumi.Input[str] status: The status of the instance
|
|
356
|
-
:param pulumi.Input[str] sub_series_code: The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
433
|
+
:param pulumi.Input[str] status: The status of the instance
|
|
434
|
+
:param pulumi.Input[str] sub_series_code: The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
435
|
+
|
|
436
|
+
The parameter values are as follows:
|
|
357
437
|
- cluster_ha: Cluster High Availability Edition
|
|
358
438
|
- single_node: Single Node Testing Edition
|
|
439
|
+
|
|
359
440
|
When selecting the primary series as ultimate (Platinum Edition), the sub-series can only be chosen as cluster_ha (Cluster High Availability Edition).
|
|
360
441
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The resource label.
|
|
361
442
|
"""
|
|
@@ -365,6 +446,8 @@ class _RocketMQInstanceState:
|
|
|
365
446
|
pulumi.set(__self__, "auto_renew_period", auto_renew_period)
|
|
366
447
|
if auto_renew_period_unit is not None:
|
|
367
448
|
pulumi.set(__self__, "auto_renew_period_unit", auto_renew_period_unit)
|
|
449
|
+
if commodity_code is not None:
|
|
450
|
+
pulumi.set(__self__, "commodity_code", commodity_code)
|
|
368
451
|
if create_time is not None:
|
|
369
452
|
pulumi.set(__self__, "create_time", create_time)
|
|
370
453
|
if instance_name is not None:
|
|
@@ -402,7 +485,7 @@ class _RocketMQInstanceState:
|
|
|
402
485
|
"""
|
|
403
486
|
Whether to enable auto-renewal. This parameter is only applicable when the payment type for the instance is Subscription (prepaid).
|
|
404
487
|
- true: Enable auto-renewal
|
|
405
|
-
- false: Disable auto-renewal
|
|
488
|
+
- false: Disable auto-renewal
|
|
406
489
|
"""
|
|
407
490
|
return pulumi.get(self, "auto_renew")
|
|
408
491
|
|
|
@@ -414,7 +497,10 @@ class _RocketMQInstanceState:
|
|
|
414
497
|
@pulumi.getter(name="autoRenewPeriod")
|
|
415
498
|
def auto_renew_period(self) -> Optional[pulumi.Input[int]]:
|
|
416
499
|
"""
|
|
417
|
-
Auto-renewal period. This parameter is only valid when auto-renewal is enabled.
|
|
500
|
+
Auto-renewal period. This parameter is only valid when auto-renewal is enabled. Unit: months.
|
|
501
|
+
|
|
502
|
+
The values can be as follows:
|
|
503
|
+
- Monthly renewal: 1, 2, 3, 6, 12
|
|
418
504
|
"""
|
|
419
505
|
return pulumi.get(self, "auto_renew_period")
|
|
420
506
|
|
|
@@ -434,11 +520,29 @@ class _RocketMQInstanceState:
|
|
|
434
520
|
def auto_renew_period_unit(self, value: Optional[pulumi.Input[str]]):
|
|
435
521
|
pulumi.set(self, "auto_renew_period_unit", value)
|
|
436
522
|
|
|
523
|
+
@property
|
|
524
|
+
@pulumi.getter(name="commodityCode")
|
|
525
|
+
def commodity_code(self) -> Optional[pulumi.Input[str]]:
|
|
526
|
+
"""
|
|
527
|
+
Commodity code
|
|
528
|
+
|
|
529
|
+
ons_rmqsub_public_cn: Package year and month instance
|
|
530
|
+
|
|
531
|
+
ons_rmqpost_public_cn: Pay-As-You-Go instance
|
|
532
|
+
|
|
533
|
+
Next: Serverless instances
|
|
534
|
+
"""
|
|
535
|
+
return pulumi.get(self, "commodity_code")
|
|
536
|
+
|
|
537
|
+
@commodity_code.setter
|
|
538
|
+
def commodity_code(self, value: Optional[pulumi.Input[str]]):
|
|
539
|
+
pulumi.set(self, "commodity_code", value)
|
|
540
|
+
|
|
437
541
|
@property
|
|
438
542
|
@pulumi.getter(name="createTime")
|
|
439
543
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
440
544
|
"""
|
|
441
|
-
The creation time of the resource
|
|
545
|
+
The creation time of the resource
|
|
442
546
|
"""
|
|
443
547
|
return pulumi.get(self, "create_time")
|
|
444
548
|
|
|
@@ -450,7 +554,7 @@ class _RocketMQInstanceState:
|
|
|
450
554
|
@pulumi.getter(name="instanceName")
|
|
451
555
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
452
556
|
"""
|
|
453
|
-
The name of instance
|
|
557
|
+
The name of instance
|
|
454
558
|
"""
|
|
455
559
|
return pulumi.get(self, "instance_name")
|
|
456
560
|
|
|
@@ -462,7 +566,7 @@ class _RocketMQInstanceState:
|
|
|
462
566
|
@pulumi.getter(name="networkInfo")
|
|
463
567
|
def network_info(self) -> Optional[pulumi.Input['RocketMQInstanceNetworkInfoArgs']]:
|
|
464
568
|
"""
|
|
465
|
-
Instance network configuration information
|
|
569
|
+
Instance network configuration information See `network_info` below.
|
|
466
570
|
"""
|
|
467
571
|
return pulumi.get(self, "network_info")
|
|
468
572
|
|
|
@@ -474,9 +578,12 @@ class _RocketMQInstanceState:
|
|
|
474
578
|
@pulumi.getter(name="paymentType")
|
|
475
579
|
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
476
580
|
"""
|
|
477
|
-
The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment
|
|
581
|
+
The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment:
|
|
582
|
+
|
|
583
|
+
The parameter values are as follows:
|
|
478
584
|
- PayAsYouGo: Pay-as-you-go, a post-payment model where you pay after usage.
|
|
479
585
|
- Subscription: Subscription-based, a pre-payment model where you pay before usage.
|
|
586
|
+
|
|
480
587
|
For more information, please refer to [Billing Methods](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/overview-2).
|
|
481
588
|
"""
|
|
482
589
|
return pulumi.get(self, "payment_type")
|
|
@@ -489,9 +596,11 @@ class _RocketMQInstanceState:
|
|
|
489
596
|
@pulumi.getter
|
|
490
597
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
491
598
|
"""
|
|
492
|
-
Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
599
|
+
Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
600
|
+
|
|
601
|
+
The values can be as follows:
|
|
493
602
|
- Monthly purchase: 1, 2, 3, 4, 5, 6
|
|
494
|
-
- Annual purchase: 1, 2, 3
|
|
603
|
+
- Annual purchase: 1, 2, 3
|
|
495
604
|
"""
|
|
496
605
|
return pulumi.get(self, "period")
|
|
497
606
|
|
|
@@ -503,9 +612,11 @@ class _RocketMQInstanceState:
|
|
|
503
612
|
@pulumi.getter(name="periodUnit")
|
|
504
613
|
def period_unit(self) -> Optional[pulumi.Input[str]]:
|
|
505
614
|
"""
|
|
506
|
-
The minimum periodic unit for the duration of purchase.
|
|
615
|
+
The minimum periodic unit for the duration of purchase.
|
|
616
|
+
|
|
617
|
+
The parameter values are as follows:
|
|
507
618
|
- Month: Purchase on a monthly basis
|
|
508
|
-
- Year: Purchase on an annual basis
|
|
619
|
+
- Year: Purchase on an annual basis
|
|
509
620
|
"""
|
|
510
621
|
return pulumi.get(self, "period_unit")
|
|
511
622
|
|
|
@@ -517,7 +628,7 @@ class _RocketMQInstanceState:
|
|
|
517
628
|
@pulumi.getter(name="productInfo")
|
|
518
629
|
def product_info(self) -> Optional[pulumi.Input['RocketMQInstanceProductInfoArgs']]:
|
|
519
630
|
"""
|
|
520
|
-
product info
|
|
631
|
+
product info See `product_info` below.
|
|
521
632
|
"""
|
|
522
633
|
return pulumi.get(self, "product_info")
|
|
523
634
|
|
|
@@ -529,7 +640,7 @@ class _RocketMQInstanceState:
|
|
|
529
640
|
@pulumi.getter
|
|
530
641
|
def remark(self) -> Optional[pulumi.Input[str]]:
|
|
531
642
|
"""
|
|
532
|
-
Custom description
|
|
643
|
+
Custom description
|
|
533
644
|
"""
|
|
534
645
|
return pulumi.get(self, "remark")
|
|
535
646
|
|
|
@@ -541,7 +652,7 @@ class _RocketMQInstanceState:
|
|
|
541
652
|
@pulumi.getter(name="resourceGroupId")
|
|
542
653
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
543
654
|
"""
|
|
544
|
-
The ID of the resource group
|
|
655
|
+
The ID of the resource group
|
|
545
656
|
"""
|
|
546
657
|
return pulumi.get(self, "resource_group_id")
|
|
547
658
|
|
|
@@ -553,10 +664,12 @@ class _RocketMQInstanceState:
|
|
|
553
664
|
@pulumi.getter(name="seriesCode")
|
|
554
665
|
def series_code(self) -> Optional[pulumi.Input[str]]:
|
|
555
666
|
"""
|
|
556
|
-
The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
667
|
+
The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
668
|
+
|
|
669
|
+
The parameter values are as follows:
|
|
557
670
|
- standard: Standard Edition
|
|
558
671
|
- ultimate: Platinum Edition
|
|
559
|
-
- professional: Professional Edition
|
|
672
|
+
- professional: Professional Edition
|
|
560
673
|
"""
|
|
561
674
|
return pulumi.get(self, "series_code")
|
|
562
675
|
|
|
@@ -592,7 +705,7 @@ class _RocketMQInstanceState:
|
|
|
592
705
|
@pulumi.getter
|
|
593
706
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
594
707
|
"""
|
|
595
|
-
The status of the instance
|
|
708
|
+
The status of the instance
|
|
596
709
|
"""
|
|
597
710
|
return pulumi.get(self, "status")
|
|
598
711
|
|
|
@@ -604,9 +717,12 @@ class _RocketMQInstanceState:
|
|
|
604
717
|
@pulumi.getter(name="subSeriesCode")
|
|
605
718
|
def sub_series_code(self) -> Optional[pulumi.Input[str]]:
|
|
606
719
|
"""
|
|
607
|
-
The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
720
|
+
The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
721
|
+
|
|
722
|
+
The parameter values are as follows:
|
|
608
723
|
- cluster_ha: Cluster High Availability Edition
|
|
609
724
|
- single_node: Single Node Testing Edition
|
|
725
|
+
|
|
610
726
|
When selecting the primary series as ultimate (Platinum Edition), the sub-series can only be chosen as cluster_ha (Cluster High Availability Edition).
|
|
611
727
|
"""
|
|
612
728
|
return pulumi.get(self, "sub_series_code")
|
|
@@ -636,6 +752,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
636
752
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
637
753
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
638
754
|
auto_renew_period_unit: Optional[pulumi.Input[str]] = None,
|
|
755
|
+
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
639
756
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
640
757
|
network_info: Optional[pulumi.Input[Union['RocketMQInstanceNetworkInfoArgs', 'RocketMQInstanceNetworkInfoArgsDict']]] = None,
|
|
641
758
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -663,33 +780,55 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
663
780
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
664
781
|
:param pulumi.Input[bool] auto_renew: Whether to enable auto-renewal. This parameter is only applicable when the payment type for the instance is Subscription (prepaid).
|
|
665
782
|
- true: Enable auto-renewal
|
|
666
|
-
- false: Disable auto-renewal
|
|
667
|
-
:param pulumi.Input[int] auto_renew_period: Auto-renewal period. This parameter is only valid when auto-renewal is enabled.
|
|
783
|
+
- false: Disable auto-renewal
|
|
784
|
+
:param pulumi.Input[int] auto_renew_period: Auto-renewal period. This parameter is only valid when auto-renewal is enabled. Unit: months.
|
|
785
|
+
|
|
786
|
+
The values can be as follows:
|
|
787
|
+
- Monthly renewal: 1, 2, 3, 6, 12
|
|
668
788
|
:param pulumi.Input[str] auto_renew_period_unit: The minimum periodic unit for the duration of auto-renewal. This parameter is only valid when auto-renewal is enabled. Valid values: `Month`, `Year`.
|
|
669
|
-
:param pulumi.Input[str]
|
|
670
|
-
|
|
671
|
-
|
|
789
|
+
:param pulumi.Input[str] commodity_code: Commodity code
|
|
790
|
+
|
|
791
|
+
ons_rmqsub_public_cn: Package year and month instance
|
|
792
|
+
|
|
793
|
+
ons_rmqpost_public_cn: Pay-As-You-Go instance
|
|
794
|
+
|
|
795
|
+
Next: Serverless instances
|
|
796
|
+
:param pulumi.Input[str] instance_name: The name of instance
|
|
797
|
+
:param pulumi.Input[Union['RocketMQInstanceNetworkInfoArgs', 'RocketMQInstanceNetworkInfoArgsDict']] network_info: Instance network configuration information See `network_info` below.
|
|
798
|
+
:param pulumi.Input[str] payment_type: The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment:
|
|
799
|
+
|
|
800
|
+
The parameter values are as follows:
|
|
672
801
|
- PayAsYouGo: Pay-as-you-go, a post-payment model where you pay after usage.
|
|
673
802
|
- Subscription: Subscription-based, a pre-payment model where you pay before usage.
|
|
803
|
+
|
|
674
804
|
For more information, please refer to [Billing Methods](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/overview-2).
|
|
675
|
-
:param pulumi.Input[int] period: Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
805
|
+
:param pulumi.Input[int] period: Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
806
|
+
|
|
807
|
+
The values can be as follows:
|
|
676
808
|
- Monthly purchase: 1, 2, 3, 4, 5, 6
|
|
677
|
-
- Annual purchase: 1, 2, 3
|
|
678
|
-
:param pulumi.Input[str] period_unit: The minimum periodic unit for the duration of purchase.
|
|
809
|
+
- Annual purchase: 1, 2, 3
|
|
810
|
+
:param pulumi.Input[str] period_unit: The minimum periodic unit for the duration of purchase.
|
|
811
|
+
|
|
812
|
+
The parameter values are as follows:
|
|
679
813
|
- Month: Purchase on a monthly basis
|
|
680
|
-
- Year: Purchase on an annual basis
|
|
681
|
-
:param pulumi.Input[Union['RocketMQInstanceProductInfoArgs', 'RocketMQInstanceProductInfoArgsDict']] product_info: product info
|
|
682
|
-
:param pulumi.Input[str] remark: Custom description
|
|
683
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
684
|
-
:param pulumi.Input[str] series_code: The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
814
|
+
- Year: Purchase on an annual basis
|
|
815
|
+
:param pulumi.Input[Union['RocketMQInstanceProductInfoArgs', 'RocketMQInstanceProductInfoArgsDict']] product_info: product info See `product_info` below.
|
|
816
|
+
:param pulumi.Input[str] remark: Custom description
|
|
817
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
818
|
+
:param pulumi.Input[str] series_code: The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
819
|
+
|
|
820
|
+
The parameter values are as follows:
|
|
685
821
|
- standard: Standard Edition
|
|
686
822
|
- ultimate: Platinum Edition
|
|
687
|
-
- professional: Professional Edition
|
|
823
|
+
- professional: Professional Edition
|
|
688
824
|
:param pulumi.Input[str] service_code: The code of the service code instance. The code of the RocketMQ is rmq.
|
|
689
825
|
:param pulumi.Input[Union['RocketMQInstanceSoftwareArgs', 'RocketMQInstanceSoftwareArgsDict']] software: Instance software information. See `software` below.
|
|
690
|
-
:param pulumi.Input[str] sub_series_code: The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
826
|
+
:param pulumi.Input[str] sub_series_code: The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
827
|
+
|
|
828
|
+
The parameter values are as follows:
|
|
691
829
|
- cluster_ha: Cluster High Availability Edition
|
|
692
830
|
- single_node: Single Node Testing Edition
|
|
831
|
+
|
|
693
832
|
When selecting the primary series as ultimate (Platinum Edition), the sub-series can only be chosen as cluster_ha (Cluster High Availability Edition).
|
|
694
833
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The resource label.
|
|
695
834
|
"""
|
|
@@ -726,6 +865,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
726
865
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
727
866
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
728
867
|
auto_renew_period_unit: Optional[pulumi.Input[str]] = None,
|
|
868
|
+
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
729
869
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
730
870
|
network_info: Optional[pulumi.Input[Union['RocketMQInstanceNetworkInfoArgs', 'RocketMQInstanceNetworkInfoArgsDict']]] = None,
|
|
731
871
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -751,6 +891,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
751
891
|
__props__.__dict__["auto_renew"] = auto_renew
|
|
752
892
|
__props__.__dict__["auto_renew_period"] = auto_renew_period
|
|
753
893
|
__props__.__dict__["auto_renew_period_unit"] = auto_renew_period_unit
|
|
894
|
+
__props__.__dict__["commodity_code"] = commodity_code
|
|
754
895
|
__props__.__dict__["instance_name"] = instance_name
|
|
755
896
|
if network_info is None and not opts.urn:
|
|
756
897
|
raise TypeError("Missing required property 'network_info'")
|
|
@@ -789,6 +930,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
789
930
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
790
931
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
791
932
|
auto_renew_period_unit: Optional[pulumi.Input[str]] = None,
|
|
933
|
+
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
792
934
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
793
935
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
794
936
|
network_info: Optional[pulumi.Input[Union['RocketMQInstanceNetworkInfoArgs', 'RocketMQInstanceNetworkInfoArgsDict']]] = None,
|
|
@@ -813,35 +955,57 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
813
955
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
814
956
|
:param pulumi.Input[bool] auto_renew: Whether to enable auto-renewal. This parameter is only applicable when the payment type for the instance is Subscription (prepaid).
|
|
815
957
|
- true: Enable auto-renewal
|
|
816
|
-
- false: Disable auto-renewal
|
|
817
|
-
:param pulumi.Input[int] auto_renew_period: Auto-renewal period. This parameter is only valid when auto-renewal is enabled.
|
|
958
|
+
- false: Disable auto-renewal
|
|
959
|
+
:param pulumi.Input[int] auto_renew_period: Auto-renewal period. This parameter is only valid when auto-renewal is enabled. Unit: months.
|
|
960
|
+
|
|
961
|
+
The values can be as follows:
|
|
962
|
+
- Monthly renewal: 1, 2, 3, 6, 12
|
|
818
963
|
:param pulumi.Input[str] auto_renew_period_unit: The minimum periodic unit for the duration of auto-renewal. This parameter is only valid when auto-renewal is enabled. Valid values: `Month`, `Year`.
|
|
819
|
-
:param pulumi.Input[str]
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
964
|
+
:param pulumi.Input[str] commodity_code: Commodity code
|
|
965
|
+
|
|
966
|
+
ons_rmqsub_public_cn: Package year and month instance
|
|
967
|
+
|
|
968
|
+
ons_rmqpost_public_cn: Pay-As-You-Go instance
|
|
969
|
+
|
|
970
|
+
Next: Serverless instances
|
|
971
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
972
|
+
:param pulumi.Input[str] instance_name: The name of instance
|
|
973
|
+
:param pulumi.Input[Union['RocketMQInstanceNetworkInfoArgs', 'RocketMQInstanceNetworkInfoArgsDict']] network_info: Instance network configuration information See `network_info` below.
|
|
974
|
+
:param pulumi.Input[str] payment_type: The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment:
|
|
975
|
+
|
|
976
|
+
The parameter values are as follows:
|
|
823
977
|
- PayAsYouGo: Pay-as-you-go, a post-payment model where you pay after usage.
|
|
824
978
|
- Subscription: Subscription-based, a pre-payment model where you pay before usage.
|
|
979
|
+
|
|
825
980
|
For more information, please refer to [Billing Methods](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/overview-2).
|
|
826
|
-
:param pulumi.Input[int] period: Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
981
|
+
:param pulumi.Input[int] period: Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
982
|
+
|
|
983
|
+
The values can be as follows:
|
|
827
984
|
- Monthly purchase: 1, 2, 3, 4, 5, 6
|
|
828
|
-
- Annual purchase: 1, 2, 3
|
|
829
|
-
:param pulumi.Input[str] period_unit: The minimum periodic unit for the duration of purchase.
|
|
985
|
+
- Annual purchase: 1, 2, 3
|
|
986
|
+
:param pulumi.Input[str] period_unit: The minimum periodic unit for the duration of purchase.
|
|
987
|
+
|
|
988
|
+
The parameter values are as follows:
|
|
830
989
|
- Month: Purchase on a monthly basis
|
|
831
|
-
- Year: Purchase on an annual basis
|
|
832
|
-
:param pulumi.Input[Union['RocketMQInstanceProductInfoArgs', 'RocketMQInstanceProductInfoArgsDict']] product_info: product info
|
|
833
|
-
:param pulumi.Input[str] remark: Custom description
|
|
834
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
835
|
-
:param pulumi.Input[str] series_code: The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
990
|
+
- Year: Purchase on an annual basis
|
|
991
|
+
:param pulumi.Input[Union['RocketMQInstanceProductInfoArgs', 'RocketMQInstanceProductInfoArgsDict']] product_info: product info See `product_info` below.
|
|
992
|
+
:param pulumi.Input[str] remark: Custom description
|
|
993
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
994
|
+
:param pulumi.Input[str] series_code: The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
995
|
+
|
|
996
|
+
The parameter values are as follows:
|
|
836
997
|
- standard: Standard Edition
|
|
837
998
|
- ultimate: Platinum Edition
|
|
838
|
-
- professional: Professional Edition
|
|
999
|
+
- professional: Professional Edition
|
|
839
1000
|
:param pulumi.Input[str] service_code: The code of the service code instance. The code of the RocketMQ is rmq.
|
|
840
1001
|
:param pulumi.Input[Union['RocketMQInstanceSoftwareArgs', 'RocketMQInstanceSoftwareArgsDict']] software: Instance software information. See `software` below.
|
|
841
|
-
:param pulumi.Input[str] status: The status of the instance
|
|
842
|
-
:param pulumi.Input[str] sub_series_code: The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
1002
|
+
:param pulumi.Input[str] status: The status of the instance
|
|
1003
|
+
:param pulumi.Input[str] sub_series_code: The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
1004
|
+
|
|
1005
|
+
The parameter values are as follows:
|
|
843
1006
|
- cluster_ha: Cluster High Availability Edition
|
|
844
1007
|
- single_node: Single Node Testing Edition
|
|
1008
|
+
|
|
845
1009
|
When selecting the primary series as ultimate (Platinum Edition), the sub-series can only be chosen as cluster_ha (Cluster High Availability Edition).
|
|
846
1010
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The resource label.
|
|
847
1011
|
"""
|
|
@@ -852,6 +1016,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
852
1016
|
__props__.__dict__["auto_renew"] = auto_renew
|
|
853
1017
|
__props__.__dict__["auto_renew_period"] = auto_renew_period
|
|
854
1018
|
__props__.__dict__["auto_renew_period_unit"] = auto_renew_period_unit
|
|
1019
|
+
__props__.__dict__["commodity_code"] = commodity_code
|
|
855
1020
|
__props__.__dict__["create_time"] = create_time
|
|
856
1021
|
__props__.__dict__["instance_name"] = instance_name
|
|
857
1022
|
__props__.__dict__["network_info"] = network_info
|
|
@@ -875,7 +1040,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
875
1040
|
"""
|
|
876
1041
|
Whether to enable auto-renewal. This parameter is only applicable when the payment type for the instance is Subscription (prepaid).
|
|
877
1042
|
- true: Enable auto-renewal
|
|
878
|
-
- false: Disable auto-renewal
|
|
1043
|
+
- false: Disable auto-renewal
|
|
879
1044
|
"""
|
|
880
1045
|
return pulumi.get(self, "auto_renew")
|
|
881
1046
|
|
|
@@ -883,7 +1048,10 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
883
1048
|
@pulumi.getter(name="autoRenewPeriod")
|
|
884
1049
|
def auto_renew_period(self) -> pulumi.Output[Optional[int]]:
|
|
885
1050
|
"""
|
|
886
|
-
Auto-renewal period. This parameter is only valid when auto-renewal is enabled.
|
|
1051
|
+
Auto-renewal period. This parameter is only valid when auto-renewal is enabled. Unit: months.
|
|
1052
|
+
|
|
1053
|
+
The values can be as follows:
|
|
1054
|
+
- Monthly renewal: 1, 2, 3, 6, 12
|
|
887
1055
|
"""
|
|
888
1056
|
return pulumi.get(self, "auto_renew_period")
|
|
889
1057
|
|
|
@@ -895,11 +1063,25 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
895
1063
|
"""
|
|
896
1064
|
return pulumi.get(self, "auto_renew_period_unit")
|
|
897
1065
|
|
|
1066
|
+
@property
|
|
1067
|
+
@pulumi.getter(name="commodityCode")
|
|
1068
|
+
def commodity_code(self) -> pulumi.Output[str]:
|
|
1069
|
+
"""
|
|
1070
|
+
Commodity code
|
|
1071
|
+
|
|
1072
|
+
ons_rmqsub_public_cn: Package year and month instance
|
|
1073
|
+
|
|
1074
|
+
ons_rmqpost_public_cn: Pay-As-You-Go instance
|
|
1075
|
+
|
|
1076
|
+
Next: Serverless instances
|
|
1077
|
+
"""
|
|
1078
|
+
return pulumi.get(self, "commodity_code")
|
|
1079
|
+
|
|
898
1080
|
@property
|
|
899
1081
|
@pulumi.getter(name="createTime")
|
|
900
1082
|
def create_time(self) -> pulumi.Output[str]:
|
|
901
1083
|
"""
|
|
902
|
-
The creation time of the resource
|
|
1084
|
+
The creation time of the resource
|
|
903
1085
|
"""
|
|
904
1086
|
return pulumi.get(self, "create_time")
|
|
905
1087
|
|
|
@@ -907,7 +1089,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
907
1089
|
@pulumi.getter(name="instanceName")
|
|
908
1090
|
def instance_name(self) -> pulumi.Output[Optional[str]]:
|
|
909
1091
|
"""
|
|
910
|
-
The name of instance
|
|
1092
|
+
The name of instance
|
|
911
1093
|
"""
|
|
912
1094
|
return pulumi.get(self, "instance_name")
|
|
913
1095
|
|
|
@@ -915,7 +1097,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
915
1097
|
@pulumi.getter(name="networkInfo")
|
|
916
1098
|
def network_info(self) -> pulumi.Output['outputs.RocketMQInstanceNetworkInfo']:
|
|
917
1099
|
"""
|
|
918
|
-
Instance network configuration information
|
|
1100
|
+
Instance network configuration information See `network_info` below.
|
|
919
1101
|
"""
|
|
920
1102
|
return pulumi.get(self, "network_info")
|
|
921
1103
|
|
|
@@ -923,9 +1105,12 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
923
1105
|
@pulumi.getter(name="paymentType")
|
|
924
1106
|
def payment_type(self) -> pulumi.Output[str]:
|
|
925
1107
|
"""
|
|
926
|
-
The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment
|
|
1108
|
+
The payment type for the instance. Alibaba Cloud Message Queue RocketMQ version supports two types of payment:
|
|
1109
|
+
|
|
1110
|
+
The parameter values are as follows:
|
|
927
1111
|
- PayAsYouGo: Pay-as-you-go, a post-payment model where you pay after usage.
|
|
928
1112
|
- Subscription: Subscription-based, a pre-payment model where you pay before usage.
|
|
1113
|
+
|
|
929
1114
|
For more information, please refer to [Billing Methods](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/overview-2).
|
|
930
1115
|
"""
|
|
931
1116
|
return pulumi.get(self, "payment_type")
|
|
@@ -934,9 +1119,11 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
934
1119
|
@pulumi.getter
|
|
935
1120
|
def period(self) -> pulumi.Output[Optional[int]]:
|
|
936
1121
|
"""
|
|
937
|
-
Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
1122
|
+
Duration of purchase. This parameter is only valid when the payment type for the instance is Subscription (prepaid).
|
|
1123
|
+
|
|
1124
|
+
The values can be as follows:
|
|
938
1125
|
- Monthly purchase: 1, 2, 3, 4, 5, 6
|
|
939
|
-
- Annual purchase: 1, 2, 3
|
|
1126
|
+
- Annual purchase: 1, 2, 3
|
|
940
1127
|
"""
|
|
941
1128
|
return pulumi.get(self, "period")
|
|
942
1129
|
|
|
@@ -944,9 +1131,11 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
944
1131
|
@pulumi.getter(name="periodUnit")
|
|
945
1132
|
def period_unit(self) -> pulumi.Output[str]:
|
|
946
1133
|
"""
|
|
947
|
-
The minimum periodic unit for the duration of purchase.
|
|
1134
|
+
The minimum periodic unit for the duration of purchase.
|
|
1135
|
+
|
|
1136
|
+
The parameter values are as follows:
|
|
948
1137
|
- Month: Purchase on a monthly basis
|
|
949
|
-
- Year: Purchase on an annual basis
|
|
1138
|
+
- Year: Purchase on an annual basis
|
|
950
1139
|
"""
|
|
951
1140
|
return pulumi.get(self, "period_unit")
|
|
952
1141
|
|
|
@@ -954,7 +1143,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
954
1143
|
@pulumi.getter(name="productInfo")
|
|
955
1144
|
def product_info(self) -> pulumi.Output[Optional['outputs.RocketMQInstanceProductInfo']]:
|
|
956
1145
|
"""
|
|
957
|
-
product info
|
|
1146
|
+
product info See `product_info` below.
|
|
958
1147
|
"""
|
|
959
1148
|
return pulumi.get(self, "product_info")
|
|
960
1149
|
|
|
@@ -962,7 +1151,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
962
1151
|
@pulumi.getter
|
|
963
1152
|
def remark(self) -> pulumi.Output[Optional[str]]:
|
|
964
1153
|
"""
|
|
965
|
-
Custom description
|
|
1154
|
+
Custom description
|
|
966
1155
|
"""
|
|
967
1156
|
return pulumi.get(self, "remark")
|
|
968
1157
|
|
|
@@ -970,7 +1159,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
970
1159
|
@pulumi.getter(name="resourceGroupId")
|
|
971
1160
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
972
1161
|
"""
|
|
973
|
-
The ID of the resource group
|
|
1162
|
+
The ID of the resource group
|
|
974
1163
|
"""
|
|
975
1164
|
return pulumi.get(self, "resource_group_id")
|
|
976
1165
|
|
|
@@ -978,10 +1167,12 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
978
1167
|
@pulumi.getter(name="seriesCode")
|
|
979
1168
|
def series_code(self) -> pulumi.Output[str]:
|
|
980
1169
|
"""
|
|
981
|
-
The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
1170
|
+
The primary series encoding for the instance. For specific differences between the primary series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
1171
|
+
|
|
1172
|
+
The parameter values are as follows:
|
|
982
1173
|
- standard: Standard Edition
|
|
983
1174
|
- ultimate: Platinum Edition
|
|
984
|
-
- professional: Professional Edition
|
|
1175
|
+
- professional: Professional Edition
|
|
985
1176
|
"""
|
|
986
1177
|
return pulumi.get(self, "series_code")
|
|
987
1178
|
|
|
@@ -1005,7 +1196,7 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
1005
1196
|
@pulumi.getter
|
|
1006
1197
|
def status(self) -> pulumi.Output[str]:
|
|
1007
1198
|
"""
|
|
1008
|
-
The status of the instance
|
|
1199
|
+
The status of the instance
|
|
1009
1200
|
"""
|
|
1010
1201
|
return pulumi.get(self, "status")
|
|
1011
1202
|
|
|
@@ -1013,9 +1204,12 @@ class RocketMQInstance(pulumi.CustomResource):
|
|
|
1013
1204
|
@pulumi.getter(name="subSeriesCode")
|
|
1014
1205
|
def sub_series_code(self) -> pulumi.Output[str]:
|
|
1015
1206
|
"""
|
|
1016
|
-
The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
1207
|
+
The sub-series encoding for the instance. For specific differences between the sub-series, please refer to [Product Selection](https://help.aliyun.com/zh/apsaramq-for-rocketmq/cloud-message-queue-rocketmq-5-x-series/product-overview/instance-selection).
|
|
1208
|
+
|
|
1209
|
+
The parameter values are as follows:
|
|
1017
1210
|
- cluster_ha: Cluster High Availability Edition
|
|
1018
1211
|
- single_node: Single Node Testing Edition
|
|
1212
|
+
|
|
1019
1213
|
When selecting the primary series as ultimate (Platinum Edition), the sub-series can only be chosen as cluster_ha (Cluster High Availability Edition).
|
|
1020
1214
|
"""
|
|
1021
1215
|
return pulumi.get(self, "sub_series_code")
|