pulumi-alicloud 3.86.0a1758000634__py3-none-any.whl → 3.87.0a1758691004__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 +56 -0
- pulumi_alicloud/actiontrail/get_sasl_users.py +106 -21
- pulumi_alicloud/actiontrail/outputs.py +18 -0
- pulumi_alicloud/alikafka/instance.py +28 -28
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +61 -29
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/threat_intelligence_switch.py +257 -0
- pulumi_alicloud/cloudsso/__init__.py +1 -0
- pulumi_alicloud/cloudsso/_inputs.py +54 -0
- pulumi_alicloud/cloudsso/outputs.py +51 -0
- pulumi_alicloud/cloudsso/user_provisioning.py +723 -0
- pulumi_alicloud/dms/__init__.py +1 -0
- pulumi_alicloud/dms/airflow.py +990 -0
- pulumi_alicloud/ecs/ecs_launch_template.py +21 -7
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/_inputs.py +189 -0
- pulumi_alicloud/esa/outputs.py +137 -0
- pulumi_alicloud/esa/transport_layer_application.py +459 -0
- pulumi_alicloud/esa/waf_ruleset.py +437 -0
- pulumi_alicloud/fc/_inputs.py +13 -0
- pulumi_alicloud/fc/function.py +0 -156
- pulumi_alicloud/fc/outputs.py +8 -0
- pulumi_alicloud/fc/v3_function.py +54 -7
- pulumi_alicloud/lindorm/__init__.py +2 -0
- pulumi_alicloud/lindorm/_inputs.py +459 -0
- pulumi_alicloud/lindorm/instance_v2.py +1119 -0
- pulumi_alicloud/lindorm/outputs.py +319 -0
- pulumi_alicloud/log/etl.py +6 -0
- pulumi_alicloud/mongodb/sharding_instance.py +235 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +39 -7
- pulumi_alicloud/resourcemanager/handshake.py +118 -56
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +111 -0
- pulumi_alicloud/sls/index.py +646 -0
- pulumi_alicloud/sls/outputs.py +86 -0
- {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.87.0a1758691004.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.87.0a1758691004.dist-info}/RECORD +40 -32
- {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.87.0a1758691004.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.87.0a1758691004.dist-info}/top_level.txt +0 -0
pulumi_alicloud/__init__.py
CHANGED
|
@@ -1933,6 +1933,14 @@ _utilities.register(
|
|
|
1933
1933
|
"alicloud:cloudfirewall/policyAdvancedConfig:PolicyAdvancedConfig": "PolicyAdvancedConfig"
|
|
1934
1934
|
}
|
|
1935
1935
|
},
|
|
1936
|
+
{
|
|
1937
|
+
"pkg": "alicloud",
|
|
1938
|
+
"mod": "cloudfirewall/threatIntelligenceSwitch",
|
|
1939
|
+
"fqn": "pulumi_alicloud.cloudfirewall",
|
|
1940
|
+
"classes": {
|
|
1941
|
+
"alicloud:cloudfirewall/threatIntelligenceSwitch:ThreatIntelligenceSwitch": "ThreatIntelligenceSwitch"
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1936
1944
|
{
|
|
1937
1945
|
"pkg": "alicloud",
|
|
1938
1946
|
"mod": "cloudfirewall/vpcCenTrFirewall",
|
|
@@ -2093,6 +2101,14 @@ _utilities.register(
|
|
|
2093
2101
|
"alicloud:cloudsso/userAttachment:UserAttachment": "UserAttachment"
|
|
2094
2102
|
}
|
|
2095
2103
|
},
|
|
2104
|
+
{
|
|
2105
|
+
"pkg": "alicloud",
|
|
2106
|
+
"mod": "cloudsso/userProvisioning",
|
|
2107
|
+
"fqn": "pulumi_alicloud.cloudsso",
|
|
2108
|
+
"classes": {
|
|
2109
|
+
"alicloud:cloudsso/userProvisioning:UserProvisioning": "UserProvisioning"
|
|
2110
|
+
}
|
|
2111
|
+
},
|
|
2096
2112
|
{
|
|
2097
2113
|
"pkg": "alicloud",
|
|
2098
2114
|
"mod": "cloudstoragegateway/expressSync",
|
|
@@ -2861,6 +2877,14 @@ _utilities.register(
|
|
|
2861
2877
|
"alicloud:directmail/tag:Tag": "Tag"
|
|
2862
2878
|
}
|
|
2863
2879
|
},
|
|
2880
|
+
{
|
|
2881
|
+
"pkg": "alicloud",
|
|
2882
|
+
"mod": "dms/airflow",
|
|
2883
|
+
"fqn": "pulumi_alicloud.dms",
|
|
2884
|
+
"classes": {
|
|
2885
|
+
"alicloud:dms/airflow:Airflow": "Airflow"
|
|
2886
|
+
}
|
|
2887
|
+
},
|
|
2864
2888
|
{
|
|
2865
2889
|
"pkg": "alicloud",
|
|
2866
2890
|
"mod": "dms/enterpriseAuthorityTemplate",
|
|
@@ -4437,6 +4461,14 @@ _utilities.register(
|
|
|
4437
4461
|
"alicloud:esa/siteOriginClientCertificate:SiteOriginClientCertificate": "SiteOriginClientCertificate"
|
|
4438
4462
|
}
|
|
4439
4463
|
},
|
|
4464
|
+
{
|
|
4465
|
+
"pkg": "alicloud",
|
|
4466
|
+
"mod": "esa/transportLayerApplication",
|
|
4467
|
+
"fqn": "pulumi_alicloud.esa",
|
|
4468
|
+
"classes": {
|
|
4469
|
+
"alicloud:esa/transportLayerApplication:TransportLayerApplication": "TransportLayerApplication"
|
|
4470
|
+
}
|
|
4471
|
+
},
|
|
4440
4472
|
{
|
|
4441
4473
|
"pkg": "alicloud",
|
|
4442
4474
|
"mod": "esa/urlObservation",
|
|
@@ -4461,6 +4493,14 @@ _utilities.register(
|
|
|
4461
4493
|
"alicloud:esa/videoProcessing:VideoProcessing": "VideoProcessing"
|
|
4462
4494
|
}
|
|
4463
4495
|
},
|
|
4496
|
+
{
|
|
4497
|
+
"pkg": "alicloud",
|
|
4498
|
+
"mod": "esa/wafRuleset",
|
|
4499
|
+
"fqn": "pulumi_alicloud.esa",
|
|
4500
|
+
"classes": {
|
|
4501
|
+
"alicloud:esa/wafRuleset:WafRuleset": "WafRuleset"
|
|
4502
|
+
}
|
|
4503
|
+
},
|
|
4464
4504
|
{
|
|
4465
4505
|
"pkg": "alicloud",
|
|
4466
4506
|
"mod": "esa/waitingRoom",
|
|
@@ -5645,6 +5685,14 @@ _utilities.register(
|
|
|
5645
5685
|
"alicloud:lindorm/instance:Instance": "Instance"
|
|
5646
5686
|
}
|
|
5647
5687
|
},
|
|
5688
|
+
{
|
|
5689
|
+
"pkg": "alicloud",
|
|
5690
|
+
"mod": "lindorm/instanceV2",
|
|
5691
|
+
"fqn": "pulumi_alicloud.lindorm",
|
|
5692
|
+
"classes": {
|
|
5693
|
+
"alicloud:lindorm/instanceV2:InstanceV2": "InstanceV2"
|
|
5694
|
+
}
|
|
5695
|
+
},
|
|
5648
5696
|
{
|
|
5649
5697
|
"pkg": "alicloud",
|
|
5650
5698
|
"mod": "lindorm/publicNetwork",
|
|
@@ -8101,6 +8149,14 @@ _utilities.register(
|
|
|
8101
8149
|
"alicloud:sls/etl:Etl": "Etl"
|
|
8102
8150
|
}
|
|
8103
8151
|
},
|
|
8152
|
+
{
|
|
8153
|
+
"pkg": "alicloud",
|
|
8154
|
+
"mod": "sls/index",
|
|
8155
|
+
"fqn": "pulumi_alicloud.sls",
|
|
8156
|
+
"classes": {
|
|
8157
|
+
"alicloud:sls/index:Index": "Index"
|
|
8158
|
+
}
|
|
8159
|
+
},
|
|
8104
8160
|
{
|
|
8105
8161
|
"pkg": "alicloud",
|
|
8106
8162
|
"mod": "sls/logtailConfig",
|
|
@@ -27,10 +27,13 @@ class GetSaslUsersResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getSaslUsers.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, id=None, instance_id=None, name_regex=None, names=None, output_file=None, users=None):
|
|
30
|
+
def __init__(__self__, id=None, ids=None, instance_id=None, name_regex=None, names=None, output_file=None, users=None):
|
|
31
31
|
if id and not isinstance(id, str):
|
|
32
32
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
33
|
pulumi.set(__self__, "id", id)
|
|
34
|
+
if ids and not isinstance(ids, list):
|
|
35
|
+
raise TypeError("Expected argument 'ids' to be a list")
|
|
36
|
+
pulumi.set(__self__, "ids", ids)
|
|
34
37
|
if instance_id and not isinstance(instance_id, str):
|
|
35
38
|
raise TypeError("Expected argument 'instance_id' to be a str")
|
|
36
39
|
pulumi.set(__self__, "instance_id", instance_id)
|
|
@@ -55,6 +58,11 @@ class GetSaslUsersResult:
|
|
|
55
58
|
"""
|
|
56
59
|
return pulumi.get(self, "id")
|
|
57
60
|
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def ids(self) -> Sequence[_builtins.str]:
|
|
64
|
+
return pulumi.get(self, "ids")
|
|
65
|
+
|
|
58
66
|
@_builtins.property
|
|
59
67
|
@pulumi.getter(name="instanceId")
|
|
60
68
|
def instance_id(self) -> _builtins.str:
|
|
@@ -69,7 +77,7 @@ class GetSaslUsersResult:
|
|
|
69
77
|
@pulumi.getter
|
|
70
78
|
def names(self) -> Sequence[_builtins.str]:
|
|
71
79
|
"""
|
|
72
|
-
A list of
|
|
80
|
+
A list of Sasl User names.
|
|
73
81
|
"""
|
|
74
82
|
return pulumi.get(self, "names")
|
|
75
83
|
|
|
@@ -82,7 +90,7 @@ class GetSaslUsersResult:
|
|
|
82
90
|
@pulumi.getter
|
|
83
91
|
def users(self) -> Sequence['outputs.GetSaslUsersUserResult']:
|
|
84
92
|
"""
|
|
85
|
-
A list of
|
|
93
|
+
A list of Sasl Users. Each element contains the following attributes:
|
|
86
94
|
"""
|
|
87
95
|
return pulumi.get(self, "users")
|
|
88
96
|
|
|
@@ -94,6 +102,7 @@ class AwaitableGetSaslUsersResult(GetSaslUsersResult):
|
|
|
94
102
|
yield self
|
|
95
103
|
return GetSaslUsersResult(
|
|
96
104
|
id=self.id,
|
|
105
|
+
ids=self.ids,
|
|
97
106
|
instance_id=self.instance_id,
|
|
98
107
|
name_regex=self.name_regex,
|
|
99
108
|
names=self.names,
|
|
@@ -101,33 +110,70 @@ class AwaitableGetSaslUsersResult(GetSaslUsersResult):
|
|
|
101
110
|
users=self.users)
|
|
102
111
|
|
|
103
112
|
|
|
104
|
-
def get_sasl_users(
|
|
113
|
+
def get_sasl_users(ids: Optional[Sequence[_builtins.str]] = None,
|
|
114
|
+
instance_id: Optional[_builtins.str] = None,
|
|
105
115
|
name_regex: Optional[_builtins.str] = None,
|
|
106
116
|
output_file: Optional[_builtins.str] = None,
|
|
107
117
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSaslUsersResult:
|
|
108
118
|
"""
|
|
109
|
-
This data source provides
|
|
119
|
+
This data source provides the Alikafka Sasl Users of the current Alibaba Cloud user.
|
|
110
120
|
|
|
111
|
-
> **NOTE:** Available
|
|
121
|
+
> **NOTE:** Available since v1.66.0.
|
|
112
122
|
|
|
113
123
|
## Example Usage
|
|
114
124
|
|
|
125
|
+
Basic Usage
|
|
126
|
+
|
|
115
127
|
```python
|
|
116
128
|
import pulumi
|
|
117
129
|
import pulumi_alicloud as alicloud
|
|
118
130
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
131
|
+
config = pulumi.Config()
|
|
132
|
+
name = config.get("name")
|
|
133
|
+
if name is None:
|
|
134
|
+
name = "terraform-example"
|
|
135
|
+
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
136
|
+
default_network = alicloud.vpc.Network("default",
|
|
137
|
+
vpc_name=name,
|
|
138
|
+
cidr_block="10.4.0.0/16")
|
|
139
|
+
default_switch = alicloud.vpc.Switch("default",
|
|
140
|
+
vswitch_name=name,
|
|
141
|
+
vpc_id=default_network.id,
|
|
142
|
+
cidr_block="10.4.0.0/24",
|
|
143
|
+
zone_id=default.zones[0].id)
|
|
144
|
+
default_security_group = alicloud.ecs.SecurityGroup("default", vpc_id=default_network.id)
|
|
145
|
+
default_instance = alicloud.alikafka.Instance("default",
|
|
146
|
+
name=name,
|
|
147
|
+
partition_num=50,
|
|
148
|
+
disk_type=1,
|
|
149
|
+
disk_size=500,
|
|
150
|
+
deploy_type=5,
|
|
151
|
+
io_max=20,
|
|
152
|
+
spec_type="professional",
|
|
153
|
+
service_version="2.2.0",
|
|
154
|
+
vswitch_id=default_switch.id,
|
|
155
|
+
security_group=default_security_group.id,
|
|
156
|
+
config=\"\"\" {
|
|
157
|
+
\\"enable.acl\\": \\"true\\"
|
|
158
|
+
}
|
|
159
|
+
\"\"\")
|
|
160
|
+
default_sasl_user = alicloud.alikafka.SaslUser("default",
|
|
161
|
+
instance_id=default_instance.id,
|
|
162
|
+
username=name,
|
|
163
|
+
password="YourPassword1234!")
|
|
164
|
+
ids = alicloud.actiontrail.get_sasl_users_output(ids=[default_sasl_user.id],
|
|
165
|
+
instance_id=default_sasl_user.instance_id)
|
|
166
|
+
pulumi.export("alikafkaSaslUsersId0", ids.users[0].id)
|
|
123
167
|
```
|
|
124
168
|
|
|
125
169
|
|
|
126
|
-
:param _builtins.str
|
|
127
|
-
:param _builtins.str
|
|
170
|
+
:param Sequence[_builtins.str] ids: A list of Sasl User IDs.
|
|
171
|
+
:param _builtins.str instance_id: The ID of the instance.
|
|
172
|
+
:param _builtins.str name_regex: A regex string to filter results by Sasl User name.
|
|
128
173
|
:param _builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
129
174
|
"""
|
|
130
175
|
__args__ = dict()
|
|
176
|
+
__args__['ids'] = ids
|
|
131
177
|
__args__['instanceId'] = instance_id
|
|
132
178
|
__args__['nameRegex'] = name_regex
|
|
133
179
|
__args__['outputFile'] = output_file
|
|
@@ -136,38 +182,76 @@ def get_sasl_users(instance_id: Optional[_builtins.str] = None,
|
|
|
136
182
|
|
|
137
183
|
return AwaitableGetSaslUsersResult(
|
|
138
184
|
id=pulumi.get(__ret__, 'id'),
|
|
185
|
+
ids=pulumi.get(__ret__, 'ids'),
|
|
139
186
|
instance_id=pulumi.get(__ret__, 'instance_id'),
|
|
140
187
|
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
141
188
|
names=pulumi.get(__ret__, 'names'),
|
|
142
189
|
output_file=pulumi.get(__ret__, 'output_file'),
|
|
143
190
|
users=pulumi.get(__ret__, 'users'))
|
|
144
|
-
def get_sasl_users_output(
|
|
191
|
+
def get_sasl_users_output(ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
192
|
+
instance_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
145
193
|
name_regex: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
146
194
|
output_file: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
147
195
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSaslUsersResult]:
|
|
148
196
|
"""
|
|
149
|
-
This data source provides
|
|
197
|
+
This data source provides the Alikafka Sasl Users of the current Alibaba Cloud user.
|
|
150
198
|
|
|
151
|
-
> **NOTE:** Available
|
|
199
|
+
> **NOTE:** Available since v1.66.0.
|
|
152
200
|
|
|
153
201
|
## Example Usage
|
|
154
202
|
|
|
203
|
+
Basic Usage
|
|
204
|
+
|
|
155
205
|
```python
|
|
156
206
|
import pulumi
|
|
157
207
|
import pulumi_alicloud as alicloud
|
|
158
208
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
209
|
+
config = pulumi.Config()
|
|
210
|
+
name = config.get("name")
|
|
211
|
+
if name is None:
|
|
212
|
+
name = "terraform-example"
|
|
213
|
+
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
214
|
+
default_network = alicloud.vpc.Network("default",
|
|
215
|
+
vpc_name=name,
|
|
216
|
+
cidr_block="10.4.0.0/16")
|
|
217
|
+
default_switch = alicloud.vpc.Switch("default",
|
|
218
|
+
vswitch_name=name,
|
|
219
|
+
vpc_id=default_network.id,
|
|
220
|
+
cidr_block="10.4.0.0/24",
|
|
221
|
+
zone_id=default.zones[0].id)
|
|
222
|
+
default_security_group = alicloud.ecs.SecurityGroup("default", vpc_id=default_network.id)
|
|
223
|
+
default_instance = alicloud.alikafka.Instance("default",
|
|
224
|
+
name=name,
|
|
225
|
+
partition_num=50,
|
|
226
|
+
disk_type=1,
|
|
227
|
+
disk_size=500,
|
|
228
|
+
deploy_type=5,
|
|
229
|
+
io_max=20,
|
|
230
|
+
spec_type="professional",
|
|
231
|
+
service_version="2.2.0",
|
|
232
|
+
vswitch_id=default_switch.id,
|
|
233
|
+
security_group=default_security_group.id,
|
|
234
|
+
config=\"\"\" {
|
|
235
|
+
\\"enable.acl\\": \\"true\\"
|
|
236
|
+
}
|
|
237
|
+
\"\"\")
|
|
238
|
+
default_sasl_user = alicloud.alikafka.SaslUser("default",
|
|
239
|
+
instance_id=default_instance.id,
|
|
240
|
+
username=name,
|
|
241
|
+
password="YourPassword1234!")
|
|
242
|
+
ids = alicloud.actiontrail.get_sasl_users_output(ids=[default_sasl_user.id],
|
|
243
|
+
instance_id=default_sasl_user.instance_id)
|
|
244
|
+
pulumi.export("alikafkaSaslUsersId0", ids.users[0].id)
|
|
163
245
|
```
|
|
164
246
|
|
|
165
247
|
|
|
166
|
-
:param _builtins.str
|
|
167
|
-
:param _builtins.str
|
|
248
|
+
:param Sequence[_builtins.str] ids: A list of Sasl User IDs.
|
|
249
|
+
:param _builtins.str instance_id: The ID of the instance.
|
|
250
|
+
:param _builtins.str name_regex: A regex string to filter results by Sasl User name.
|
|
168
251
|
:param _builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
169
252
|
"""
|
|
170
253
|
__args__ = dict()
|
|
254
|
+
__args__['ids'] = ids
|
|
171
255
|
__args__['instanceId'] = instance_id
|
|
172
256
|
__args__['nameRegex'] = name_regex
|
|
173
257
|
__args__['outputFile'] = output_file
|
|
@@ -175,6 +259,7 @@ def get_sasl_users_output(instance_id: Optional[pulumi.Input[_builtins.str]] = N
|
|
|
175
259
|
__ret__ = pulumi.runtime.invoke_output('alicloud:actiontrail/getSaslUsers:getSaslUsers', __args__, opts=opts, typ=GetSaslUsersResult)
|
|
176
260
|
return __ret__.apply(lambda __response__: GetSaslUsersResult(
|
|
177
261
|
id=pulumi.get(__response__, 'id'),
|
|
262
|
+
ids=pulumi.get(__response__, 'ids'),
|
|
178
263
|
instance_id=pulumi.get(__response__, 'instance_id'),
|
|
179
264
|
name_regex=pulumi.get(__response__, 'name_regex'),
|
|
180
265
|
names=pulumi.get(__response__, 'names'),
|
|
@@ -757,15 +757,25 @@ class GetSaslAclsAclResult(dict):
|
|
|
757
757
|
@pulumi.output_type
|
|
758
758
|
class GetSaslUsersUserResult(dict):
|
|
759
759
|
def __init__(__self__, *,
|
|
760
|
+
id: _builtins.str,
|
|
760
761
|
password: _builtins.str,
|
|
762
|
+
type: _builtins.str,
|
|
761
763
|
username: _builtins.str):
|
|
762
764
|
"""
|
|
763
765
|
:param _builtins.str password: The password of the user.
|
|
766
|
+
:param _builtins.str type: (Available since v1.260.0) The type of the user.
|
|
764
767
|
:param _builtins.str username: The username of the user.
|
|
765
768
|
"""
|
|
769
|
+
pulumi.set(__self__, "id", id)
|
|
766
770
|
pulumi.set(__self__, "password", password)
|
|
771
|
+
pulumi.set(__self__, "type", type)
|
|
767
772
|
pulumi.set(__self__, "username", username)
|
|
768
773
|
|
|
774
|
+
@_builtins.property
|
|
775
|
+
@pulumi.getter
|
|
776
|
+
def id(self) -> _builtins.str:
|
|
777
|
+
return pulumi.get(self, "id")
|
|
778
|
+
|
|
769
779
|
@_builtins.property
|
|
770
780
|
@pulumi.getter
|
|
771
781
|
def password(self) -> _builtins.str:
|
|
@@ -774,6 +784,14 @@ class GetSaslUsersUserResult(dict):
|
|
|
774
784
|
"""
|
|
775
785
|
return pulumi.get(self, "password")
|
|
776
786
|
|
|
787
|
+
@_builtins.property
|
|
788
|
+
@pulumi.getter
|
|
789
|
+
def type(self) -> _builtins.str:
|
|
790
|
+
"""
|
|
791
|
+
(Available since v1.260.0) The type of the user.
|
|
792
|
+
"""
|
|
793
|
+
return pulumi.get(self, "type")
|
|
794
|
+
|
|
777
795
|
@_builtins.property
|
|
778
796
|
@pulumi.getter
|
|
779
797
|
def username(self) -> _builtins.str:
|
|
@@ -53,8 +53,7 @@ class InstanceArgs:
|
|
|
53
53
|
"""
|
|
54
54
|
The set of arguments for constructing a Instance resource.
|
|
55
55
|
:param pulumi.Input[_builtins.int] deploy_type: The deployment type of the instance. **NOTE:** From version 1.161.0, this attribute supports to be updated. Valid values:
|
|
56
|
-
:param pulumi.Input[_builtins.str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
57
|
-
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
56
|
+
:param pulumi.Input[_builtins.str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
58
57
|
:param pulumi.Input['InstanceConfluentConfigArgs'] confluent_config: The configurations of Confluent. See `confluent_config` below.
|
|
59
58
|
> **NOTE:** If `instance_type` is set to `alikafka_confluent`, `confluent_config` is required.
|
|
60
59
|
:param pulumi.Input[_builtins.int] default_topic_partition_num: The number of partitions in a topic that is automatically created.
|
|
@@ -69,14 +68,14 @@ class InstanceArgs:
|
|
|
69
68
|
:param pulumi.Input[_builtins.str] io_max_spec: The traffic specification of the instance. We recommend that you configure this parameter.
|
|
70
69
|
- You should specify one of the `io_max` and `io_max_spec` parameters, and `io_max_spec` is recommended.
|
|
71
70
|
- For more information about the valid values, see [Billing](https://www.alibabacloud.com/help/en/message-queue-for-apache-kafka/latest/billing-overview).
|
|
72
|
-
:param pulumi.Input[_builtins.str] kms_key_id: The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
71
|
+
:param pulumi.Input[_builtins.str] kms_key_id: The ID of the key that is used to encrypt data on standard SSDs in the region of the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-updateinstanceconfig).
|
|
73
72
|
:param pulumi.Input[_builtins.str] name: Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
|
|
74
73
|
:param pulumi.Input[_builtins.str] paid_type: The billing method of the instance. Default value: `PostPaid`. Valid values: `PostPaid`, `PrePaid`. When modify this value, it only support adjust from `PostPaid` to `PrePaid`.
|
|
75
74
|
:param pulumi.Input[_builtins.int] partition_num: The number of partitions.
|
|
76
75
|
:param pulumi.Input[_builtins.str] password: The instance password. **NOTE:** If `instance_type` is set to `alikafka_confluent`, `password` is required.
|
|
77
76
|
:param pulumi.Input[_builtins.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.
|
|
78
77
|
:param pulumi.Input[_builtins.str] security_group: The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
79
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] selected_zones: The zones among which you want to deploy the instance.
|
|
78
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] selected_zones: The zones among which you want to deploy the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-startinstance).
|
|
80
79
|
:param pulumi.Input['InstanceServerlessConfigArgs'] serverless_config: The parameters configured for the serverless ApsaraMQ for Kafka instance. See `serverless_config` below.
|
|
81
80
|
> **NOTE:** If `instance_type` is set to `alikafka_serverless`, `serverless_config` is required.
|
|
82
81
|
:param pulumi.Input[_builtins.str] service_version: The version of the Instance. Valid values:
|
|
@@ -95,6 +94,7 @@ class InstanceArgs:
|
|
|
95
94
|
:param pulumi.Input[_builtins.str] vpc_id: The VPC ID of the instance.
|
|
96
95
|
:param pulumi.Input[_builtins.str] vswitch_id: The ID of attaching vswitch to instance.
|
|
97
96
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vswitch_ids: The IDs of the vSwitches with which the instance is associated.
|
|
97
|
+
> **NOTE:** If `instance_type` is set to `alikafka` or `alikafka_serverless`, `vswitch_ids` is required. When `instance_type` is set to `alikafka_confluent`, you must specify at least one of the `vswitch_id` and `vswitch_ids`, and if you specify both `vswitch_id` and `vswitch_ids`, only the `vswitch_ids` takes effect.
|
|
98
98
|
:param pulumi.Input[_builtins.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.
|
|
99
99
|
"""
|
|
100
100
|
pulumi.set(__self__, "deploy_type", deploy_type)
|
|
@@ -174,8 +174,7 @@ class InstanceArgs:
|
|
|
174
174
|
@pulumi.getter
|
|
175
175
|
def config(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
176
176
|
"""
|
|
177
|
-
The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
178
|
-
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
177
|
+
The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
179
178
|
"""
|
|
180
179
|
return pulumi.get(self, "config")
|
|
181
180
|
|
|
@@ -311,7 +310,7 @@ class InstanceArgs:
|
|
|
311
310
|
@pulumi.getter(name="kmsKeyId")
|
|
312
311
|
def kms_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
313
312
|
"""
|
|
314
|
-
The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
313
|
+
The ID of the key that is used to encrypt data on standard SSDs in the region of the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-updateinstanceconfig).
|
|
315
314
|
"""
|
|
316
315
|
return pulumi.get(self, "kms_key_id")
|
|
317
316
|
|
|
@@ -395,7 +394,7 @@ class InstanceArgs:
|
|
|
395
394
|
@pulumi.getter(name="selectedZones")
|
|
396
395
|
def selected_zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
397
396
|
"""
|
|
398
|
-
The zones among which you want to deploy the instance.
|
|
397
|
+
The zones among which you want to deploy the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-startinstance).
|
|
399
398
|
"""
|
|
400
399
|
return pulumi.get(self, "selected_zones")
|
|
401
400
|
|
|
@@ -503,6 +502,7 @@ class InstanceArgs:
|
|
|
503
502
|
def vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
504
503
|
"""
|
|
505
504
|
The IDs of the vSwitches with which the instance is associated.
|
|
505
|
+
> **NOTE:** If `instance_type` is set to `alikafka` or `alikafka_serverless`, `vswitch_ids` is required. When `instance_type` is set to `alikafka_confluent`, you must specify at least one of the `vswitch_id` and `vswitch_ids`, and if you specify both `vswitch_id` and `vswitch_ids`, only the `vswitch_ids` takes effect.
|
|
506
506
|
"""
|
|
507
507
|
return pulumi.get(self, "vswitch_ids")
|
|
508
508
|
|
|
@@ -571,8 +571,7 @@ class _InstanceState:
|
|
|
571
571
|
zone_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
572
572
|
"""
|
|
573
573
|
Input properties used for looking up and filtering Instance resources.
|
|
574
|
-
:param pulumi.Input[_builtins.str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
575
|
-
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
574
|
+
:param pulumi.Input[_builtins.str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
576
575
|
:param pulumi.Input['InstanceConfluentConfigArgs'] confluent_config: The configurations of Confluent. See `confluent_config` below.
|
|
577
576
|
> **NOTE:** If `instance_type` is set to `alikafka_confluent`, `confluent_config` is required.
|
|
578
577
|
:param pulumi.Input[_builtins.int] default_topic_partition_num: The number of partitions in a topic that is automatically created.
|
|
@@ -593,7 +592,7 @@ class _InstanceState:
|
|
|
593
592
|
- You should specify one of the `io_max` and `io_max_spec` parameters, and `io_max_spec` is recommended.
|
|
594
593
|
- For more information about the valid values, see [Billing](https://www.alibabacloud.com/help/en/message-queue-for-apache-kafka/latest/billing-overview).
|
|
595
594
|
:param pulumi.Input[_builtins.int] is_partition_buy: (Available since v1.214.1) The method that you use to purchase partitions.
|
|
596
|
-
:param pulumi.Input[_builtins.str] kms_key_id: The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
595
|
+
:param pulumi.Input[_builtins.str] kms_key_id: The ID of the key that is used to encrypt data on standard SSDs in the region of the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-updateinstanceconfig).
|
|
597
596
|
:param pulumi.Input[_builtins.str] name: Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
|
|
598
597
|
:param pulumi.Input[_builtins.str] paid_type: The billing method of the instance. Default value: `PostPaid`. Valid values: `PostPaid`, `PrePaid`. When modify this value, it only support adjust from `PostPaid` to `PrePaid`.
|
|
599
598
|
:param pulumi.Input[_builtins.int] partition_left: (Available since v1.214.1) The number of available partitions.
|
|
@@ -603,7 +602,7 @@ class _InstanceState:
|
|
|
603
602
|
:param pulumi.Input[_builtins.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.
|
|
604
603
|
:param pulumi.Input[_builtins.str] sasl_domain_endpoint: (Available since v1.234.0) The Simple Authentication and Security Layer (SASL) endpoint of the instance in domain name mode.
|
|
605
604
|
:param pulumi.Input[_builtins.str] security_group: The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
606
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] selected_zones: The zones among which you want to deploy the instance.
|
|
605
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] selected_zones: The zones among which you want to deploy the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-startinstance).
|
|
607
606
|
:param pulumi.Input['InstanceServerlessConfigArgs'] serverless_config: The parameters configured for the serverless ApsaraMQ for Kafka instance. See `serverless_config` below.
|
|
608
607
|
> **NOTE:** If `instance_type` is set to `alikafka_serverless`, `serverless_config` is required.
|
|
609
608
|
:param pulumi.Input[_builtins.str] service_version: The version of the Instance. Valid values:
|
|
@@ -628,6 +627,7 @@ class _InstanceState:
|
|
|
628
627
|
:param pulumi.Input[_builtins.str] vpc_id: The VPC ID of the instance.
|
|
629
628
|
:param pulumi.Input[_builtins.str] vswitch_id: The ID of attaching vswitch to instance.
|
|
630
629
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vswitch_ids: The IDs of the vSwitches with which the instance is associated.
|
|
630
|
+
> **NOTE:** If `instance_type` is set to `alikafka` or `alikafka_serverless`, `vswitch_ids` is required. When `instance_type` is set to `alikafka_confluent`, you must specify at least one of the `vswitch_id` and `vswitch_ids`, and if you specify both `vswitch_id` and `vswitch_ids`, only the `vswitch_ids` takes effect.
|
|
631
631
|
:param pulumi.Input[_builtins.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.
|
|
632
632
|
"""
|
|
633
633
|
if config is not None:
|
|
@@ -724,8 +724,7 @@ class _InstanceState:
|
|
|
724
724
|
@pulumi.getter
|
|
725
725
|
def config(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
726
726
|
"""
|
|
727
|
-
The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
728
|
-
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
727
|
+
The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
729
728
|
"""
|
|
730
729
|
return pulumi.get(self, "config")
|
|
731
730
|
|
|
@@ -933,7 +932,7 @@ class _InstanceState:
|
|
|
933
932
|
@pulumi.getter(name="kmsKeyId")
|
|
934
933
|
def kms_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
935
934
|
"""
|
|
936
|
-
The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
935
|
+
The ID of the key that is used to encrypt data on standard SSDs in the region of the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-updateinstanceconfig).
|
|
937
936
|
"""
|
|
938
937
|
return pulumi.get(self, "kms_key_id")
|
|
939
938
|
|
|
@@ -1053,7 +1052,7 @@ class _InstanceState:
|
|
|
1053
1052
|
@pulumi.getter(name="selectedZones")
|
|
1054
1053
|
def selected_zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1055
1054
|
"""
|
|
1056
|
-
The zones among which you want to deploy the instance.
|
|
1055
|
+
The zones among which you want to deploy the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-startinstance).
|
|
1057
1056
|
"""
|
|
1058
1057
|
return pulumi.get(self, "selected_zones")
|
|
1059
1058
|
|
|
@@ -1233,6 +1232,7 @@ class _InstanceState:
|
|
|
1233
1232
|
def vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1234
1233
|
"""
|
|
1235
1234
|
The IDs of the vSwitches with which the instance is associated.
|
|
1235
|
+
> **NOTE:** If `instance_type` is set to `alikafka` or `alikafka_serverless`, `vswitch_ids` is required. When `instance_type` is set to `alikafka_confluent`, you must specify at least one of the `vswitch_id` and `vswitch_ids`, and if you specify both `vswitch_id` and `vswitch_ids`, only the `vswitch_ids` takes effect.
|
|
1236
1236
|
"""
|
|
1237
1237
|
return pulumi.get(self, "vswitch_ids")
|
|
1238
1238
|
|
|
@@ -1300,8 +1300,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1300
1300
|
|
|
1301
1301
|
:param str resource_name: The name of the resource.
|
|
1302
1302
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1303
|
-
:param pulumi.Input[_builtins.str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
1304
|
-
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
1303
|
+
:param pulumi.Input[_builtins.str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
1305
1304
|
:param pulumi.Input[Union['InstanceConfluentConfigArgs', 'InstanceConfluentConfigArgsDict']] confluent_config: The configurations of Confluent. See `confluent_config` below.
|
|
1306
1305
|
> **NOTE:** If `instance_type` is set to `alikafka_confluent`, `confluent_config` is required.
|
|
1307
1306
|
:param pulumi.Input[_builtins.int] default_topic_partition_num: The number of partitions in a topic that is automatically created.
|
|
@@ -1317,14 +1316,14 @@ class Instance(pulumi.CustomResource):
|
|
|
1317
1316
|
:param pulumi.Input[_builtins.str] io_max_spec: The traffic specification of the instance. We recommend that you configure this parameter.
|
|
1318
1317
|
- You should specify one of the `io_max` and `io_max_spec` parameters, and `io_max_spec` is recommended.
|
|
1319
1318
|
- For more information about the valid values, see [Billing](https://www.alibabacloud.com/help/en/message-queue-for-apache-kafka/latest/billing-overview).
|
|
1320
|
-
:param pulumi.Input[_builtins.str] kms_key_id: The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
1319
|
+
:param pulumi.Input[_builtins.str] kms_key_id: The ID of the key that is used to encrypt data on standard SSDs in the region of the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-updateinstanceconfig).
|
|
1321
1320
|
:param pulumi.Input[_builtins.str] name: Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
|
|
1322
1321
|
:param pulumi.Input[_builtins.str] paid_type: The billing method of the instance. Default value: `PostPaid`. Valid values: `PostPaid`, `PrePaid`. When modify this value, it only support adjust from `PostPaid` to `PrePaid`.
|
|
1323
1322
|
:param pulumi.Input[_builtins.int] partition_num: The number of partitions.
|
|
1324
1323
|
:param pulumi.Input[_builtins.str] password: The instance password. **NOTE:** If `instance_type` is set to `alikafka_confluent`, `password` is required.
|
|
1325
1324
|
:param pulumi.Input[_builtins.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.
|
|
1326
1325
|
:param pulumi.Input[_builtins.str] security_group: The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
1327
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] selected_zones: The zones among which you want to deploy the instance.
|
|
1326
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] selected_zones: The zones among which you want to deploy the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-startinstance).
|
|
1328
1327
|
:param pulumi.Input[Union['InstanceServerlessConfigArgs', 'InstanceServerlessConfigArgsDict']] serverless_config: The parameters configured for the serverless ApsaraMQ for Kafka instance. See `serverless_config` below.
|
|
1329
1328
|
> **NOTE:** If `instance_type` is set to `alikafka_serverless`, `serverless_config` is required.
|
|
1330
1329
|
:param pulumi.Input[_builtins.str] service_version: The version of the Instance. Valid values:
|
|
@@ -1343,6 +1342,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1343
1342
|
:param pulumi.Input[_builtins.str] vpc_id: The VPC ID of the instance.
|
|
1344
1343
|
:param pulumi.Input[_builtins.str] vswitch_id: The ID of attaching vswitch to instance.
|
|
1345
1344
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vswitch_ids: The IDs of the vSwitches with which the instance is associated.
|
|
1345
|
+
> **NOTE:** If `instance_type` is set to `alikafka` or `alikafka_serverless`, `vswitch_ids` is required. When `instance_type` is set to `alikafka_confluent`, you must specify at least one of the `vswitch_id` and `vswitch_ids`, and if you specify both `vswitch_id` and `vswitch_ids`, only the `vswitch_ids` takes effect.
|
|
1346
1346
|
:param pulumi.Input[_builtins.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.
|
|
1347
1347
|
"""
|
|
1348
1348
|
...
|
|
@@ -1518,8 +1518,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1518
1518
|
:param str resource_name: The unique name of the resulting resource.
|
|
1519
1519
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1520
1520
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1521
|
-
:param pulumi.Input[_builtins.str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
1522
|
-
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
1521
|
+
:param pulumi.Input[_builtins.str] config: The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
1523
1522
|
:param pulumi.Input[Union['InstanceConfluentConfigArgs', 'InstanceConfluentConfigArgsDict']] confluent_config: The configurations of Confluent. See `confluent_config` below.
|
|
1524
1523
|
> **NOTE:** If `instance_type` is set to `alikafka_confluent`, `confluent_config` is required.
|
|
1525
1524
|
:param pulumi.Input[_builtins.int] default_topic_partition_num: The number of partitions in a topic that is automatically created.
|
|
@@ -1540,7 +1539,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1540
1539
|
- You should specify one of the `io_max` and `io_max_spec` parameters, and `io_max_spec` is recommended.
|
|
1541
1540
|
- For more information about the valid values, see [Billing](https://www.alibabacloud.com/help/en/message-queue-for-apache-kafka/latest/billing-overview).
|
|
1542
1541
|
:param pulumi.Input[_builtins.int] is_partition_buy: (Available since v1.214.1) The method that you use to purchase partitions.
|
|
1543
|
-
:param pulumi.Input[_builtins.str] kms_key_id: The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
1542
|
+
:param pulumi.Input[_builtins.str] kms_key_id: The ID of the key that is used to encrypt data on standard SSDs in the region of the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-updateinstanceconfig).
|
|
1544
1543
|
:param pulumi.Input[_builtins.str] name: Name of your Kafka instance. The length should between 3 and 64 characters. If not set, will use instance id as instance name.
|
|
1545
1544
|
:param pulumi.Input[_builtins.str] paid_type: The billing method of the instance. Default value: `PostPaid`. Valid values: `PostPaid`, `PrePaid`. When modify this value, it only support adjust from `PostPaid` to `PrePaid`.
|
|
1546
1545
|
:param pulumi.Input[_builtins.int] partition_left: (Available since v1.214.1) The number of available partitions.
|
|
@@ -1550,7 +1549,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1550
1549
|
:param pulumi.Input[_builtins.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.
|
|
1551
1550
|
:param pulumi.Input[_builtins.str] sasl_domain_endpoint: (Available since v1.234.0) The Simple Authentication and Security Layer (SASL) endpoint of the instance in domain name mode.
|
|
1552
1551
|
:param pulumi.Input[_builtins.str] security_group: The ID of security group for this instance. If the security group is empty, system will create a default one.
|
|
1553
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] selected_zones: The zones among which you want to deploy the instance.
|
|
1552
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] selected_zones: The zones among which you want to deploy the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-startinstance).
|
|
1554
1553
|
:param pulumi.Input[Union['InstanceServerlessConfigArgs', 'InstanceServerlessConfigArgsDict']] serverless_config: The parameters configured for the serverless ApsaraMQ for Kafka instance. See `serverless_config` below.
|
|
1555
1554
|
> **NOTE:** If `instance_type` is set to `alikafka_serverless`, `serverless_config` is required.
|
|
1556
1555
|
:param pulumi.Input[_builtins.str] service_version: The version of the Instance. Valid values:
|
|
@@ -1575,6 +1574,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1575
1574
|
:param pulumi.Input[_builtins.str] vpc_id: The VPC ID of the instance.
|
|
1576
1575
|
:param pulumi.Input[_builtins.str] vswitch_id: The ID of attaching vswitch to instance.
|
|
1577
1576
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] vswitch_ids: The IDs of the vSwitches with which the instance is associated.
|
|
1577
|
+
> **NOTE:** If `instance_type` is set to `alikafka` or `alikafka_serverless`, `vswitch_ids` is required. When `instance_type` is set to `alikafka_confluent`, you must specify at least one of the `vswitch_id` and `vswitch_ids`, and if you specify both `vswitch_id` and `vswitch_ids`, only the `vswitch_ids` takes effect.
|
|
1578
1578
|
:param pulumi.Input[_builtins.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.
|
|
1579
1579
|
"""
|
|
1580
1580
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1630,8 +1630,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1630
1630
|
@pulumi.getter
|
|
1631
1631
|
def config(self) -> pulumi.Output[_builtins.str]:
|
|
1632
1632
|
"""
|
|
1633
|
-
The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
1634
|
-
* `enable.vpc_sasl_ssl`: Specifies whether to enable VPC transmission encryption. Default value: `false`. Valid values:
|
|
1633
|
+
The initial configurations of the ApsaraMQ for Kafka instance. The values must be valid JSON strings.
|
|
1635
1634
|
"""
|
|
1636
1635
|
return pulumi.get(self, "config")
|
|
1637
1636
|
|
|
@@ -1771,7 +1770,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1771
1770
|
@pulumi.getter(name="kmsKeyId")
|
|
1772
1771
|
def kms_key_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1773
1772
|
"""
|
|
1774
|
-
The ID of the key that is used to encrypt data on standard SSDs in the region of the instance.
|
|
1773
|
+
The ID of the key that is used to encrypt data on standard SSDs in the region of the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-updateinstanceconfig).
|
|
1775
1774
|
"""
|
|
1776
1775
|
return pulumi.get(self, "kms_key_id")
|
|
1777
1776
|
|
|
@@ -1851,7 +1850,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1851
1850
|
@pulumi.getter(name="selectedZones")
|
|
1852
1851
|
def selected_zones(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1853
1852
|
"""
|
|
1854
|
-
The zones among which you want to deploy the instance.
|
|
1853
|
+
The zones among which you want to deploy the instance. For more information, see [How to use it](https://www.alibabacloud.com/help/en/apsaramq-for-kafka/cloud-message-queue-for-kafka/developer-reference/api-alikafka-2019-09-16-startinstance).
|
|
1855
1854
|
"""
|
|
1856
1855
|
return pulumi.get(self, "selected_zones")
|
|
1857
1856
|
|
|
@@ -1975,6 +1974,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1975
1974
|
def vswitch_ids(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
1976
1975
|
"""
|
|
1977
1976
|
The IDs of the vSwitches with which the instance is associated.
|
|
1977
|
+
> **NOTE:** If `instance_type` is set to `alikafka` or `alikafka_serverless`, `vswitch_ids` is required. When `instance_type` is set to `alikafka_confluent`, you must specify at least one of the `vswitch_id` and `vswitch_ids`, and if you specify both `vswitch_id` and `vswitch_ids`, only the `vswitch_ids` takes effect.
|
|
1978
1978
|
"""
|
|
1979
1979
|
return pulumi.get(self, "vswitch_ids")
|
|
1980
1980
|
|