pulumi-alicloud 3.63.1__py3-none-any.whl → 3.64.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +16 -0
- pulumi_alicloud/amqp/instance.py +8 -8
- pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
- pulumi_alicloud/bss/get_open_api_products.py +4 -4
- pulumi_alicloud/cas/get_certificates.py +17 -1
- pulumi_alicloud/cas/get_service_certificates.py +153 -17
- pulumi_alicloud/cas/outputs.py +40 -36
- pulumi_alicloud/cen/instance.py +108 -53
- pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
- pulumi_alicloud/cloudfirewall/instance.py +64 -36
- pulumi_alicloud/cs/_inputs.py +390 -26
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +48 -35
- pulumi_alicloud/cs/managed_kubernetes.py +91 -35
- pulumi_alicloud/cs/node_pool.py +68 -14
- pulumi_alicloud/cs/outputs.py +293 -16
- pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
- pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
- pulumi_alicloud/databasefilesystem/instance.py +31 -0
- pulumi_alicloud/databasefilesystem/outputs.py +0 -4
- pulumi_alicloud/dns/get_alidns_records.py +26 -4
- pulumi_alicloud/dns/outputs.py +2 -2
- pulumi_alicloud/eais/instance.py +55 -57
- pulumi_alicloud/ecp/instance.py +177 -219
- pulumi_alicloud/ecs/disk.py +2 -2
- pulumi_alicloud/ecs/ecs_disk.py +142 -58
- pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
- pulumi_alicloud/ecs/instance.py +131 -98
- pulumi_alicloud/ecs/key_pair.py +1 -1
- pulumi_alicloud/ecs/launch_template.py +102 -0
- pulumi_alicloud/ecs/outputs.py +57 -24
- pulumi_alicloud/ens/disk.py +2 -2
- pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
- pulumi_alicloud/ess/_inputs.py +342 -2
- pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
- pulumi_alicloud/ess/outputs.py +226 -2
- pulumi_alicloud/ess/scaling_configuration.py +376 -0
- pulumi_alicloud/ga/_inputs.py +57 -22
- pulumi_alicloud/ga/outputs.py +39 -15
- pulumi_alicloud/gpdb/__init__.py +1 -0
- pulumi_alicloud/gpdb/database.py +545 -0
- pulumi_alicloud/gpdb/instance.py +1 -1
- pulumi_alicloud/kvstore/instance.py +24 -5
- pulumi_alicloud/mse/cluster.py +149 -51
- pulumi_alicloud/mse/engine_namespace.py +176 -74
- pulumi_alicloud/mse/get_clusters.py +70 -10
- pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
- pulumi_alicloud/mse/outputs.py +36 -8
- pulumi_alicloud/nas/data_flow.py +6 -6
- pulumi_alicloud/nas/fileset.py +6 -6
- pulumi_alicloud/nas/lifecycle_policy.py +6 -6
- pulumi_alicloud/nas/recycle_bin.py +6 -6
- pulumi_alicloud/nas/snapshot.py +6 -6
- pulumi_alicloud/polardb/cluster.py +162 -0
- pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
- pulumi_alicloud/privatelink/outputs.py +17 -6
- pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +50 -3
- pulumi_alicloud/resourcemanager/get_folders.py +35 -28
- pulumi_alicloud/resourcemanager/outputs.py +8 -8
- pulumi_alicloud/servicemesh/_inputs.py +656 -174
- pulumi_alicloud/servicemesh/outputs.py +507 -117
- pulumi_alicloud/servicemesh/service_mesh.py +120 -78
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +307 -0
- pulumi_alicloud/sls/collection_policy.py +561 -0
- pulumi_alicloud/sls/outputs.py +263 -0
- pulumi_alicloud/threatdetection/instance.py +331 -43
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/RECORD +76 -74
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ecs/instance.py
CHANGED
|
@@ -64,6 +64,7 @@ class InstanceArgs:
|
|
|
64
64
|
network_interfaces: Optional[pulumi.Input['InstanceNetworkInterfacesArgs']] = None,
|
|
65
65
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
66
66
|
password: Optional[pulumi.Input[str]] = None,
|
|
67
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
67
68
|
period: Optional[pulumi.Input[int]] = None,
|
|
68
69
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
69
70
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
@@ -159,6 +160,7 @@ class InstanceArgs:
|
|
|
159
160
|
:param pulumi.Input['InstanceNetworkInterfacesArgs'] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
160
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`.
|
|
161
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.
|
|
163
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
162
164
|
:param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
163
165
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
164
166
|
- [1-3] when `period_unit` in "Week"
|
|
@@ -167,20 +169,6 @@ class InstanceArgs:
|
|
|
167
169
|
: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".
|
|
168
170
|
: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.
|
|
169
171
|
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
170
|
-
|
|
171
|
-
> **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.
|
|
172
|
-
|
|
173
|
-
> **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.
|
|
174
|
-
|
|
175
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
176
|
-
|
|
177
|
-
> **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.
|
|
178
|
-
|
|
179
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
180
|
-
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).
|
|
181
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
182
|
-
|
|
183
|
-
> **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.
|
|
184
172
|
: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:
|
|
185
173
|
- `AutoRenewal`: Enable auto renewal.
|
|
186
174
|
- `Normal`: Disable auto renewal.
|
|
@@ -320,6 +308,8 @@ class InstanceArgs:
|
|
|
320
308
|
pulumi.set(__self__, "operator_type", operator_type)
|
|
321
309
|
if password is not None:
|
|
322
310
|
pulumi.set(__self__, "password", password)
|
|
311
|
+
if password_inherit is not None:
|
|
312
|
+
pulumi.set(__self__, "password_inherit", password_inherit)
|
|
323
313
|
if period is not None:
|
|
324
314
|
pulumi.set(__self__, "period", period)
|
|
325
315
|
if period_unit is not None:
|
|
@@ -918,6 +908,18 @@ class InstanceArgs:
|
|
|
918
908
|
def password(self, value: Optional[pulumi.Input[str]]):
|
|
919
909
|
pulumi.set(self, "password", value)
|
|
920
910
|
|
|
911
|
+
@property
|
|
912
|
+
@pulumi.getter(name="passwordInherit")
|
|
913
|
+
def password_inherit(self) -> Optional[pulumi.Input[bool]]:
|
|
914
|
+
"""
|
|
915
|
+
Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
916
|
+
"""
|
|
917
|
+
return pulumi.get(self, "password_inherit")
|
|
918
|
+
|
|
919
|
+
@password_inherit.setter
|
|
920
|
+
def password_inherit(self, value: Optional[pulumi.Input[bool]]):
|
|
921
|
+
pulumi.set(self, "password_inherit", value)
|
|
922
|
+
|
|
921
923
|
@property
|
|
922
924
|
@pulumi.getter
|
|
923
925
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -963,20 +965,6 @@ class InstanceArgs:
|
|
|
963
965
|
def queue_pair_number(self) -> Optional[pulumi.Input[int]]:
|
|
964
966
|
"""
|
|
965
967
|
The number of queues supported by the ERI.
|
|
966
|
-
|
|
967
|
-
> **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.
|
|
968
|
-
|
|
969
|
-
> **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.
|
|
970
|
-
|
|
971
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
972
|
-
|
|
973
|
-
> **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.
|
|
974
|
-
|
|
975
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
976
|
-
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).
|
|
977
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
978
|
-
|
|
979
|
-
> **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.
|
|
980
968
|
"""
|
|
981
969
|
return pulumi.get(self, "queue_pair_number")
|
|
982
970
|
|
|
@@ -1336,6 +1324,7 @@ class _InstanceState:
|
|
|
1336
1324
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
1337
1325
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
1338
1326
|
cpu: Optional[pulumi.Input[int]] = None,
|
|
1327
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
1339
1328
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
1340
1329
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]]] = None,
|
|
1341
1330
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1345,6 +1334,7 @@ class _InstanceState:
|
|
|
1345
1334
|
description: Optional[pulumi.Input[str]] = None,
|
|
1346
1335
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
1347
1336
|
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
1337
|
+
expired_time: Optional[pulumi.Input[str]] = None,
|
|
1348
1338
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
1349
1339
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
1350
1340
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1380,6 +1370,7 @@ class _InstanceState:
|
|
|
1380
1370
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
1381
1371
|
os_type: Optional[pulumi.Input[str]] = None,
|
|
1382
1372
|
password: Optional[pulumi.Input[str]] = None,
|
|
1373
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
1383
1374
|
period: Optional[pulumi.Input[int]] = None,
|
|
1384
1375
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
1385
1376
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
@@ -1396,6 +1387,7 @@ class _InstanceState:
|
|
|
1396
1387
|
spot_duration: Optional[pulumi.Input[int]] = None,
|
|
1397
1388
|
spot_price_limit: Optional[pulumi.Input[float]] = None,
|
|
1398
1389
|
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
1390
|
+
start_time: Optional[pulumi.Input[str]] = None,
|
|
1399
1391
|
status: Optional[pulumi.Input[str]] = None,
|
|
1400
1392
|
stopped_mode: Optional[pulumi.Input[str]] = None,
|
|
1401
1393
|
system_disk_auto_snapshot_policy_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1425,6 +1417,7 @@ class _InstanceState:
|
|
|
1425
1417
|
- [1, 2, 3] when `period_unit` in "Week"
|
|
1426
1418
|
:param pulumi.Input[str] availability_zone: The Zone to start the instance in. It is ignored and will be computed when set `vswitch_id`.
|
|
1427
1419
|
:param pulumi.Input[int] cpu: The number of vCPUs.
|
|
1420
|
+
:param pulumi.Input[str] create_time: (Available since v1.232.0) The time when the instance was created.
|
|
1428
1421
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
1429
1422
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]] data_disks: The list of data disks created with instance. See `data_disks` below.
|
|
1430
1423
|
:param pulumi.Input[str] dedicated_host_id: The ID of the dedicated host on which to create the instance. If you set the DedicatedHostId parameter, the `spot_strategy` and `spot_price_limit` parameters cannot be set. This is because preemptible instances cannot be created on dedicated hosts.
|
|
@@ -1438,6 +1431,7 @@ class _InstanceState:
|
|
|
1438
1431
|
- 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.
|
|
1439
1432
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
1440
1433
|
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
1434
|
+
:param pulumi.Input[str] expired_time: (Available since v1.232.0) The expiration time of the instance.
|
|
1441
1435
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
1442
1436
|
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".
|
|
1443
1437
|
: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.
|
|
@@ -1484,6 +1478,7 @@ class _InstanceState:
|
|
|
1484
1478
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
1485
1479
|
:param pulumi.Input[str] os_type: The type of the operating system of the instance.
|
|
1486
1480
|
: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.
|
|
1481
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
1487
1482
|
:param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
1488
1483
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
1489
1484
|
- [1-3] when `period_unit` in "Week"
|
|
@@ -1494,20 +1489,6 @@ class _InstanceState:
|
|
|
1494
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.
|
|
1495
1490
|
:param pulumi.Input[str] public_ip: The instance public ip.
|
|
1496
1491
|
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
1497
|
-
|
|
1498
|
-
> **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.
|
|
1499
|
-
|
|
1500
|
-
> **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.
|
|
1501
|
-
|
|
1502
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
1503
|
-
|
|
1504
|
-
> **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.
|
|
1505
|
-
|
|
1506
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
1507
|
-
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).
|
|
1508
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
1509
|
-
|
|
1510
|
-
> **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.
|
|
1511
1492
|
: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:
|
|
1512
1493
|
- `AutoRenewal`: Enable auto renewal.
|
|
1513
1494
|
- `Normal`: Disable auto renewal.
|
|
@@ -1528,6 +1509,7 @@ class _InstanceState:
|
|
|
1528
1509
|
- SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance
|
|
1529
1510
|
|
|
1530
1511
|
Default to NoSpot. Note: Currently, the spot instance only supports domestic site account.
|
|
1512
|
+
:param pulumi.Input[str] start_time: (Available since v1.232.0) The time when the instance was last started.
|
|
1531
1513
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
1532
1514
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
1533
1515
|
* `KeepCharging`: standard mode. Billing of the instance continues after the instance is stopped, and resources are retained for the instance.
|
|
@@ -1569,6 +1551,8 @@ class _InstanceState:
|
|
|
1569
1551
|
pulumi.set(__self__, "availability_zone", availability_zone)
|
|
1570
1552
|
if cpu is not None:
|
|
1571
1553
|
pulumi.set(__self__, "cpu", cpu)
|
|
1554
|
+
if create_time is not None:
|
|
1555
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
1572
1556
|
if credit_specification is not None:
|
|
1573
1557
|
pulumi.set(__self__, "credit_specification", credit_specification)
|
|
1574
1558
|
if data_disks is not None:
|
|
@@ -1587,6 +1571,8 @@ class _InstanceState:
|
|
|
1587
1571
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
1588
1572
|
if enable_jumbo_frame is not None:
|
|
1589
1573
|
pulumi.set(__self__, "enable_jumbo_frame", enable_jumbo_frame)
|
|
1574
|
+
if expired_time is not None:
|
|
1575
|
+
pulumi.set(__self__, "expired_time", expired_time)
|
|
1590
1576
|
if force_delete is not None:
|
|
1591
1577
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
1592
1578
|
if host_name is not None:
|
|
@@ -1660,6 +1646,8 @@ class _InstanceState:
|
|
|
1660
1646
|
pulumi.set(__self__, "os_type", os_type)
|
|
1661
1647
|
if password is not None:
|
|
1662
1648
|
pulumi.set(__self__, "password", password)
|
|
1649
|
+
if password_inherit is not None:
|
|
1650
|
+
pulumi.set(__self__, "password_inherit", password_inherit)
|
|
1663
1651
|
if period is not None:
|
|
1664
1652
|
pulumi.set(__self__, "period", period)
|
|
1665
1653
|
if period_unit is not None:
|
|
@@ -1692,6 +1680,8 @@ class _InstanceState:
|
|
|
1692
1680
|
pulumi.set(__self__, "spot_price_limit", spot_price_limit)
|
|
1693
1681
|
if spot_strategy is not None:
|
|
1694
1682
|
pulumi.set(__self__, "spot_strategy", spot_strategy)
|
|
1683
|
+
if start_time is not None:
|
|
1684
|
+
pulumi.set(__self__, "start_time", start_time)
|
|
1695
1685
|
if status is not None:
|
|
1696
1686
|
pulumi.set(__self__, "status", status)
|
|
1697
1687
|
if stopped_mode is not None:
|
|
@@ -1794,6 +1784,18 @@ class _InstanceState:
|
|
|
1794
1784
|
def cpu(self, value: Optional[pulumi.Input[int]]):
|
|
1795
1785
|
pulumi.set(self, "cpu", value)
|
|
1796
1786
|
|
|
1787
|
+
@property
|
|
1788
|
+
@pulumi.getter(name="createTime")
|
|
1789
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
1790
|
+
"""
|
|
1791
|
+
(Available since v1.232.0) The time when the instance was created.
|
|
1792
|
+
"""
|
|
1793
|
+
return pulumi.get(self, "create_time")
|
|
1794
|
+
|
|
1795
|
+
@create_time.setter
|
|
1796
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
1797
|
+
pulumi.set(self, "create_time", value)
|
|
1798
|
+
|
|
1797
1799
|
@property
|
|
1798
1800
|
@pulumi.getter(name="creditSpecification")
|
|
1799
1801
|
def credit_specification(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1906,6 +1908,18 @@ class _InstanceState:
|
|
|
1906
1908
|
def enable_jumbo_frame(self, value: Optional[pulumi.Input[bool]]):
|
|
1907
1909
|
pulumi.set(self, "enable_jumbo_frame", value)
|
|
1908
1910
|
|
|
1911
|
+
@property
|
|
1912
|
+
@pulumi.getter(name="expiredTime")
|
|
1913
|
+
def expired_time(self) -> Optional[pulumi.Input[str]]:
|
|
1914
|
+
"""
|
|
1915
|
+
(Available since v1.232.0) The expiration time of the instance.
|
|
1916
|
+
"""
|
|
1917
|
+
return pulumi.get(self, "expired_time")
|
|
1918
|
+
|
|
1919
|
+
@expired_time.setter
|
|
1920
|
+
def expired_time(self, value: Optional[pulumi.Input[str]]):
|
|
1921
|
+
pulumi.set(self, "expired_time", value)
|
|
1922
|
+
|
|
1909
1923
|
@property
|
|
1910
1924
|
@pulumi.getter(name="forceDelete")
|
|
1911
1925
|
def force_delete(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -2336,6 +2350,18 @@ class _InstanceState:
|
|
|
2336
2350
|
def password(self, value: Optional[pulumi.Input[str]]):
|
|
2337
2351
|
pulumi.set(self, "password", value)
|
|
2338
2352
|
|
|
2353
|
+
@property
|
|
2354
|
+
@pulumi.getter(name="passwordInherit")
|
|
2355
|
+
def password_inherit(self) -> Optional[pulumi.Input[bool]]:
|
|
2356
|
+
"""
|
|
2357
|
+
Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
2358
|
+
"""
|
|
2359
|
+
return pulumi.get(self, "password_inherit")
|
|
2360
|
+
|
|
2361
|
+
@password_inherit.setter
|
|
2362
|
+
def password_inherit(self, value: Optional[pulumi.Input[bool]]):
|
|
2363
|
+
pulumi.set(self, "password_inherit", value)
|
|
2364
|
+
|
|
2339
2365
|
@property
|
|
2340
2366
|
@pulumi.getter
|
|
2341
2367
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
@@ -2405,20 +2431,6 @@ class _InstanceState:
|
|
|
2405
2431
|
def queue_pair_number(self) -> Optional[pulumi.Input[int]]:
|
|
2406
2432
|
"""
|
|
2407
2433
|
The number of queues supported by the ERI.
|
|
2408
|
-
|
|
2409
|
-
> **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.
|
|
2410
|
-
|
|
2411
|
-
> **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.
|
|
2412
|
-
|
|
2413
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
2414
|
-
|
|
2415
|
-
> **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.
|
|
2416
|
-
|
|
2417
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
2418
|
-
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).
|
|
2419
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
2420
|
-
|
|
2421
|
-
> **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.
|
|
2422
2434
|
"""
|
|
2423
2435
|
return pulumi.get(self, "queue_pair_number")
|
|
2424
2436
|
|
|
@@ -2556,6 +2568,18 @@ class _InstanceState:
|
|
|
2556
2568
|
def spot_strategy(self, value: Optional[pulumi.Input[str]]):
|
|
2557
2569
|
pulumi.set(self, "spot_strategy", value)
|
|
2558
2570
|
|
|
2571
|
+
@property
|
|
2572
|
+
@pulumi.getter(name="startTime")
|
|
2573
|
+
def start_time(self) -> Optional[pulumi.Input[str]]:
|
|
2574
|
+
"""
|
|
2575
|
+
(Available since v1.232.0) The time when the instance was last started.
|
|
2576
|
+
"""
|
|
2577
|
+
return pulumi.get(self, "start_time")
|
|
2578
|
+
|
|
2579
|
+
@start_time.setter
|
|
2580
|
+
def start_time(self, value: Optional[pulumi.Input[str]]):
|
|
2581
|
+
pulumi.set(self, "start_time", value)
|
|
2582
|
+
|
|
2559
2583
|
@property
|
|
2560
2584
|
@pulumi.getter
|
|
2561
2585
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2830,6 +2854,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2830
2854
|
network_interfaces: Optional[pulumi.Input[Union['InstanceNetworkInterfacesArgs', 'InstanceNetworkInterfacesArgsDict']]] = None,
|
|
2831
2855
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
2832
2856
|
password: Optional[pulumi.Input[str]] = None,
|
|
2857
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
2833
2858
|
period: Optional[pulumi.Input[int]] = None,
|
|
2834
2859
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
2835
2860
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
@@ -3004,6 +3029,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3004
3029
|
:param pulumi.Input[Union['InstanceNetworkInterfacesArgs', 'InstanceNetworkInterfacesArgsDict']] network_interfaces: The list of network interfaces created with instance. See `network_interfaces` below.
|
|
3005
3030
|
: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`.
|
|
3006
3031
|
: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.
|
|
3032
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
3007
3033
|
:param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
3008
3034
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
3009
3035
|
- [1-3] when `period_unit` in "Week"
|
|
@@ -3012,20 +3038,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3012
3038
|
: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".
|
|
3013
3039
|
: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.
|
|
3014
3040
|
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
3015
|
-
|
|
3016
|
-
> **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.
|
|
3017
|
-
|
|
3018
|
-
> **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.
|
|
3019
|
-
|
|
3020
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3021
|
-
|
|
3022
|
-
> **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.
|
|
3023
|
-
|
|
3024
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3025
|
-
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).
|
|
3026
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3027
|
-
|
|
3028
|
-
> **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.
|
|
3029
3041
|
: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:
|
|
3030
3042
|
- `AutoRenewal`: Enable auto renewal.
|
|
3031
3043
|
- `Normal`: Disable auto renewal.
|
|
@@ -3215,6 +3227,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3215
3227
|
network_interfaces: Optional[pulumi.Input[Union['InstanceNetworkInterfacesArgs', 'InstanceNetworkInterfacesArgsDict']]] = None,
|
|
3216
3228
|
operator_type: Optional[pulumi.Input[str]] = None,
|
|
3217
3229
|
password: Optional[pulumi.Input[str]] = None,
|
|
3230
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
3218
3231
|
period: Optional[pulumi.Input[int]] = None,
|
|
3219
3232
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
3220
3233
|
private_ip: Optional[pulumi.Input[str]] = None,
|
|
@@ -3298,6 +3311,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3298
3311
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
|
3299
3312
|
__props__.__dict__["operator_type"] = operator_type
|
|
3300
3313
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
3314
|
+
__props__.__dict__["password_inherit"] = password_inherit
|
|
3301
3315
|
__props__.__dict__["period"] = period
|
|
3302
3316
|
__props__.__dict__["period_unit"] = period_unit
|
|
3303
3317
|
__props__.__dict__["private_ip"] = private_ip
|
|
@@ -3330,13 +3344,16 @@ class Instance(pulumi.CustomResource):
|
|
|
3330
3344
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
3331
3345
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
3332
3346
|
__props__.__dict__["cpu"] = None
|
|
3347
|
+
__props__.__dict__["create_time"] = None
|
|
3333
3348
|
__props__.__dict__["deployment_set_group_no"] = None
|
|
3349
|
+
__props__.__dict__["expired_time"] = None
|
|
3334
3350
|
__props__.__dict__["memory"] = None
|
|
3335
3351
|
__props__.__dict__["network_interface_id"] = None
|
|
3336
3352
|
__props__.__dict__["os_name"] = None
|
|
3337
3353
|
__props__.__dict__["os_type"] = None
|
|
3338
3354
|
__props__.__dict__["primary_ip_address"] = None
|
|
3339
3355
|
__props__.__dict__["public_ip"] = None
|
|
3356
|
+
__props__.__dict__["start_time"] = None
|
|
3340
3357
|
__props__.__dict__["system_disk_id"] = None
|
|
3341
3358
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
3342
3359
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
@@ -3355,6 +3372,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3355
3372
|
auto_renew_period: Optional[pulumi.Input[int]] = None,
|
|
3356
3373
|
availability_zone: Optional[pulumi.Input[str]] = None,
|
|
3357
3374
|
cpu: Optional[pulumi.Input[int]] = None,
|
|
3375
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
3358
3376
|
credit_specification: Optional[pulumi.Input[str]] = None,
|
|
3359
3377
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]]] = None,
|
|
3360
3378
|
dedicated_host_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3364,6 +3382,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3364
3382
|
description: Optional[pulumi.Input[str]] = None,
|
|
3365
3383
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
3366
3384
|
enable_jumbo_frame: Optional[pulumi.Input[bool]] = None,
|
|
3385
|
+
expired_time: Optional[pulumi.Input[str]] = None,
|
|
3367
3386
|
force_delete: Optional[pulumi.Input[bool]] = None,
|
|
3368
3387
|
host_name: Optional[pulumi.Input[str]] = None,
|
|
3369
3388
|
hpc_cluster_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3399,6 +3418,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3399
3418
|
os_name: Optional[pulumi.Input[str]] = None,
|
|
3400
3419
|
os_type: Optional[pulumi.Input[str]] = None,
|
|
3401
3420
|
password: Optional[pulumi.Input[str]] = None,
|
|
3421
|
+
password_inherit: Optional[pulumi.Input[bool]] = None,
|
|
3402
3422
|
period: Optional[pulumi.Input[int]] = None,
|
|
3403
3423
|
period_unit: Optional[pulumi.Input[str]] = None,
|
|
3404
3424
|
primary_ip_address: Optional[pulumi.Input[str]] = None,
|
|
@@ -3415,6 +3435,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3415
3435
|
spot_duration: Optional[pulumi.Input[int]] = None,
|
|
3416
3436
|
spot_price_limit: Optional[pulumi.Input[float]] = None,
|
|
3417
3437
|
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
3438
|
+
start_time: Optional[pulumi.Input[str]] = None,
|
|
3418
3439
|
status: Optional[pulumi.Input[str]] = None,
|
|
3419
3440
|
stopped_mode: Optional[pulumi.Input[str]] = None,
|
|
3420
3441
|
system_disk_auto_snapshot_policy_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3449,6 +3470,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3449
3470
|
- [1, 2, 3] when `period_unit` in "Week"
|
|
3450
3471
|
:param pulumi.Input[str] availability_zone: The Zone to start the instance in. It is ignored and will be computed when set `vswitch_id`.
|
|
3451
3472
|
:param pulumi.Input[int] cpu: The number of vCPUs.
|
|
3473
|
+
:param pulumi.Input[str] create_time: (Available since v1.232.0) The time when the instance was created.
|
|
3452
3474
|
:param pulumi.Input[str] credit_specification: Performance mode of the t5 burstable instance. Valid values: 'Standard', 'Unlimited'.
|
|
3453
3475
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]] data_disks: The list of data disks created with instance. See `data_disks` below.
|
|
3454
3476
|
:param pulumi.Input[str] dedicated_host_id: The ID of the dedicated host on which to create the instance. If you set the DedicatedHostId parameter, the `spot_strategy` and `spot_price_limit` parameters cannot be set. This is because preemptible instances cannot be created on dedicated hosts.
|
|
@@ -3462,6 +3484,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3462
3484
|
- 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.
|
|
3463
3485
|
- false: A request is sent. If the validation succeeds, the instance is created.
|
|
3464
3486
|
:param pulumi.Input[bool] enable_jumbo_frame: Specifies whether to enable the Jumbo Frames feature for the instance. Valid values: `true`, `false`.
|
|
3487
|
+
:param pulumi.Input[str] expired_time: (Available since v1.232.0) The expiration time of the instance.
|
|
3465
3488
|
:param pulumi.Input[bool] force_delete: If it is true, the "PrePaid" instance will be change to "PostPaid" and then deleted forcibly.
|
|
3466
3489
|
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".
|
|
3467
3490
|
: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.
|
|
@@ -3508,6 +3531,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3508
3531
|
:param pulumi.Input[str] os_name: The name of the operating system of the instance.
|
|
3509
3532
|
:param pulumi.Input[str] os_type: The type of the operating system of the instance.
|
|
3510
3533
|
: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.
|
|
3534
|
+
:param pulumi.Input[bool] password_inherit: Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
3511
3535
|
:param pulumi.Input[int] period: The duration that you will buy the resource, in month. It is valid and required when `instance_charge_type` is `PrePaid`. Valid values:
|
|
3512
3536
|
- [1-9, 12, 24, 36, 48, 60] when `period_unit` in "Month"
|
|
3513
3537
|
- [1-3] when `period_unit` in "Week"
|
|
@@ -3518,20 +3542,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3518
3542
|
: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.
|
|
3519
3543
|
:param pulumi.Input[str] public_ip: The instance public ip.
|
|
3520
3544
|
:param pulumi.Input[int] queue_pair_number: The number of queues supported by the ERI.
|
|
3521
|
-
|
|
3522
|
-
> **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.
|
|
3523
|
-
|
|
3524
|
-
> **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.
|
|
3525
|
-
|
|
3526
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
3527
|
-
|
|
3528
|
-
> **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.
|
|
3529
|
-
|
|
3530
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
3531
|
-
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).
|
|
3532
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
3533
|
-
|
|
3534
|
-
> **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.
|
|
3535
3545
|
: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:
|
|
3536
3546
|
- `AutoRenewal`: Enable auto renewal.
|
|
3537
3547
|
- `Normal`: Disable auto renewal.
|
|
@@ -3552,6 +3562,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3552
3562
|
- SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance
|
|
3553
3563
|
|
|
3554
3564
|
Default to NoSpot. Note: Currently, the spot instance only supports domestic site account.
|
|
3565
|
+
:param pulumi.Input[str] start_time: (Available since v1.232.0) The time when the instance was last started.
|
|
3555
3566
|
:param pulumi.Input[str] status: The instance status. Valid values: ["Running", "Stopped"]. You can control the instance start and stop through this parameter. Default to `Running`.
|
|
3556
3567
|
:param pulumi.Input[str] stopped_mode: The stop mode of the pay-as-you-go instance. Valid values: `StopCharging`,`KeepCharging`, `Not-applicable`. Default value: If the prerequisites required for enabling the economical mode are met, and you have enabled this mode in the ECS console, the default value is `StopCharging`. For more information, see "Enable the economical mode" in [Economical mode](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/economical-mode). Otherwise, the default value is `KeepCharging`. **Note:** `Not-applicable`: Economical mode is not applicable to the instance.`
|
|
3557
3568
|
* `KeepCharging`: standard mode. Billing of the instance continues after the instance is stopped, and resources are retained for the instance.
|
|
@@ -3589,6 +3600,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3589
3600
|
__props__.__dict__["auto_renew_period"] = auto_renew_period
|
|
3590
3601
|
__props__.__dict__["availability_zone"] = availability_zone
|
|
3591
3602
|
__props__.__dict__["cpu"] = cpu
|
|
3603
|
+
__props__.__dict__["create_time"] = create_time
|
|
3592
3604
|
__props__.__dict__["credit_specification"] = credit_specification
|
|
3593
3605
|
__props__.__dict__["data_disks"] = data_disks
|
|
3594
3606
|
__props__.__dict__["dedicated_host_id"] = dedicated_host_id
|
|
@@ -3598,6 +3610,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3598
3610
|
__props__.__dict__["description"] = description
|
|
3599
3611
|
__props__.__dict__["dry_run"] = dry_run
|
|
3600
3612
|
__props__.__dict__["enable_jumbo_frame"] = enable_jumbo_frame
|
|
3613
|
+
__props__.__dict__["expired_time"] = expired_time
|
|
3601
3614
|
__props__.__dict__["force_delete"] = force_delete
|
|
3602
3615
|
__props__.__dict__["host_name"] = host_name
|
|
3603
3616
|
__props__.__dict__["hpc_cluster_id"] = hpc_cluster_id
|
|
@@ -3633,6 +3646,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3633
3646
|
__props__.__dict__["os_name"] = os_name
|
|
3634
3647
|
__props__.__dict__["os_type"] = os_type
|
|
3635
3648
|
__props__.__dict__["password"] = password
|
|
3649
|
+
__props__.__dict__["password_inherit"] = password_inherit
|
|
3636
3650
|
__props__.__dict__["period"] = period
|
|
3637
3651
|
__props__.__dict__["period_unit"] = period_unit
|
|
3638
3652
|
__props__.__dict__["primary_ip_address"] = primary_ip_address
|
|
@@ -3649,6 +3663,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3649
3663
|
__props__.__dict__["spot_duration"] = spot_duration
|
|
3650
3664
|
__props__.__dict__["spot_price_limit"] = spot_price_limit
|
|
3651
3665
|
__props__.__dict__["spot_strategy"] = spot_strategy
|
|
3666
|
+
__props__.__dict__["start_time"] = start_time
|
|
3652
3667
|
__props__.__dict__["status"] = status
|
|
3653
3668
|
__props__.__dict__["stopped_mode"] = stopped_mode
|
|
3654
3669
|
__props__.__dict__["system_disk_auto_snapshot_policy_id"] = system_disk_auto_snapshot_policy_id
|
|
@@ -3714,6 +3729,14 @@ class Instance(pulumi.CustomResource):
|
|
|
3714
3729
|
"""
|
|
3715
3730
|
return pulumi.get(self, "cpu")
|
|
3716
3731
|
|
|
3732
|
+
@property
|
|
3733
|
+
@pulumi.getter(name="createTime")
|
|
3734
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
3735
|
+
"""
|
|
3736
|
+
(Available since v1.232.0) The time when the instance was created.
|
|
3737
|
+
"""
|
|
3738
|
+
return pulumi.get(self, "create_time")
|
|
3739
|
+
|
|
3717
3740
|
@property
|
|
3718
3741
|
@pulumi.getter(name="creditSpecification")
|
|
3719
3742
|
def credit_specification(self) -> pulumi.Output[str]:
|
|
@@ -3790,6 +3813,14 @@ class Instance(pulumi.CustomResource):
|
|
|
3790
3813
|
"""
|
|
3791
3814
|
return pulumi.get(self, "enable_jumbo_frame")
|
|
3792
3815
|
|
|
3816
|
+
@property
|
|
3817
|
+
@pulumi.getter(name="expiredTime")
|
|
3818
|
+
def expired_time(self) -> pulumi.Output[str]:
|
|
3819
|
+
"""
|
|
3820
|
+
(Available since v1.232.0) The expiration time of the instance.
|
|
3821
|
+
"""
|
|
3822
|
+
return pulumi.get(self, "expired_time")
|
|
3823
|
+
|
|
3793
3824
|
@property
|
|
3794
3825
|
@pulumi.getter(name="forceDelete")
|
|
3795
3826
|
def force_delete(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -4080,6 +4111,14 @@ class Instance(pulumi.CustomResource):
|
|
|
4080
4111
|
"""
|
|
4081
4112
|
return pulumi.get(self, "password")
|
|
4082
4113
|
|
|
4114
|
+
@property
|
|
4115
|
+
@pulumi.getter(name="passwordInherit")
|
|
4116
|
+
def password_inherit(self) -> pulumi.Output[Optional[bool]]:
|
|
4117
|
+
"""
|
|
4118
|
+
Specifies whether to use the password preset in the image. Default value: `false`. Valid values:
|
|
4119
|
+
"""
|
|
4120
|
+
return pulumi.get(self, "password_inherit")
|
|
4121
|
+
|
|
4083
4122
|
@property
|
|
4084
4123
|
@pulumi.getter
|
|
4085
4124
|
def period(self) -> pulumi.Output[int]:
|
|
@@ -4129,20 +4168,6 @@ class Instance(pulumi.CustomResource):
|
|
|
4129
4168
|
def queue_pair_number(self) -> pulumi.Output[Optional[int]]:
|
|
4130
4169
|
"""
|
|
4131
4170
|
The number of queues supported by the ERI.
|
|
4132
|
-
|
|
4133
|
-
> **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.
|
|
4134
|
-
|
|
4135
|
-
> **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.
|
|
4136
|
-
|
|
4137
|
-
> **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
|
|
4138
|
-
|
|
4139
|
-
> **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.
|
|
4140
|
-
|
|
4141
|
-
> **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
|
|
4142
|
-
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).
|
|
4143
|
-
However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
|
|
4144
|
-
|
|
4145
|
-
> **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.
|
|
4146
4171
|
"""
|
|
4147
4172
|
return pulumi.get(self, "queue_pair_number")
|
|
4148
4173
|
|
|
@@ -4236,6 +4261,14 @@ class Instance(pulumi.CustomResource):
|
|
|
4236
4261
|
"""
|
|
4237
4262
|
return pulumi.get(self, "spot_strategy")
|
|
4238
4263
|
|
|
4264
|
+
@property
|
|
4265
|
+
@pulumi.getter(name="startTime")
|
|
4266
|
+
def start_time(self) -> pulumi.Output[str]:
|
|
4267
|
+
"""
|
|
4268
|
+
(Available since v1.232.0) The time when the instance was last started.
|
|
4269
|
+
"""
|
|
4270
|
+
return pulumi.get(self, "start_time")
|
|
4271
|
+
|
|
4239
4272
|
@property
|
|
4240
4273
|
@pulumi.getter
|
|
4241
4274
|
def status(self) -> pulumi.Output[str]:
|
pulumi_alicloud/ecs/key_pair.py
CHANGED
|
@@ -463,7 +463,7 @@ class KeyPair(pulumi.CustomResource):
|
|
|
463
463
|
|
|
464
464
|
@property
|
|
465
465
|
@pulumi.getter(name="resourceGroupId")
|
|
466
|
-
def resource_group_id(self) -> pulumi.Output[
|
|
466
|
+
def resource_group_id(self) -> pulumi.Output[str]:
|
|
467
467
|
"""
|
|
468
468
|
The Id of resource group which the key pair belongs.
|
|
469
469
|
"""
|