pulumi-alicloud 3.60.0a1721884766__py3-none-any.whl → 3.60.0a1721971165__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.
- pulumi_alicloud/_utilities.py +2 -0
- pulumi_alicloud/cen/get_transit_router_service.py +2 -2
- pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/dcdn/_inputs.py +23 -27
- pulumi_alicloud/dcdn/domain.py +366 -217
- pulumi_alicloud/dcdn/outputs.py +18 -22
- pulumi_alicloud/directmail/get_domains.py +31 -24
- pulumi_alicloud/directmail/outputs.py +131 -32
- pulumi_alicloud/eci/_inputs.py +8 -0
- pulumi_alicloud/eci/outputs.py +8 -0
- pulumi_alicloud/ecs/_inputs.py +40 -8
- pulumi_alicloud/ecs/ecs_disk.py +7 -0
- pulumi_alicloud/ecs/instance.py +304 -102
- pulumi_alicloud/ecs/outputs.py +37 -9
- pulumi_alicloud/maxcompute/_inputs.py +44 -42
- pulumi_alicloud/maxcompute/outputs.py +44 -42
- pulumi_alicloud/maxcompute/project.py +230 -66
- pulumi_alicloud/polardb/cluster.py +28 -28
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/slb/_inputs.py +8 -8
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group.py +140 -84
- pulumi_alicloud/vpc/_inputs.py +18 -12
- pulumi_alicloud/vpc/network.py +332 -134
- pulumi_alicloud/vpc/outputs.py +18 -12
- pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721971165.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721971165.dist-info}/RECORD +32 -32
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721971165.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721971165.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ecs/instance.py
CHANGED
|
@@ -54,12 +54,15 @@ class InstanceArgs:
|
|
|
54
54
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
55
55
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
56
56
|
maintenance_time: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']] = None,
|
|
57
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
58
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
57
59
|
network_interfaces: Optional[pulumi.Input['InstanceNetworkInterfacesArgs']] = None,
|
|
58
60
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
59
61
|
password: Optional[pulumi.Input[str]] = None,
|
|
60
62
|
period: Optional[pulumi.Input[int]] = None,
|
|
61
63
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
62
64
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
65
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
63
66
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
64
67
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
65
68
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -85,6 +88,7 @@ class InstanceArgs:
|
|
|
85
88
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
86
89
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
87
90
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
91
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
88
92
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
89
93
|
"""
|
|
90
94
|
The set of arguments for constructing a Instance resource.
|
|
@@ -108,20 +112,6 @@ class InstanceArgs:
|
|
|
108
112
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
109
113
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
110
114
|
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
111
|
-
|
|
112
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
113
|
-
|
|
114
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
115
|
-
|
|
116
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
117
|
-
|
|
118
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
119
|
-
|
|
120
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
121
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
122
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
123
|
-
|
|
124
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
125
115
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
126
116
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
127
117
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -157,6 +147,10 @@ class InstanceArgs:
|
|
|
157
147
|
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
158
148
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
159
149
|
:param pulumi.Input['InstanceMaintenanceTimeArgs'] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
150
|
+
:param pulumi.Input[int] network_card_index: The index of the network card for Primary ENI.
|
|
151
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
152
|
+
- `Standard`: Uses the TCP communication mode.
|
|
153
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
160
154
|
:param pulumi.Input['InstanceNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
161
155
|
:param pulumi.Input[str] operator_type: The operation type. It is valid when `instance_charge_type` is `PrePaid`. Default value: `upgrade`. Valid values: `upgrade`, `downgrade`. **NOTE:** When the new instance type specified by the `instance_type` parameter has lower specifications than the current instance type, you must set `operator_type` to `downgrade`.
|
|
162
156
|
:param pulumi.Input[str] password: Password to an instance is a string of 8 to 30 characters. It must contain uppercase/lowercase letters and numerals, but cannot contain special symbols. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -167,6 +161,21 @@ class InstanceArgs:
|
|
|
167
161
|
> **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
|
|
168
162
|
:param pulumi.Input[str] period_unit: The duration unit that you will buy the resource. It is valid when `instance_charge_type` is 'PrePaid'. Valid value: ["Week", "Month"]. Default to "Month".
|
|
169
163
|
:param pulumi.Input[str] private_ip: Instance private IP address can be specified when you creating new instance. It is valid when `vswitch_id` is specified. When it is changed, the instance will reboot to make the change take effect.
|
|
164
|
+
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
165
|
+
|
|
166
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
167
|
+
|
|
168
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
169
|
+
|
|
170
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
171
|
+
|
|
172
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
173
|
+
|
|
174
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
175
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
176
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
177
|
+
|
|
178
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
170
179
|
:param pulumi.Input[str] renewal_status: Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
171
180
|
- `AutoRenewal`: Enable auto renewal.
|
|
172
181
|
- `Normal`: Disable auto renewal.
|
|
@@ -211,6 +220,7 @@ class InstanceArgs:
|
|
|
211
220
|
:param pulumi.Input[Mapping[str, Any]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
212
221
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
213
222
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
223
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
214
224
|
:param pulumi.Input[str] vswitch_id: The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect.
|
|
215
225
|
"""
|
|
216
226
|
if allocate_public_ip is not None:
|
|
@@ -295,6 +305,10 @@ class InstanceArgs:
|
|
|
295
305
|
pulumi.set(__self__, "maintenance_notify", maintenance_notify)
|
|
296
306
|
if maintenance_time is not None:
|
|
297
307
|
pulumi.set(__self__, "maintenance_time", maintenance_time)
|
|
308
|
+
if network_card_index is not None:
|
|
309
|
+
pulumi.set(__self__, "network_card_index", network_card_index)
|
|
310
|
+
if network_interface_traffic_mode is not None:
|
|
311
|
+
pulumi.set(__self__, "network_interface_traffic_mode", network_interface_traffic_mode)
|
|
298
312
|
if network_interfaces is not None:
|
|
299
313
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
|
300
314
|
if operator_type is not None:
|
|
@@ -307,6 +321,8 @@ class InstanceArgs:
|
|
|
307
321
|
pulumi.set(__self__, "period_unit", period_unit)
|
|
308
322
|
if private_ip is not None:
|
|
309
323
|
pulumi.set(__self__, "private_ip", private_ip)
|
|
324
|
+
if queue_pair_number is not None:
|
|
325
|
+
pulumi.set(__self__, "queue_pair_number", queue_pair_number)
|
|
310
326
|
if renewal_status is not None:
|
|
311
327
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
312
328
|
if resource_group_id is not None:
|
|
@@ -357,6 +373,8 @@ class InstanceArgs:
|
|
|
357
373
|
pulumi.set(__self__, "user_data", user_data)
|
|
358
374
|
if volume_tags is not None:
|
|
359
375
|
pulumi.set(__self__, "volume_tags", volume_tags)
|
|
376
|
+
if vpc_id is not None:
|
|
377
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
360
378
|
if vswitch_id is not None:
|
|
361
379
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
362
380
|
|
|
@@ -506,20 +524,6 @@ class InstanceArgs:
|
|
|
506
524
|
def enable_jumbo_frame(self) -> Optional[pulumi.Input[bool]]:
|
|
507
525
|
"""
|
|
508
526
|
Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
509
|
-
|
|
510
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
511
|
-
|
|
512
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
513
|
-
|
|
514
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
515
|
-
|
|
516
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
517
|
-
|
|
518
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
519
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
520
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
521
|
-
|
|
522
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
523
527
|
"""
|
|
524
528
|
return pulumi.get(self, "enable_jumbo_frame")
|
|
525
529
|
|
|
@@ -847,6 +851,32 @@ class InstanceArgs:
|
|
|
847
851
|
def maintenance_time(self, value: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']]):
|
|
848
852
|
pulumi.set(self, "maintenance_time", value)
|
|
849
853
|
|
|
854
|
+
@property
|
|
855
|
+
@pulumi.getter(name="networkCardIndex")
|
|
856
|
+
def network_card_index(self) -> Optional[pulumi.Input[int]]:
|
|
857
|
+
"""
|
|
858
|
+
The index of the network card for Primary ENI.
|
|
859
|
+
"""
|
|
860
|
+
return pulumi.get(self, "network_card_index")
|
|
861
|
+
|
|
862
|
+
@network_card_index.setter
|
|
863
|
+
def network_card_index(self, value: Optional[pulumi.Input[int]]):
|
|
864
|
+
pulumi.set(self, "network_card_index", value)
|
|
865
|
+
|
|
866
|
+
@property
|
|
867
|
+
@pulumi.getter(name="networkInterfaceTrafficMode")
|
|
868
|
+
def network_interface_traffic_mode(self) -> Optional[pulumi.Input[str]]:
|
|
869
|
+
"""
|
|
870
|
+
The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
871
|
+
- `Standard`: Uses the TCP communication mode.
|
|
872
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
873
|
+
"""
|
|
874
|
+
return pulumi.get(self, "network_interface_traffic_mode")
|
|
875
|
+
|
|
876
|
+
@network_interface_traffic_mode.setter
|
|
877
|
+
def network_interface_traffic_mode(self, value: Optional[pulumi.Input[str]]):
|
|
878
|
+
pulumi.set(self, "network_interface_traffic_mode", value)
|
|
879
|
+
|
|
850
880
|
@property
|
|
851
881
|
@pulumi.getter(name="networkInterfaces")
|
|
852
882
|
def network_interfaces(self) -> Optional[pulumi.Input['InstanceNetworkInterfacesArgs']]:
|
|
@@ -923,6 +953,32 @@ class InstanceArgs:
|
|
|
923
953
|
def private_ip(self, value: Optional[pulumi.Input[str]]):
|
|
924
954
|
pulumi.set(self, "private_ip", value)
|
|
925
955
|
|
|
956
|
+
@property
|
|
957
|
+
@pulumi.getter(name="queuePairNumber")
|
|
958
|
+
def queue_pair_number(self) -> Optional[pulumi.Input[int]]:
|
|
959
|
+
"""
|
|
960
|
+
The number of queues supported by the ERI.
|
|
961
|
+
|
|
962
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
963
|
+
|
|
964
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
965
|
+
|
|
966
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
967
|
+
|
|
968
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
969
|
+
|
|
970
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
971
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
972
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
973
|
+
|
|
974
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
975
|
+
"""
|
|
976
|
+
return pulumi.get(self, "queue_pair_number")
|
|
977
|
+
|
|
978
|
+
@queue_pair_number.setter
|
|
979
|
+
def queue_pair_number(self, value: Optional[pulumi.Input[int]]):
|
|
980
|
+
pulumi.set(self, "queue_pair_number", value)
|
|
981
|
+
|
|
926
982
|
@property
|
|
927
983
|
@pulumi.getter(name="renewalStatus")
|
|
928
984
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1242,6 +1298,18 @@ class InstanceArgs:
|
|
|
1242
1298
|
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
|
1243
1299
|
pulumi.set(self, "volume_tags", value)
|
|
1244
1300
|
|
|
1301
|
+
@property
|
|
1302
|
+
@pulumi.getter(name="vpcId")
|
|
1303
|
+
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
1304
|
+
"""
|
|
1305
|
+
The ID of the VPC.
|
|
1306
|
+
"""
|
|
1307
|
+
return pulumi.get(self, "vpc_id")
|
|
1308
|
+
|
|
1309
|
+
@vpc_id.setter
|
|
1310
|
+
def vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
1311
|
+
pulumi.set(self, "vpc_id", value)
|
|
1312
|
+
|
|
1245
1313
|
@property
|
|
1246
1314
|
@pulumi.getter(name="vswitchId")
|
|
1247
1315
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1299,7 +1367,9 @@ class _InstanceState:
|
|
|
1299
1367
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
1300
1368
|
maintenance_time: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']] = None,
|
|
1301
1369
|
memory: Optional[pulumi.Input[int]] = None,
|
|
1370
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
1302
1371
|
network_interface_id: Optional[pulumi.Input[str]] = None,
|
|
1372
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
1303
1373
|
network_interfaces: Optional[pulumi.Input['InstanceNetworkInterfacesArgs']] = None,
|
|
1304
1374
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
1305
1375
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1310,6 +1380,7 @@ class _InstanceState:
|
|
|
1310
1380
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
1311
1381
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
1312
1382
|
public_ip: Optional[pulumi.Input[str]] = None,
|
|
1383
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
1313
1384
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
1314
1385
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1315
1386
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1336,6 +1407,7 @@ class _InstanceState:
|
|
|
1336
1407
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1337
1408
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
1338
1409
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
1410
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1339
1411
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
1340
1412
|
"""
|
|
1341
1413
|
Input properties used for looking up and filtering Instance resources.
|
|
@@ -1361,20 +1433,6 @@ class _InstanceState:
|
|
|
1361
1433
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
1362
1434
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
1363
1435
|
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
1364
|
-
|
|
1365
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
1366
|
-
|
|
1367
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
1368
|
-
|
|
1369
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1370
|
-
|
|
1371
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
1372
|
-
|
|
1373
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1374
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
1375
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1376
|
-
|
|
1377
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
1378
1436
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
1379
1437
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
1380
1438
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -1411,7 +1469,11 @@ class _InstanceState:
|
|
|
1411
1469
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
1412
1470
|
:param pulumi.Input['InstanceMaintenanceTimeArgs'] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
1413
1471
|
:param pulumi.Input[int] memory: The memory size of the instance. Unit: MiB.
|
|
1414
|
-
:param pulumi.Input[
|
|
1472
|
+
:param pulumi.Input[int] network_card_index: The index of the network card for Primary ENI.
|
|
1473
|
+
:param pulumi.Input[str] network_interface_id: The ID of the Primary ENI.
|
|
1474
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
1475
|
+
- `Standard`: Uses the TCP communication mode.
|
|
1476
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
1415
1477
|
:param pulumi.Input['InstanceNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
1416
1478
|
:param pulumi.Input[str] operator_type: The operation type. It is valid when `instance_charge_type` is `PrePaid`. Default value: `upgrade`. Valid values: `upgrade`, `downgrade`. **NOTE:** When the new instance type specified by the `instance_type` parameter has lower specifications than the current instance type, you must set `operator_type` to `downgrade`.
|
|
1417
1479
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
@@ -1426,6 +1488,21 @@ class _InstanceState:
|
|
|
1426
1488
|
:param pulumi.Input[str] primary_ip_address: The primary private IP address of the ENI.
|
|
1427
1489
|
:param pulumi.Input[str] private_ip: Instance private IP address can be specified when you creating new instance. It is valid when `vswitch_id` is specified. When it is changed, the instance will reboot to make the change take effect.
|
|
1428
1490
|
:param pulumi.Input[str] public_ip: The instance public ip.
|
|
1491
|
+
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
1492
|
+
|
|
1493
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
1494
|
+
|
|
1495
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
1496
|
+
|
|
1497
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1498
|
+
|
|
1499
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
1500
|
+
|
|
1501
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1502
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
1503
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1504
|
+
|
|
1505
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
1429
1506
|
:param pulumi.Input[str] renewal_status: Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
1430
1507
|
- `AutoRenewal`: Enable auto renewal.
|
|
1431
1508
|
- `Normal`: Disable auto renewal.
|
|
@@ -1471,6 +1548,7 @@ class _InstanceState:
|
|
|
1471
1548
|
:param pulumi.Input[Mapping[str, Any]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
1472
1549
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
1473
1550
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
1551
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
1474
1552
|
:param pulumi.Input[str] vswitch_id: The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect.
|
|
1475
1553
|
"""
|
|
1476
1554
|
if allocate_public_ip is not None:
|
|
@@ -1561,8 +1639,12 @@ class _InstanceState:
|
|
|
1561
1639
|
pulumi.set(__self__, "maintenance_time", maintenance_time)
|
|
1562
1640
|
if memory is not None:
|
|
1563
1641
|
pulumi.set(__self__, "memory", memory)
|
|
1642
|
+
if network_card_index is not None:
|
|
1643
|
+
pulumi.set(__self__, "network_card_index", network_card_index)
|
|
1564
1644
|
if network_interface_id is not None:
|
|
1565
1645
|
pulumi.set(__self__, "network_interface_id", network_interface_id)
|
|
1646
|
+
if network_interface_traffic_mode is not None:
|
|
1647
|
+
pulumi.set(__self__, "network_interface_traffic_mode", network_interface_traffic_mode)
|
|
1566
1648
|
if network_interfaces is not None:
|
|
1567
1649
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
|
1568
1650
|
if operator_type is not None:
|
|
@@ -1583,6 +1665,8 @@ class _InstanceState:
|
|
|
1583
1665
|
pulumi.set(__self__, "private_ip", private_ip)
|
|
1584
1666
|
if public_ip is not None:
|
|
1585
1667
|
pulumi.set(__self__, "public_ip", public_ip)
|
|
1668
|
+
if queue_pair_number is not None:
|
|
1669
|
+
pulumi.set(__self__, "queue_pair_number", queue_pair_number)
|
|
1586
1670
|
if renewal_status is not None:
|
|
1587
1671
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
1588
1672
|
if resource_group_id is not None:
|
|
@@ -1635,6 +1719,8 @@ class _InstanceState:
|
|
|
1635
1719
|
pulumi.set(__self__, "user_data", user_data)
|
|
1636
1720
|
if volume_tags is not None:
|
|
1637
1721
|
pulumi.set(__self__, "volume_tags", volume_tags)
|
|
1722
|
+
if vpc_id is not None:
|
|
1723
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
1638
1724
|
if vswitch_id is not None:
|
|
1639
1725
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
1640
1726
|
|
|
@@ -1808,20 +1894,6 @@ class _InstanceState:
|
|
|
1808
1894
|
def enable_jumbo_frame(self) -> Optional[pulumi.Input[bool]]:
|
|
1809
1895
|
"""
|
|
1810
1896
|
Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
1811
|
-
|
|
1812
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
1813
|
-
|
|
1814
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
1815
|
-
|
|
1816
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1817
|
-
|
|
1818
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
1819
|
-
|
|
1820
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1821
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
1822
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1823
|
-
|
|
1824
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
1825
1897
|
"""
|
|
1826
1898
|
return pulumi.get(self, "enable_jumbo_frame")
|
|
1827
1899
|
|
|
@@ -2161,11 +2233,23 @@ class _InstanceState:
|
|
|
2161
2233
|
def memory(self, value: Optional[pulumi.Input[int]]):
|
|
2162
2234
|
pulumi.set(self, "memory", value)
|
|
2163
2235
|
|
|
2236
|
+
@property
|
|
2237
|
+
@pulumi.getter(name="networkCardIndex")
|
|
2238
|
+
def network_card_index(self) -> Optional[pulumi.Input[int]]:
|
|
2239
|
+
"""
|
|
2240
|
+
The index of the network card for Primary ENI.
|
|
2241
|
+
"""
|
|
2242
|
+
return pulumi.get(self, "network_card_index")
|
|
2243
|
+
|
|
2244
|
+
@network_card_index.setter
|
|
2245
|
+
def network_card_index(self, value: Optional[pulumi.Input[int]]):
|
|
2246
|
+
pulumi.set(self, "network_card_index", value)
|
|
2247
|
+
|
|
2164
2248
|
@property
|
|
2165
2249
|
@pulumi.getter(name="networkInterfaceId")
|
|
2166
2250
|
def network_interface_id(self) -> Optional[pulumi.Input[str]]:
|
|
2167
2251
|
"""
|
|
2168
|
-
The ID of the ENI.
|
|
2252
|
+
The ID of the Primary ENI.
|
|
2169
2253
|
"""
|
|
2170
2254
|
return pulumi.get(self, "network_interface_id")
|
|
2171
2255
|
|
|
@@ -2173,6 +2257,20 @@ class _InstanceState:
|
|
|
2173
2257
|
def network_interface_id(self, value: Optional[pulumi.Input[str]]):
|
|
2174
2258
|
pulumi.set(self, "network_interface_id", value)
|
|
2175
2259
|
|
|
2260
|
+
@property
|
|
2261
|
+
@pulumi.getter(name="networkInterfaceTrafficMode")
|
|
2262
|
+
def network_interface_traffic_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2263
|
+
"""
|
|
2264
|
+
The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
2265
|
+
- `Standard`: Uses the TCP communication mode.
|
|
2266
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
2267
|
+
"""
|
|
2268
|
+
return pulumi.get(self, "network_interface_traffic_mode")
|
|
2269
|
+
|
|
2270
|
+
@network_interface_traffic_mode.setter
|
|
2271
|
+
def network_interface_traffic_mode(self, value: Optional[pulumi.Input[str]]):
|
|
2272
|
+
pulumi.set(self, "network_interface_traffic_mode", value)
|
|
2273
|
+
|
|
2176
2274
|
@property
|
|
2177
2275
|
@pulumi.getter(name="networkInterfaces")
|
|
2178
2276
|
def network_interfaces(self) -> Optional[pulumi.Input['InstanceNetworkInterfacesArgs']]:
|
|
@@ -2297,6 +2395,32 @@ class _InstanceState:
|
|
|
2297
2395
|
def public_ip(self, value: Optional[pulumi.Input[str]]):
|
|
2298
2396
|
pulumi.set(self, "public_ip", value)
|
|
2299
2397
|
|
|
2398
|
+
@property
|
|
2399
|
+
@pulumi.getter(name="queuePairNumber")
|
|
2400
|
+
def queue_pair_number(self) -> Optional[pulumi.Input[int]]:
|
|
2401
|
+
"""
|
|
2402
|
+
The number of queues supported by the ERI.
|
|
2403
|
+
|
|
2404
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
2405
|
+
|
|
2406
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
2407
|
+
|
|
2408
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2409
|
+
|
|
2410
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
2411
|
+
|
|
2412
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2413
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
2414
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2415
|
+
|
|
2416
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2417
|
+
"""
|
|
2418
|
+
return pulumi.get(self, "queue_pair_number")
|
|
2419
|
+
|
|
2420
|
+
@queue_pair_number.setter
|
|
2421
|
+
def queue_pair_number(self, value: Optional[pulumi.Input[int]]):
|
|
2422
|
+
pulumi.set(self, "queue_pair_number", value)
|
|
2423
|
+
|
|
2300
2424
|
@property
|
|
2301
2425
|
@pulumi.getter(name="renewalStatus")
|
|
2302
2426
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2628,6 +2752,18 @@ class _InstanceState:
|
|
|
2628
2752
|
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
|
2629
2753
|
pulumi.set(self, "volume_tags", value)
|
|
2630
2754
|
|
|
2755
|
+
@property
|
|
2756
|
+
@pulumi.getter(name="vpcId")
|
|
2757
|
+
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
2758
|
+
"""
|
|
2759
|
+
The ID of the VPC.
|
|
2760
|
+
"""
|
|
2761
|
+
return pulumi.get(self, "vpc_id")
|
|
2762
|
+
|
|
2763
|
+
@vpc_id.setter
|
|
2764
|
+
def vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
2765
|
+
pulumi.set(self, "vpc_id", value)
|
|
2766
|
+
|
|
2631
2767
|
@property
|
|
2632
2768
|
@pulumi.getter(name="vswitchId")
|
|
2633
2769
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2684,12 +2820,15 @@ class Instance(pulumi.CustomResource):
|
|
|
2684
2820
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
2685
2821
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
2686
2822
|
maintenance_time: Optional[pulumi.Input[pulumi.InputType['InstanceMaintenanceTimeArgs']]] = None,
|
|
2823
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
2824
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
2687
2825
|
network_interfaces: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']]] = None,
|
|
2688
2826
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
2689
2827
|
password: Optional[pulumi.Input[str]] = None,
|
|
2690
2828
|
period: Optional[pulumi.Input[int]] = None,
|
|
2691
2829
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
2692
2830
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
2831
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
2693
2832
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
2694
2833
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
2695
2834
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2715,6 +2854,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2715
2854
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2716
2855
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
2717
2856
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
2857
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
2718
2858
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
2719
2859
|
__props__=None):
|
|
2720
2860
|
"""
|
|
@@ -2817,20 +2957,6 @@ class Instance(pulumi.CustomResource):
|
|
|
2817
2957
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
2818
2958
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
2819
2959
|
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
2820
|
-
|
|
2821
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
2822
|
-
|
|
2823
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
2824
|
-
|
|
2825
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2826
|
-
|
|
2827
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
2828
|
-
|
|
2829
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2830
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
2831
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2832
|
-
|
|
2833
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2834
2960
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
2835
2961
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
2836
2962
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -2866,6 +2992,10 @@ class Instance(pulumi.CustomResource):
|
|
|
2866
2992
|
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
2867
2993
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
2868
2994
|
:param pulumi.Input[pulumi.InputType['InstanceMaintenanceTimeArgs']] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
2995
|
+
:param pulumi.Input[int] network_card_index: The index of the network card for Primary ENI.
|
|
2996
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
2997
|
+
- `Standard`: Uses the TCP communication mode.
|
|
2998
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
2869
2999
|
:param pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
2870
3000
|
:param pulumi.Input[str] operator_type: The operation type. It is valid when `instance_charge_type` is `PrePaid`. Default value: `upgrade`. Valid values: `upgrade`, `downgrade`. **NOTE:** When the new instance type specified by the `instance_type` parameter has lower specifications than the current instance type, you must set `operator_type` to `downgrade`.
|
|
2871
3001
|
:param pulumi.Input[str] password: Password to an instance is a string of 8 to 30 characters. It must contain uppercase/lowercase letters and numerals, but cannot contain special symbols. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -2876,6 +3006,21 @@ class Instance(pulumi.CustomResource):
|
|
|
2876
3006
|
> **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
|
|
2877
3007
|
:param pulumi.Input[str] period_unit: The duration unit that you will buy the resource. It is valid when `instance_charge_type` is 'PrePaid'. Valid value: ["Week", "Month"]. Default to "Month".
|
|
2878
3008
|
:param pulumi.Input[str] private_ip: Instance private IP address can be specified when you creating new instance. It is valid when `vswitch_id` is specified. When it is changed, the instance will reboot to make the change take effect.
|
|
3009
|
+
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
3010
|
+
|
|
3011
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3012
|
+
|
|
3013
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3014
|
+
|
|
3015
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3016
|
+
|
|
3017
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3018
|
+
|
|
3019
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3020
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3021
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3022
|
+
|
|
3023
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
2879
3024
|
:param pulumi.Input[str] renewal_status: Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
2880
3025
|
- `AutoRenewal`: Enable auto renewal.
|
|
2881
3026
|
- `Normal`: Disable auto renewal.
|
|
@@ -2920,6 +3065,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2920
3065
|
:param pulumi.Input[Mapping[str, Any]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
2921
3066
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
2922
3067
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
3068
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
2923
3069
|
:param pulumi.Input[str] vswitch_id: The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect.
|
|
2924
3070
|
"""
|
|
2925
3071
|
...
|
|
@@ -3059,12 +3205,15 @@ class Instance(pulumi.CustomResource):
|
|
|
3059
3205
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
3060
3206
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
3061
3207
|
maintenance_time: Optional[pulumi.Input[pulumi.InputType['InstanceMaintenanceTimeArgs']]] = None,
|
|
3208
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
3209
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
3062
3210
|
network_interfaces: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']]] = None,
|
|
3063
3211
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
3064
3212
|
password: Optional[pulumi.Input[str]] = None,
|
|
3065
3213
|
period: Optional[pulumi.Input[int]] = None,
|
|
3066
3214
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
3067
3215
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
3216
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
3068
3217
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
3069
3218
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
3070
3219
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3090,6 +3239,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3090
3239
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3091
3240
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
3092
3241
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
3242
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
3093
3243
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
3094
3244
|
__props__=None):
|
|
3095
3245
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -3138,12 +3288,15 @@ class Instance(pulumi.CustomResource):
|
|
|
3138
3288
|
__props__.__dict__["maintenance_action"] = maintenance_action
|
|
3139
3289
|
__props__.__dict__["maintenance_notify"] = maintenance_notify
|
|
3140
3290
|
__props__.__dict__["maintenance_time"] = maintenance_time
|
|
3291
|
+
__props__.__dict__["network_card_index"] = network_card_index
|
|
3292
|
+
__props__.__dict__["network_interface_traffic_mode"] = network_interface_traffic_mode
|
|
3141
3293
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
|
3142
3294
|
__props__.__dict__["operator_type"] = operator_type
|
|
3143
3295
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
3144
3296
|
__props__.__dict__["period"] = period
|
|
3145
3297
|
__props__.__dict__["period_unit"] = period_unit
|
|
3146
3298
|
__props__.__dict__["private_ip"] = private_ip
|
|
3299
|
+
__props__.__dict__["queue_pair_number"] = queue_pair_number
|
|
3147
3300
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
3148
3301
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
3149
3302
|
__props__.__dict__["role_name"] = role_name
|
|
@@ -3169,6 +3322,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3169
3322
|
__props__.__dict__["tags"] = tags
|
|
3170
3323
|
__props__.__dict__["user_data"] = user_data
|
|
3171
3324
|
__props__.__dict__["volume_tags"] = volume_tags
|
|
3325
|
+
__props__.__dict__["vpc_id"] = vpc_id
|
|
3172
3326
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
3173
3327
|
__props__.__dict__["cpu"] = None
|
|
3174
3328
|
__props__.__dict__["deployment_set_group_no"] = None
|
|
@@ -3232,7 +3386,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3232
3386
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
3233
3387
|
maintenance_time: Optional[pulumi.Input[pulumi.InputType['InstanceMaintenanceTimeArgs']]] = None,
|
|
3234
3388
|
memory: Optional[pulumi.Input[int]] = None,
|
|
3389
|
+
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
3235
3390
|
network_interface_id: Optional[pulumi.Input[str]] = None,
|
|
3391
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
3236
3392
|
network_interfaces: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']]] = None,
|
|
3237
3393
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
3238
3394
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3243,6 +3399,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3243
3399
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
3244
3400
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
3245
3401
|
public_ip: Optional[pulumi.Input[str]] = None,
|
|
3402
|
+
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
3246
3403
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
3247
3404
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
3248
3405
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3269,6 +3426,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3269
3426
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3270
3427
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
3271
3428
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
3429
|
+
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
3272
3430
|
vswitch_id: Optional[pulumi.Input[str]] = None) -> 'Instance':
|
|
3273
3431
|
"""
|
|
3274
3432
|
Get an existing Instance resource's state with the given name, id, and optional extra
|
|
@@ -3299,20 +3457,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3299
3457
|
- true: Only a dry-run request is sent and no instance is created. The system checks whether the required parameters are set, and validates the request format, service permissions, and available ECS instances. If the validation fails, the corresponding error code is returned. If the validation succeeds, the `DryRunOperation` error code is returned.
|
|
3300
3458
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
3301
3459
|
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
3302
|
-
|
|
3303
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3304
|
-
|
|
3305
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3306
|
-
|
|
3307
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3308
|
-
|
|
3309
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3310
|
-
|
|
3311
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3312
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3313
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3314
|
-
|
|
3315
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3316
3460
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
3317
3461
|
However, because of changing instance charge type has CPU core count quota limitation, so strongly recommand that "Don't modify instance charge type frequentlly in one month".
|
|
3318
3462
|
:param pulumi.Input[str] host_name: Host name of the ECS, which is a string of at least two characters. “hostname” cannot start or end with “.” or “-“. In addition, two or more consecutive “.” or “-“ symbols are not allowed. On Windows, the host name can contain a maximum of 15 characters, which can be a combination of uppercase/lowercase letters, numerals, and “-“. The host name cannot contain dots (“.”) or contain only numeric characters. When it is changed, the instance will reboot to make the change take effect.
|
|
@@ -3349,7 +3493,11 @@ class Instance(pulumi.CustomResource):
|
|
|
3349
3493
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
3350
3494
|
:param pulumi.Input[pulumi.InputType['InstanceMaintenanceTimeArgs']] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
3351
3495
|
:param pulumi.Input[int] memory: The memory size of the instance. Unit: MiB.
|
|
3352
|
-
:param pulumi.Input[
|
|
3496
|
+
:param pulumi.Input[int] network_card_index: The index of the network card for Primary ENI.
|
|
3497
|
+
:param pulumi.Input[str] network_interface_id: The ID of the Primary ENI.
|
|
3498
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
3499
|
+
- `Standard`: Uses the TCP communication mode.
|
|
3500
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
3353
3501
|
:param pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
3354
3502
|
:param pulumi.Input[str] operator_type: The operation type. It is valid when `instance_charge_type` is `PrePaid`. Default value: `upgrade`. Valid values: `upgrade`, `downgrade`. **NOTE:** When the new instance type specified by the `instance_type` parameter has lower specifications than the current instance type, you must set `operator_type` to `downgrade`.
|
|
3355
3503
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
@@ -3364,6 +3512,21 @@ class Instance(pulumi.CustomResource):
|
|
|
3364
3512
|
:param pulumi.Input[str] primary_ip_address: The primary private IP address of the ENI.
|
|
3365
3513
|
:param pulumi.Input[str] private_ip: Instance private IP address can be specified when you creating new instance. It is valid when `vswitch_id` is specified. When it is changed, the instance will reboot to make the change take effect.
|
|
3366
3514
|
:param pulumi.Input[str] public_ip: The instance public ip.
|
|
3515
|
+
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
3516
|
+
|
|
3517
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3518
|
+
|
|
3519
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3520
|
+
|
|
3521
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3522
|
+
|
|
3523
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3524
|
+
|
|
3525
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3526
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3527
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3528
|
+
|
|
3529
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3367
3530
|
:param pulumi.Input[str] renewal_status: Whether to renew an ECS instance automatically or not. It is valid when `instance_charge_type` is `PrePaid`. Default to "Normal". Valid values:
|
|
3368
3531
|
- `AutoRenewal`: Enable auto renewal.
|
|
3369
3532
|
- `Normal`: Disable auto renewal.
|
|
@@ -3409,6 +3572,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3409
3572
|
:param pulumi.Input[Mapping[str, Any]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
3410
3573
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
3411
3574
|
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
|
|
3575
|
+
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
3412
3576
|
:param pulumi.Input[str] vswitch_id: The virtual switch ID to launch in VPC. This parameter must be set unless you can create classic network instances. When it is changed, the instance will reboot to make the change take effect.
|
|
3413
3577
|
"""
|
|
3414
3578
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -3456,7 +3620,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3456
3620
|
__props__.__dict__["maintenance_notify"] = maintenance_notify
|
|
3457
3621
|
__props__.__dict__["maintenance_time"] = maintenance_time
|
|
3458
3622
|
__props__.__dict__["memory"] = memory
|
|
3623
|
+
__props__.__dict__["network_card_index"] = network_card_index
|
|
3459
3624
|
__props__.__dict__["network_interface_id"] = network_interface_id
|
|
3625
|
+
__props__.__dict__["network_interface_traffic_mode"] = network_interface_traffic_mode
|
|
3460
3626
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
|
3461
3627
|
__props__.__dict__["operator_type"] = operator_type
|
|
3462
3628
|
__props__.__dict__["os_name"] = os_name
|
|
@@ -3467,6 +3633,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3467
3633
|
__props__.__dict__["primary_ip_address"] = primary_ip_address
|
|
3468
3634
|
__props__.__dict__["private_ip"] = private_ip
|
|
3469
3635
|
__props__.__dict__["public_ip"] = public_ip
|
|
3636
|
+
__props__.__dict__["queue_pair_number"] = queue_pair_number
|
|
3470
3637
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
3471
3638
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
3472
3639
|
__props__.__dict__["role_name"] = role_name
|
|
@@ -3493,6 +3660,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3493
3660
|
__props__.__dict__["tags"] = tags
|
|
3494
3661
|
__props__.__dict__["user_data"] = user_data
|
|
3495
3662
|
__props__.__dict__["volume_tags"] = volume_tags
|
|
3663
|
+
__props__.__dict__["vpc_id"] = vpc_id
|
|
3496
3664
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
3497
3665
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
|
3498
3666
|
|
|
@@ -3614,20 +3782,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3614
3782
|
def enable_jumbo_frame(self) -> pulumi.Output[bool]:
|
|
3615
3783
|
"""
|
|
3616
3784
|
Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
3617
|
-
|
|
3618
|
-
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
3619
|
-
|
|
3620
|
-
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
3621
|
-
|
|
3622
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3623
|
-
|
|
3624
|
-
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
3625
|
-
|
|
3626
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3627
|
-
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
3628
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3629
|
-
|
|
3630
|
-
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
3631
3785
|
"""
|
|
3632
3786
|
return pulumi.get(self, "enable_jumbo_frame")
|
|
3633
3787
|
|
|
@@ -3855,14 +4009,32 @@ class Instance(pulumi.CustomResource):
|
|
|
3855
4009
|
"""
|
|
3856
4010
|
return pulumi.get(self, "memory")
|
|
3857
4011
|
|
|
4012
|
+
@property
|
|
4013
|
+
@pulumi.getter(name="networkCardIndex")
|
|
4014
|
+
def network_card_index(self) -> pulumi.Output[Optional[int]]:
|
|
4015
|
+
"""
|
|
4016
|
+
The index of the network card for Primary ENI.
|
|
4017
|
+
"""
|
|
4018
|
+
return pulumi.get(self, "network_card_index")
|
|
4019
|
+
|
|
3858
4020
|
@property
|
|
3859
4021
|
@pulumi.getter(name="networkInterfaceId")
|
|
3860
4022
|
def network_interface_id(self) -> pulumi.Output[str]:
|
|
3861
4023
|
"""
|
|
3862
|
-
The ID of the ENI.
|
|
4024
|
+
The ID of the Primary ENI.
|
|
3863
4025
|
"""
|
|
3864
4026
|
return pulumi.get(self, "network_interface_id")
|
|
3865
4027
|
|
|
4028
|
+
@property
|
|
4029
|
+
@pulumi.getter(name="networkInterfaceTrafficMode")
|
|
4030
|
+
def network_interface_traffic_mode(self) -> pulumi.Output[str]:
|
|
4031
|
+
"""
|
|
4032
|
+
The communication mode of the Primary ENI. Default value: `Standard`. Valid values:
|
|
4033
|
+
- `Standard`: Uses the TCP communication mode.
|
|
4034
|
+
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
4035
|
+
"""
|
|
4036
|
+
return pulumi.get(self, "network_interface_traffic_mode")
|
|
4037
|
+
|
|
3866
4038
|
@property
|
|
3867
4039
|
@pulumi.getter(name="networkInterfaces")
|
|
3868
4040
|
def network_interfaces(self) -> pulumi.Output['outputs.InstanceNetworkInterfaces']:
|
|
@@ -3947,6 +4119,28 @@ class Instance(pulumi.CustomResource):
|
|
|
3947
4119
|
"""
|
|
3948
4120
|
return pulumi.get(self, "public_ip")
|
|
3949
4121
|
|
|
4122
|
+
@property
|
|
4123
|
+
@pulumi.getter(name="queuePairNumber")
|
|
4124
|
+
def queue_pair_number(self) -> pulumi.Output[Optional[int]]:
|
|
4125
|
+
"""
|
|
4126
|
+
The number of queues supported by the ERI.
|
|
4127
|
+
|
|
4128
|
+
> **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
|
|
4129
|
+
|
|
4130
|
+
> **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
|
|
4131
|
+
|
|
4132
|
+
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
4133
|
+
|
|
4134
|
+
> **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
|
|
4135
|
+
|
|
4136
|
+
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
4137
|
+
Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
|
|
4138
|
+
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
4139
|
+
|
|
4140
|
+
> **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
|
|
4141
|
+
"""
|
|
4142
|
+
return pulumi.get(self, "queue_pair_number")
|
|
4143
|
+
|
|
3950
4144
|
@property
|
|
3951
4145
|
@pulumi.getter(name="renewalStatus")
|
|
3952
4146
|
def renewal_status(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -4174,6 +4368,14 @@ class Instance(pulumi.CustomResource):
|
|
|
4174
4368
|
"""
|
|
4175
4369
|
return pulumi.get(self, "volume_tags")
|
|
4176
4370
|
|
|
4371
|
+
@property
|
|
4372
|
+
@pulumi.getter(name="vpcId")
|
|
4373
|
+
def vpc_id(self) -> pulumi.Output[str]:
|
|
4374
|
+
"""
|
|
4375
|
+
The ID of the VPC.
|
|
4376
|
+
"""
|
|
4377
|
+
return pulumi.get(self, "vpc_id")
|
|
4378
|
+
|
|
4177
4379
|
@property
|
|
4178
4380
|
@pulumi.getter(name="vswitchId")
|
|
4179
4381
|
def vswitch_id(self) -> pulumi.Output[str]:
|