pulumi-alicloud 3.59.1a1721928270__py3-none-any.whl → 3.60.0a1720848019__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/_utilities.py +4 -3
- pulumi_alicloud/adb/_inputs.py +0 -14
- pulumi_alicloud/adb/outputs.py +0 -14
- pulumi_alicloud/alb/_inputs.py +0 -224
- pulumi_alicloud/alb/outputs.py +0 -260
- pulumi_alicloud/arms/_inputs.py +0 -438
- pulumi_alicloud/arms/outputs.py +0 -442
- pulumi_alicloud/bp/_inputs.py +0 -14
- pulumi_alicloud/bp/outputs.py +0 -14
- pulumi_alicloud/cas/outputs.py +0 -4
- pulumi_alicloud/cddc/outputs.py +0 -6
- pulumi_alicloud/cen/get_transit_router_service.py +2 -2
- pulumi_alicloud/cfg/_inputs.py +0 -20
- pulumi_alicloud/cfg/outputs.py +0 -20
- pulumi_alicloud/clickhouse/outputs.py +0 -4
- pulumi_alicloud/cloudfirewall/_inputs.py +0 -40
- pulumi_alicloud/cloudfirewall/control_policy_order.py +44 -60
- pulumi_alicloud/cloudfirewall/outputs.py +0 -40
- pulumi_alicloud/cloudmonitor/_inputs.py +0 -18
- pulumi_alicloud/cloudmonitor/outputs.py +0 -18
- pulumi_alicloud/cms/_inputs.py +0 -188
- pulumi_alicloud/cms/outputs.py +0 -228
- pulumi_alicloud/compute/_inputs.py +0 -4
- pulumi_alicloud/compute/outputs.py +0 -4
- pulumi_alicloud/cs/_inputs.py +0 -22
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/cs/outputs.py +0 -22
- pulumi_alicloud/databasegateway/outputs.py +0 -42
- pulumi_alicloud/dcdn/_inputs.py +27 -555
- pulumi_alicloud/dcdn/domain.py +217 -366
- pulumi_alicloud/dcdn/outputs.py +22 -550
- pulumi_alicloud/ddos/_inputs.py +0 -162
- pulumi_alicloud/ddos/outputs.py +0 -162
- pulumi_alicloud/directmail/get_domains.py +24 -31
- pulumi_alicloud/directmail/outputs.py +32 -131
- pulumi_alicloud/ebs/_inputs.py +0 -22
- pulumi_alicloud/ebs/outputs.py +0 -22
- pulumi_alicloud/eci/_inputs.py +0 -100
- pulumi_alicloud/eci/outputs.py +0 -100
- pulumi_alicloud/ecs/_inputs.py +8 -110
- pulumi_alicloud/ecs/ecs_disk.py +0 -7
- pulumi_alicloud/ecs/instance.py +102 -304
- pulumi_alicloud/ecs/outputs.py +9 -217
- pulumi_alicloud/edas/_inputs.py +0 -28
- pulumi_alicloud/edas/outputs.py +0 -28
- pulumi_alicloud/ehpc/_inputs.py +0 -6
- pulumi_alicloud/ehpc/outputs.py +0 -6
- pulumi_alicloud/emr/_inputs.py +0 -134
- pulumi_alicloud/emr/outputs.py +0 -148
- pulumi_alicloud/emrv2/_inputs.py +0 -224
- pulumi_alicloud/emrv2/outputs.py +0 -224
- pulumi_alicloud/ess/_inputs.py +0 -24
- pulumi_alicloud/ess/outputs.py +0 -24
- pulumi_alicloud/eventbridge/_inputs.py +0 -156
- pulumi_alicloud/eventbridge/outputs.py +0 -156
- pulumi_alicloud/expressconnect/_inputs.py +0 -12
- pulumi_alicloud/expressconnect/outputs.py +0 -12
- pulumi_alicloud/fc/_inputs.py +0 -32
- pulumi_alicloud/fc/outputs.py +0 -32
- pulumi_alicloud/ga/_inputs.py +0 -24
- pulumi_alicloud/ga/outputs.py +0 -24
- pulumi_alicloud/gpdb/_inputs.py +0 -48
- pulumi_alicloud/gpdb/outputs.py +0 -60
- pulumi_alicloud/hbr/_inputs.py +0 -68
- pulumi_alicloud/hbr/outputs.py +0 -68
- pulumi_alicloud/imp/_inputs.py +0 -14
- pulumi_alicloud/imp/outputs.py +0 -14
- pulumi_alicloud/log/_inputs.py +0 -14
- pulumi_alicloud/log/outputs.py +0 -14
- pulumi_alicloud/maxcompute/_inputs.py +34 -54
- pulumi_alicloud/maxcompute/outputs.py +34 -54
- pulumi_alicloud/maxcompute/project.py +66 -230
- pulumi_alicloud/mongodb/_inputs.py +0 -14
- pulumi_alicloud/mongodb/outputs.py +0 -14
- pulumi_alicloud/oss/_inputs.py +0 -100
- pulumi_alicloud/oss/outputs.py +0 -100
- pulumi_alicloud/ots/_inputs.py +0 -60
- pulumi_alicloud/ots/outputs.py +0 -60
- pulumi_alicloud/polardb/_inputs.py +0 -10
- pulumi_alicloud/polardb/cluster.py +28 -28
- pulumi_alicloud/polardb/outputs.py +0 -10
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/outputs.py +0 -18
- pulumi_alicloud/quotas/_inputs.py +0 -10
- pulumi_alicloud/quotas/outputs.py +0 -10
- pulumi_alicloud/ram/_inputs.py +0 -24
- pulumi_alicloud/ram/outputs.py +0 -24
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/realtimecompute/_inputs.py +0 -6
- pulumi_alicloud/realtimecompute/outputs.py +0 -6
- pulumi_alicloud/rocketmq/_inputs.py +0 -36
- pulumi_alicloud/rocketmq/outputs.py +0 -36
- pulumi_alicloud/ros/_inputs.py +0 -72
- pulumi_alicloud/ros/outputs.py +0 -72
- pulumi_alicloud/sae/_inputs.py +0 -118
- pulumi_alicloud/sae/outputs.py +0 -118
- pulumi_alicloud/scdn/_inputs.py +0 -56
- pulumi_alicloud/scdn/outputs.py +0 -56
- pulumi_alicloud/servicecatalog/_inputs.py +0 -10
- pulumi_alicloud/servicecatalog/outputs.py +0 -10
- pulumi_alicloud/servicemesh/_inputs.py +0 -150
- pulumi_alicloud/servicemesh/outputs.py +0 -154
- pulumi_alicloud/slb/_inputs.py +8 -8
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group.py +84 -140
- pulumi_alicloud/sls/_inputs.py +0 -186
- pulumi_alicloud/sls/outputs.py +0 -186
- pulumi_alicloud/threatdetection/_inputs.py +0 -32
- pulumi_alicloud/threatdetection/outputs.py +0 -32
- pulumi_alicloud/vod/_inputs.py +0 -18
- pulumi_alicloud/vod/outputs.py +0 -18
- pulumi_alicloud/vpc/_inputs.py +12 -50
- pulumi_alicloud/vpc/network.py +134 -332
- pulumi_alicloud/vpc/outputs.py +12 -50
- pulumi_alicloud/vpc/public_ip_address_pool.py +10 -118
- pulumi_alicloud/vpn/_inputs.py +0 -10
- pulumi_alicloud/vpn/outputs.py +0 -14
- pulumi_alicloud/wafv3/_inputs.py +0 -10
- pulumi_alicloud/wafv3/outputs.py +0 -10
- {pulumi_alicloud-3.59.1a1721928270.dist-info → pulumi_alicloud-3.60.0a1720848019.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.1a1721928270.dist-info → pulumi_alicloud-3.60.0a1720848019.dist-info}/RECORD +123 -123
- {pulumi_alicloud-3.59.1a1721928270.dist-info → pulumi_alicloud-3.60.0a1720848019.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.59.1a1721928270.dist-info → pulumi_alicloud-3.60.0a1720848019.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ecs/instance.py
CHANGED
|
@@ -54,15 +54,12 @@ 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,
|
|
59
57
|
network_interfaces: Optional[pulumi.Input['InstanceNetworkInterfacesArgs']] = None,
|
|
60
58
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
61
59
|
password: Optional[pulumi.Input[str]] = None,
|
|
62
60
|
period: Optional[pulumi.Input[int]] = None,
|
|
63
61
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
64
62
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
65
|
-
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
66
63
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
67
64
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
68
65
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -88,7 +85,6 @@ class InstanceArgs:
|
|
|
88
85
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
89
86
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
90
87
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
91
|
-
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
92
88
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
93
89
|
"""
|
|
94
90
|
The set of arguments for constructing a Instance resource.
|
|
@@ -112,6 +108,20 @@ class InstanceArgs:
|
|
|
112
108
|
- 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.
|
|
113
109
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
114
110
|
: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.
|
|
115
125
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
116
126
|
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".
|
|
117
127
|
: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.
|
|
@@ -147,10 +157,6 @@ class InstanceArgs:
|
|
|
147
157
|
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
148
158
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
149
159
|
: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.
|
|
154
160
|
:param pulumi.Input['InstanceNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
155
161
|
: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`.
|
|
156
162
|
: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.
|
|
@@ -161,21 +167,6 @@ class InstanceArgs:
|
|
|
161
167
|
> **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.
|
|
162
168
|
: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".
|
|
163
169
|
: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.
|
|
179
170
|
: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:
|
|
180
171
|
- `AutoRenewal`: Enable auto renewal.
|
|
181
172
|
- `Normal`: Disable auto renewal.
|
|
@@ -220,7 +211,6 @@ class InstanceArgs:
|
|
|
220
211
|
:param pulumi.Input[Mapping[str, Any]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
221
212
|
- 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.
|
|
222
213
|
- 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.
|
|
224
214
|
: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.
|
|
225
215
|
"""
|
|
226
216
|
if allocate_public_ip is not None:
|
|
@@ -305,10 +295,6 @@ class InstanceArgs:
|
|
|
305
295
|
pulumi.set(__self__, "maintenance_notify", maintenance_notify)
|
|
306
296
|
if maintenance_time is not None:
|
|
307
297
|
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)
|
|
312
298
|
if network_interfaces is not None:
|
|
313
299
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
|
314
300
|
if operator_type is not None:
|
|
@@ -321,8 +307,6 @@ class InstanceArgs:
|
|
|
321
307
|
pulumi.set(__self__, "period_unit", period_unit)
|
|
322
308
|
if private_ip is not None:
|
|
323
309
|
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)
|
|
326
310
|
if renewal_status is not None:
|
|
327
311
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
328
312
|
if resource_group_id is not None:
|
|
@@ -373,8 +357,6 @@ class InstanceArgs:
|
|
|
373
357
|
pulumi.set(__self__, "user_data", user_data)
|
|
374
358
|
if volume_tags is not None:
|
|
375
359
|
pulumi.set(__self__, "volume_tags", volume_tags)
|
|
376
|
-
if vpc_id is not None:
|
|
377
|
-
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
378
360
|
if vswitch_id is not None:
|
|
379
361
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
380
362
|
|
|
@@ -524,6 +506,20 @@ class InstanceArgs:
|
|
|
524
506
|
def enable_jumbo_frame(self) -> Optional[pulumi.Input[bool]]:
|
|
525
507
|
"""
|
|
526
508
|
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.
|
|
527
523
|
"""
|
|
528
524
|
return pulumi.get(self, "enable_jumbo_frame")
|
|
529
525
|
|
|
@@ -851,32 +847,6 @@ class InstanceArgs:
|
|
|
851
847
|
def maintenance_time(self, value: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']]):
|
|
852
848
|
pulumi.set(self, "maintenance_time", value)
|
|
853
849
|
|
|
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
|
-
|
|
880
850
|
@property
|
|
881
851
|
@pulumi.getter(name="networkInterfaces")
|
|
882
852
|
def network_interfaces(self) -> Optional[pulumi.Input['InstanceNetworkInterfacesArgs']]:
|
|
@@ -953,32 +923,6 @@ class InstanceArgs:
|
|
|
953
923
|
def private_ip(self, value: Optional[pulumi.Input[str]]):
|
|
954
924
|
pulumi.set(self, "private_ip", value)
|
|
955
925
|
|
|
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
|
-
|
|
982
926
|
@property
|
|
983
927
|
@pulumi.getter(name="renewalStatus")
|
|
984
928
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1298,18 +1242,6 @@ class InstanceArgs:
|
|
|
1298
1242
|
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
|
1299
1243
|
pulumi.set(self, "volume_tags", value)
|
|
1300
1244
|
|
|
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
|
-
|
|
1313
1245
|
@property
|
|
1314
1246
|
@pulumi.getter(name="vswitchId")
|
|
1315
1247
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1367,9 +1299,7 @@ class _InstanceState:
|
|
|
1367
1299
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
1368
1300
|
maintenance_time: Optional[pulumi.Input['InstanceMaintenanceTimeArgs']] = None,
|
|
1369
1301
|
memory: Optional[pulumi.Input[int]] = None,
|
|
1370
|
-
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
1371
1302
|
network_interface_id: Optional[pulumi.Input[str]] = None,
|
|
1372
|
-
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
1373
1303
|
network_interfaces: Optional[pulumi.Input['InstanceNetworkInterfacesArgs']] = None,
|
|
1374
1304
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
1375
1305
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1380,7 +1310,6 @@ class _InstanceState:
|
|
|
1380
1310
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
1381
1311
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
1382
1312
|
public_ip: Optional[pulumi.Input[str]] = None,
|
|
1383
|
-
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
1384
1313
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
1385
1314
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1386
1315
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1407,7 +1336,6 @@ class _InstanceState:
|
|
|
1407
1336
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1408
1337
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
1409
1338
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
1410
|
-
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1411
1339
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
1412
1340
|
"""
|
|
1413
1341
|
Input properties used for looking up and filtering Instance resources.
|
|
@@ -1433,6 +1361,20 @@ class _InstanceState:
|
|
|
1433
1361
|
- 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.
|
|
1434
1362
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
1435
1363
|
: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.
|
|
1436
1378
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
1437
1379
|
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".
|
|
1438
1380
|
: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.
|
|
@@ -1469,11 +1411,7 @@ class _InstanceState:
|
|
|
1469
1411
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
1470
1412
|
:param pulumi.Input['InstanceMaintenanceTimeArgs'] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
1471
1413
|
:param pulumi.Input[int] memory: The memory size of the instance. Unit: MiB.
|
|
1472
|
-
:param pulumi.Input[
|
|
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.
|
|
1414
|
+
:param pulumi.Input[str] network_interface_id: The ID of the ENI.
|
|
1477
1415
|
:param pulumi.Input['InstanceNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
1478
1416
|
: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`.
|
|
1479
1417
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
@@ -1488,21 +1426,6 @@ class _InstanceState:
|
|
|
1488
1426
|
:param pulumi.Input[str] primary_ip_address: The primary private IP address of the ENI.
|
|
1489
1427
|
: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.
|
|
1490
1428
|
: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.
|
|
1506
1429
|
: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:
|
|
1507
1430
|
- `AutoRenewal`: Enable auto renewal.
|
|
1508
1431
|
- `Normal`: Disable auto renewal.
|
|
@@ -1548,7 +1471,6 @@ class _InstanceState:
|
|
|
1548
1471
|
:param pulumi.Input[Mapping[str, Any]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
1549
1472
|
- 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.
|
|
1550
1473
|
- 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.
|
|
1552
1474
|
: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.
|
|
1553
1475
|
"""
|
|
1554
1476
|
if allocate_public_ip is not None:
|
|
@@ -1639,12 +1561,8 @@ class _InstanceState:
|
|
|
1639
1561
|
pulumi.set(__self__, "maintenance_time", maintenance_time)
|
|
1640
1562
|
if memory is not None:
|
|
1641
1563
|
pulumi.set(__self__, "memory", memory)
|
|
1642
|
-
if network_card_index is not None:
|
|
1643
|
-
pulumi.set(__self__, "network_card_index", network_card_index)
|
|
1644
1564
|
if network_interface_id is not None:
|
|
1645
1565
|
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)
|
|
1648
1566
|
if network_interfaces is not None:
|
|
1649
1567
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
|
1650
1568
|
if operator_type is not None:
|
|
@@ -1665,8 +1583,6 @@ class _InstanceState:
|
|
|
1665
1583
|
pulumi.set(__self__, "private_ip", private_ip)
|
|
1666
1584
|
if public_ip is not None:
|
|
1667
1585
|
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)
|
|
1670
1586
|
if renewal_status is not None:
|
|
1671
1587
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
1672
1588
|
if resource_group_id is not None:
|
|
@@ -1719,8 +1635,6 @@ class _InstanceState:
|
|
|
1719
1635
|
pulumi.set(__self__, "user_data", user_data)
|
|
1720
1636
|
if volume_tags is not None:
|
|
1721
1637
|
pulumi.set(__self__, "volume_tags", volume_tags)
|
|
1722
|
-
if vpc_id is not None:
|
|
1723
|
-
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
1724
1638
|
if vswitch_id is not None:
|
|
1725
1639
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
1726
1640
|
|
|
@@ -1894,6 +1808,20 @@ class _InstanceState:
|
|
|
1894
1808
|
def enable_jumbo_frame(self) -> Optional[pulumi.Input[bool]]:
|
|
1895
1809
|
"""
|
|
1896
1810
|
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.
|
|
1897
1825
|
"""
|
|
1898
1826
|
return pulumi.get(self, "enable_jumbo_frame")
|
|
1899
1827
|
|
|
@@ -2233,23 +2161,11 @@ class _InstanceState:
|
|
|
2233
2161
|
def memory(self, value: Optional[pulumi.Input[int]]):
|
|
2234
2162
|
pulumi.set(self, "memory", value)
|
|
2235
2163
|
|
|
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
|
-
|
|
2248
2164
|
@property
|
|
2249
2165
|
@pulumi.getter(name="networkInterfaceId")
|
|
2250
2166
|
def network_interface_id(self) -> Optional[pulumi.Input[str]]:
|
|
2251
2167
|
"""
|
|
2252
|
-
The ID of the
|
|
2168
|
+
The ID of the ENI.
|
|
2253
2169
|
"""
|
|
2254
2170
|
return pulumi.get(self, "network_interface_id")
|
|
2255
2171
|
|
|
@@ -2257,20 +2173,6 @@ class _InstanceState:
|
|
|
2257
2173
|
def network_interface_id(self, value: Optional[pulumi.Input[str]]):
|
|
2258
2174
|
pulumi.set(self, "network_interface_id", value)
|
|
2259
2175
|
|
|
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
|
-
|
|
2274
2176
|
@property
|
|
2275
2177
|
@pulumi.getter(name="networkInterfaces")
|
|
2276
2178
|
def network_interfaces(self) -> Optional[pulumi.Input['InstanceNetworkInterfacesArgs']]:
|
|
@@ -2395,32 +2297,6 @@ class _InstanceState:
|
|
|
2395
2297
|
def public_ip(self, value: Optional[pulumi.Input[str]]):
|
|
2396
2298
|
pulumi.set(self, "public_ip", value)
|
|
2397
2299
|
|
|
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
|
-
|
|
2424
2300
|
@property
|
|
2425
2301
|
@pulumi.getter(name="renewalStatus")
|
|
2426
2302
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2752,18 +2628,6 @@ class _InstanceState:
|
|
|
2752
2628
|
def volume_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
|
2753
2629
|
pulumi.set(self, "volume_tags", value)
|
|
2754
2630
|
|
|
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
|
-
|
|
2767
2631
|
@property
|
|
2768
2632
|
@pulumi.getter(name="vswitchId")
|
|
2769
2633
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2820,15 +2684,12 @@ class Instance(pulumi.CustomResource):
|
|
|
2820
2684
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
2821
2685
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
2822
2686
|
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,
|
|
2825
2687
|
network_interfaces: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']]] = None,
|
|
2826
2688
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
2827
2689
|
password: Optional[pulumi.Input[str]] = None,
|
|
2828
2690
|
period: Optional[pulumi.Input[int]] = None,
|
|
2829
2691
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
2830
2692
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
2831
|
-
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
2832
2693
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
2833
2694
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
2834
2695
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -2854,7 +2715,6 @@ class Instance(pulumi.CustomResource):
|
|
|
2854
2715
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2855
2716
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
2856
2717
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
2857
|
-
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
2858
2718
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
2859
2719
|
__props__=None):
|
|
2860
2720
|
"""
|
|
@@ -2957,6 +2817,20 @@ class Instance(pulumi.CustomResource):
|
|
|
2957
2817
|
- 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.
|
|
2958
2818
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
2959
2819
|
: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.
|
|
2960
2834
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
2961
2835
|
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".
|
|
2962
2836
|
: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.
|
|
@@ -2992,10 +2866,6 @@ class Instance(pulumi.CustomResource):
|
|
|
2992
2866
|
* `AutoRedeploy` : fails the instance over, which may cause damage to the data disks attached to the instance.
|
|
2993
2867
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
2994
2868
|
: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.
|
|
2999
2869
|
:param pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
3000
2870
|
: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`.
|
|
3001
2871
|
: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.
|
|
@@ -3006,21 +2876,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3006
2876
|
> **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.
|
|
3007
2877
|
: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".
|
|
3008
2878
|
: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.
|
|
3024
2879
|
: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:
|
|
3025
2880
|
- `AutoRenewal`: Enable auto renewal.
|
|
3026
2881
|
- `Normal`: Disable auto renewal.
|
|
@@ -3065,7 +2920,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3065
2920
|
:param pulumi.Input[Mapping[str, Any]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
3066
2921
|
- 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.
|
|
3067
2922
|
- 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.
|
|
3069
2923
|
: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.
|
|
3070
2924
|
"""
|
|
3071
2925
|
...
|
|
@@ -3205,15 +3059,12 @@ class Instance(pulumi.CustomResource):
|
|
|
3205
3059
|
maintenance_action: Optional[pulumi.Input[str]] = None,
|
|
3206
3060
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
3207
3061
|
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,
|
|
3210
3062
|
network_interfaces: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']]] = None,
|
|
3211
3063
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
3212
3064
|
password: Optional[pulumi.Input[str]] = None,
|
|
3213
3065
|
period: Optional[pulumi.Input[int]] = None,
|
|
3214
3066
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
3215
3067
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
3216
|
-
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
3217
3068
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
3218
3069
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
3219
3070
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3239,7 +3090,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3239
3090
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3240
3091
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
3241
3092
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
3242
|
-
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
3243
3093
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
3244
3094
|
__props__=None):
|
|
3245
3095
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -3288,15 +3138,12 @@ class Instance(pulumi.CustomResource):
|
|
|
3288
3138
|
__props__.__dict__["maintenance_action"] = maintenance_action
|
|
3289
3139
|
__props__.__dict__["maintenance_notify"] = maintenance_notify
|
|
3290
3140
|
__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
|
|
3293
3141
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
|
3294
3142
|
__props__.__dict__["operator_type"] = operator_type
|
|
3295
3143
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
3296
3144
|
__props__.__dict__["period"] = period
|
|
3297
3145
|
__props__.__dict__["period_unit"] = period_unit
|
|
3298
3146
|
__props__.__dict__["private_ip"] = private_ip
|
|
3299
|
-
__props__.__dict__["queue_pair_number"] = queue_pair_number
|
|
3300
3147
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
3301
3148
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
3302
3149
|
__props__.__dict__["role_name"] = role_name
|
|
@@ -3322,7 +3169,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3322
3169
|
__props__.__dict__["tags"] = tags
|
|
3323
3170
|
__props__.__dict__["user_data"] = user_data
|
|
3324
3171
|
__props__.__dict__["volume_tags"] = volume_tags
|
|
3325
|
-
__props__.__dict__["vpc_id"] = vpc_id
|
|
3326
3172
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
3327
3173
|
__props__.__dict__["cpu"] = None
|
|
3328
3174
|
__props__.__dict__["deployment_set_group_no"] = None
|
|
@@ -3386,9 +3232,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3386
3232
|
maintenance_notify: Optional[pulumi.Input[bool]] = None,
|
|
3387
3233
|
maintenance_time: Optional[pulumi.Input[pulumi.InputType['InstanceMaintenanceTimeArgs']]] = None,
|
|
3388
3234
|
memory: Optional[pulumi.Input[int]] = None,
|
|
3389
|
-
network_card_index: Optional[pulumi.Input[int]] = None,
|
|
3390
3235
|
network_interface_id: Optional[pulumi.Input[str]] = None,
|
|
3391
|
-
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
3392
3236
|
network_interfaces: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']]] = None,
|
|
3393
3237
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
3394
3238
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3399,7 +3243,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3399
3243
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
3400
3244
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
3401
3245
|
public_ip: Optional[pulumi.Input[str]] = None,
|
|
3402
|
-
queue_pair_number: Optional[pulumi.Input[int]] = None,
|
|
3403
3246
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
3404
3247
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
3405
3248
|
role_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -3426,7 +3269,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3426
3269
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3427
3270
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
3428
3271
|
volume_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
3429
|
-
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
3430
3272
|
vswitch_id: Optional[pulumi.Input[str]] = None) -> 'Instance':
|
|
3431
3273
|
"""
|
|
3432
3274
|
Get an existing Instance resource's state with the given name, id, and optional extra
|
|
@@ -3457,6 +3299,20 @@ class Instance(pulumi.CustomResource):
|
|
|
3457
3299
|
- 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.
|
|
3458
3300
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
3459
3301
|
: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.
|
|
3460
3316
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
3461
3317
|
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".
|
|
3462
3318
|
: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.
|
|
@@ -3493,11 +3349,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3493
3349
|
:param pulumi.Input[bool] maintenance_notify: Specifies whether to send an event notification before instance shutdown. Valid values: `true`, `false`. Default value: `false`.
|
|
3494
3350
|
:param pulumi.Input[pulumi.InputType['InstanceMaintenanceTimeArgs']] maintenance_time: The time of maintenance. See `maintenance_time` below.
|
|
3495
3351
|
:param pulumi.Input[int] memory: The memory size of the instance. Unit: MiB.
|
|
3496
|
-
:param pulumi.Input[
|
|
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.
|
|
3352
|
+
:param pulumi.Input[str] network_interface_id: The ID of the ENI.
|
|
3501
3353
|
:param pulumi.Input[pulumi.InputType['InstanceNetworkInterfacesArgs']] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
3502
3354
|
: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`.
|
|
3503
3355
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
@@ -3512,21 +3364,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3512
3364
|
:param pulumi.Input[str] primary_ip_address: The primary private IP address of the ENI.
|
|
3513
3365
|
: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.
|
|
3514
3366
|
: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.
|
|
3530
3367
|
: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:
|
|
3531
3368
|
- `AutoRenewal`: Enable auto renewal.
|
|
3532
3369
|
- `Normal`: Disable auto renewal.
|
|
@@ -3572,7 +3409,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3572
3409
|
:param pulumi.Input[Mapping[str, Any]] volume_tags: A mapping of tags to assign to the devices created by the instance at launch time.
|
|
3573
3410
|
- 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.
|
|
3574
3411
|
- 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.
|
|
3576
3412
|
: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.
|
|
3577
3413
|
"""
|
|
3578
3414
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -3620,9 +3456,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3620
3456
|
__props__.__dict__["maintenance_notify"] = maintenance_notify
|
|
3621
3457
|
__props__.__dict__["maintenance_time"] = maintenance_time
|
|
3622
3458
|
__props__.__dict__["memory"] = memory
|
|
3623
|
-
__props__.__dict__["network_card_index"] = network_card_index
|
|
3624
3459
|
__props__.__dict__["network_interface_id"] = network_interface_id
|
|
3625
|
-
__props__.__dict__["network_interface_traffic_mode"] = network_interface_traffic_mode
|
|
3626
3460
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
|
3627
3461
|
__props__.__dict__["operator_type"] = operator_type
|
|
3628
3462
|
__props__.__dict__["os_name"] = os_name
|
|
@@ -3633,7 +3467,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3633
3467
|
__props__.__dict__["primary_ip_address"] = primary_ip_address
|
|
3634
3468
|
__props__.__dict__["private_ip"] = private_ip
|
|
3635
3469
|
__props__.__dict__["public_ip"] = public_ip
|
|
3636
|
-
__props__.__dict__["queue_pair_number"] = queue_pair_number
|
|
3637
3470
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
3638
3471
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
3639
3472
|
__props__.__dict__["role_name"] = role_name
|
|
@@ -3660,7 +3493,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3660
3493
|
__props__.__dict__["tags"] = tags
|
|
3661
3494
|
__props__.__dict__["user_data"] = user_data
|
|
3662
3495
|
__props__.__dict__["volume_tags"] = volume_tags
|
|
3663
|
-
__props__.__dict__["vpc_id"] = vpc_id
|
|
3664
3496
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
3665
3497
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
|
3666
3498
|
|
|
@@ -3782,6 +3614,20 @@ class Instance(pulumi.CustomResource):
|
|
|
3782
3614
|
def enable_jumbo_frame(self) -> pulumi.Output[bool]:
|
|
3783
3615
|
"""
|
|
3784
3616
|
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.
|
|
3785
3631
|
"""
|
|
3786
3632
|
return pulumi.get(self, "enable_jumbo_frame")
|
|
3787
3633
|
|
|
@@ -4009,32 +3855,14 @@ class Instance(pulumi.CustomResource):
|
|
|
4009
3855
|
"""
|
|
4010
3856
|
return pulumi.get(self, "memory")
|
|
4011
3857
|
|
|
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
|
-
|
|
4020
3858
|
@property
|
|
4021
3859
|
@pulumi.getter(name="networkInterfaceId")
|
|
4022
3860
|
def network_interface_id(self) -> pulumi.Output[str]:
|
|
4023
3861
|
"""
|
|
4024
|
-
The ID of the
|
|
3862
|
+
The ID of the ENI.
|
|
4025
3863
|
"""
|
|
4026
3864
|
return pulumi.get(self, "network_interface_id")
|
|
4027
3865
|
|
|
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
|
-
|
|
4038
3866
|
@property
|
|
4039
3867
|
@pulumi.getter(name="networkInterfaces")
|
|
4040
3868
|
def network_interfaces(self) -> pulumi.Output['outputs.InstanceNetworkInterfaces']:
|
|
@@ -4119,28 +3947,6 @@ class Instance(pulumi.CustomResource):
|
|
|
4119
3947
|
"""
|
|
4120
3948
|
return pulumi.get(self, "public_ip")
|
|
4121
3949
|
|
|
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
|
-
|
|
4144
3950
|
@property
|
|
4145
3951
|
@pulumi.getter(name="renewalStatus")
|
|
4146
3952
|
def renewal_status(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -4368,14 +4174,6 @@ class Instance(pulumi.CustomResource):
|
|
|
4368
4174
|
"""
|
|
4369
4175
|
return pulumi.get(self, "volume_tags")
|
|
4370
4176
|
|
|
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
|
-
|
|
4379
4177
|
@property
|
|
4380
4178
|
@pulumi.getter(name="vswitchId")
|
|
4381
4179
|
def vswitch_id(self) -> pulumi.Output[str]:
|