pulumi-alicloud 3.73.0__py3-none-any.whl → 3.73.0a1736226912__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +0 -59
- pulumi_alicloud/alb/__init__.py +0 -1
- pulumi_alicloud/alb/_inputs.py +6 -6
- pulumi_alicloud/alb/a_script.py +98 -116
- pulumi_alicloud/alb/outputs.py +4 -4
- pulumi_alicloud/alikafka/instance.py +70 -188
- pulumi_alicloud/amqp/instance.py +28 -77
- pulumi_alicloud/bastionhost/_inputs.py +38 -40
- pulumi_alicloud/bastionhost/get_instances.py +22 -6
- pulumi_alicloud/bastionhost/outputs.py +49 -60
- pulumi_alicloud/cen/instance_grant.py +0 -4
- pulumi_alicloud/cms/_inputs.py +15 -21
- pulumi_alicloud/cms/alarm.py +7 -7
- pulumi_alicloud/cms/outputs.py +10 -14
- pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +2 -4
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +0 -2
- pulumi_alicloud/cs/kubernetes.py +14 -14
- pulumi_alicloud/cs/managed_kubernetes.py +47 -137
- pulumi_alicloud/dataworks/__init__.py +0 -4
- pulumi_alicloud/dataworks/_inputs.py +0 -1534
- pulumi_alicloud/dataworks/outputs.py +0 -1247
- pulumi_alicloud/dcdn/waf_rule.py +14 -14
- pulumi_alicloud/dns/get_alidns_domains.py +2 -7
- pulumi_alicloud/dns/outputs.py +0 -8
- pulumi_alicloud/ecs/ecs_launch_template.py +0 -122
- pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
- pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/launch_template.py +0 -88
- pulumi_alicloud/fc/custom_domain.py +2 -2
- pulumi_alicloud/fc/function.py +4 -32
- pulumi_alicloud/fc/v2_function.py +0 -20
- pulumi_alicloud/hbr/__init__.py +0 -1
- pulumi_alicloud/ims/oidc_provider.py +0 -28
- pulumi_alicloud/log/resource_record.py +26 -42
- pulumi_alicloud/message/service_queue.py +59 -106
- pulumi_alicloud/message/service_topic.py +37 -182
- pulumi_alicloud/mongodb/account.py +163 -138
- pulumi_alicloud/oos/secret_parameter.py +9 -84
- pulumi_alicloud/oss/bucket.py +1 -1
- pulumi_alicloud/oss/bucket_policy.py +4 -2
- pulumi_alicloud/oss/bucket_referer.py +4 -2
- pulumi_alicloud/oss/get_buckets.py +2 -16
- pulumi_alicloud/oss/outputs.py +17 -18
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/sae/application.py +7 -84
- pulumi_alicloud/sls/collection_policy.py +2 -2
- pulumi_alicloud/vpc/__init__.py +0 -5
- pulumi_alicloud/vpc/get_networks.py +0 -3
- pulumi_alicloud/vpc/nat_gateway.py +7 -145
- pulumi_alicloud/vpc/outputs.py +0 -777
- pulumi_alicloud/vpc/snat_entry.py +48 -107
- pulumi_alicloud/vpn/_inputs.py +72 -96
- pulumi_alicloud/vpn/connection.py +28 -24
- pulumi_alicloud/vpn/outputs.py +48 -64
- pulumi_alicloud/yundun/_inputs.py +24 -26
- pulumi_alicloud/yundun/outputs.py +22 -37
- {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736226912.dist-info}/METADATA +2 -2
- {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736226912.dist-info}/RECORD +61 -78
- {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736226912.dist-info}/WHEEL +1 -1
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +0 -303
- pulumi_alicloud/cloudcontrol/__init__.py +0 -12
- pulumi_alicloud/cloudcontrol/get_prices.py +0 -199
- pulumi_alicloud/cloudcontrol/get_products.py +0 -187
- pulumi_alicloud/cloudcontrol/get_resource_types.py +0 -178
- pulumi_alicloud/cloudcontrol/outputs.py +0 -688
- pulumi_alicloud/cloudcontrol/resource.py +0 -407
- pulumi_alicloud/dataworks/di_alarm_rule.py +0 -708
- pulumi_alicloud/dataworks/di_job.py +0 -1005
- pulumi_alicloud/dataworks/dw_resource_group.py +0 -703
- pulumi_alicloud/dataworks/network.py +0 -331
- pulumi_alicloud/hbr/cross_account.py +0 -338
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +0 -295
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +0 -196
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +0 -353
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +0 -333
- pulumi_alicloud/vpc/get_ipam_ipams.py +0 -291
- {pulumi_alicloud-3.73.0.dist-info → pulumi_alicloud-3.73.0a1736226912.dist-info}/top_level.txt +0 -0
pulumi_alicloud/alb/outputs.py
CHANGED
|
@@ -140,8 +140,8 @@ class AScriptExtAttribute(dict):
|
|
|
140
140
|
attribute_key: Optional[str] = None,
|
|
141
141
|
attribute_value: Optional[str] = None):
|
|
142
142
|
"""
|
|
143
|
-
:param str attribute_key:
|
|
144
|
-
:param str attribute_value: The value of the extended attribute
|
|
143
|
+
:param str attribute_key: The key of the extended attribute.
|
|
144
|
+
:param str attribute_value: The value of the extended attribute.
|
|
145
145
|
"""
|
|
146
146
|
if attribute_key is not None:
|
|
147
147
|
pulumi.set(__self__, "attribute_key", attribute_key)
|
|
@@ -152,7 +152,7 @@ class AScriptExtAttribute(dict):
|
|
|
152
152
|
@pulumi.getter(name="attributeKey")
|
|
153
153
|
def attribute_key(self) -> Optional[str]:
|
|
154
154
|
"""
|
|
155
|
-
|
|
155
|
+
The key of the extended attribute.
|
|
156
156
|
"""
|
|
157
157
|
return pulumi.get(self, "attribute_key")
|
|
158
158
|
|
|
@@ -160,7 +160,7 @@ class AScriptExtAttribute(dict):
|
|
|
160
160
|
@pulumi.getter(name="attributeValue")
|
|
161
161
|
def attribute_value(self) -> Optional[str]:
|
|
162
162
|
"""
|
|
163
|
-
The value of the extended attribute
|
|
163
|
+
The value of the extended attribute.
|
|
164
164
|
"""
|
|
165
165
|
return pulumi.get(self, "attribute_value")
|
|
166
166
|
|
|
@@ -24,10 +24,7 @@ class InstanceArgs:
|
|
|
24
24
|
disk_type: pulumi.Input[int],
|
|
25
25
|
vswitch_id: pulumi.Input[str],
|
|
26
26
|
config: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
default_topic_partition_num: Optional[pulumi.Input[int]] = None,
|
|
28
27
|
eip_max: Optional[pulumi.Input[int]] = None,
|
|
29
|
-
enable_auto_group: Optional[pulumi.Input[bool]] = None,
|
|
30
|
-
enable_auto_topic: Optional[pulumi.Input[str]] = None,
|
|
31
28
|
io_max: Optional[pulumi.Input[int]] = None,
|
|
32
29
|
io_max_spec: Optional[pulumi.Input[str]] = None,
|
|
33
30
|
kms_key_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -42,7 +39,6 @@ class InstanceArgs:
|
|
|
42
39
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
43
40
|
topic_quota: Optional[pulumi.Input[int]] = None,
|
|
44
41
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
45
|
-
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
46
42
|
zone_id: Optional[pulumi.Input[str]] = None):
|
|
47
43
|
"""
|
|
48
44
|
The set of arguments for constructing a Instance resource.
|
|
@@ -54,10 +50,7 @@ class InstanceArgs:
|
|
|
54
50
|
:param pulumi.Input[str] vswitch_id: The ID of attaching vswitch to instance.
|
|
55
51
|
:param pulumi.Input[str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings. The `config` supports the following parameters:
|
|
56
52
|
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
57
|
-
:param pulumi.Input[int] default_topic_partition_num: The number of partitions in a topic that is automatically created.
|
|
58
53
|
:param pulumi.Input[int] eip_max: The max bandwidth of the instance. It will be ignored when `deploy_type = 5`. When modify this value, it only supports adjust to a greater value.
|
|
59
|
-
:param pulumi.Input[bool] enable_auto_group: Specify whether to enable the flexible group creation feature. Default value: `false`. Valid values:
|
|
60
|
-
:param pulumi.Input[str] enable_auto_topic: Specify whether to enable the automatic topic creation feature. Default value: `disable`. Valid values:
|
|
61
54
|
:param pulumi.Input[int] io_max: The max value of io of the instance. When modify this value, it only support adjust to a greater value.
|
|
62
55
|
:param pulumi.Input[str] io_max_spec: The traffic specification of the instance. We recommend that you configure this parameter.
|
|
63
56
|
- You should specify one of the `io_max` and `io_max_spec` parameters, and `io_max_spec` is recommended.
|
|
@@ -69,6 +62,16 @@ class InstanceArgs:
|
|
|
69
62
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
70
63
|
:param pulumi.Input[str] security_group: The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
71
64
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] selected_zones: The zones among which you want to deploy the instance.
|
|
65
|
+
|
|
66
|
+
> **NOTE:** Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.
|
|
67
|
+
|
|
68
|
+
| io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) |
|
|
69
|
+
|------|-------------|:----:|:-----:|
|
|
70
|
+
|20 | 500-6100:100 | 50-450:1 | 1-160:1 |
|
|
71
|
+
|30 | 800-6100:100 | 50-450:1 | 1-240:1 |
|
|
72
|
+
|60 | 1400-6100:100 | 80-450:1 | 1-500:1 |
|
|
73
|
+
|90 | 2100-6100:100 | 100-450:1 | 1-500:1 |
|
|
74
|
+
|120 | 2700-6100:100 | 150-450:1 | 1-500:1 |
|
|
72
75
|
:param pulumi.Input[str] service_version: The version of the ApsaraMQ for Kafka instance. Default value: `2.2.0`. Valid values: `2.2.0`, `2.6.2`.
|
|
73
76
|
:param pulumi.Input[str] spec_type: The spec type of the instance. Support two type, "normal": normal version instance, "professional": professional version instance. Default is normal. When modify this value, it only support adjust from normal to professional. Note only pre paid type instance support professional specific type.
|
|
74
77
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
@@ -77,7 +80,6 @@ class InstanceArgs:
|
|
|
77
80
|
Currently, its value only can be set to 50 when creating it, and finally depends on `partition_num` value: <`topic_quota`> = 1000 + <`partition_num`>.
|
|
78
81
|
Therefore, you can update it by updating the `partition_num`, and it is the only updating path.
|
|
79
82
|
:param pulumi.Input[str] vpc_id: The VPC ID of the instance.
|
|
80
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The IDs of the vSwitches with which the instance is associated.
|
|
81
83
|
:param pulumi.Input[str] zone_id: The zone ID of the instance. The value can be in zone x or region id-x format. **NOTE**: When the available zone is insufficient, another availability zone may be deployed.
|
|
82
84
|
"""
|
|
83
85
|
pulumi.set(__self__, "deploy_type", deploy_type)
|
|
@@ -86,14 +88,8 @@ class InstanceArgs:
|
|
|
86
88
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
87
89
|
if config is not None:
|
|
88
90
|
pulumi.set(__self__, "config", config)
|
|
89
|
-
if default_topic_partition_num is not None:
|
|
90
|
-
pulumi.set(__self__, "default_topic_partition_num", default_topic_partition_num)
|
|
91
91
|
if eip_max is not None:
|
|
92
92
|
pulumi.set(__self__, "eip_max", eip_max)
|
|
93
|
-
if enable_auto_group is not None:
|
|
94
|
-
pulumi.set(__self__, "enable_auto_group", enable_auto_group)
|
|
95
|
-
if enable_auto_topic is not None:
|
|
96
|
-
pulumi.set(__self__, "enable_auto_topic", enable_auto_topic)
|
|
97
93
|
if io_max is not None:
|
|
98
94
|
pulumi.set(__self__, "io_max", io_max)
|
|
99
95
|
if io_max_spec is not None:
|
|
@@ -125,8 +121,6 @@ class InstanceArgs:
|
|
|
125
121
|
pulumi.set(__self__, "topic_quota", topic_quota)
|
|
126
122
|
if vpc_id is not None:
|
|
127
123
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
128
|
-
if vswitch_ids is not None:
|
|
129
|
-
pulumi.set(__self__, "vswitch_ids", vswitch_ids)
|
|
130
124
|
if zone_id is not None:
|
|
131
125
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
132
126
|
|
|
@@ -193,18 +187,6 @@ class InstanceArgs:
|
|
|
193
187
|
def config(self, value: Optional[pulumi.Input[str]]):
|
|
194
188
|
pulumi.set(self, "config", value)
|
|
195
189
|
|
|
196
|
-
@property
|
|
197
|
-
@pulumi.getter(name="defaultTopicPartitionNum")
|
|
198
|
-
def default_topic_partition_num(self) -> Optional[pulumi.Input[int]]:
|
|
199
|
-
"""
|
|
200
|
-
The number of partitions in a topic that is automatically created.
|
|
201
|
-
"""
|
|
202
|
-
return pulumi.get(self, "default_topic_partition_num")
|
|
203
|
-
|
|
204
|
-
@default_topic_partition_num.setter
|
|
205
|
-
def default_topic_partition_num(self, value: Optional[pulumi.Input[int]]):
|
|
206
|
-
pulumi.set(self, "default_topic_partition_num", value)
|
|
207
|
-
|
|
208
190
|
@property
|
|
209
191
|
@pulumi.getter(name="eipMax")
|
|
210
192
|
def eip_max(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -217,30 +199,6 @@ class InstanceArgs:
|
|
|
217
199
|
def eip_max(self, value: Optional[pulumi.Input[int]]):
|
|
218
200
|
pulumi.set(self, "eip_max", value)
|
|
219
201
|
|
|
220
|
-
@property
|
|
221
|
-
@pulumi.getter(name="enableAutoGroup")
|
|
222
|
-
def enable_auto_group(self) -> Optional[pulumi.Input[bool]]:
|
|
223
|
-
"""
|
|
224
|
-
Specify whether to enable the flexible group creation feature. Default value: `false`. Valid values:
|
|
225
|
-
"""
|
|
226
|
-
return pulumi.get(self, "enable_auto_group")
|
|
227
|
-
|
|
228
|
-
@enable_auto_group.setter
|
|
229
|
-
def enable_auto_group(self, value: Optional[pulumi.Input[bool]]):
|
|
230
|
-
pulumi.set(self, "enable_auto_group", value)
|
|
231
|
-
|
|
232
|
-
@property
|
|
233
|
-
@pulumi.getter(name="enableAutoTopic")
|
|
234
|
-
def enable_auto_topic(self) -> Optional[pulumi.Input[str]]:
|
|
235
|
-
"""
|
|
236
|
-
Specify whether to enable the automatic topic creation feature. Default value: `disable`. Valid values:
|
|
237
|
-
"""
|
|
238
|
-
return pulumi.get(self, "enable_auto_topic")
|
|
239
|
-
|
|
240
|
-
@enable_auto_topic.setter
|
|
241
|
-
def enable_auto_topic(self, value: Optional[pulumi.Input[str]]):
|
|
242
|
-
pulumi.set(self, "enable_auto_topic", value)
|
|
243
|
-
|
|
244
202
|
@property
|
|
245
203
|
@pulumi.getter(name="ioMax")
|
|
246
204
|
def io_max(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -344,6 +302,16 @@ class InstanceArgs:
|
|
|
344
302
|
def selected_zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
345
303
|
"""
|
|
346
304
|
The zones among which you want to deploy the instance.
|
|
305
|
+
|
|
306
|
+
> **NOTE:** Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.
|
|
307
|
+
|
|
308
|
+
| io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) |
|
|
309
|
+
|------|-------------|:----:|:-----:|
|
|
310
|
+
|20 | 500-6100:100 | 50-450:1 | 1-160:1 |
|
|
311
|
+
|30 | 800-6100:100 | 50-450:1 | 1-240:1 |
|
|
312
|
+
|60 | 1400-6100:100 | 80-450:1 | 1-500:1 |
|
|
313
|
+
|90 | 2100-6100:100 | 100-450:1 | 1-500:1 |
|
|
314
|
+
|120 | 2700-6100:100 | 150-450:1 | 1-500:1 |
|
|
347
315
|
"""
|
|
348
316
|
return pulumi.get(self, "selected_zones")
|
|
349
317
|
|
|
@@ -415,18 +383,6 @@ class InstanceArgs:
|
|
|
415
383
|
def vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
416
384
|
pulumi.set(self, "vpc_id", value)
|
|
417
385
|
|
|
418
|
-
@property
|
|
419
|
-
@pulumi.getter(name="vswitchIds")
|
|
420
|
-
def vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
421
|
-
"""
|
|
422
|
-
The IDs of the vSwitches with which the instance is associated.
|
|
423
|
-
"""
|
|
424
|
-
return pulumi.get(self, "vswitch_ids")
|
|
425
|
-
|
|
426
|
-
@vswitch_ids.setter
|
|
427
|
-
def vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
428
|
-
pulumi.set(self, "vswitch_ids", value)
|
|
429
|
-
|
|
430
386
|
@property
|
|
431
387
|
@pulumi.getter(name="zoneId")
|
|
432
388
|
def zone_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -444,14 +400,11 @@ class InstanceArgs:
|
|
|
444
400
|
class _InstanceState:
|
|
445
401
|
def __init__(__self__, *,
|
|
446
402
|
config: Optional[pulumi.Input[str]] = None,
|
|
447
|
-
default_topic_partition_num: Optional[pulumi.Input[int]] = None,
|
|
448
403
|
deploy_type: Optional[pulumi.Input[int]] = None,
|
|
449
404
|
disk_size: Optional[pulumi.Input[int]] = None,
|
|
450
405
|
disk_type: Optional[pulumi.Input[int]] = None,
|
|
451
406
|
domain_endpoint: Optional[pulumi.Input[str]] = None,
|
|
452
407
|
eip_max: Optional[pulumi.Input[int]] = None,
|
|
453
|
-
enable_auto_group: Optional[pulumi.Input[bool]] = None,
|
|
454
|
-
enable_auto_topic: Optional[pulumi.Input[str]] = None,
|
|
455
408
|
end_point: Optional[pulumi.Input[str]] = None,
|
|
456
409
|
group_left: Optional[pulumi.Input[int]] = None,
|
|
457
410
|
group_used: Optional[pulumi.Input[int]] = None,
|
|
@@ -480,13 +433,11 @@ class _InstanceState:
|
|
|
480
433
|
topic_used: Optional[pulumi.Input[int]] = None,
|
|
481
434
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
482
435
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
483
|
-
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
484
436
|
zone_id: Optional[pulumi.Input[str]] = None):
|
|
485
437
|
"""
|
|
486
438
|
Input properties used for looking up and filtering Instance resources.
|
|
487
439
|
:param pulumi.Input[str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings. The `config` supports the following parameters:
|
|
488
440
|
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
489
|
-
:param pulumi.Input[int] default_topic_partition_num: The number of partitions in a topic that is automatically created.
|
|
490
441
|
:param pulumi.Input[int] deploy_type: The deployment type of the instance. **NOTE:** From version 1.161.0, this attribute supports to be updated. Valid values:
|
|
491
442
|
- 4: eip/vpc instance
|
|
492
443
|
- 5: vpc instance.
|
|
@@ -494,8 +445,6 @@ class _InstanceState:
|
|
|
494
445
|
:param pulumi.Input[int] disk_type: The disk type of the instance. 0: efficient cloud disk , 1: SSD.
|
|
495
446
|
:param pulumi.Input[str] domain_endpoint: (Available since v1.234.0) The default endpoint of the instance in domain name mode.
|
|
496
447
|
:param pulumi.Input[int] eip_max: The max bandwidth of the instance. It will be ignored when `deploy_type = 5`. When modify this value, it only supports adjust to a greater value.
|
|
497
|
-
:param pulumi.Input[bool] enable_auto_group: Specify whether to enable the flexible group creation feature. Default value: `false`. Valid values:
|
|
498
|
-
:param pulumi.Input[str] enable_auto_topic: Specify whether to enable the automatic topic creation feature. Default value: `disable`. Valid values:
|
|
499
448
|
:param pulumi.Input[str] end_point: The EndPoint to access the kafka instance.
|
|
500
449
|
:param pulumi.Input[int] group_left: (Available since v1.214.1) The number of available groups.
|
|
501
450
|
:param pulumi.Input[int] group_used: (Available since v1.214.1) The number of used groups.
|
|
@@ -514,6 +463,16 @@ class _InstanceState:
|
|
|
514
463
|
:param pulumi.Input[str] sasl_domain_endpoint: (Available since v1.234.0) The Simple Authentication and Security Layer (SASL) endpoint of the instance in domain name mode.
|
|
515
464
|
:param pulumi.Input[str] security_group: The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
516
465
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] selected_zones: The zones among which you want to deploy the instance.
|
|
466
|
+
|
|
467
|
+
> **NOTE:** Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.
|
|
468
|
+
|
|
469
|
+
| io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) |
|
|
470
|
+
|------|-------------|:----:|:-----:|
|
|
471
|
+
|20 | 500-6100:100 | 50-450:1 | 1-160:1 |
|
|
472
|
+
|30 | 800-6100:100 | 50-450:1 | 1-240:1 |
|
|
473
|
+
|60 | 1400-6100:100 | 80-450:1 | 1-500:1 |
|
|
474
|
+
|90 | 2100-6100:100 | 100-450:1 | 1-500:1 |
|
|
475
|
+
|120 | 2700-6100:100 | 150-450:1 | 1-500:1 |
|
|
517
476
|
:param pulumi.Input[str] service_version: The version of the ApsaraMQ for Kafka instance. Default value: `2.2.0`. Valid values: `2.2.0`, `2.6.2`.
|
|
518
477
|
:param pulumi.Input[str] spec_type: The spec type of the instance. Support two type, "normal": normal version instance, "professional": professional version instance. Default is normal. When modify this value, it only support adjust from normal to professional. Note only pre paid type instance support professional specific type.
|
|
519
478
|
:param pulumi.Input[str] ssl_domain_endpoint: (Available since v1.234.0) The SSL endpoint of the instance in domain name mode.
|
|
@@ -529,13 +488,10 @@ class _InstanceState:
|
|
|
529
488
|
:param pulumi.Input[int] topic_used: (Available since v1.214.1) The number of used topics.
|
|
530
489
|
:param pulumi.Input[str] vpc_id: The VPC ID of the instance.
|
|
531
490
|
:param pulumi.Input[str] vswitch_id: The ID of attaching vswitch to instance.
|
|
532
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The IDs of the vSwitches with which the instance is associated.
|
|
533
491
|
:param pulumi.Input[str] zone_id: The zone ID of the instance. The value can be in zone x or region id-x format. **NOTE**: When the available zone is insufficient, another availability zone may be deployed.
|
|
534
492
|
"""
|
|
535
493
|
if config is not None:
|
|
536
494
|
pulumi.set(__self__, "config", config)
|
|
537
|
-
if default_topic_partition_num is not None:
|
|
538
|
-
pulumi.set(__self__, "default_topic_partition_num", default_topic_partition_num)
|
|
539
495
|
if deploy_type is not None:
|
|
540
496
|
pulumi.set(__self__, "deploy_type", deploy_type)
|
|
541
497
|
if disk_size is not None:
|
|
@@ -546,10 +502,6 @@ class _InstanceState:
|
|
|
546
502
|
pulumi.set(__self__, "domain_endpoint", domain_endpoint)
|
|
547
503
|
if eip_max is not None:
|
|
548
504
|
pulumi.set(__self__, "eip_max", eip_max)
|
|
549
|
-
if enable_auto_group is not None:
|
|
550
|
-
pulumi.set(__self__, "enable_auto_group", enable_auto_group)
|
|
551
|
-
if enable_auto_topic is not None:
|
|
552
|
-
pulumi.set(__self__, "enable_auto_topic", enable_auto_topic)
|
|
553
505
|
if end_point is not None:
|
|
554
506
|
pulumi.set(__self__, "end_point", end_point)
|
|
555
507
|
if group_left is not None:
|
|
@@ -609,8 +561,6 @@ class _InstanceState:
|
|
|
609
561
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
610
562
|
if vswitch_id is not None:
|
|
611
563
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
612
|
-
if vswitch_ids is not None:
|
|
613
|
-
pulumi.set(__self__, "vswitch_ids", vswitch_ids)
|
|
614
564
|
if zone_id is not None:
|
|
615
565
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
616
566
|
|
|
@@ -627,18 +577,6 @@ class _InstanceState:
|
|
|
627
577
|
def config(self, value: Optional[pulumi.Input[str]]):
|
|
628
578
|
pulumi.set(self, "config", value)
|
|
629
579
|
|
|
630
|
-
@property
|
|
631
|
-
@pulumi.getter(name="defaultTopicPartitionNum")
|
|
632
|
-
def default_topic_partition_num(self) -> Optional[pulumi.Input[int]]:
|
|
633
|
-
"""
|
|
634
|
-
The number of partitions in a topic that is automatically created.
|
|
635
|
-
"""
|
|
636
|
-
return pulumi.get(self, "default_topic_partition_num")
|
|
637
|
-
|
|
638
|
-
@default_topic_partition_num.setter
|
|
639
|
-
def default_topic_partition_num(self, value: Optional[pulumi.Input[int]]):
|
|
640
|
-
pulumi.set(self, "default_topic_partition_num", value)
|
|
641
|
-
|
|
642
580
|
@property
|
|
643
581
|
@pulumi.getter(name="deployType")
|
|
644
582
|
def deploy_type(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -701,30 +639,6 @@ class _InstanceState:
|
|
|
701
639
|
def eip_max(self, value: Optional[pulumi.Input[int]]):
|
|
702
640
|
pulumi.set(self, "eip_max", value)
|
|
703
641
|
|
|
704
|
-
@property
|
|
705
|
-
@pulumi.getter(name="enableAutoGroup")
|
|
706
|
-
def enable_auto_group(self) -> Optional[pulumi.Input[bool]]:
|
|
707
|
-
"""
|
|
708
|
-
Specify whether to enable the flexible group creation feature. Default value: `false`. Valid values:
|
|
709
|
-
"""
|
|
710
|
-
return pulumi.get(self, "enable_auto_group")
|
|
711
|
-
|
|
712
|
-
@enable_auto_group.setter
|
|
713
|
-
def enable_auto_group(self, value: Optional[pulumi.Input[bool]]):
|
|
714
|
-
pulumi.set(self, "enable_auto_group", value)
|
|
715
|
-
|
|
716
|
-
@property
|
|
717
|
-
@pulumi.getter(name="enableAutoTopic")
|
|
718
|
-
def enable_auto_topic(self) -> Optional[pulumi.Input[str]]:
|
|
719
|
-
"""
|
|
720
|
-
Specify whether to enable the automatic topic creation feature. Default value: `disable`. Valid values:
|
|
721
|
-
"""
|
|
722
|
-
return pulumi.get(self, "enable_auto_topic")
|
|
723
|
-
|
|
724
|
-
@enable_auto_topic.setter
|
|
725
|
-
def enable_auto_topic(self, value: Optional[pulumi.Input[str]]):
|
|
726
|
-
pulumi.set(self, "enable_auto_topic", value)
|
|
727
|
-
|
|
728
642
|
@property
|
|
729
643
|
@pulumi.getter(name="endPoint")
|
|
730
644
|
def end_point(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -912,6 +826,16 @@ class _InstanceState:
|
|
|
912
826
|
def selected_zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
913
827
|
"""
|
|
914
828
|
The zones among which you want to deploy the instance.
|
|
829
|
+
|
|
830
|
+
> **NOTE:** Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.
|
|
831
|
+
|
|
832
|
+
| io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) |
|
|
833
|
+
|------|-------------|:----:|:-----:|
|
|
834
|
+
|20 | 500-6100:100 | 50-450:1 | 1-160:1 |
|
|
835
|
+
|30 | 800-6100:100 | 50-450:1 | 1-240:1 |
|
|
836
|
+
|60 | 1400-6100:100 | 80-450:1 | 1-500:1 |
|
|
837
|
+
|90 | 2100-6100:100 | 100-450:1 | 1-500:1 |
|
|
838
|
+
|120 | 2700-6100:100 | 150-450:1 | 1-500:1 |
|
|
915
839
|
"""
|
|
916
840
|
return pulumi.get(self, "selected_zones")
|
|
917
841
|
|
|
@@ -1067,18 +991,6 @@ class _InstanceState:
|
|
|
1067
991
|
def vswitch_id(self, value: Optional[pulumi.Input[str]]):
|
|
1068
992
|
pulumi.set(self, "vswitch_id", value)
|
|
1069
993
|
|
|
1070
|
-
@property
|
|
1071
|
-
@pulumi.getter(name="vswitchIds")
|
|
1072
|
-
def vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1073
|
-
"""
|
|
1074
|
-
The IDs of the vSwitches with which the instance is associated.
|
|
1075
|
-
"""
|
|
1076
|
-
return pulumi.get(self, "vswitch_ids")
|
|
1077
|
-
|
|
1078
|
-
@vswitch_ids.setter
|
|
1079
|
-
def vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1080
|
-
pulumi.set(self, "vswitch_ids", value)
|
|
1081
|
-
|
|
1082
994
|
@property
|
|
1083
995
|
@pulumi.getter(name="zoneId")
|
|
1084
996
|
def zone_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1098,13 +1010,10 @@ class Instance(pulumi.CustomResource):
|
|
|
1098
1010
|
resource_name: str,
|
|
1099
1011
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1100
1012
|
config: Optional[pulumi.Input[str]] = None,
|
|
1101
|
-
default_topic_partition_num: Optional[pulumi.Input[int]] = None,
|
|
1102
1013
|
deploy_type: Optional[pulumi.Input[int]] = None,
|
|
1103
1014
|
disk_size: Optional[pulumi.Input[int]] = None,
|
|
1104
1015
|
disk_type: Optional[pulumi.Input[int]] = None,
|
|
1105
1016
|
eip_max: Optional[pulumi.Input[int]] = None,
|
|
1106
|
-
enable_auto_group: Optional[pulumi.Input[bool]] = None,
|
|
1107
|
-
enable_auto_topic: Optional[pulumi.Input[str]] = None,
|
|
1108
1017
|
io_max: Optional[pulumi.Input[int]] = None,
|
|
1109
1018
|
io_max_spec: Optional[pulumi.Input[str]] = None,
|
|
1110
1019
|
kms_key_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1120,7 +1029,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1120
1029
|
topic_quota: Optional[pulumi.Input[int]] = None,
|
|
1121
1030
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1122
1031
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1123
|
-
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1124
1032
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
1125
1033
|
__props__=None):
|
|
1126
1034
|
"""
|
|
@@ -1136,15 +1044,12 @@ class Instance(pulumi.CustomResource):
|
|
|
1136
1044
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1137
1045
|
:param pulumi.Input[str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings. The `config` supports the following parameters:
|
|
1138
1046
|
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
1139
|
-
:param pulumi.Input[int] default_topic_partition_num: The number of partitions in a topic that is automatically created.
|
|
1140
1047
|
:param pulumi.Input[int] deploy_type: The deployment type of the instance. **NOTE:** From version 1.161.0, this attribute supports to be updated. Valid values:
|
|
1141
1048
|
- 4: eip/vpc instance
|
|
1142
1049
|
- 5: vpc instance.
|
|
1143
1050
|
:param pulumi.Input[int] disk_size: The disk size of the instance. When modify this value, it only supports adjust to a greater value.
|
|
1144
1051
|
:param pulumi.Input[int] disk_type: The disk type of the instance. 0: efficient cloud disk , 1: SSD.
|
|
1145
1052
|
:param pulumi.Input[int] eip_max: The max bandwidth of the instance. It will be ignored when `deploy_type = 5`. When modify this value, it only supports adjust to a greater value.
|
|
1146
|
-
:param pulumi.Input[bool] enable_auto_group: Specify whether to enable the flexible group creation feature. Default value: `false`. Valid values:
|
|
1147
|
-
:param pulumi.Input[str] enable_auto_topic: Specify whether to enable the automatic topic creation feature. Default value: `disable`. Valid values:
|
|
1148
1053
|
:param pulumi.Input[int] io_max: The max value of io of the instance. When modify this value, it only support adjust to a greater value.
|
|
1149
1054
|
:param pulumi.Input[str] io_max_spec: The traffic specification of the instance. We recommend that you configure this parameter.
|
|
1150
1055
|
- You should specify one of the `io_max` and `io_max_spec` parameters, and `io_max_spec` is recommended.
|
|
@@ -1156,6 +1061,16 @@ class Instance(pulumi.CustomResource):
|
|
|
1156
1061
|
:param pulumi.Input[str] resource_group_id: The ID of the resource group. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
|
|
1157
1062
|
:param pulumi.Input[str] security_group: The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
1158
1063
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] selected_zones: The zones among which you want to deploy the instance.
|
|
1064
|
+
|
|
1065
|
+
> **NOTE:** Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.
|
|
1066
|
+
|
|
1067
|
+
| io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) |
|
|
1068
|
+
|------|-------------|:----:|:-----:|
|
|
1069
|
+
|20 | 500-6100:100 | 50-450:1 | 1-160:1 |
|
|
1070
|
+
|30 | 800-6100:100 | 50-450:1 | 1-240:1 |
|
|
1071
|
+
|60 | 1400-6100:100 | 80-450:1 | 1-500:1 |
|
|
1072
|
+
|90 | 2100-6100:100 | 100-450:1 | 1-500:1 |
|
|
1073
|
+
|120 | 2700-6100:100 | 150-450:1 | 1-500:1 |
|
|
1159
1074
|
:param pulumi.Input[str] service_version: The version of the ApsaraMQ for Kafka instance. Default value: `2.2.0`. Valid values: `2.2.0`, `2.6.2`.
|
|
1160
1075
|
:param pulumi.Input[str] spec_type: The spec type of the instance. Support two type, "normal": normal version instance, "professional": professional version instance. Default is normal. When modify this value, it only support adjust from normal to professional. Note only pre paid type instance support professional specific type.
|
|
1161
1076
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
@@ -1165,7 +1080,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1165
1080
|
Therefore, you can update it by updating the `partition_num`, and it is the only updating path.
|
|
1166
1081
|
:param pulumi.Input[str] vpc_id: The VPC ID of the instance.
|
|
1167
1082
|
:param pulumi.Input[str] vswitch_id: The ID of attaching vswitch to instance.
|
|
1168
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The IDs of the vSwitches with which the instance is associated.
|
|
1169
1083
|
:param pulumi.Input[str] zone_id: The zone ID of the instance. The value can be in zone x or region id-x format. **NOTE**: When the available zone is insufficient, another availability zone may be deployed.
|
|
1170
1084
|
"""
|
|
1171
1085
|
...
|
|
@@ -1199,13 +1113,10 @@ class Instance(pulumi.CustomResource):
|
|
|
1199
1113
|
resource_name: str,
|
|
1200
1114
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1201
1115
|
config: Optional[pulumi.Input[str]] = None,
|
|
1202
|
-
default_topic_partition_num: Optional[pulumi.Input[int]] = None,
|
|
1203
1116
|
deploy_type: Optional[pulumi.Input[int]] = None,
|
|
1204
1117
|
disk_size: Optional[pulumi.Input[int]] = None,
|
|
1205
1118
|
disk_type: Optional[pulumi.Input[int]] = None,
|
|
1206
1119
|
eip_max: Optional[pulumi.Input[int]] = None,
|
|
1207
|
-
enable_auto_group: Optional[pulumi.Input[bool]] = None,
|
|
1208
|
-
enable_auto_topic: Optional[pulumi.Input[str]] = None,
|
|
1209
1120
|
io_max: Optional[pulumi.Input[int]] = None,
|
|
1210
1121
|
io_max_spec: Optional[pulumi.Input[str]] = None,
|
|
1211
1122
|
kms_key_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1221,7 +1132,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1221
1132
|
topic_quota: Optional[pulumi.Input[int]] = None,
|
|
1222
1133
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1223
1134
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1224
|
-
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1225
1135
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
1226
1136
|
__props__=None):
|
|
1227
1137
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -1233,7 +1143,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1233
1143
|
__props__ = InstanceArgs.__new__(InstanceArgs)
|
|
1234
1144
|
|
|
1235
1145
|
__props__.__dict__["config"] = config
|
|
1236
|
-
__props__.__dict__["default_topic_partition_num"] = default_topic_partition_num
|
|
1237
1146
|
if deploy_type is None and not opts.urn:
|
|
1238
1147
|
raise TypeError("Missing required property 'deploy_type'")
|
|
1239
1148
|
__props__.__dict__["deploy_type"] = deploy_type
|
|
@@ -1244,8 +1153,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1244
1153
|
raise TypeError("Missing required property 'disk_type'")
|
|
1245
1154
|
__props__.__dict__["disk_type"] = disk_type
|
|
1246
1155
|
__props__.__dict__["eip_max"] = eip_max
|
|
1247
|
-
__props__.__dict__["enable_auto_group"] = enable_auto_group
|
|
1248
|
-
__props__.__dict__["enable_auto_topic"] = enable_auto_topic
|
|
1249
1156
|
__props__.__dict__["io_max"] = io_max
|
|
1250
1157
|
__props__.__dict__["io_max_spec"] = io_max_spec
|
|
1251
1158
|
__props__.__dict__["kms_key_id"] = kms_key_id
|
|
@@ -1263,7 +1170,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1263
1170
|
if vswitch_id is None and not opts.urn:
|
|
1264
1171
|
raise TypeError("Missing required property 'vswitch_id'")
|
|
1265
1172
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
1266
|
-
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
1267
1173
|
__props__.__dict__["zone_id"] = zone_id
|
|
1268
1174
|
__props__.__dict__["domain_endpoint"] = None
|
|
1269
1175
|
__props__.__dict__["end_point"] = None
|
|
@@ -1290,14 +1196,11 @@ class Instance(pulumi.CustomResource):
|
|
|
1290
1196
|
id: pulumi.Input[str],
|
|
1291
1197
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1292
1198
|
config: Optional[pulumi.Input[str]] = None,
|
|
1293
|
-
default_topic_partition_num: Optional[pulumi.Input[int]] = None,
|
|
1294
1199
|
deploy_type: Optional[pulumi.Input[int]] = None,
|
|
1295
1200
|
disk_size: Optional[pulumi.Input[int]] = None,
|
|
1296
1201
|
disk_type: Optional[pulumi.Input[int]] = None,
|
|
1297
1202
|
domain_endpoint: Optional[pulumi.Input[str]] = None,
|
|
1298
1203
|
eip_max: Optional[pulumi.Input[int]] = None,
|
|
1299
|
-
enable_auto_group: Optional[pulumi.Input[bool]] = None,
|
|
1300
|
-
enable_auto_topic: Optional[pulumi.Input[str]] = None,
|
|
1301
1204
|
end_point: Optional[pulumi.Input[str]] = None,
|
|
1302
1205
|
group_left: Optional[pulumi.Input[int]] = None,
|
|
1303
1206
|
group_used: Optional[pulumi.Input[int]] = None,
|
|
@@ -1326,7 +1229,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1326
1229
|
topic_used: Optional[pulumi.Input[int]] = None,
|
|
1327
1230
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1328
1231
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1329
|
-
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1330
1232
|
zone_id: Optional[pulumi.Input[str]] = None) -> 'Instance':
|
|
1331
1233
|
"""
|
|
1332
1234
|
Get an existing Instance resource's state with the given name, id, and optional extra
|
|
@@ -1337,7 +1239,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1337
1239
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1338
1240
|
:param pulumi.Input[str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings. The `config` supports the following parameters:
|
|
1339
1241
|
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
1340
|
-
:param pulumi.Input[int] default_topic_partition_num: The number of partitions in a topic that is automatically created.
|
|
1341
1242
|
:param pulumi.Input[int] deploy_type: The deployment type of the instance. **NOTE:** From version 1.161.0, this attribute supports to be updated. Valid values:
|
|
1342
1243
|
- 4: eip/vpc instance
|
|
1343
1244
|
- 5: vpc instance.
|
|
@@ -1345,8 +1246,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1345
1246
|
:param pulumi.Input[int] disk_type: The disk type of the instance. 0: efficient cloud disk , 1: SSD.
|
|
1346
1247
|
:param pulumi.Input[str] domain_endpoint: (Available since v1.234.0) The default endpoint of the instance in domain name mode.
|
|
1347
1248
|
:param pulumi.Input[int] eip_max: The max bandwidth of the instance. It will be ignored when `deploy_type = 5`. When modify this value, it only supports adjust to a greater value.
|
|
1348
|
-
:param pulumi.Input[bool] enable_auto_group: Specify whether to enable the flexible group creation feature. Default value: `false`. Valid values:
|
|
1349
|
-
:param pulumi.Input[str] enable_auto_topic: Specify whether to enable the automatic topic creation feature. Default value: `disable`. Valid values:
|
|
1350
1249
|
:param pulumi.Input[str] end_point: The EndPoint to access the kafka instance.
|
|
1351
1250
|
:param pulumi.Input[int] group_left: (Available since v1.214.1) The number of available groups.
|
|
1352
1251
|
:param pulumi.Input[int] group_used: (Available since v1.214.1) The number of used groups.
|
|
@@ -1365,6 +1264,16 @@ class Instance(pulumi.CustomResource):
|
|
|
1365
1264
|
:param pulumi.Input[str] sasl_domain_endpoint: (Available since v1.234.0) The Simple Authentication and Security Layer (SASL) endpoint of the instance in domain name mode.
|
|
1366
1265
|
:param pulumi.Input[str] security_group: The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
1367
1266
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] selected_zones: The zones among which you want to deploy the instance.
|
|
1267
|
+
|
|
1268
|
+
> **NOTE:** Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.
|
|
1269
|
+
|
|
1270
|
+
| io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) |
|
|
1271
|
+
|------|-------------|:----:|:-----:|
|
|
1272
|
+
|20 | 500-6100:100 | 50-450:1 | 1-160:1 |
|
|
1273
|
+
|30 | 800-6100:100 | 50-450:1 | 1-240:1 |
|
|
1274
|
+
|60 | 1400-6100:100 | 80-450:1 | 1-500:1 |
|
|
1275
|
+
|90 | 2100-6100:100 | 100-450:1 | 1-500:1 |
|
|
1276
|
+
|120 | 2700-6100:100 | 150-450:1 | 1-500:1 |
|
|
1368
1277
|
:param pulumi.Input[str] service_version: The version of the ApsaraMQ for Kafka instance. Default value: `2.2.0`. Valid values: `2.2.0`, `2.6.2`.
|
|
1369
1278
|
:param pulumi.Input[str] spec_type: The spec type of the instance. Support two type, "normal": normal version instance, "professional": professional version instance. Default is normal. When modify this value, it only support adjust from normal to professional. Note only pre paid type instance support professional specific type.
|
|
1370
1279
|
:param pulumi.Input[str] ssl_domain_endpoint: (Available since v1.234.0) The SSL endpoint of the instance in domain name mode.
|
|
@@ -1380,7 +1289,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1380
1289
|
:param pulumi.Input[int] topic_used: (Available since v1.214.1) The number of used topics.
|
|
1381
1290
|
:param pulumi.Input[str] vpc_id: The VPC ID of the instance.
|
|
1382
1291
|
:param pulumi.Input[str] vswitch_id: The ID of attaching vswitch to instance.
|
|
1383
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: The IDs of the vSwitches with which the instance is associated.
|
|
1384
1292
|
:param pulumi.Input[str] zone_id: The zone ID of the instance. The value can be in zone x or region id-x format. **NOTE**: When the available zone is insufficient, another availability zone may be deployed.
|
|
1385
1293
|
"""
|
|
1386
1294
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1388,14 +1296,11 @@ class Instance(pulumi.CustomResource):
|
|
|
1388
1296
|
__props__ = _InstanceState.__new__(_InstanceState)
|
|
1389
1297
|
|
|
1390
1298
|
__props__.__dict__["config"] = config
|
|
1391
|
-
__props__.__dict__["default_topic_partition_num"] = default_topic_partition_num
|
|
1392
1299
|
__props__.__dict__["deploy_type"] = deploy_type
|
|
1393
1300
|
__props__.__dict__["disk_size"] = disk_size
|
|
1394
1301
|
__props__.__dict__["disk_type"] = disk_type
|
|
1395
1302
|
__props__.__dict__["domain_endpoint"] = domain_endpoint
|
|
1396
1303
|
__props__.__dict__["eip_max"] = eip_max
|
|
1397
|
-
__props__.__dict__["enable_auto_group"] = enable_auto_group
|
|
1398
|
-
__props__.__dict__["enable_auto_topic"] = enable_auto_topic
|
|
1399
1304
|
__props__.__dict__["end_point"] = end_point
|
|
1400
1305
|
__props__.__dict__["group_left"] = group_left
|
|
1401
1306
|
__props__.__dict__["group_used"] = group_used
|
|
@@ -1424,7 +1329,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1424
1329
|
__props__.__dict__["topic_used"] = topic_used
|
|
1425
1330
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
1426
1331
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
1427
|
-
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
1428
1332
|
__props__.__dict__["zone_id"] = zone_id
|
|
1429
1333
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
|
1430
1334
|
|
|
@@ -1437,14 +1341,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1437
1341
|
"""
|
|
1438
1342
|
return pulumi.get(self, "config")
|
|
1439
1343
|
|
|
1440
|
-
@property
|
|
1441
|
-
@pulumi.getter(name="defaultTopicPartitionNum")
|
|
1442
|
-
def default_topic_partition_num(self) -> pulumi.Output[int]:
|
|
1443
|
-
"""
|
|
1444
|
-
The number of partitions in a topic that is automatically created.
|
|
1445
|
-
"""
|
|
1446
|
-
return pulumi.get(self, "default_topic_partition_num")
|
|
1447
|
-
|
|
1448
1344
|
@property
|
|
1449
1345
|
@pulumi.getter(name="deployType")
|
|
1450
1346
|
def deploy_type(self) -> pulumi.Output[int]:
|
|
@@ -1487,22 +1383,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1487
1383
|
"""
|
|
1488
1384
|
return pulumi.get(self, "eip_max")
|
|
1489
1385
|
|
|
1490
|
-
@property
|
|
1491
|
-
@pulumi.getter(name="enableAutoGroup")
|
|
1492
|
-
def enable_auto_group(self) -> pulumi.Output[Optional[bool]]:
|
|
1493
|
-
"""
|
|
1494
|
-
Specify whether to enable the flexible group creation feature. Default value: `false`. Valid values:
|
|
1495
|
-
"""
|
|
1496
|
-
return pulumi.get(self, "enable_auto_group")
|
|
1497
|
-
|
|
1498
|
-
@property
|
|
1499
|
-
@pulumi.getter(name="enableAutoTopic")
|
|
1500
|
-
def enable_auto_topic(self) -> pulumi.Output[str]:
|
|
1501
|
-
"""
|
|
1502
|
-
Specify whether to enable the automatic topic creation feature. Default value: `disable`. Valid values:
|
|
1503
|
-
"""
|
|
1504
|
-
return pulumi.get(self, "enable_auto_topic")
|
|
1505
|
-
|
|
1506
1386
|
@property
|
|
1507
1387
|
@pulumi.getter(name="endPoint")
|
|
1508
1388
|
def end_point(self) -> pulumi.Output[str]:
|
|
@@ -1630,6 +1510,16 @@ class Instance(pulumi.CustomResource):
|
|
|
1630
1510
|
def selected_zones(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1631
1511
|
"""
|
|
1632
1512
|
The zones among which you want to deploy the instance.
|
|
1513
|
+
|
|
1514
|
+
> **NOTE:** Arguments io_max, disk_size, topic_quota, eip_max should follow the following constraints.
|
|
1515
|
+
|
|
1516
|
+
| io_max | disk_size(min-max:lag) | topic_quota(min-max:lag) | eip_max(min-max:lag) |
|
|
1517
|
+
|------|-------------|:----:|:-----:|
|
|
1518
|
+
|20 | 500-6100:100 | 50-450:1 | 1-160:1 |
|
|
1519
|
+
|30 | 800-6100:100 | 50-450:1 | 1-240:1 |
|
|
1520
|
+
|60 | 1400-6100:100 | 80-450:1 | 1-500:1 |
|
|
1521
|
+
|90 | 2100-6100:100 | 100-450:1 | 1-500:1 |
|
|
1522
|
+
|120 | 2700-6100:100 | 150-450:1 | 1-500:1 |
|
|
1633
1523
|
"""
|
|
1634
1524
|
return pulumi.get(self, "selected_zones")
|
|
1635
1525
|
|
|
@@ -1733,14 +1623,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1733
1623
|
"""
|
|
1734
1624
|
return pulumi.get(self, "vswitch_id")
|
|
1735
1625
|
|
|
1736
|
-
@property
|
|
1737
|
-
@pulumi.getter(name="vswitchIds")
|
|
1738
|
-
def vswitch_ids(self) -> pulumi.Output[Sequence[str]]:
|
|
1739
|
-
"""
|
|
1740
|
-
The IDs of the vSwitches with which the instance is associated.
|
|
1741
|
-
"""
|
|
1742
|
-
return pulumi.get(self, "vswitch_ids")
|
|
1743
|
-
|
|
1744
1626
|
@property
|
|
1745
1627
|
@pulumi.getter(name="zoneId")
|
|
1746
1628
|
def zone_id(self) -> pulumi.Output[str]:
|