pulumi-alicloud 3.63.0a1726291447__py3-none-any.whl → 3.63.0a1726828180__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/amqp/binding.py +30 -36
- pulumi_alicloud/cen/_inputs.py +180 -14
- pulumi_alicloud/cen/outputs.py +173 -12
- pulumi_alicloud/cen/traffic_marking_policy.py +116 -53
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +338 -119
- pulumi_alicloud/cr/chart_namespace.py +14 -6
- pulumi_alicloud/cr/endpoint_acl_policy.py +10 -2
- pulumi_alicloud/cr/namespace.py +10 -2
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ecs/_inputs.py +28 -0
- pulumi_alicloud/ecs/outputs.py +20 -0
- pulumi_alicloud/emrv2/_inputs.py +12 -12
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +50 -2
- pulumi_alicloud/ens/instance.py +428 -184
- pulumi_alicloud/ens/outputs.py +57 -2
- pulumi_alicloud/expressconnect/physical_connection.py +321 -185
- pulumi_alicloud/fc/trigger.py +22 -24
- pulumi_alicloud/ga/endpoint_group.py +68 -14
- pulumi_alicloud/mongodb/instance.py +94 -0
- pulumi_alicloud/nlb/_inputs.py +120 -64
- pulumi_alicloud/nlb/get_listeners.py +32 -2
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +8 -2
- pulumi_alicloud/nlb/listener.py +315 -245
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +181 -212
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +29 -39
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +22 -18
- pulumi_alicloud/nlb/outputs.py +122 -66
- pulumi_alicloud/nlb/security_policy.py +53 -25
- pulumi_alicloud/nlb/server_group.py +196 -133
- pulumi_alicloud/ocean/base_instance.py +498 -163
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/RECORD +40 -40
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/top_level.txt +0 -0
|
@@ -22,47 +22,60 @@ class BaseInstanceArgs:
|
|
|
22
22
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
23
23
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
24
24
|
backup_retain_mode: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
cpu_arch: Optional[pulumi.Input[str]] = None,
|
|
25
26
|
disk_type: Optional[pulumi.Input[str]] = None,
|
|
26
27
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
27
28
|
node_num: Optional[pulumi.Input[str]] = None,
|
|
28
29
|
ob_version: Optional[pulumi.Input[str]] = None,
|
|
29
30
|
period: Optional[pulumi.Input[int]] = None,
|
|
30
31
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
|
|
32
|
+
primary_instance: Optional[pulumi.Input[str]] = None,
|
|
33
|
+
primary_region: Optional[pulumi.Input[str]] = None,
|
|
34
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
35
|
+
upgrade_spec_native: Optional[pulumi.Input[bool]] = None):
|
|
32
36
|
"""
|
|
33
37
|
The set of arguments for constructing a BaseInstance resource.
|
|
34
38
|
:param pulumi.Input[int] disk_size: The size of the storage space, in GB.
|
|
39
|
+
|
|
35
40
|
The limits of storage space vary according to the cluster specifications, as follows:
|
|
36
41
|
- 8C32GB:100GB ~ 10000GB
|
|
37
42
|
- 14C70GB:200GB ~ 10000GB
|
|
38
43
|
- 30C180GB:400GB ~ 10000GB
|
|
39
44
|
- 62C400G:800GB ~ 10000GB.
|
|
45
|
+
|
|
40
46
|
The default value of each package is its minimum value.
|
|
41
|
-
:param pulumi.Input[str] instance_class: Cluster specification information.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
47
|
+
:param pulumi.Input[str] instance_class: Cluster specification information. Note Please enter the shape as xCxxG, not xCxxGB
|
|
48
|
+
|
|
49
|
+
The x86 cluster architecture currently supports the following packages:
|
|
50
|
+
- 4C16G:4 core 16GB
|
|
51
|
+
- 8C32G:8 core 32GB
|
|
52
|
+
- 14C70G:14 core 70GB
|
|
53
|
+
- 24C120G:24 core 120GB
|
|
54
|
+
- 30C180G:30 core 180GB
|
|
55
|
+
- 62C400G:62 core 400GB
|
|
56
|
+
- 104C600G:104 core 600GB
|
|
57
|
+
- 16C70G:16 core 70GB
|
|
58
|
+
- 32C160G:32 core 160GB
|
|
59
|
+
- 64C380G:64 core 380GB
|
|
60
|
+
- 20C32G:20 core 32GB
|
|
61
|
+
- 40C64G:40 core 64GB
|
|
62
|
+
- 16C32G:16 core 32GB
|
|
63
|
+
- 32C70G:32 core 70GB
|
|
64
|
+
- 64C180G:64 core 180GB
|
|
65
|
+
- 32C180G:32 core 180GB
|
|
66
|
+
- 64C400G:64 core 400GB,
|
|
67
|
+
|
|
68
|
+
The cluster architecture of arm currently supports the following packages:
|
|
69
|
+
- 8C32G:8 core 32GB
|
|
70
|
+
- 16C70G:16 core 70GB
|
|
71
|
+
- 32C180G:32 core 180GB
|
|
60
72
|
:param pulumi.Input[str] payment_type: The payment method of the instance. Value range:
|
|
61
73
|
- Subscription: Package year and month. When you select this type of payment method, you must make sure that your account supports balance payment or credit payment. Otherwise, an InvalidPayMethod error message will be returned.
|
|
62
74
|
- PayAsYouGo (default): Pay-as-you-go (default hourly billing).
|
|
63
75
|
:param pulumi.Input[str] series: Series of OceanBase cluster instances-normal (default): Standard cluster version (cloud disk)-normal_SSD: Standard cluster version (local disk)-history: history Library cluster version.
|
|
64
76
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] zones: Information about the zone where the cluster is deployed.
|
|
65
77
|
:param pulumi.Input[bool] auto_renew: Whether to automatically renew.
|
|
78
|
+
|
|
66
79
|
It takes effect when the parameter ChargeType is PrePaid. Value range:
|
|
67
80
|
- true: automatic renewal.
|
|
68
81
|
- false (default): no automatic renewal.
|
|
@@ -73,17 +86,33 @@ class BaseInstanceArgs:
|
|
|
73
86
|
- receive_all: Keep all backup sets;
|
|
74
87
|
- delete_all: delete all backup sets;
|
|
75
88
|
- receive_last: Keep the last backup set.
|
|
89
|
+
|
|
76
90
|
> **NOTE:** The default value is delete_all.
|
|
91
|
+
:param pulumi.Input[str] cpu_arch: Cpu architecture, x86, arm. If no, the default value is x86
|
|
77
92
|
:param pulumi.Input[str] disk_type: The storage type of the cluster. Effective only in the standard cluster version (cloud disk).
|
|
93
|
+
|
|
78
94
|
Two types are currently supported:
|
|
79
95
|
- cloud_essd_pl1: cloud disk ESSD pl1.
|
|
80
96
|
- cloud_essd_pl0: cloud disk ESSD pl0. The default value is cloud_essd_pl1.
|
|
81
|
-
:param pulumi.Input[str] instance_name: OceanBase cluster name.
|
|
82
|
-
|
|
97
|
+
:param pulumi.Input[str] instance_name: OceanBase cluster name.
|
|
98
|
+
|
|
99
|
+
The length is 1 to 20 English or Chinese characters.
|
|
100
|
+
|
|
101
|
+
If this parameter is not specified, the default value is the InstanceId of the cluster.
|
|
102
|
+
:param pulumi.Input[str] node_num: The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
83
103
|
:param pulumi.Input[str] ob_version: The OceanBase Server version number.
|
|
84
104
|
:param pulumi.Input[int] period: The duration of the resource purchase. The unit is specified by the PeriodUnit. The parameter InstanceChargeType takes effect only when the value is PrePaid and is required. Once the DedicatedHostId is specified, the value cannot exceed the subscription duration of the dedicated host. When PeriodUnit = Week, Period values: {"1", "2", "3", "4"}. When PeriodUnit = Month, Period values: {"1", "2", "3", "4", "5", "6", "7", "8", "9", "12", "24", "36", "48", "60"}.
|
|
85
|
-
:param pulumi.Input[str] period_unit: The duration of the purchase of resources.
|
|
105
|
+
:param pulumi.Input[str] period_unit: The duration of the purchase of resources.
|
|
106
|
+
|
|
107
|
+
Package year and Month value range: Month.
|
|
108
|
+
|
|
109
|
+
Default value: Month of the package, which is billed by volume. The default period is Hour.
|
|
110
|
+
:param pulumi.Input[str] primary_instance: The ID of the primary instance.
|
|
111
|
+
:param pulumi.Input[str] primary_region: The primary instance Region.
|
|
86
112
|
:param pulumi.Input[str] resource_group_id: The ID of the enterprise resource group to which the instance resides.
|
|
113
|
+
:param pulumi.Input[bool] upgrade_spec_native: Valid values:
|
|
114
|
+
- false: migration and configuration change.
|
|
115
|
+
- true: in-situ matching
|
|
87
116
|
"""
|
|
88
117
|
pulumi.set(__self__, "disk_size", disk_size)
|
|
89
118
|
pulumi.set(__self__, "instance_class", instance_class)
|
|
@@ -96,6 +125,8 @@ class BaseInstanceArgs:
|
|
|
96
125
|
pulumi.set(__self__, "auto_renew_period", auto_renew_period)
|
|
97
126
|
if backup_retain_mode is not None:
|
|
98
127
|
pulumi.set(__self__, "backup_retain_mode", backup_retain_mode)
|
|
128
|
+
if cpu_arch is not None:
|
|
129
|
+
pulumi.set(__self__, "cpu_arch", cpu_arch)
|
|
99
130
|
if disk_type is not None:
|
|
100
131
|
pulumi.set(__self__, "disk_type", disk_type)
|
|
101
132
|
if instance_name is not None:
|
|
@@ -108,19 +139,27 @@ class BaseInstanceArgs:
|
|
|
108
139
|
pulumi.set(__self__, "period", period)
|
|
109
140
|
if period_unit is not None:
|
|
110
141
|
pulumi.set(__self__, "period_unit", period_unit)
|
|
142
|
+
if primary_instance is not None:
|
|
143
|
+
pulumi.set(__self__, "primary_instance", primary_instance)
|
|
144
|
+
if primary_region is not None:
|
|
145
|
+
pulumi.set(__self__, "primary_region", primary_region)
|
|
111
146
|
if resource_group_id is not None:
|
|
112
147
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
148
|
+
if upgrade_spec_native is not None:
|
|
149
|
+
pulumi.set(__self__, "upgrade_spec_native", upgrade_spec_native)
|
|
113
150
|
|
|
114
151
|
@property
|
|
115
152
|
@pulumi.getter(name="diskSize")
|
|
116
153
|
def disk_size(self) -> pulumi.Input[int]:
|
|
117
154
|
"""
|
|
118
155
|
The size of the storage space, in GB.
|
|
156
|
+
|
|
119
157
|
The limits of storage space vary according to the cluster specifications, as follows:
|
|
120
158
|
- 8C32GB:100GB ~ 10000GB
|
|
121
159
|
- 14C70GB:200GB ~ 10000GB
|
|
122
160
|
- 30C180GB:400GB ~ 10000GB
|
|
123
161
|
- 62C400G:800GB ~ 10000GB.
|
|
162
|
+
|
|
124
163
|
The default value of each package is its minimum value.
|
|
125
164
|
"""
|
|
126
165
|
return pulumi.get(self, "disk_size")
|
|
@@ -133,25 +172,31 @@ class BaseInstanceArgs:
|
|
|
133
172
|
@pulumi.getter(name="instanceClass")
|
|
134
173
|
def instance_class(self) -> pulumi.Input[str]:
|
|
135
174
|
"""
|
|
136
|
-
Cluster specification information.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
-
|
|
140
|
-
-
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
175
|
+
Cluster specification information. Note Please enter the shape as xCxxG, not xCxxGB
|
|
176
|
+
|
|
177
|
+
The x86 cluster architecture currently supports the following packages:
|
|
178
|
+
- 4C16G:4 core 16GB
|
|
179
|
+
- 8C32G:8 core 32GB
|
|
180
|
+
- 14C70G:14 core 70GB
|
|
181
|
+
- 24C120G:24 core 120GB
|
|
182
|
+
- 30C180G:30 core 180GB
|
|
183
|
+
- 62C400G:62 core 400GB
|
|
184
|
+
- 104C600G:104 core 600GB
|
|
185
|
+
- 16C70G:16 core 70GB
|
|
186
|
+
- 32C160G:32 core 160GB
|
|
187
|
+
- 64C380G:64 core 380GB
|
|
188
|
+
- 20C32G:20 core 32GB
|
|
189
|
+
- 40C64G:40 core 64GB
|
|
190
|
+
- 16C32G:16 core 32GB
|
|
191
|
+
- 32C70G:32 core 70GB
|
|
192
|
+
- 64C180G:64 core 180GB
|
|
193
|
+
- 32C180G:32 core 180GB
|
|
194
|
+
- 64C400G:64 core 400GB,
|
|
195
|
+
|
|
196
|
+
The cluster architecture of arm currently supports the following packages:
|
|
197
|
+
- 8C32G:8 core 32GB
|
|
198
|
+
- 16C70G:16 core 70GB
|
|
199
|
+
- 32C180G:32 core 180GB
|
|
155
200
|
"""
|
|
156
201
|
return pulumi.get(self, "instance_class")
|
|
157
202
|
|
|
@@ -202,6 +247,7 @@ class BaseInstanceArgs:
|
|
|
202
247
|
def auto_renew(self) -> Optional[pulumi.Input[bool]]:
|
|
203
248
|
"""
|
|
204
249
|
Whether to automatically renew.
|
|
250
|
+
|
|
205
251
|
It takes effect when the parameter ChargeType is PrePaid. Value range:
|
|
206
252
|
- true: automatic renewal.
|
|
207
253
|
- false (default): no automatic renewal.
|
|
@@ -234,6 +280,7 @@ class BaseInstanceArgs:
|
|
|
234
280
|
- receive_all: Keep all backup sets;
|
|
235
281
|
- delete_all: delete all backup sets;
|
|
236
282
|
- receive_last: Keep the last backup set.
|
|
283
|
+
|
|
237
284
|
> **NOTE:** The default value is delete_all.
|
|
238
285
|
"""
|
|
239
286
|
return pulumi.get(self, "backup_retain_mode")
|
|
@@ -242,11 +289,24 @@ class BaseInstanceArgs:
|
|
|
242
289
|
def backup_retain_mode(self, value: Optional[pulumi.Input[str]]):
|
|
243
290
|
pulumi.set(self, "backup_retain_mode", value)
|
|
244
291
|
|
|
292
|
+
@property
|
|
293
|
+
@pulumi.getter(name="cpuArch")
|
|
294
|
+
def cpu_arch(self) -> Optional[pulumi.Input[str]]:
|
|
295
|
+
"""
|
|
296
|
+
Cpu architecture, x86, arm. If no, the default value is x86
|
|
297
|
+
"""
|
|
298
|
+
return pulumi.get(self, "cpu_arch")
|
|
299
|
+
|
|
300
|
+
@cpu_arch.setter
|
|
301
|
+
def cpu_arch(self, value: Optional[pulumi.Input[str]]):
|
|
302
|
+
pulumi.set(self, "cpu_arch", value)
|
|
303
|
+
|
|
245
304
|
@property
|
|
246
305
|
@pulumi.getter(name="diskType")
|
|
247
306
|
def disk_type(self) -> Optional[pulumi.Input[str]]:
|
|
248
307
|
"""
|
|
249
308
|
The storage type of the cluster. Effective only in the standard cluster version (cloud disk).
|
|
309
|
+
|
|
250
310
|
Two types are currently supported:
|
|
251
311
|
- cloud_essd_pl1: cloud disk ESSD pl1.
|
|
252
312
|
- cloud_essd_pl0: cloud disk ESSD pl0. The default value is cloud_essd_pl1.
|
|
@@ -261,7 +321,11 @@ class BaseInstanceArgs:
|
|
|
261
321
|
@pulumi.getter(name="instanceName")
|
|
262
322
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
263
323
|
"""
|
|
264
|
-
OceanBase cluster name.
|
|
324
|
+
OceanBase cluster name.
|
|
325
|
+
|
|
326
|
+
The length is 1 to 20 English or Chinese characters.
|
|
327
|
+
|
|
328
|
+
If this parameter is not specified, the default value is the InstanceId of the cluster.
|
|
265
329
|
"""
|
|
266
330
|
return pulumi.get(self, "instance_name")
|
|
267
331
|
|
|
@@ -273,7 +337,7 @@ class BaseInstanceArgs:
|
|
|
273
337
|
@pulumi.getter(name="nodeNum")
|
|
274
338
|
def node_num(self) -> Optional[pulumi.Input[str]]:
|
|
275
339
|
"""
|
|
276
|
-
The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
340
|
+
The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
277
341
|
"""
|
|
278
342
|
return pulumi.get(self, "node_num")
|
|
279
343
|
|
|
@@ -309,7 +373,11 @@ class BaseInstanceArgs:
|
|
|
309
373
|
@pulumi.getter(name="periodUnit")
|
|
310
374
|
def period_unit(self) -> Optional[pulumi.Input[str]]:
|
|
311
375
|
"""
|
|
312
|
-
The duration of the purchase of resources.
|
|
376
|
+
The duration of the purchase of resources.
|
|
377
|
+
|
|
378
|
+
Package year and Month value range: Month.
|
|
379
|
+
|
|
380
|
+
Default value: Month of the package, which is billed by volume. The default period is Hour.
|
|
313
381
|
"""
|
|
314
382
|
return pulumi.get(self, "period_unit")
|
|
315
383
|
|
|
@@ -317,6 +385,30 @@ class BaseInstanceArgs:
|
|
|
317
385
|
def period_unit(self, value: Optional[pulumi.Input[str]]):
|
|
318
386
|
pulumi.set(self, "period_unit", value)
|
|
319
387
|
|
|
388
|
+
@property
|
|
389
|
+
@pulumi.getter(name="primaryInstance")
|
|
390
|
+
def primary_instance(self) -> Optional[pulumi.Input[str]]:
|
|
391
|
+
"""
|
|
392
|
+
The ID of the primary instance.
|
|
393
|
+
"""
|
|
394
|
+
return pulumi.get(self, "primary_instance")
|
|
395
|
+
|
|
396
|
+
@primary_instance.setter
|
|
397
|
+
def primary_instance(self, value: Optional[pulumi.Input[str]]):
|
|
398
|
+
pulumi.set(self, "primary_instance", value)
|
|
399
|
+
|
|
400
|
+
@property
|
|
401
|
+
@pulumi.getter(name="primaryRegion")
|
|
402
|
+
def primary_region(self) -> Optional[pulumi.Input[str]]:
|
|
403
|
+
"""
|
|
404
|
+
The primary instance Region.
|
|
405
|
+
"""
|
|
406
|
+
return pulumi.get(self, "primary_region")
|
|
407
|
+
|
|
408
|
+
@primary_region.setter
|
|
409
|
+
def primary_region(self, value: Optional[pulumi.Input[str]]):
|
|
410
|
+
pulumi.set(self, "primary_region", value)
|
|
411
|
+
|
|
320
412
|
@property
|
|
321
413
|
@pulumi.getter(name="resourceGroupId")
|
|
322
414
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -329,6 +421,20 @@ class BaseInstanceArgs:
|
|
|
329
421
|
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
330
422
|
pulumi.set(self, "resource_group_id", value)
|
|
331
423
|
|
|
424
|
+
@property
|
|
425
|
+
@pulumi.getter(name="upgradeSpecNative")
|
|
426
|
+
def upgrade_spec_native(self) -> Optional[pulumi.Input[bool]]:
|
|
427
|
+
"""
|
|
428
|
+
Valid values:
|
|
429
|
+
- false: migration and configuration change.
|
|
430
|
+
- true: in-situ matching
|
|
431
|
+
"""
|
|
432
|
+
return pulumi.get(self, "upgrade_spec_native")
|
|
433
|
+
|
|
434
|
+
@upgrade_spec_native.setter
|
|
435
|
+
def upgrade_spec_native(self, value: Optional[pulumi.Input[bool]]):
|
|
436
|
+
pulumi.set(self, "upgrade_spec_native", value)
|
|
437
|
+
|
|
332
438
|
|
|
333
439
|
@pulumi.input_type
|
|
334
440
|
class _BaseInstanceState:
|
|
@@ -338,6 +444,7 @@ class _BaseInstanceState:
|
|
|
338
444
|
backup_retain_mode: Optional[pulumi.Input[str]] = None,
|
|
339
445
|
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
340
446
|
cpu: Optional[pulumi.Input[int]] = None,
|
|
447
|
+
cpu_arch: Optional[pulumi.Input[str]] = None,
|
|
341
448
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
342
449
|
disk_size: Optional[pulumi.Input[int]] = None,
|
|
343
450
|
disk_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -348,13 +455,17 @@ class _BaseInstanceState:
|
|
|
348
455
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
349
456
|
period: Optional[pulumi.Input[int]] = None,
|
|
350
457
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
458
|
+
primary_instance: Optional[pulumi.Input[str]] = None,
|
|
459
|
+
primary_region: Optional[pulumi.Input[str]] = None,
|
|
351
460
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
352
461
|
series: Optional[pulumi.Input[str]] = None,
|
|
353
462
|
status: Optional[pulumi.Input[str]] = None,
|
|
463
|
+
upgrade_spec_native: Optional[pulumi.Input[bool]] = None,
|
|
354
464
|
zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
355
465
|
"""
|
|
356
466
|
Input properties used for looking up and filtering BaseInstance resources.
|
|
357
467
|
:param pulumi.Input[bool] auto_renew: Whether to automatically renew.
|
|
468
|
+
|
|
358
469
|
It takes effect when the parameter ChargeType is PrePaid. Value range:
|
|
359
470
|
- true: automatic renewal.
|
|
360
471
|
- false (default): no automatic renewal.
|
|
@@ -365,51 +476,75 @@ class _BaseInstanceState:
|
|
|
365
476
|
- receive_all: Keep all backup sets;
|
|
366
477
|
- delete_all: delete all backup sets;
|
|
367
478
|
- receive_last: Keep the last backup set.
|
|
479
|
+
|
|
368
480
|
> **NOTE:** The default value is delete_all.
|
|
369
481
|
:param pulumi.Input[str] commodity_code: The product code of the OceanBase cluster._oceanbasepre_public_cn: Domestic station cloud database package Year-to-month package._oceanbasepost_public_cn: The domestic station cloud database is paid by the hour._obpre_public_intl: International Station Cloud Database Package Monthly Package.
|
|
370
482
|
:param pulumi.Input[int] cpu: The number of CPU cores of the cluster.
|
|
371
|
-
:param pulumi.Input[str]
|
|
483
|
+
:param pulumi.Input[str] cpu_arch: Cpu architecture, x86, arm. If no, the default value is x86
|
|
484
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
372
485
|
:param pulumi.Input[int] disk_size: The size of the storage space, in GB.
|
|
486
|
+
|
|
373
487
|
The limits of storage space vary according to the cluster specifications, as follows:
|
|
374
488
|
- 8C32GB:100GB ~ 10000GB
|
|
375
489
|
- 14C70GB:200GB ~ 10000GB
|
|
376
490
|
- 30C180GB:400GB ~ 10000GB
|
|
377
491
|
- 62C400G:800GB ~ 10000GB.
|
|
492
|
+
|
|
378
493
|
The default value of each package is its minimum value.
|
|
379
494
|
:param pulumi.Input[str] disk_type: The storage type of the cluster. Effective only in the standard cluster version (cloud disk).
|
|
495
|
+
|
|
380
496
|
Two types are currently supported:
|
|
381
497
|
- cloud_essd_pl1: cloud disk ESSD pl1.
|
|
382
498
|
- cloud_essd_pl0: cloud disk ESSD pl0. The default value is cloud_essd_pl1.
|
|
383
|
-
:param pulumi.Input[str] instance_class: Cluster specification information.
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
-
|
|
387
|
-
-
|
|
388
|
-
-
|
|
389
|
-
-
|
|
390
|
-
-
|
|
391
|
-
-
|
|
392
|
-
-
|
|
393
|
-
-
|
|
394
|
-
-
|
|
395
|
-
-
|
|
396
|
-
-
|
|
397
|
-
-
|
|
398
|
-
-
|
|
399
|
-
-
|
|
400
|
-
-
|
|
401
|
-
-
|
|
402
|
-
|
|
403
|
-
|
|
499
|
+
:param pulumi.Input[str] instance_class: Cluster specification information. Note Please enter the shape as xCxxG, not xCxxGB
|
|
500
|
+
|
|
501
|
+
The x86 cluster architecture currently supports the following packages:
|
|
502
|
+
- 4C16G:4 core 16GB
|
|
503
|
+
- 8C32G:8 core 32GB
|
|
504
|
+
- 14C70G:14 core 70GB
|
|
505
|
+
- 24C120G:24 core 120GB
|
|
506
|
+
- 30C180G:30 core 180GB
|
|
507
|
+
- 62C400G:62 core 400GB
|
|
508
|
+
- 104C600G:104 core 600GB
|
|
509
|
+
- 16C70G:16 core 70GB
|
|
510
|
+
- 32C160G:32 core 160GB
|
|
511
|
+
- 64C380G:64 core 380GB
|
|
512
|
+
- 20C32G:20 core 32GB
|
|
513
|
+
- 40C64G:40 core 64GB
|
|
514
|
+
- 16C32G:16 core 32GB
|
|
515
|
+
- 32C70G:32 core 70GB
|
|
516
|
+
- 64C180G:64 core 180GB
|
|
517
|
+
- 32C180G:32 core 180GB
|
|
518
|
+
- 64C400G:64 core 400GB,
|
|
519
|
+
|
|
520
|
+
The cluster architecture of arm currently supports the following packages:
|
|
521
|
+
- 8C32G:8 core 32GB
|
|
522
|
+
- 16C70G:16 core 70GB
|
|
523
|
+
- 32C180G:32 core 180GB
|
|
524
|
+
:param pulumi.Input[str] instance_name: OceanBase cluster name.
|
|
525
|
+
|
|
526
|
+
The length is 1 to 20 English or Chinese characters.
|
|
527
|
+
|
|
528
|
+
If this parameter is not specified, the default value is the InstanceId of the cluster.
|
|
529
|
+
:param pulumi.Input[str] node_num: The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
404
530
|
:param pulumi.Input[str] ob_version: The OceanBase Server version number.
|
|
405
531
|
:param pulumi.Input[str] payment_type: The payment method of the instance. Value range:
|
|
406
532
|
- Subscription: Package year and month. When you select this type of payment method, you must make sure that your account supports balance payment or credit payment. Otherwise, an InvalidPayMethod error message will be returned.
|
|
407
533
|
- PayAsYouGo (default): Pay-as-you-go (default hourly billing).
|
|
408
534
|
:param pulumi.Input[int] period: The duration of the resource purchase. The unit is specified by the PeriodUnit. The parameter InstanceChargeType takes effect only when the value is PrePaid and is required. Once the DedicatedHostId is specified, the value cannot exceed the subscription duration of the dedicated host. When PeriodUnit = Week, Period values: {"1", "2", "3", "4"}. When PeriodUnit = Month, Period values: {"1", "2", "3", "4", "5", "6", "7", "8", "9", "12", "24", "36", "48", "60"}.
|
|
409
|
-
:param pulumi.Input[str] period_unit: The duration of the purchase of resources.
|
|
535
|
+
:param pulumi.Input[str] period_unit: The duration of the purchase of resources.
|
|
536
|
+
|
|
537
|
+
Package year and Month value range: Month.
|
|
538
|
+
|
|
539
|
+
Default value: Month of the package, which is billed by volume. The default period is Hour.
|
|
540
|
+
:param pulumi.Input[str] primary_instance: The ID of the primary instance.
|
|
541
|
+
:param pulumi.Input[str] primary_region: The primary instance Region.
|
|
410
542
|
:param pulumi.Input[str] resource_group_id: The ID of the enterprise resource group to which the instance resides.
|
|
411
543
|
:param pulumi.Input[str] series: Series of OceanBase cluster instances-normal (default): Standard cluster version (cloud disk)-normal_SSD: Standard cluster version (local disk)-history: history Library cluster version.
|
|
412
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
544
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
545
|
+
:param pulumi.Input[bool] upgrade_spec_native: Valid values:
|
|
546
|
+
- false: migration and configuration change.
|
|
547
|
+
- true: in-situ matching
|
|
413
548
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] zones: Information about the zone where the cluster is deployed.
|
|
414
549
|
"""
|
|
415
550
|
if auto_renew is not None:
|
|
@@ -422,6 +557,8 @@ class _BaseInstanceState:
|
|
|
422
557
|
pulumi.set(__self__, "commodity_code", commodity_code)
|
|
423
558
|
if cpu is not None:
|
|
424
559
|
pulumi.set(__self__, "cpu", cpu)
|
|
560
|
+
if cpu_arch is not None:
|
|
561
|
+
pulumi.set(__self__, "cpu_arch", cpu_arch)
|
|
425
562
|
if create_time is not None:
|
|
426
563
|
pulumi.set(__self__, "create_time", create_time)
|
|
427
564
|
if disk_size is not None:
|
|
@@ -442,12 +579,18 @@ class _BaseInstanceState:
|
|
|
442
579
|
pulumi.set(__self__, "period", period)
|
|
443
580
|
if period_unit is not None:
|
|
444
581
|
pulumi.set(__self__, "period_unit", period_unit)
|
|
582
|
+
if primary_instance is not None:
|
|
583
|
+
pulumi.set(__self__, "primary_instance", primary_instance)
|
|
584
|
+
if primary_region is not None:
|
|
585
|
+
pulumi.set(__self__, "primary_region", primary_region)
|
|
445
586
|
if resource_group_id is not None:
|
|
446
587
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
447
588
|
if series is not None:
|
|
448
589
|
pulumi.set(__self__, "series", series)
|
|
449
590
|
if status is not None:
|
|
450
591
|
pulumi.set(__self__, "status", status)
|
|
592
|
+
if upgrade_spec_native is not None:
|
|
593
|
+
pulumi.set(__self__, "upgrade_spec_native", upgrade_spec_native)
|
|
451
594
|
if zones is not None:
|
|
452
595
|
pulumi.set(__self__, "zones", zones)
|
|
453
596
|
|
|
@@ -456,6 +599,7 @@ class _BaseInstanceState:
|
|
|
456
599
|
def auto_renew(self) -> Optional[pulumi.Input[bool]]:
|
|
457
600
|
"""
|
|
458
601
|
Whether to automatically renew.
|
|
602
|
+
|
|
459
603
|
It takes effect when the parameter ChargeType is PrePaid. Value range:
|
|
460
604
|
- true: automatic renewal.
|
|
461
605
|
- false (default): no automatic renewal.
|
|
@@ -488,6 +632,7 @@ class _BaseInstanceState:
|
|
|
488
632
|
- receive_all: Keep all backup sets;
|
|
489
633
|
- delete_all: delete all backup sets;
|
|
490
634
|
- receive_last: Keep the last backup set.
|
|
635
|
+
|
|
491
636
|
> **NOTE:** The default value is delete_all.
|
|
492
637
|
"""
|
|
493
638
|
return pulumi.get(self, "backup_retain_mode")
|
|
@@ -520,11 +665,23 @@ class _BaseInstanceState:
|
|
|
520
665
|
def cpu(self, value: Optional[pulumi.Input[int]]):
|
|
521
666
|
pulumi.set(self, "cpu", value)
|
|
522
667
|
|
|
668
|
+
@property
|
|
669
|
+
@pulumi.getter(name="cpuArch")
|
|
670
|
+
def cpu_arch(self) -> Optional[pulumi.Input[str]]:
|
|
671
|
+
"""
|
|
672
|
+
Cpu architecture, x86, arm. If no, the default value is x86
|
|
673
|
+
"""
|
|
674
|
+
return pulumi.get(self, "cpu_arch")
|
|
675
|
+
|
|
676
|
+
@cpu_arch.setter
|
|
677
|
+
def cpu_arch(self, value: Optional[pulumi.Input[str]]):
|
|
678
|
+
pulumi.set(self, "cpu_arch", value)
|
|
679
|
+
|
|
523
680
|
@property
|
|
524
681
|
@pulumi.getter(name="createTime")
|
|
525
682
|
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
526
683
|
"""
|
|
527
|
-
The creation time of the resource
|
|
684
|
+
The creation time of the resource
|
|
528
685
|
"""
|
|
529
686
|
return pulumi.get(self, "create_time")
|
|
530
687
|
|
|
@@ -537,11 +694,13 @@ class _BaseInstanceState:
|
|
|
537
694
|
def disk_size(self) -> Optional[pulumi.Input[int]]:
|
|
538
695
|
"""
|
|
539
696
|
The size of the storage space, in GB.
|
|
697
|
+
|
|
540
698
|
The limits of storage space vary according to the cluster specifications, as follows:
|
|
541
699
|
- 8C32GB:100GB ~ 10000GB
|
|
542
700
|
- 14C70GB:200GB ~ 10000GB
|
|
543
701
|
- 30C180GB:400GB ~ 10000GB
|
|
544
702
|
- 62C400G:800GB ~ 10000GB.
|
|
703
|
+
|
|
545
704
|
The default value of each package is its minimum value.
|
|
546
705
|
"""
|
|
547
706
|
return pulumi.get(self, "disk_size")
|
|
@@ -555,6 +714,7 @@ class _BaseInstanceState:
|
|
|
555
714
|
def disk_type(self) -> Optional[pulumi.Input[str]]:
|
|
556
715
|
"""
|
|
557
716
|
The storage type of the cluster. Effective only in the standard cluster version (cloud disk).
|
|
717
|
+
|
|
558
718
|
Two types are currently supported:
|
|
559
719
|
- cloud_essd_pl1: cloud disk ESSD pl1.
|
|
560
720
|
- cloud_essd_pl0: cloud disk ESSD pl0. The default value is cloud_essd_pl1.
|
|
@@ -569,25 +729,31 @@ class _BaseInstanceState:
|
|
|
569
729
|
@pulumi.getter(name="instanceClass")
|
|
570
730
|
def instance_class(self) -> Optional[pulumi.Input[str]]:
|
|
571
731
|
"""
|
|
572
|
-
Cluster specification information.
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
-
|
|
576
|
-
-
|
|
577
|
-
-
|
|
578
|
-
-
|
|
579
|
-
-
|
|
580
|
-
-
|
|
581
|
-
-
|
|
582
|
-
-
|
|
583
|
-
-
|
|
584
|
-
-
|
|
585
|
-
-
|
|
586
|
-
-
|
|
587
|
-
-
|
|
588
|
-
-
|
|
589
|
-
-
|
|
590
|
-
-
|
|
732
|
+
Cluster specification information. Note Please enter the shape as xCxxG, not xCxxGB
|
|
733
|
+
|
|
734
|
+
The x86 cluster architecture currently supports the following packages:
|
|
735
|
+
- 4C16G:4 core 16GB
|
|
736
|
+
- 8C32G:8 core 32GB
|
|
737
|
+
- 14C70G:14 core 70GB
|
|
738
|
+
- 24C120G:24 core 120GB
|
|
739
|
+
- 30C180G:30 core 180GB
|
|
740
|
+
- 62C400G:62 core 400GB
|
|
741
|
+
- 104C600G:104 core 600GB
|
|
742
|
+
- 16C70G:16 core 70GB
|
|
743
|
+
- 32C160G:32 core 160GB
|
|
744
|
+
- 64C380G:64 core 380GB
|
|
745
|
+
- 20C32G:20 core 32GB
|
|
746
|
+
- 40C64G:40 core 64GB
|
|
747
|
+
- 16C32G:16 core 32GB
|
|
748
|
+
- 32C70G:32 core 70GB
|
|
749
|
+
- 64C180G:64 core 180GB
|
|
750
|
+
- 32C180G:32 core 180GB
|
|
751
|
+
- 64C400G:64 core 400GB,
|
|
752
|
+
|
|
753
|
+
The cluster architecture of arm currently supports the following packages:
|
|
754
|
+
- 8C32G:8 core 32GB
|
|
755
|
+
- 16C70G:16 core 70GB
|
|
756
|
+
- 32C180G:32 core 180GB
|
|
591
757
|
"""
|
|
592
758
|
return pulumi.get(self, "instance_class")
|
|
593
759
|
|
|
@@ -599,7 +765,11 @@ class _BaseInstanceState:
|
|
|
599
765
|
@pulumi.getter(name="instanceName")
|
|
600
766
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
601
767
|
"""
|
|
602
|
-
OceanBase cluster name.
|
|
768
|
+
OceanBase cluster name.
|
|
769
|
+
|
|
770
|
+
The length is 1 to 20 English or Chinese characters.
|
|
771
|
+
|
|
772
|
+
If this parameter is not specified, the default value is the InstanceId of the cluster.
|
|
603
773
|
"""
|
|
604
774
|
return pulumi.get(self, "instance_name")
|
|
605
775
|
|
|
@@ -611,7 +781,7 @@ class _BaseInstanceState:
|
|
|
611
781
|
@pulumi.getter(name="nodeNum")
|
|
612
782
|
def node_num(self) -> Optional[pulumi.Input[str]]:
|
|
613
783
|
"""
|
|
614
|
-
The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
784
|
+
The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
615
785
|
"""
|
|
616
786
|
return pulumi.get(self, "node_num")
|
|
617
787
|
|
|
@@ -661,7 +831,11 @@ class _BaseInstanceState:
|
|
|
661
831
|
@pulumi.getter(name="periodUnit")
|
|
662
832
|
def period_unit(self) -> Optional[pulumi.Input[str]]:
|
|
663
833
|
"""
|
|
664
|
-
The duration of the purchase of resources.
|
|
834
|
+
The duration of the purchase of resources.
|
|
835
|
+
|
|
836
|
+
Package year and Month value range: Month.
|
|
837
|
+
|
|
838
|
+
Default value: Month of the package, which is billed by volume. The default period is Hour.
|
|
665
839
|
"""
|
|
666
840
|
return pulumi.get(self, "period_unit")
|
|
667
841
|
|
|
@@ -669,6 +843,30 @@ class _BaseInstanceState:
|
|
|
669
843
|
def period_unit(self, value: Optional[pulumi.Input[str]]):
|
|
670
844
|
pulumi.set(self, "period_unit", value)
|
|
671
845
|
|
|
846
|
+
@property
|
|
847
|
+
@pulumi.getter(name="primaryInstance")
|
|
848
|
+
def primary_instance(self) -> Optional[pulumi.Input[str]]:
|
|
849
|
+
"""
|
|
850
|
+
The ID of the primary instance.
|
|
851
|
+
"""
|
|
852
|
+
return pulumi.get(self, "primary_instance")
|
|
853
|
+
|
|
854
|
+
@primary_instance.setter
|
|
855
|
+
def primary_instance(self, value: Optional[pulumi.Input[str]]):
|
|
856
|
+
pulumi.set(self, "primary_instance", value)
|
|
857
|
+
|
|
858
|
+
@property
|
|
859
|
+
@pulumi.getter(name="primaryRegion")
|
|
860
|
+
def primary_region(self) -> Optional[pulumi.Input[str]]:
|
|
861
|
+
"""
|
|
862
|
+
The primary instance Region.
|
|
863
|
+
"""
|
|
864
|
+
return pulumi.get(self, "primary_region")
|
|
865
|
+
|
|
866
|
+
@primary_region.setter
|
|
867
|
+
def primary_region(self, value: Optional[pulumi.Input[str]]):
|
|
868
|
+
pulumi.set(self, "primary_region", value)
|
|
869
|
+
|
|
672
870
|
@property
|
|
673
871
|
@pulumi.getter(name="resourceGroupId")
|
|
674
872
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -697,7 +895,7 @@ class _BaseInstanceState:
|
|
|
697
895
|
@pulumi.getter
|
|
698
896
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
699
897
|
"""
|
|
700
|
-
The status of the resource
|
|
898
|
+
The status of the resource
|
|
701
899
|
"""
|
|
702
900
|
return pulumi.get(self, "status")
|
|
703
901
|
|
|
@@ -705,6 +903,20 @@ class _BaseInstanceState:
|
|
|
705
903
|
def status(self, value: Optional[pulumi.Input[str]]):
|
|
706
904
|
pulumi.set(self, "status", value)
|
|
707
905
|
|
|
906
|
+
@property
|
|
907
|
+
@pulumi.getter(name="upgradeSpecNative")
|
|
908
|
+
def upgrade_spec_native(self) -> Optional[pulumi.Input[bool]]:
|
|
909
|
+
"""
|
|
910
|
+
Valid values:
|
|
911
|
+
- false: migration and configuration change.
|
|
912
|
+
- true: in-situ matching
|
|
913
|
+
"""
|
|
914
|
+
return pulumi.get(self, "upgrade_spec_native")
|
|
915
|
+
|
|
916
|
+
@upgrade_spec_native.setter
|
|
917
|
+
def upgrade_spec_native(self, value: Optional[pulumi.Input[bool]]):
|
|
918
|
+
pulumi.set(self, "upgrade_spec_native", value)
|
|
919
|
+
|
|
708
920
|
@property
|
|
709
921
|
@pulumi.getter
|
|
710
922
|
def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
@@ -726,6 +938,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
726
938
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
727
939
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
728
940
|
backup_retain_mode: Optional[pulumi.Input[str]] = None,
|
|
941
|
+
cpu_arch: Optional[pulumi.Input[str]] = None,
|
|
729
942
|
disk_size: Optional[pulumi.Input[int]] = None,
|
|
730
943
|
disk_type: Optional[pulumi.Input[str]] = None,
|
|
731
944
|
instance_class: Optional[pulumi.Input[str]] = None,
|
|
@@ -735,8 +948,11 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
735
948
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
736
949
|
period: Optional[pulumi.Input[int]] = None,
|
|
737
950
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
951
|
+
primary_instance: Optional[pulumi.Input[str]] = None,
|
|
952
|
+
primary_region: Optional[pulumi.Input[str]] = None,
|
|
738
953
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
739
954
|
series: Optional[pulumi.Input[str]] = None,
|
|
955
|
+
upgrade_spec_native: Optional[pulumi.Input[bool]] = None,
|
|
740
956
|
zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
741
957
|
__props__=None):
|
|
742
958
|
"""
|
|
@@ -787,6 +1003,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
787
1003
|
:param str resource_name: The name of the resource.
|
|
788
1004
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
789
1005
|
:param pulumi.Input[bool] auto_renew: Whether to automatically renew.
|
|
1006
|
+
|
|
790
1007
|
It takes effect when the parameter ChargeType is PrePaid. Value range:
|
|
791
1008
|
- true: automatic renewal.
|
|
792
1009
|
- false (default): no automatic renewal.
|
|
@@ -797,47 +1014,71 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
797
1014
|
- receive_all: Keep all backup sets;
|
|
798
1015
|
- delete_all: delete all backup sets;
|
|
799
1016
|
- receive_last: Keep the last backup set.
|
|
1017
|
+
|
|
800
1018
|
> **NOTE:** The default value is delete_all.
|
|
1019
|
+
:param pulumi.Input[str] cpu_arch: Cpu architecture, x86, arm. If no, the default value is x86
|
|
801
1020
|
:param pulumi.Input[int] disk_size: The size of the storage space, in GB.
|
|
1021
|
+
|
|
802
1022
|
The limits of storage space vary according to the cluster specifications, as follows:
|
|
803
1023
|
- 8C32GB:100GB ~ 10000GB
|
|
804
1024
|
- 14C70GB:200GB ~ 10000GB
|
|
805
1025
|
- 30C180GB:400GB ~ 10000GB
|
|
806
1026
|
- 62C400G:800GB ~ 10000GB.
|
|
1027
|
+
|
|
807
1028
|
The default value of each package is its minimum value.
|
|
808
1029
|
:param pulumi.Input[str] disk_type: The storage type of the cluster. Effective only in the standard cluster version (cloud disk).
|
|
1030
|
+
|
|
809
1031
|
Two types are currently supported:
|
|
810
1032
|
- cloud_essd_pl1: cloud disk ESSD pl1.
|
|
811
1033
|
- cloud_essd_pl0: cloud disk ESSD pl0. The default value is cloud_essd_pl1.
|
|
812
|
-
:param pulumi.Input[str] instance_class: Cluster specification information.
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
-
|
|
816
|
-
-
|
|
817
|
-
-
|
|
818
|
-
-
|
|
819
|
-
-
|
|
820
|
-
-
|
|
821
|
-
-
|
|
822
|
-
-
|
|
823
|
-
-
|
|
824
|
-
-
|
|
825
|
-
-
|
|
826
|
-
-
|
|
827
|
-
-
|
|
828
|
-
-
|
|
829
|
-
-
|
|
830
|
-
-
|
|
831
|
-
|
|
832
|
-
|
|
1034
|
+
:param pulumi.Input[str] instance_class: Cluster specification information. Note Please enter the shape as xCxxG, not xCxxGB
|
|
1035
|
+
|
|
1036
|
+
The x86 cluster architecture currently supports the following packages:
|
|
1037
|
+
- 4C16G:4 core 16GB
|
|
1038
|
+
- 8C32G:8 core 32GB
|
|
1039
|
+
- 14C70G:14 core 70GB
|
|
1040
|
+
- 24C120G:24 core 120GB
|
|
1041
|
+
- 30C180G:30 core 180GB
|
|
1042
|
+
- 62C400G:62 core 400GB
|
|
1043
|
+
- 104C600G:104 core 600GB
|
|
1044
|
+
- 16C70G:16 core 70GB
|
|
1045
|
+
- 32C160G:32 core 160GB
|
|
1046
|
+
- 64C380G:64 core 380GB
|
|
1047
|
+
- 20C32G:20 core 32GB
|
|
1048
|
+
- 40C64G:40 core 64GB
|
|
1049
|
+
- 16C32G:16 core 32GB
|
|
1050
|
+
- 32C70G:32 core 70GB
|
|
1051
|
+
- 64C180G:64 core 180GB
|
|
1052
|
+
- 32C180G:32 core 180GB
|
|
1053
|
+
- 64C400G:64 core 400GB,
|
|
1054
|
+
|
|
1055
|
+
The cluster architecture of arm currently supports the following packages:
|
|
1056
|
+
- 8C32G:8 core 32GB
|
|
1057
|
+
- 16C70G:16 core 70GB
|
|
1058
|
+
- 32C180G:32 core 180GB
|
|
1059
|
+
:param pulumi.Input[str] instance_name: OceanBase cluster name.
|
|
1060
|
+
|
|
1061
|
+
The length is 1 to 20 English or Chinese characters.
|
|
1062
|
+
|
|
1063
|
+
If this parameter is not specified, the default value is the InstanceId of the cluster.
|
|
1064
|
+
:param pulumi.Input[str] node_num: The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
833
1065
|
:param pulumi.Input[str] ob_version: The OceanBase Server version number.
|
|
834
1066
|
:param pulumi.Input[str] payment_type: The payment method of the instance. Value range:
|
|
835
1067
|
- Subscription: Package year and month. When you select this type of payment method, you must make sure that your account supports balance payment or credit payment. Otherwise, an InvalidPayMethod error message will be returned.
|
|
836
1068
|
- PayAsYouGo (default): Pay-as-you-go (default hourly billing).
|
|
837
1069
|
:param pulumi.Input[int] period: The duration of the resource purchase. The unit is specified by the PeriodUnit. The parameter InstanceChargeType takes effect only when the value is PrePaid and is required. Once the DedicatedHostId is specified, the value cannot exceed the subscription duration of the dedicated host. When PeriodUnit = Week, Period values: {"1", "2", "3", "4"}. When PeriodUnit = Month, Period values: {"1", "2", "3", "4", "5", "6", "7", "8", "9", "12", "24", "36", "48", "60"}.
|
|
838
|
-
:param pulumi.Input[str] period_unit: The duration of the purchase of resources.
|
|
1070
|
+
:param pulumi.Input[str] period_unit: The duration of the purchase of resources.
|
|
1071
|
+
|
|
1072
|
+
Package year and Month value range: Month.
|
|
1073
|
+
|
|
1074
|
+
Default value: Month of the package, which is billed by volume. The default period is Hour.
|
|
1075
|
+
:param pulumi.Input[str] primary_instance: The ID of the primary instance.
|
|
1076
|
+
:param pulumi.Input[str] primary_region: The primary instance Region.
|
|
839
1077
|
:param pulumi.Input[str] resource_group_id: The ID of the enterprise resource group to which the instance resides.
|
|
840
1078
|
:param pulumi.Input[str] series: Series of OceanBase cluster instances-normal (default): Standard cluster version (cloud disk)-normal_SSD: Standard cluster version (local disk)-history: history Library cluster version.
|
|
1079
|
+
:param pulumi.Input[bool] upgrade_spec_native: Valid values:
|
|
1080
|
+
- false: migration and configuration change.
|
|
1081
|
+
- true: in-situ matching
|
|
841
1082
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] zones: Information about the zone where the cluster is deployed.
|
|
842
1083
|
"""
|
|
843
1084
|
...
|
|
@@ -909,6 +1150,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
909
1150
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
910
1151
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
911
1152
|
backup_retain_mode: Optional[pulumi.Input[str]] = None,
|
|
1153
|
+
cpu_arch: Optional[pulumi.Input[str]] = None,
|
|
912
1154
|
disk_size: Optional[pulumi.Input[int]] = None,
|
|
913
1155
|
disk_type: Optional[pulumi.Input[str]] = None,
|
|
914
1156
|
instance_class: Optional[pulumi.Input[str]] = None,
|
|
@@ -918,8 +1160,11 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
918
1160
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
919
1161
|
period: Optional[pulumi.Input[int]] = None,
|
|
920
1162
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
1163
|
+
primary_instance: Optional[pulumi.Input[str]] = None,
|
|
1164
|
+
primary_region: Optional[pulumi.Input[str]] = None,
|
|
921
1165
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
922
1166
|
series: Optional[pulumi.Input[str]] = None,
|
|
1167
|
+
upgrade_spec_native: Optional[pulumi.Input[bool]] = None,
|
|
923
1168
|
zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
924
1169
|
__props__=None):
|
|
925
1170
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -933,6 +1178,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
933
1178
|
__props__.__dict__["auto_renew"] = auto_renew
|
|
934
1179
|
__props__.__dict__["auto_renew_period"] = auto_renew_period
|
|
935
1180
|
__props__.__dict__["backup_retain_mode"] = backup_retain_mode
|
|
1181
|
+
__props__.__dict__["cpu_arch"] = cpu_arch
|
|
936
1182
|
if disk_size is None and not opts.urn:
|
|
937
1183
|
raise TypeError("Missing required property 'disk_size'")
|
|
938
1184
|
__props__.__dict__["disk_size"] = disk_size
|
|
@@ -948,10 +1194,13 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
948
1194
|
__props__.__dict__["payment_type"] = payment_type
|
|
949
1195
|
__props__.__dict__["period"] = period
|
|
950
1196
|
__props__.__dict__["period_unit"] = period_unit
|
|
1197
|
+
__props__.__dict__["primary_instance"] = primary_instance
|
|
1198
|
+
__props__.__dict__["primary_region"] = primary_region
|
|
951
1199
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
952
1200
|
if series is None and not opts.urn:
|
|
953
1201
|
raise TypeError("Missing required property 'series'")
|
|
954
1202
|
__props__.__dict__["series"] = series
|
|
1203
|
+
__props__.__dict__["upgrade_spec_native"] = upgrade_spec_native
|
|
955
1204
|
if zones is None and not opts.urn:
|
|
956
1205
|
raise TypeError("Missing required property 'zones'")
|
|
957
1206
|
__props__.__dict__["zones"] = zones
|
|
@@ -974,6 +1223,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
974
1223
|
backup_retain_mode: Optional[pulumi.Input[str]] = None,
|
|
975
1224
|
commodity_code: Optional[pulumi.Input[str]] = None,
|
|
976
1225
|
cpu: Optional[pulumi.Input[int]] = None,
|
|
1226
|
+
cpu_arch: Optional[pulumi.Input[str]] = None,
|
|
977
1227
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
978
1228
|
disk_size: Optional[pulumi.Input[int]] = None,
|
|
979
1229
|
disk_type: Optional[pulumi.Input[str]] = None,
|
|
@@ -984,9 +1234,12 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
984
1234
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
985
1235
|
period: Optional[pulumi.Input[int]] = None,
|
|
986
1236
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
1237
|
+
primary_instance: Optional[pulumi.Input[str]] = None,
|
|
1238
|
+
primary_region: Optional[pulumi.Input[str]] = None,
|
|
987
1239
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
988
1240
|
series: Optional[pulumi.Input[str]] = None,
|
|
989
1241
|
status: Optional[pulumi.Input[str]] = None,
|
|
1242
|
+
upgrade_spec_native: Optional[pulumi.Input[bool]] = None,
|
|
990
1243
|
zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'BaseInstance':
|
|
991
1244
|
"""
|
|
992
1245
|
Get an existing BaseInstance resource's state with the given name, id, and optional extra
|
|
@@ -996,6 +1249,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
996
1249
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
997
1250
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
998
1251
|
:param pulumi.Input[bool] auto_renew: Whether to automatically renew.
|
|
1252
|
+
|
|
999
1253
|
It takes effect when the parameter ChargeType is PrePaid. Value range:
|
|
1000
1254
|
- true: automatic renewal.
|
|
1001
1255
|
- false (default): no automatic renewal.
|
|
@@ -1006,51 +1260,75 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1006
1260
|
- receive_all: Keep all backup sets;
|
|
1007
1261
|
- delete_all: delete all backup sets;
|
|
1008
1262
|
- receive_last: Keep the last backup set.
|
|
1263
|
+
|
|
1009
1264
|
> **NOTE:** The default value is delete_all.
|
|
1010
1265
|
:param pulumi.Input[str] commodity_code: The product code of the OceanBase cluster._oceanbasepre_public_cn: Domestic station cloud database package Year-to-month package._oceanbasepost_public_cn: The domestic station cloud database is paid by the hour._obpre_public_intl: International Station Cloud Database Package Monthly Package.
|
|
1011
1266
|
:param pulumi.Input[int] cpu: The number of CPU cores of the cluster.
|
|
1012
|
-
:param pulumi.Input[str]
|
|
1267
|
+
:param pulumi.Input[str] cpu_arch: Cpu architecture, x86, arm. If no, the default value is x86
|
|
1268
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
1013
1269
|
:param pulumi.Input[int] disk_size: The size of the storage space, in GB.
|
|
1270
|
+
|
|
1014
1271
|
The limits of storage space vary according to the cluster specifications, as follows:
|
|
1015
1272
|
- 8C32GB:100GB ~ 10000GB
|
|
1016
1273
|
- 14C70GB:200GB ~ 10000GB
|
|
1017
1274
|
- 30C180GB:400GB ~ 10000GB
|
|
1018
1275
|
- 62C400G:800GB ~ 10000GB.
|
|
1276
|
+
|
|
1019
1277
|
The default value of each package is its minimum value.
|
|
1020
1278
|
:param pulumi.Input[str] disk_type: The storage type of the cluster. Effective only in the standard cluster version (cloud disk).
|
|
1279
|
+
|
|
1021
1280
|
Two types are currently supported:
|
|
1022
1281
|
- cloud_essd_pl1: cloud disk ESSD pl1.
|
|
1023
1282
|
- cloud_essd_pl0: cloud disk ESSD pl0. The default value is cloud_essd_pl1.
|
|
1024
|
-
:param pulumi.Input[str] instance_class: Cluster specification information.
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
-
|
|
1028
|
-
-
|
|
1029
|
-
-
|
|
1030
|
-
-
|
|
1031
|
-
-
|
|
1032
|
-
-
|
|
1033
|
-
-
|
|
1034
|
-
-
|
|
1035
|
-
-
|
|
1036
|
-
-
|
|
1037
|
-
-
|
|
1038
|
-
-
|
|
1039
|
-
-
|
|
1040
|
-
-
|
|
1041
|
-
-
|
|
1042
|
-
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1283
|
+
:param pulumi.Input[str] instance_class: Cluster specification information. Note Please enter the shape as xCxxG, not xCxxGB
|
|
1284
|
+
|
|
1285
|
+
The x86 cluster architecture currently supports the following packages:
|
|
1286
|
+
- 4C16G:4 core 16GB
|
|
1287
|
+
- 8C32G:8 core 32GB
|
|
1288
|
+
- 14C70G:14 core 70GB
|
|
1289
|
+
- 24C120G:24 core 120GB
|
|
1290
|
+
- 30C180G:30 core 180GB
|
|
1291
|
+
- 62C400G:62 core 400GB
|
|
1292
|
+
- 104C600G:104 core 600GB
|
|
1293
|
+
- 16C70G:16 core 70GB
|
|
1294
|
+
- 32C160G:32 core 160GB
|
|
1295
|
+
- 64C380G:64 core 380GB
|
|
1296
|
+
- 20C32G:20 core 32GB
|
|
1297
|
+
- 40C64G:40 core 64GB
|
|
1298
|
+
- 16C32G:16 core 32GB
|
|
1299
|
+
- 32C70G:32 core 70GB
|
|
1300
|
+
- 64C180G:64 core 180GB
|
|
1301
|
+
- 32C180G:32 core 180GB
|
|
1302
|
+
- 64C400G:64 core 400GB,
|
|
1303
|
+
|
|
1304
|
+
The cluster architecture of arm currently supports the following packages:
|
|
1305
|
+
- 8C32G:8 core 32GB
|
|
1306
|
+
- 16C70G:16 core 70GB
|
|
1307
|
+
- 32C180G:32 core 180GB
|
|
1308
|
+
:param pulumi.Input[str] instance_name: OceanBase cluster name.
|
|
1309
|
+
|
|
1310
|
+
The length is 1 to 20 English or Chinese characters.
|
|
1311
|
+
|
|
1312
|
+
If this parameter is not specified, the default value is the InstanceId of the cluster.
|
|
1313
|
+
:param pulumi.Input[str] node_num: The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
1045
1314
|
:param pulumi.Input[str] ob_version: The OceanBase Server version number.
|
|
1046
1315
|
:param pulumi.Input[str] payment_type: The payment method of the instance. Value range:
|
|
1047
1316
|
- Subscription: Package year and month. When you select this type of payment method, you must make sure that your account supports balance payment or credit payment. Otherwise, an InvalidPayMethod error message will be returned.
|
|
1048
1317
|
- PayAsYouGo (default): Pay-as-you-go (default hourly billing).
|
|
1049
1318
|
:param pulumi.Input[int] period: The duration of the resource purchase. The unit is specified by the PeriodUnit. The parameter InstanceChargeType takes effect only when the value is PrePaid and is required. Once the DedicatedHostId is specified, the value cannot exceed the subscription duration of the dedicated host. When PeriodUnit = Week, Period values: {"1", "2", "3", "4"}. When PeriodUnit = Month, Period values: {"1", "2", "3", "4", "5", "6", "7", "8", "9", "12", "24", "36", "48", "60"}.
|
|
1050
|
-
:param pulumi.Input[str] period_unit: The duration of the purchase of resources.
|
|
1319
|
+
:param pulumi.Input[str] period_unit: The duration of the purchase of resources.
|
|
1320
|
+
|
|
1321
|
+
Package year and Month value range: Month.
|
|
1322
|
+
|
|
1323
|
+
Default value: Month of the package, which is billed by volume. The default period is Hour.
|
|
1324
|
+
:param pulumi.Input[str] primary_instance: The ID of the primary instance.
|
|
1325
|
+
:param pulumi.Input[str] primary_region: The primary instance Region.
|
|
1051
1326
|
:param pulumi.Input[str] resource_group_id: The ID of the enterprise resource group to which the instance resides.
|
|
1052
1327
|
:param pulumi.Input[str] series: Series of OceanBase cluster instances-normal (default): Standard cluster version (cloud disk)-normal_SSD: Standard cluster version (local disk)-history: history Library cluster version.
|
|
1053
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
1328
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
1329
|
+
:param pulumi.Input[bool] upgrade_spec_native: Valid values:
|
|
1330
|
+
- false: migration and configuration change.
|
|
1331
|
+
- true: in-situ matching
|
|
1054
1332
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] zones: Information about the zone where the cluster is deployed.
|
|
1055
1333
|
"""
|
|
1056
1334
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1062,6 +1340,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1062
1340
|
__props__.__dict__["backup_retain_mode"] = backup_retain_mode
|
|
1063
1341
|
__props__.__dict__["commodity_code"] = commodity_code
|
|
1064
1342
|
__props__.__dict__["cpu"] = cpu
|
|
1343
|
+
__props__.__dict__["cpu_arch"] = cpu_arch
|
|
1065
1344
|
__props__.__dict__["create_time"] = create_time
|
|
1066
1345
|
__props__.__dict__["disk_size"] = disk_size
|
|
1067
1346
|
__props__.__dict__["disk_type"] = disk_type
|
|
@@ -1072,9 +1351,12 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1072
1351
|
__props__.__dict__["payment_type"] = payment_type
|
|
1073
1352
|
__props__.__dict__["period"] = period
|
|
1074
1353
|
__props__.__dict__["period_unit"] = period_unit
|
|
1354
|
+
__props__.__dict__["primary_instance"] = primary_instance
|
|
1355
|
+
__props__.__dict__["primary_region"] = primary_region
|
|
1075
1356
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1076
1357
|
__props__.__dict__["series"] = series
|
|
1077
1358
|
__props__.__dict__["status"] = status
|
|
1359
|
+
__props__.__dict__["upgrade_spec_native"] = upgrade_spec_native
|
|
1078
1360
|
__props__.__dict__["zones"] = zones
|
|
1079
1361
|
return BaseInstance(resource_name, opts=opts, __props__=__props__)
|
|
1080
1362
|
|
|
@@ -1083,6 +1365,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1083
1365
|
def auto_renew(self) -> pulumi.Output[Optional[bool]]:
|
|
1084
1366
|
"""
|
|
1085
1367
|
Whether to automatically renew.
|
|
1368
|
+
|
|
1086
1369
|
It takes effect when the parameter ChargeType is PrePaid. Value range:
|
|
1087
1370
|
- true: automatic renewal.
|
|
1088
1371
|
- false (default): no automatic renewal.
|
|
@@ -1107,6 +1390,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1107
1390
|
- receive_all: Keep all backup sets;
|
|
1108
1391
|
- delete_all: delete all backup sets;
|
|
1109
1392
|
- receive_last: Keep the last backup set.
|
|
1393
|
+
|
|
1110
1394
|
> **NOTE:** The default value is delete_all.
|
|
1111
1395
|
"""
|
|
1112
1396
|
return pulumi.get(self, "backup_retain_mode")
|
|
@@ -1127,11 +1411,19 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1127
1411
|
"""
|
|
1128
1412
|
return pulumi.get(self, "cpu")
|
|
1129
1413
|
|
|
1414
|
+
@property
|
|
1415
|
+
@pulumi.getter(name="cpuArch")
|
|
1416
|
+
def cpu_arch(self) -> pulumi.Output[str]:
|
|
1417
|
+
"""
|
|
1418
|
+
Cpu architecture, x86, arm. If no, the default value is x86
|
|
1419
|
+
"""
|
|
1420
|
+
return pulumi.get(self, "cpu_arch")
|
|
1421
|
+
|
|
1130
1422
|
@property
|
|
1131
1423
|
@pulumi.getter(name="createTime")
|
|
1132
1424
|
def create_time(self) -> pulumi.Output[str]:
|
|
1133
1425
|
"""
|
|
1134
|
-
The creation time of the resource
|
|
1426
|
+
The creation time of the resource
|
|
1135
1427
|
"""
|
|
1136
1428
|
return pulumi.get(self, "create_time")
|
|
1137
1429
|
|
|
@@ -1140,11 +1432,13 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1140
1432
|
def disk_size(self) -> pulumi.Output[int]:
|
|
1141
1433
|
"""
|
|
1142
1434
|
The size of the storage space, in GB.
|
|
1435
|
+
|
|
1143
1436
|
The limits of storage space vary according to the cluster specifications, as follows:
|
|
1144
1437
|
- 8C32GB:100GB ~ 10000GB
|
|
1145
1438
|
- 14C70GB:200GB ~ 10000GB
|
|
1146
1439
|
- 30C180GB:400GB ~ 10000GB
|
|
1147
1440
|
- 62C400G:800GB ~ 10000GB.
|
|
1441
|
+
|
|
1148
1442
|
The default value of each package is its minimum value.
|
|
1149
1443
|
"""
|
|
1150
1444
|
return pulumi.get(self, "disk_size")
|
|
@@ -1154,6 +1448,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1154
1448
|
def disk_type(self) -> pulumi.Output[str]:
|
|
1155
1449
|
"""
|
|
1156
1450
|
The storage type of the cluster. Effective only in the standard cluster version (cloud disk).
|
|
1451
|
+
|
|
1157
1452
|
Two types are currently supported:
|
|
1158
1453
|
- cloud_essd_pl1: cloud disk ESSD pl1.
|
|
1159
1454
|
- cloud_essd_pl0: cloud disk ESSD pl0. The default value is cloud_essd_pl1.
|
|
@@ -1164,25 +1459,31 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1164
1459
|
@pulumi.getter(name="instanceClass")
|
|
1165
1460
|
def instance_class(self) -> pulumi.Output[str]:
|
|
1166
1461
|
"""
|
|
1167
|
-
Cluster specification information.
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
-
|
|
1171
|
-
-
|
|
1172
|
-
-
|
|
1173
|
-
-
|
|
1174
|
-
-
|
|
1175
|
-
-
|
|
1176
|
-
-
|
|
1177
|
-
-
|
|
1178
|
-
-
|
|
1179
|
-
-
|
|
1180
|
-
-
|
|
1181
|
-
-
|
|
1182
|
-
-
|
|
1183
|
-
-
|
|
1184
|
-
-
|
|
1185
|
-
-
|
|
1462
|
+
Cluster specification information. Note Please enter the shape as xCxxG, not xCxxGB
|
|
1463
|
+
|
|
1464
|
+
The x86 cluster architecture currently supports the following packages:
|
|
1465
|
+
- 4C16G:4 core 16GB
|
|
1466
|
+
- 8C32G:8 core 32GB
|
|
1467
|
+
- 14C70G:14 core 70GB
|
|
1468
|
+
- 24C120G:24 core 120GB
|
|
1469
|
+
- 30C180G:30 core 180GB
|
|
1470
|
+
- 62C400G:62 core 400GB
|
|
1471
|
+
- 104C600G:104 core 600GB
|
|
1472
|
+
- 16C70G:16 core 70GB
|
|
1473
|
+
- 32C160G:32 core 160GB
|
|
1474
|
+
- 64C380G:64 core 380GB
|
|
1475
|
+
- 20C32G:20 core 32GB
|
|
1476
|
+
- 40C64G:40 core 64GB
|
|
1477
|
+
- 16C32G:16 core 32GB
|
|
1478
|
+
- 32C70G:32 core 70GB
|
|
1479
|
+
- 64C180G:64 core 180GB
|
|
1480
|
+
- 32C180G:32 core 180GB
|
|
1481
|
+
- 64C400G:64 core 400GB,
|
|
1482
|
+
|
|
1483
|
+
The cluster architecture of arm currently supports the following packages:
|
|
1484
|
+
- 8C32G:8 core 32GB
|
|
1485
|
+
- 16C70G:16 core 70GB
|
|
1486
|
+
- 32C180G:32 core 180GB
|
|
1186
1487
|
"""
|
|
1187
1488
|
return pulumi.get(self, "instance_class")
|
|
1188
1489
|
|
|
@@ -1190,7 +1491,11 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1190
1491
|
@pulumi.getter(name="instanceName")
|
|
1191
1492
|
def instance_name(self) -> pulumi.Output[str]:
|
|
1192
1493
|
"""
|
|
1193
|
-
OceanBase cluster name.
|
|
1494
|
+
OceanBase cluster name.
|
|
1495
|
+
|
|
1496
|
+
The length is 1 to 20 English or Chinese characters.
|
|
1497
|
+
|
|
1498
|
+
If this parameter is not specified, the default value is the InstanceId of the cluster.
|
|
1194
1499
|
"""
|
|
1195
1500
|
return pulumi.get(self, "instance_name")
|
|
1196
1501
|
|
|
@@ -1198,7 +1503,7 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1198
1503
|
@pulumi.getter(name="nodeNum")
|
|
1199
1504
|
def node_num(self) -> pulumi.Output[str]:
|
|
1200
1505
|
"""
|
|
1201
|
-
The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
1506
|
+
The number of nodes in the cluster. If the deployment mode is n-n-n, the number of nodes is n * 3
|
|
1202
1507
|
"""
|
|
1203
1508
|
return pulumi.get(self, "node_num")
|
|
1204
1509
|
|
|
@@ -1232,10 +1537,30 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1232
1537
|
@pulumi.getter(name="periodUnit")
|
|
1233
1538
|
def period_unit(self) -> pulumi.Output[Optional[str]]:
|
|
1234
1539
|
"""
|
|
1235
|
-
The duration of the purchase of resources.
|
|
1540
|
+
The duration of the purchase of resources.
|
|
1541
|
+
|
|
1542
|
+
Package year and Month value range: Month.
|
|
1543
|
+
|
|
1544
|
+
Default value: Month of the package, which is billed by volume. The default period is Hour.
|
|
1236
1545
|
"""
|
|
1237
1546
|
return pulumi.get(self, "period_unit")
|
|
1238
1547
|
|
|
1548
|
+
@property
|
|
1549
|
+
@pulumi.getter(name="primaryInstance")
|
|
1550
|
+
def primary_instance(self) -> pulumi.Output[Optional[str]]:
|
|
1551
|
+
"""
|
|
1552
|
+
The ID of the primary instance.
|
|
1553
|
+
"""
|
|
1554
|
+
return pulumi.get(self, "primary_instance")
|
|
1555
|
+
|
|
1556
|
+
@property
|
|
1557
|
+
@pulumi.getter(name="primaryRegion")
|
|
1558
|
+
def primary_region(self) -> pulumi.Output[Optional[str]]:
|
|
1559
|
+
"""
|
|
1560
|
+
The primary instance Region.
|
|
1561
|
+
"""
|
|
1562
|
+
return pulumi.get(self, "primary_region")
|
|
1563
|
+
|
|
1239
1564
|
@property
|
|
1240
1565
|
@pulumi.getter(name="resourceGroupId")
|
|
1241
1566
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
@@ -1256,10 +1581,20 @@ class BaseInstance(pulumi.CustomResource):
|
|
|
1256
1581
|
@pulumi.getter
|
|
1257
1582
|
def status(self) -> pulumi.Output[str]:
|
|
1258
1583
|
"""
|
|
1259
|
-
The status of the resource
|
|
1584
|
+
The status of the resource
|
|
1260
1585
|
"""
|
|
1261
1586
|
return pulumi.get(self, "status")
|
|
1262
1587
|
|
|
1588
|
+
@property
|
|
1589
|
+
@pulumi.getter(name="upgradeSpecNative")
|
|
1590
|
+
def upgrade_spec_native(self) -> pulumi.Output[Optional[bool]]:
|
|
1591
|
+
"""
|
|
1592
|
+
Valid values:
|
|
1593
|
+
- false: migration and configuration change.
|
|
1594
|
+
- true: in-situ matching
|
|
1595
|
+
"""
|
|
1596
|
+
return pulumi.get(self, "upgrade_spec_native")
|
|
1597
|
+
|
|
1263
1598
|
@property
|
|
1264
1599
|
@pulumi.getter
|
|
1265
1600
|
def zones(self) -> pulumi.Output[Sequence[str]]:
|