pulumi-alicloud 3.63.0__py3-none-any.whl → 3.63.0a1726032285__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 +0 -24
- pulumi_alicloud/alb/acl.py +19 -18
- pulumi_alicloud/alb/health_check_template.py +88 -96
- pulumi_alicloud/amqp/binding.py +36 -30
- pulumi_alicloud/cen/_inputs.py +14 -180
- pulumi_alicloud/cen/outputs.py +12 -173
- pulumi_alicloud/cen/traffic_marking_policy.py +53 -116
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +119 -338
- pulumi_alicloud/cms/_inputs.py +6 -6
- pulumi_alicloud/cms/outputs.py +6 -6
- pulumi_alicloud/cr/chart_namespace.py +6 -14
- pulumi_alicloud/cr/endpoint_acl_policy.py +2 -10
- pulumi_alicloud/cr/namespace.py +2 -10
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/_inputs.py +9 -8
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ddos/domain_resource.py +90 -446
- pulumi_alicloud/ddos/outputs.py +8 -7
- pulumi_alicloud/eci/container_group.py +0 -47
- pulumi_alicloud/ecs/_inputs.py +0 -28
- pulumi_alicloud/ecs/ecs_snapshot.py +77 -199
- pulumi_alicloud/ecs/outputs.py +0 -20
- pulumi_alicloud/ecs/snapshot.py +8 -26
- pulumi_alicloud/emrv2/_inputs.py +12 -12
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +2 -50
- pulumi_alicloud/ens/instance.py +184 -428
- pulumi_alicloud/ens/outputs.py +2 -57
- pulumi_alicloud/ess/__init__.py +0 -1
- pulumi_alicloud/ess/alarm.py +0 -47
- pulumi_alicloud/expressconnect/physical_connection.py +185 -321
- pulumi_alicloud/fc/trigger.py +24 -22
- pulumi_alicloud/ga/_inputs.py +5 -23
- pulumi_alicloud/ga/endpoint_group.py +14 -68
- pulumi_alicloud/ga/outputs.py +5 -21
- pulumi_alicloud/governance/account.py +0 -61
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/gpdb/_inputs.py +3 -361
- pulumi_alicloud/gpdb/instance.py +0 -47
- pulumi_alicloud/gpdb/outputs.py +4 -597
- pulumi_alicloud/mongodb/instance.py +0 -94
- pulumi_alicloud/nlb/_inputs.py +64 -120
- pulumi_alicloud/nlb/get_listeners.py +2 -32
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +2 -8
- pulumi_alicloud/nlb/listener.py +245 -315
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +212 -297
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +39 -29
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +18 -22
- pulumi_alicloud/nlb/outputs.py +66 -122
- pulumi_alicloud/nlb/security_policy.py +25 -53
- pulumi_alicloud/nlb/server_group.py +133 -196
- pulumi_alicloud/ocean/base_instance.py +163 -498
- pulumi_alicloud/oos/get_secret_parameters.py +9 -111
- pulumi_alicloud/oos/outputs.py +11 -22
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_account_alias.py +2 -35
- pulumi_alicloud/rds/instance.py +21 -21
- pulumi_alicloud/rocketmq/_inputs.py +22 -79
- pulumi_alicloud/rocketmq/outputs.py +21 -85
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +113 -307
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +59 -127
- pulumi_alicloud/vpc/peer_connection_accepter.py +42 -263
- pulumi_alicloud/vpc/route_entry.py +210 -232
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/RECORD +70 -75
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ess/server_group_attachment.py +0 -552
- pulumi_alicloud/gpdb/db_instance_ip_array.py +0 -533
- pulumi_alicloud/gpdb/get_data_backups.py +0 -288
- pulumi_alicloud/gpdb/get_log_backups.py +0 -225
- pulumi_alicloud/gpdb/streaming_job.py +0 -1568
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ens/instance.py
CHANGED
|
@@ -20,7 +20,6 @@ class InstanceArgs:
|
|
|
20
20
|
payment_type: pulumi.Input[str],
|
|
21
21
|
schedule_area_level: pulumi.Input[str],
|
|
22
22
|
amount: Optional[pulumi.Input[int]] = None,
|
|
23
|
-
auto_release_time: Optional[pulumi.Input[str]] = None,
|
|
24
23
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
25
24
|
auto_use_coupon: Optional[pulumi.Input[str]] = None,
|
|
26
25
|
billing_cycle: Optional[pulumi.Input[str]] = None,
|
|
@@ -36,7 +35,6 @@ class InstanceArgs:
|
|
|
36
35
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
37
36
|
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
|
|
38
37
|
ip_type: Optional[pulumi.Input[str]] = None,
|
|
39
|
-
key_pair_name: Optional[pulumi.Input[str]] = None,
|
|
40
38
|
net_district_code: Optional[pulumi.Input[str]] = None,
|
|
41
39
|
net_work_id: Optional[pulumi.Input[str]] = None,
|
|
42
40
|
password: Optional[pulumi.Input[str]] = None,
|
|
@@ -48,101 +46,85 @@ class InstanceArgs:
|
|
|
48
46
|
scheduling_price_strategy: Optional[pulumi.Input[str]] = None,
|
|
49
47
|
scheduling_strategy: Optional[pulumi.Input[str]] = None,
|
|
50
48
|
security_id: Optional[pulumi.Input[str]] = None,
|
|
51
|
-
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
52
49
|
status: Optional[pulumi.Input[str]] = None,
|
|
53
50
|
system_disk: Optional[pulumi.Input['InstanceSystemDiskArgs']] = None,
|
|
54
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
55
51
|
unique_suffix: Optional[pulumi.Input[bool]] = None,
|
|
56
52
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
57
53
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
58
54
|
"""
|
|
59
55
|
The set of arguments for constructing a Instance resource.
|
|
60
|
-
:param pulumi.Input[str] instance_type: The specification of the instance. Example value: ens.sn1.small
|
|
61
|
-
:param pulumi.Input[str] payment_type: Instance payment method.
|
|
56
|
+
:param pulumi.Input[str] instance_type: The specification of the instance. Example value: ens.sn1.small.
|
|
57
|
+
:param pulumi.Input[str] payment_type: Instance payment method. Optional values:
|
|
62
58
|
- Subscription: prepaid, annual and monthly
|
|
63
|
-
- PayAsYouGo: Pay by volume
|
|
59
|
+
- PayAsYouGo: Pay by volume.
|
|
64
60
|
:param pulumi.Input[str] schedule_area_level: Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
|
|
65
61
|
- Node-level scheduling: Region
|
|
66
|
-
- Regional scheduling: Big (region),Middle (province),Small (city)
|
|
67
|
-
:param pulumi.Input[int] amount: The number of instances created, with a minimum of 1 and a maximum of 100
|
|
68
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
|
|
69
|
-
- If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
|
|
70
|
-
- The minimum release time is one hour after the current time.
|
|
62
|
+
- Regional scheduling: Big (region),Middle (province),Small (city).
|
|
63
|
+
:param pulumi.Input[int] amount: The number of instances created, with a minimum of 1 and a maximum of 100.
|
|
71
64
|
:param pulumi.Input[bool] auto_renew: Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
|
|
72
65
|
:param pulumi.Input[str] auto_use_coupon: Whether to use vouchers. The default is to use. Value:
|
|
73
66
|
- true (used)
|
|
74
|
-
- false (not used)
|
|
67
|
+
- false (not used).
|
|
75
68
|
:param pulumi.Input[str] billing_cycle: The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
|
|
76
69
|
- Hour: hourly billing
|
|
77
70
|
- Day: Daily billing
|
|
78
|
-
- Month: monthly billing
|
|
71
|
+
- Month: monthly billing.
|
|
79
72
|
:param pulumi.Input[str] carrier: Operator, required for regional scheduling. Optional values:
|
|
80
73
|
- cmcc (mobile)
|
|
81
74
|
- unicom
|
|
82
|
-
- telecom
|
|
83
|
-
:param pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]] data_disks: Data disk specifications See `data_disk` below.
|
|
75
|
+
- telecom.
|
|
76
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]] data_disks: Data disk specifications. See `data_disk` below.
|
|
84
77
|
:param pulumi.Input[str] ens_region_id: The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
|
|
85
78
|
:param pulumi.Input[str] force_stop: Whether to force the identity when operating the instance. Optional values:
|
|
86
79
|
- true: Force
|
|
87
80
|
- false (default): non-mandatory
|
|
88
|
-
:param pulumi.Input[str] host_name: The host name of the instance. Example value: test-HostName
|
|
89
|
-
:param pulumi.Input[str] image_id: The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * *
|
|
81
|
+
:param pulumi.Input[str] host_name: The host name of the instance. Example value: test-HostName.
|
|
82
|
+
:param pulumi.Input[str] image_id: The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
|
|
90
83
|
:param pulumi.Input[bool] include_data_disks: Whether the Payment type of the disk created with the instance is converted.
|
|
91
84
|
:param pulumi.Input[str] instance_charge_strategy: The instance billing policy. Optional values:
|
|
92
85
|
- instance: instance granularity (the subscription method does not support instance)
|
|
93
|
-
- user: user Dimension (user is not transmitted or supported in the prepaid mode)
|
|
94
|
-
:param pulumi.Input[str] instance_name: The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
|
|
95
|
-
|
|
96
|
-
The default value is the InstanceId of the instance.
|
|
86
|
+
- user: user Dimension (user is not transmitted or supported in the prepaid mode).
|
|
87
|
+
:param pulumi.Input[str] instance_name: The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
|
|
97
88
|
:param pulumi.Input[str] internet_charge_type: Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
|
|
98
89
|
- BandwidthByDay: Daily peak bandwidth
|
|
99
|
-
- 95bandwidthbymonth: 95 peak bandwidth
|
|
100
|
-
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
|
|
90
|
+
- 95bandwidthbymonth: 95 peak bandwidth.
|
|
91
|
+
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
101
92
|
:param pulumi.Input[str] ip_type: The IP type. Value:
|
|
102
93
|
- ipv4 (default):IPv4
|
|
103
94
|
- ipv6:IPv6
|
|
104
|
-
- ipv4Andipv6:IPv4 and IPv6
|
|
105
|
-
:param pulumi.Input[str]
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
:param pulumi.Input[
|
|
109
|
-
:param pulumi.Input[str] net_work_id: The network ID of the instance. Can only be used in node-level scheduling
|
|
110
|
-
:param pulumi.Input[str] password: The instance password. At least one of Password, KeyPairName, and PasswordInherit
|
|
111
|
-
:param pulumi.Input[bool] password_inherit: Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
|
|
95
|
+
- ipv4Andipv6:IPv4 and IPv6.
|
|
96
|
+
:param pulumi.Input[str] net_district_code: The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
|
|
97
|
+
:param pulumi.Input[str] net_work_id: The network ID of the instance. Can only be used in node-level scheduling.
|
|
98
|
+
:param pulumi.Input[str] password: The instance password. At least one of Password, KeyPairName, and PasswordInherit.
|
|
99
|
+
:param pulumi.Input[bool] password_inherit: Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
|
|
112
100
|
:param pulumi.Input[int] period: The duration of the resource purchase. Value method:
|
|
113
101
|
- If PeriodUnit is set to Day, Period can only be set to 3.
|
|
114
102
|
- If PeriodUnit is set to Month, Period can be set to 1-9,12.
|
|
115
103
|
:param pulumi.Input[str] period_unit: The unit of time for purchasing resources. Value:
|
|
116
104
|
- Month (default): purchase by Month
|
|
117
|
-
- Day: buy by Day
|
|
105
|
+
- Day: buy by Day.
|
|
118
106
|
:param pulumi.Input[str] private_ip_address: The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
|
|
119
107
|
:param pulumi.Input[bool] public_ip_identification: Whether to assign a public IP identifier. Value:
|
|
120
108
|
- true (default): Assign
|
|
121
|
-
- false: do not assign
|
|
109
|
+
- false: do not assign.
|
|
122
110
|
:param pulumi.Input[str] scheduling_price_strategy: Scheduling price policy. If it is not filled in, the default priority is low price. Value:
|
|
123
111
|
- PriceLowPriority
|
|
124
|
-
- PriceLowPriority (priority low price)
|
|
112
|
+
- PriceLowPriority (priority low price).
|
|
125
113
|
:param pulumi.Input[str] scheduling_strategy: Scheduling policy. Optional values:
|
|
126
114
|
- Concentrate for node-level scheduling
|
|
127
|
-
- For regional scheduling, Concentrate, Disperse
|
|
115
|
+
- For regional scheduling, Concentrate, Disperse.
|
|
128
116
|
:param pulumi.Input[str] security_id: ID of the security group to which the instance belongs.
|
|
129
|
-
:param pulumi.Input[str]
|
|
130
|
-
- NoSpot: normal pay-as-you-go instance (default)
|
|
131
|
-
- SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
|
|
132
|
-
:param pulumi.Input[str] status: Status of the instance
|
|
117
|
+
:param pulumi.Input[str] status: Status of the instance.
|
|
133
118
|
:param pulumi.Input['InstanceSystemDiskArgs'] system_disk: System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `system_disk` below.
|
|
134
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag bound to the instance
|
|
135
119
|
:param pulumi.Input[bool] unique_suffix: Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
|
|
136
120
|
:param pulumi.Input[str] user_data: User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
|
|
137
|
-
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
|
|
121
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
|
|
138
122
|
"""
|
|
139
123
|
pulumi.set(__self__, "instance_type", instance_type)
|
|
140
124
|
pulumi.set(__self__, "payment_type", payment_type)
|
|
141
125
|
pulumi.set(__self__, "schedule_area_level", schedule_area_level)
|
|
142
126
|
if amount is not None:
|
|
143
127
|
pulumi.set(__self__, "amount", amount)
|
|
144
|
-
if auto_release_time is not None:
|
|
145
|
-
pulumi.set(__self__, "auto_release_time", auto_release_time)
|
|
146
128
|
if auto_renew is not None:
|
|
147
129
|
pulumi.set(__self__, "auto_renew", auto_renew)
|
|
148
130
|
if auto_use_coupon is not None:
|
|
@@ -173,8 +155,6 @@ class InstanceArgs:
|
|
|
173
155
|
pulumi.set(__self__, "internet_max_bandwidth_out", internet_max_bandwidth_out)
|
|
174
156
|
if ip_type is not None:
|
|
175
157
|
pulumi.set(__self__, "ip_type", ip_type)
|
|
176
|
-
if key_pair_name is not None:
|
|
177
|
-
pulumi.set(__self__, "key_pair_name", key_pair_name)
|
|
178
158
|
if net_district_code is not None:
|
|
179
159
|
pulumi.set(__self__, "net_district_code", net_district_code)
|
|
180
160
|
if net_work_id is not None:
|
|
@@ -197,14 +177,10 @@ class InstanceArgs:
|
|
|
197
177
|
pulumi.set(__self__, "scheduling_strategy", scheduling_strategy)
|
|
198
178
|
if security_id is not None:
|
|
199
179
|
pulumi.set(__self__, "security_id", security_id)
|
|
200
|
-
if spot_strategy is not None:
|
|
201
|
-
pulumi.set(__self__, "spot_strategy", spot_strategy)
|
|
202
180
|
if status is not None:
|
|
203
181
|
pulumi.set(__self__, "status", status)
|
|
204
182
|
if system_disk is not None:
|
|
205
183
|
pulumi.set(__self__, "system_disk", system_disk)
|
|
206
|
-
if tags is not None:
|
|
207
|
-
pulumi.set(__self__, "tags", tags)
|
|
208
184
|
if unique_suffix is not None:
|
|
209
185
|
pulumi.set(__self__, "unique_suffix", unique_suffix)
|
|
210
186
|
if user_data is not None:
|
|
@@ -216,7 +192,7 @@ class InstanceArgs:
|
|
|
216
192
|
@pulumi.getter(name="instanceType")
|
|
217
193
|
def instance_type(self) -> pulumi.Input[str]:
|
|
218
194
|
"""
|
|
219
|
-
The specification of the instance. Example value: ens.sn1.small
|
|
195
|
+
The specification of the instance. Example value: ens.sn1.small.
|
|
220
196
|
"""
|
|
221
197
|
return pulumi.get(self, "instance_type")
|
|
222
198
|
|
|
@@ -228,9 +204,9 @@ class InstanceArgs:
|
|
|
228
204
|
@pulumi.getter(name="paymentType")
|
|
229
205
|
def payment_type(self) -> pulumi.Input[str]:
|
|
230
206
|
"""
|
|
231
|
-
Instance payment method.
|
|
207
|
+
Instance payment method. Optional values:
|
|
232
208
|
- Subscription: prepaid, annual and monthly
|
|
233
|
-
- PayAsYouGo: Pay by volume
|
|
209
|
+
- PayAsYouGo: Pay by volume.
|
|
234
210
|
"""
|
|
235
211
|
return pulumi.get(self, "payment_type")
|
|
236
212
|
|
|
@@ -244,7 +220,7 @@ class InstanceArgs:
|
|
|
244
220
|
"""
|
|
245
221
|
Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
|
|
246
222
|
- Node-level scheduling: Region
|
|
247
|
-
- Regional scheduling: Big (region),Middle (province),Small (city)
|
|
223
|
+
- Regional scheduling: Big (region),Middle (province),Small (city).
|
|
248
224
|
"""
|
|
249
225
|
return pulumi.get(self, "schedule_area_level")
|
|
250
226
|
|
|
@@ -256,7 +232,7 @@ class InstanceArgs:
|
|
|
256
232
|
@pulumi.getter
|
|
257
233
|
def amount(self) -> Optional[pulumi.Input[int]]:
|
|
258
234
|
"""
|
|
259
|
-
The number of instances created, with a minimum of 1 and a maximum of 100
|
|
235
|
+
The number of instances created, with a minimum of 1 and a maximum of 100.
|
|
260
236
|
"""
|
|
261
237
|
return pulumi.get(self, "amount")
|
|
262
238
|
|
|
@@ -264,20 +240,6 @@ class InstanceArgs:
|
|
|
264
240
|
def amount(self, value: Optional[pulumi.Input[int]]):
|
|
265
241
|
pulumi.set(self, "amount", value)
|
|
266
242
|
|
|
267
|
-
@property
|
|
268
|
-
@pulumi.getter(name="autoReleaseTime")
|
|
269
|
-
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
|
|
270
|
-
"""
|
|
271
|
-
The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
|
|
272
|
-
- If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
|
|
273
|
-
- The minimum release time is one hour after the current time.
|
|
274
|
-
"""
|
|
275
|
-
return pulumi.get(self, "auto_release_time")
|
|
276
|
-
|
|
277
|
-
@auto_release_time.setter
|
|
278
|
-
def auto_release_time(self, value: Optional[pulumi.Input[str]]):
|
|
279
|
-
pulumi.set(self, "auto_release_time", value)
|
|
280
|
-
|
|
281
243
|
@property
|
|
282
244
|
@pulumi.getter(name="autoRenew")
|
|
283
245
|
def auto_renew(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -296,7 +258,7 @@ class InstanceArgs:
|
|
|
296
258
|
"""
|
|
297
259
|
Whether to use vouchers. The default is to use. Value:
|
|
298
260
|
- true (used)
|
|
299
|
-
- false (not used)
|
|
261
|
+
- false (not used).
|
|
300
262
|
"""
|
|
301
263
|
return pulumi.get(self, "auto_use_coupon")
|
|
302
264
|
|
|
@@ -311,7 +273,7 @@ class InstanceArgs:
|
|
|
311
273
|
The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
|
|
312
274
|
- Hour: hourly billing
|
|
313
275
|
- Day: Daily billing
|
|
314
|
-
- Month: monthly billing
|
|
276
|
+
- Month: monthly billing.
|
|
315
277
|
"""
|
|
316
278
|
return pulumi.get(self, "billing_cycle")
|
|
317
279
|
|
|
@@ -326,7 +288,7 @@ class InstanceArgs:
|
|
|
326
288
|
Operator, required for regional scheduling. Optional values:
|
|
327
289
|
- cmcc (mobile)
|
|
328
290
|
- unicom
|
|
329
|
-
- telecom
|
|
291
|
+
- telecom.
|
|
330
292
|
"""
|
|
331
293
|
return pulumi.get(self, "carrier")
|
|
332
294
|
|
|
@@ -338,7 +300,7 @@ class InstanceArgs:
|
|
|
338
300
|
@pulumi.getter(name="dataDisks")
|
|
339
301
|
def data_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]]]:
|
|
340
302
|
"""
|
|
341
|
-
Data disk specifications See `data_disk` below.
|
|
303
|
+
Data disk specifications. See `data_disk` below.
|
|
342
304
|
"""
|
|
343
305
|
return pulumi.get(self, "data_disks")
|
|
344
306
|
|
|
@@ -376,7 +338,7 @@ class InstanceArgs:
|
|
|
376
338
|
@pulumi.getter(name="hostName")
|
|
377
339
|
def host_name(self) -> Optional[pulumi.Input[str]]:
|
|
378
340
|
"""
|
|
379
|
-
The host name of the instance. Example value: test-HostName
|
|
341
|
+
The host name of the instance. Example value: test-HostName.
|
|
380
342
|
"""
|
|
381
343
|
return pulumi.get(self, "host_name")
|
|
382
344
|
|
|
@@ -388,7 +350,7 @@ class InstanceArgs:
|
|
|
388
350
|
@pulumi.getter(name="imageId")
|
|
389
351
|
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
390
352
|
"""
|
|
391
|
-
The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * *
|
|
353
|
+
The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
|
|
392
354
|
"""
|
|
393
355
|
return pulumi.get(self, "image_id")
|
|
394
356
|
|
|
@@ -414,7 +376,7 @@ class InstanceArgs:
|
|
|
414
376
|
"""
|
|
415
377
|
The instance billing policy. Optional values:
|
|
416
378
|
- instance: instance granularity (the subscription method does not support instance)
|
|
417
|
-
- user: user Dimension (user is not transmitted or supported in the prepaid mode)
|
|
379
|
+
- user: user Dimension (user is not transmitted or supported in the prepaid mode).
|
|
418
380
|
"""
|
|
419
381
|
return pulumi.get(self, "instance_charge_strategy")
|
|
420
382
|
|
|
@@ -426,9 +388,7 @@ class InstanceArgs:
|
|
|
426
388
|
@pulumi.getter(name="instanceName")
|
|
427
389
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
428
390
|
"""
|
|
429
|
-
The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
|
|
430
|
-
|
|
431
|
-
The default value is the InstanceId of the instance.
|
|
391
|
+
The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
|
|
432
392
|
"""
|
|
433
393
|
return pulumi.get(self, "instance_name")
|
|
434
394
|
|
|
@@ -442,7 +402,7 @@ class InstanceArgs:
|
|
|
442
402
|
"""
|
|
443
403
|
Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
|
|
444
404
|
- BandwidthByDay: Daily peak bandwidth
|
|
445
|
-
- 95bandwidthbymonth: 95 peak bandwidth
|
|
405
|
+
- 95bandwidthbymonth: 95 peak bandwidth.
|
|
446
406
|
"""
|
|
447
407
|
return pulumi.get(self, "internet_charge_type")
|
|
448
408
|
|
|
@@ -454,7 +414,7 @@ class InstanceArgs:
|
|
|
454
414
|
@pulumi.getter(name="internetMaxBandwidthOut")
|
|
455
415
|
def internet_max_bandwidth_out(self) -> Optional[pulumi.Input[int]]:
|
|
456
416
|
"""
|
|
457
|
-
Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
|
|
417
|
+
Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
458
418
|
"""
|
|
459
419
|
return pulumi.get(self, "internet_max_bandwidth_out")
|
|
460
420
|
|
|
@@ -469,7 +429,7 @@ class InstanceArgs:
|
|
|
469
429
|
The IP type. Value:
|
|
470
430
|
- ipv4 (default):IPv4
|
|
471
431
|
- ipv6:IPv6
|
|
472
|
-
- ipv4Andipv6:IPv4 and IPv6
|
|
432
|
+
- ipv4Andipv6:IPv4 and IPv6.
|
|
473
433
|
"""
|
|
474
434
|
return pulumi.get(self, "ip_type")
|
|
475
435
|
|
|
@@ -477,25 +437,11 @@ class InstanceArgs:
|
|
|
477
437
|
def ip_type(self, value: Optional[pulumi.Input[str]]):
|
|
478
438
|
pulumi.set(self, "ip_type", value)
|
|
479
439
|
|
|
480
|
-
@property
|
|
481
|
-
@pulumi.getter(name="keyPairName")
|
|
482
|
-
def key_pair_name(self) -> Optional[pulumi.Input[str]]:
|
|
483
|
-
"""
|
|
484
|
-
The key pair name.
|
|
485
|
-
|
|
486
|
-
> **NOTE:** At least one of `Password`, `KeyPairName`, and **PasswordInherit.
|
|
487
|
-
"""
|
|
488
|
-
return pulumi.get(self, "key_pair_name")
|
|
489
|
-
|
|
490
|
-
@key_pair_name.setter
|
|
491
|
-
def key_pair_name(self, value: Optional[pulumi.Input[str]]):
|
|
492
|
-
pulumi.set(self, "key_pair_name", value)
|
|
493
|
-
|
|
494
440
|
@property
|
|
495
441
|
@pulumi.getter(name="netDistrictCode")
|
|
496
442
|
def net_district_code(self) -> Optional[pulumi.Input[str]]:
|
|
497
443
|
"""
|
|
498
|
-
The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling
|
|
444
|
+
The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
|
|
499
445
|
"""
|
|
500
446
|
return pulumi.get(self, "net_district_code")
|
|
501
447
|
|
|
@@ -507,7 +453,7 @@ class InstanceArgs:
|
|
|
507
453
|
@pulumi.getter(name="netWorkId")
|
|
508
454
|
def net_work_id(self) -> Optional[pulumi.Input[str]]:
|
|
509
455
|
"""
|
|
510
|
-
The network ID of the instance. Can only be used in node-level scheduling
|
|
456
|
+
The network ID of the instance. Can only be used in node-level scheduling.
|
|
511
457
|
"""
|
|
512
458
|
return pulumi.get(self, "net_work_id")
|
|
513
459
|
|
|
@@ -519,7 +465,7 @@ class InstanceArgs:
|
|
|
519
465
|
@pulumi.getter
|
|
520
466
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
521
467
|
"""
|
|
522
|
-
The instance password. At least one of Password, KeyPairName, and PasswordInherit
|
|
468
|
+
The instance password. At least one of Password, KeyPairName, and PasswordInherit.
|
|
523
469
|
"""
|
|
524
470
|
return pulumi.get(self, "password")
|
|
525
471
|
|
|
@@ -531,7 +477,7 @@ class InstanceArgs:
|
|
|
531
477
|
@pulumi.getter(name="passwordInherit")
|
|
532
478
|
def password_inherit(self) -> Optional[pulumi.Input[bool]]:
|
|
533
479
|
"""
|
|
534
|
-
Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
|
|
480
|
+
Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
|
|
535
481
|
"""
|
|
536
482
|
return pulumi.get(self, "password_inherit")
|
|
537
483
|
|
|
@@ -559,7 +505,7 @@ class InstanceArgs:
|
|
|
559
505
|
"""
|
|
560
506
|
The unit of time for purchasing resources. Value:
|
|
561
507
|
- Month (default): purchase by Month
|
|
562
|
-
- Day: buy by Day
|
|
508
|
+
- Day: buy by Day.
|
|
563
509
|
"""
|
|
564
510
|
return pulumi.get(self, "period_unit")
|
|
565
511
|
|
|
@@ -585,7 +531,7 @@ class InstanceArgs:
|
|
|
585
531
|
"""
|
|
586
532
|
Whether to assign a public IP identifier. Value:
|
|
587
533
|
- true (default): Assign
|
|
588
|
-
- false: do not assign
|
|
534
|
+
- false: do not assign.
|
|
589
535
|
"""
|
|
590
536
|
return pulumi.get(self, "public_ip_identification")
|
|
591
537
|
|
|
@@ -599,7 +545,7 @@ class InstanceArgs:
|
|
|
599
545
|
"""
|
|
600
546
|
Scheduling price policy. If it is not filled in, the default priority is low price. Value:
|
|
601
547
|
- PriceLowPriority
|
|
602
|
-
- PriceLowPriority (priority low price)
|
|
548
|
+
- PriceLowPriority (priority low price).
|
|
603
549
|
"""
|
|
604
550
|
return pulumi.get(self, "scheduling_price_strategy")
|
|
605
551
|
|
|
@@ -613,7 +559,7 @@ class InstanceArgs:
|
|
|
613
559
|
"""
|
|
614
560
|
Scheduling policy. Optional values:
|
|
615
561
|
- Concentrate for node-level scheduling
|
|
616
|
-
- For regional scheduling, Concentrate, Disperse
|
|
562
|
+
- For regional scheduling, Concentrate, Disperse.
|
|
617
563
|
"""
|
|
618
564
|
return pulumi.get(self, "scheduling_strategy")
|
|
619
565
|
|
|
@@ -633,25 +579,11 @@ class InstanceArgs:
|
|
|
633
579
|
def security_id(self, value: Optional[pulumi.Input[str]]):
|
|
634
580
|
pulumi.set(self, "security_id", value)
|
|
635
581
|
|
|
636
|
-
@property
|
|
637
|
-
@pulumi.getter(name="spotStrategy")
|
|
638
|
-
def spot_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
639
|
-
"""
|
|
640
|
-
The bidding strategy for pay-as-you-go instances. It takes effect when the value of the 'InstanceChargeType' parameter is set to 'PostPaid. Value range:
|
|
641
|
-
- NoSpot: normal pay-as-you-go instance (default)
|
|
642
|
-
- SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
|
|
643
|
-
"""
|
|
644
|
-
return pulumi.get(self, "spot_strategy")
|
|
645
|
-
|
|
646
|
-
@spot_strategy.setter
|
|
647
|
-
def spot_strategy(self, value: Optional[pulumi.Input[str]]):
|
|
648
|
-
pulumi.set(self, "spot_strategy", value)
|
|
649
|
-
|
|
650
582
|
@property
|
|
651
583
|
@pulumi.getter
|
|
652
584
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
653
585
|
"""
|
|
654
|
-
Status of the instance
|
|
586
|
+
Status of the instance.
|
|
655
587
|
"""
|
|
656
588
|
return pulumi.get(self, "status")
|
|
657
589
|
|
|
@@ -671,18 +603,6 @@ class InstanceArgs:
|
|
|
671
603
|
def system_disk(self, value: Optional[pulumi.Input['InstanceSystemDiskArgs']]):
|
|
672
604
|
pulumi.set(self, "system_disk", value)
|
|
673
605
|
|
|
674
|
-
@property
|
|
675
|
-
@pulumi.getter
|
|
676
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
677
|
-
"""
|
|
678
|
-
The tag bound to the instance
|
|
679
|
-
"""
|
|
680
|
-
return pulumi.get(self, "tags")
|
|
681
|
-
|
|
682
|
-
@tags.setter
|
|
683
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
684
|
-
pulumi.set(self, "tags", value)
|
|
685
|
-
|
|
686
606
|
@property
|
|
687
607
|
@pulumi.getter(name="uniqueSuffix")
|
|
688
608
|
def unique_suffix(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -711,7 +631,7 @@ class InstanceArgs:
|
|
|
711
631
|
@pulumi.getter(name="vswitchId")
|
|
712
632
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
713
633
|
"""
|
|
714
|
-
The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
|
|
634
|
+
The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
|
|
715
635
|
"""
|
|
716
636
|
return pulumi.get(self, "vswitch_id")
|
|
717
637
|
|
|
@@ -724,7 +644,6 @@ class InstanceArgs:
|
|
|
724
644
|
class _InstanceState:
|
|
725
645
|
def __init__(__self__, *,
|
|
726
646
|
amount: Optional[pulumi.Input[int]] = None,
|
|
727
|
-
auto_release_time: Optional[pulumi.Input[str]] = None,
|
|
728
647
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
729
648
|
auto_use_coupon: Optional[pulumi.Input[str]] = None,
|
|
730
649
|
billing_cycle: Optional[pulumi.Input[str]] = None,
|
|
@@ -741,7 +660,6 @@ class _InstanceState:
|
|
|
741
660
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
742
661
|
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
|
|
743
662
|
ip_type: Optional[pulumi.Input[str]] = None,
|
|
744
|
-
key_pair_name: Optional[pulumi.Input[str]] = None,
|
|
745
663
|
net_district_code: Optional[pulumi.Input[str]] = None,
|
|
746
664
|
net_work_id: Optional[pulumi.Input[str]] = None,
|
|
747
665
|
password: Optional[pulumi.Input[str]] = None,
|
|
@@ -755,98 +673,82 @@ class _InstanceState:
|
|
|
755
673
|
scheduling_price_strategy: Optional[pulumi.Input[str]] = None,
|
|
756
674
|
scheduling_strategy: Optional[pulumi.Input[str]] = None,
|
|
757
675
|
security_id: Optional[pulumi.Input[str]] = None,
|
|
758
|
-
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
759
676
|
status: Optional[pulumi.Input[str]] = None,
|
|
760
677
|
system_disk: Optional[pulumi.Input['InstanceSystemDiskArgs']] = None,
|
|
761
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
762
678
|
unique_suffix: Optional[pulumi.Input[bool]] = None,
|
|
763
679
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
764
680
|
vswitch_id: Optional[pulumi.Input[str]] = None):
|
|
765
681
|
"""
|
|
766
682
|
Input properties used for looking up and filtering Instance resources.
|
|
767
|
-
:param pulumi.Input[int] amount: The number of instances created, with a minimum of 1 and a maximum of 100
|
|
768
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
|
|
769
|
-
- If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
|
|
770
|
-
- The minimum release time is one hour after the current time.
|
|
683
|
+
:param pulumi.Input[int] amount: The number of instances created, with a minimum of 1 and a maximum of 100.
|
|
771
684
|
:param pulumi.Input[bool] auto_renew: Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
|
|
772
685
|
:param pulumi.Input[str] auto_use_coupon: Whether to use vouchers. The default is to use. Value:
|
|
773
686
|
- true (used)
|
|
774
|
-
- false (not used)
|
|
687
|
+
- false (not used).
|
|
775
688
|
:param pulumi.Input[str] billing_cycle: The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
|
|
776
689
|
- Hour: hourly billing
|
|
777
690
|
- Day: Daily billing
|
|
778
|
-
- Month: monthly billing
|
|
691
|
+
- Month: monthly billing.
|
|
779
692
|
:param pulumi.Input[str] carrier: Operator, required for regional scheduling. Optional values:
|
|
780
693
|
- cmcc (mobile)
|
|
781
694
|
- unicom
|
|
782
|
-
- telecom
|
|
783
|
-
:param pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]] data_disks: Data disk specifications See `data_disk` below.
|
|
695
|
+
- telecom.
|
|
696
|
+
:param pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]] data_disks: Data disk specifications. See `data_disk` below.
|
|
784
697
|
:param pulumi.Input[str] ens_region_id: The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
|
|
785
698
|
:param pulumi.Input[str] force_stop: Whether to force the identity when operating the instance. Optional values:
|
|
786
699
|
- true: Force
|
|
787
700
|
- false (default): non-mandatory
|
|
788
|
-
:param pulumi.Input[str] host_name: The host name of the instance. Example value: test-HostName
|
|
789
|
-
:param pulumi.Input[str] image_id: The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * *
|
|
701
|
+
:param pulumi.Input[str] host_name: The host name of the instance. Example value: test-HostName.
|
|
702
|
+
:param pulumi.Input[str] image_id: The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
|
|
790
703
|
:param pulumi.Input[bool] include_data_disks: Whether the Payment type of the disk created with the instance is converted.
|
|
791
704
|
:param pulumi.Input[str] instance_charge_strategy: The instance billing policy. Optional values:
|
|
792
705
|
- instance: instance granularity (the subscription method does not support instance)
|
|
793
|
-
- user: user Dimension (user is not transmitted or supported in the prepaid mode)
|
|
794
|
-
:param pulumi.Input[str] instance_name: The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
|
|
795
|
-
|
|
796
|
-
The default value is the InstanceId of the instance.
|
|
797
|
-
:param pulumi.Input[str] instance_type: The specification of the instance. Example value: ens.sn1.small
|
|
706
|
+
- user: user Dimension (user is not transmitted or supported in the prepaid mode).
|
|
707
|
+
:param pulumi.Input[str] instance_name: The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
|
|
708
|
+
:param pulumi.Input[str] instance_type: The specification of the instance. Example value: ens.sn1.small.
|
|
798
709
|
:param pulumi.Input[str] internet_charge_type: Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
|
|
799
710
|
- BandwidthByDay: Daily peak bandwidth
|
|
800
|
-
- 95bandwidthbymonth: 95 peak bandwidth
|
|
801
|
-
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
|
|
711
|
+
- 95bandwidthbymonth: 95 peak bandwidth.
|
|
712
|
+
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
802
713
|
:param pulumi.Input[str] ip_type: The IP type. Value:
|
|
803
714
|
- ipv4 (default):IPv4
|
|
804
715
|
- ipv6:IPv6
|
|
805
|
-
- ipv4Andipv6:IPv4 and IPv6
|
|
806
|
-
:param pulumi.Input[str]
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
:param pulumi.Input[
|
|
810
|
-
:param pulumi.Input[str]
|
|
811
|
-
:param pulumi.Input[str] password: The instance password. At least one of Password, KeyPairName, and PasswordInherit
|
|
812
|
-
:param pulumi.Input[bool] password_inherit: Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
|
|
813
|
-
:param pulumi.Input[str] payment_type: Instance payment method. Since v1.230.0, you can modify payment_type. Optional values:
|
|
716
|
+
- ipv4Andipv6:IPv4 and IPv6.
|
|
717
|
+
:param pulumi.Input[str] net_district_code: The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
|
|
718
|
+
:param pulumi.Input[str] net_work_id: The network ID of the instance. Can only be used in node-level scheduling.
|
|
719
|
+
:param pulumi.Input[str] password: The instance password. At least one of Password, KeyPairName, and PasswordInherit.
|
|
720
|
+
:param pulumi.Input[bool] password_inherit: Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
|
|
721
|
+
:param pulumi.Input[str] payment_type: Instance payment method. Optional values:
|
|
814
722
|
- Subscription: prepaid, annual and monthly
|
|
815
|
-
- PayAsYouGo: Pay by volume
|
|
723
|
+
- PayAsYouGo: Pay by volume.
|
|
816
724
|
:param pulumi.Input[int] period: The duration of the resource purchase. Value method:
|
|
817
725
|
- If PeriodUnit is set to Day, Period can only be set to 3.
|
|
818
726
|
- If PeriodUnit is set to Month, Period can be set to 1-9,12.
|
|
819
727
|
:param pulumi.Input[str] period_unit: The unit of time for purchasing resources. Value:
|
|
820
728
|
- Month (default): purchase by Month
|
|
821
|
-
- Day: buy by Day
|
|
729
|
+
- Day: buy by Day.
|
|
822
730
|
:param pulumi.Input[str] private_ip_address: The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
|
|
823
731
|
:param pulumi.Input[bool] public_ip_identification: Whether to assign a public IP identifier. Value:
|
|
824
732
|
- true (default): Assign
|
|
825
|
-
- false: do not assign
|
|
733
|
+
- false: do not assign.
|
|
826
734
|
:param pulumi.Input[str] schedule_area_level: Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
|
|
827
735
|
- Node-level scheduling: Region
|
|
828
|
-
- Regional scheduling: Big (region),Middle (province),Small (city)
|
|
736
|
+
- Regional scheduling: Big (region),Middle (province),Small (city).
|
|
829
737
|
:param pulumi.Input[str] scheduling_price_strategy: Scheduling price policy. If it is not filled in, the default priority is low price. Value:
|
|
830
738
|
- PriceLowPriority
|
|
831
|
-
- PriceLowPriority (priority low price)
|
|
739
|
+
- PriceLowPriority (priority low price).
|
|
832
740
|
:param pulumi.Input[str] scheduling_strategy: Scheduling policy. Optional values:
|
|
833
741
|
- Concentrate for node-level scheduling
|
|
834
|
-
- For regional scheduling, Concentrate, Disperse
|
|
742
|
+
- For regional scheduling, Concentrate, Disperse.
|
|
835
743
|
:param pulumi.Input[str] security_id: ID of the security group to which the instance belongs.
|
|
836
|
-
:param pulumi.Input[str]
|
|
837
|
-
- NoSpot: normal pay-as-you-go instance (default)
|
|
838
|
-
- SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
|
|
839
|
-
:param pulumi.Input[str] status: Status of the instance
|
|
744
|
+
:param pulumi.Input[str] status: Status of the instance.
|
|
840
745
|
:param pulumi.Input['InstanceSystemDiskArgs'] system_disk: System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `system_disk` below.
|
|
841
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag bound to the instance
|
|
842
746
|
:param pulumi.Input[bool] unique_suffix: Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
|
|
843
747
|
:param pulumi.Input[str] user_data: User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
|
|
844
|
-
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
|
|
748
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
|
|
845
749
|
"""
|
|
846
750
|
if amount is not None:
|
|
847
751
|
pulumi.set(__self__, "amount", amount)
|
|
848
|
-
if auto_release_time is not None:
|
|
849
|
-
pulumi.set(__self__, "auto_release_time", auto_release_time)
|
|
850
752
|
if auto_renew is not None:
|
|
851
753
|
pulumi.set(__self__, "auto_renew", auto_renew)
|
|
852
754
|
if auto_use_coupon is not None:
|
|
@@ -879,8 +781,6 @@ class _InstanceState:
|
|
|
879
781
|
pulumi.set(__self__, "internet_max_bandwidth_out", internet_max_bandwidth_out)
|
|
880
782
|
if ip_type is not None:
|
|
881
783
|
pulumi.set(__self__, "ip_type", ip_type)
|
|
882
|
-
if key_pair_name is not None:
|
|
883
|
-
pulumi.set(__self__, "key_pair_name", key_pair_name)
|
|
884
784
|
if net_district_code is not None:
|
|
885
785
|
pulumi.set(__self__, "net_district_code", net_district_code)
|
|
886
786
|
if net_work_id is not None:
|
|
@@ -907,14 +807,10 @@ class _InstanceState:
|
|
|
907
807
|
pulumi.set(__self__, "scheduling_strategy", scheduling_strategy)
|
|
908
808
|
if security_id is not None:
|
|
909
809
|
pulumi.set(__self__, "security_id", security_id)
|
|
910
|
-
if spot_strategy is not None:
|
|
911
|
-
pulumi.set(__self__, "spot_strategy", spot_strategy)
|
|
912
810
|
if status is not None:
|
|
913
811
|
pulumi.set(__self__, "status", status)
|
|
914
812
|
if system_disk is not None:
|
|
915
813
|
pulumi.set(__self__, "system_disk", system_disk)
|
|
916
|
-
if tags is not None:
|
|
917
|
-
pulumi.set(__self__, "tags", tags)
|
|
918
814
|
if unique_suffix is not None:
|
|
919
815
|
pulumi.set(__self__, "unique_suffix", unique_suffix)
|
|
920
816
|
if user_data is not None:
|
|
@@ -926,7 +822,7 @@ class _InstanceState:
|
|
|
926
822
|
@pulumi.getter
|
|
927
823
|
def amount(self) -> Optional[pulumi.Input[int]]:
|
|
928
824
|
"""
|
|
929
|
-
The number of instances created, with a minimum of 1 and a maximum of 100
|
|
825
|
+
The number of instances created, with a minimum of 1 and a maximum of 100.
|
|
930
826
|
"""
|
|
931
827
|
return pulumi.get(self, "amount")
|
|
932
828
|
|
|
@@ -934,20 +830,6 @@ class _InstanceState:
|
|
|
934
830
|
def amount(self, value: Optional[pulumi.Input[int]]):
|
|
935
831
|
pulumi.set(self, "amount", value)
|
|
936
832
|
|
|
937
|
-
@property
|
|
938
|
-
@pulumi.getter(name="autoReleaseTime")
|
|
939
|
-
def auto_release_time(self) -> Optional[pulumi.Input[str]]:
|
|
940
|
-
"""
|
|
941
|
-
The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
|
|
942
|
-
- If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
|
|
943
|
-
- The minimum release time is one hour after the current time.
|
|
944
|
-
"""
|
|
945
|
-
return pulumi.get(self, "auto_release_time")
|
|
946
|
-
|
|
947
|
-
@auto_release_time.setter
|
|
948
|
-
def auto_release_time(self, value: Optional[pulumi.Input[str]]):
|
|
949
|
-
pulumi.set(self, "auto_release_time", value)
|
|
950
|
-
|
|
951
833
|
@property
|
|
952
834
|
@pulumi.getter(name="autoRenew")
|
|
953
835
|
def auto_renew(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -966,7 +848,7 @@ class _InstanceState:
|
|
|
966
848
|
"""
|
|
967
849
|
Whether to use vouchers. The default is to use. Value:
|
|
968
850
|
- true (used)
|
|
969
|
-
- false (not used)
|
|
851
|
+
- false (not used).
|
|
970
852
|
"""
|
|
971
853
|
return pulumi.get(self, "auto_use_coupon")
|
|
972
854
|
|
|
@@ -981,7 +863,7 @@ class _InstanceState:
|
|
|
981
863
|
The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
|
|
982
864
|
- Hour: hourly billing
|
|
983
865
|
- Day: Daily billing
|
|
984
|
-
- Month: monthly billing
|
|
866
|
+
- Month: monthly billing.
|
|
985
867
|
"""
|
|
986
868
|
return pulumi.get(self, "billing_cycle")
|
|
987
869
|
|
|
@@ -996,7 +878,7 @@ class _InstanceState:
|
|
|
996
878
|
Operator, required for regional scheduling. Optional values:
|
|
997
879
|
- cmcc (mobile)
|
|
998
880
|
- unicom
|
|
999
|
-
- telecom
|
|
881
|
+
- telecom.
|
|
1000
882
|
"""
|
|
1001
883
|
return pulumi.get(self, "carrier")
|
|
1002
884
|
|
|
@@ -1008,7 +890,7 @@ class _InstanceState:
|
|
|
1008
890
|
@pulumi.getter(name="dataDisks")
|
|
1009
891
|
def data_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceDataDiskArgs']]]]:
|
|
1010
892
|
"""
|
|
1011
|
-
Data disk specifications See `data_disk` below.
|
|
893
|
+
Data disk specifications. See `data_disk` below.
|
|
1012
894
|
"""
|
|
1013
895
|
return pulumi.get(self, "data_disks")
|
|
1014
896
|
|
|
@@ -1046,7 +928,7 @@ class _InstanceState:
|
|
|
1046
928
|
@pulumi.getter(name="hostName")
|
|
1047
929
|
def host_name(self) -> Optional[pulumi.Input[str]]:
|
|
1048
930
|
"""
|
|
1049
|
-
The host name of the instance. Example value: test-HostName
|
|
931
|
+
The host name of the instance. Example value: test-HostName.
|
|
1050
932
|
"""
|
|
1051
933
|
return pulumi.get(self, "host_name")
|
|
1052
934
|
|
|
@@ -1058,7 +940,7 @@ class _InstanceState:
|
|
|
1058
940
|
@pulumi.getter(name="imageId")
|
|
1059
941
|
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
1060
942
|
"""
|
|
1061
|
-
The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * *
|
|
943
|
+
The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
|
|
1062
944
|
"""
|
|
1063
945
|
return pulumi.get(self, "image_id")
|
|
1064
946
|
|
|
@@ -1084,7 +966,7 @@ class _InstanceState:
|
|
|
1084
966
|
"""
|
|
1085
967
|
The instance billing policy. Optional values:
|
|
1086
968
|
- instance: instance granularity (the subscription method does not support instance)
|
|
1087
|
-
- user: user Dimension (user is not transmitted or supported in the prepaid mode)
|
|
969
|
+
- user: user Dimension (user is not transmitted or supported in the prepaid mode).
|
|
1088
970
|
"""
|
|
1089
971
|
return pulumi.get(self, "instance_charge_strategy")
|
|
1090
972
|
|
|
@@ -1096,9 +978,7 @@ class _InstanceState:
|
|
|
1096
978
|
@pulumi.getter(name="instanceName")
|
|
1097
979
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
1098
980
|
"""
|
|
1099
|
-
The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
|
|
1100
|
-
|
|
1101
|
-
The default value is the InstanceId of the instance.
|
|
981
|
+
The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
|
|
1102
982
|
"""
|
|
1103
983
|
return pulumi.get(self, "instance_name")
|
|
1104
984
|
|
|
@@ -1110,7 +990,7 @@ class _InstanceState:
|
|
|
1110
990
|
@pulumi.getter(name="instanceType")
|
|
1111
991
|
def instance_type(self) -> Optional[pulumi.Input[str]]:
|
|
1112
992
|
"""
|
|
1113
|
-
The specification of the instance. Example value: ens.sn1.small
|
|
993
|
+
The specification of the instance. Example value: ens.sn1.small.
|
|
1114
994
|
"""
|
|
1115
995
|
return pulumi.get(self, "instance_type")
|
|
1116
996
|
|
|
@@ -1124,7 +1004,7 @@ class _InstanceState:
|
|
|
1124
1004
|
"""
|
|
1125
1005
|
Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
|
|
1126
1006
|
- BandwidthByDay: Daily peak bandwidth
|
|
1127
|
-
- 95bandwidthbymonth: 95 peak bandwidth
|
|
1007
|
+
- 95bandwidthbymonth: 95 peak bandwidth.
|
|
1128
1008
|
"""
|
|
1129
1009
|
return pulumi.get(self, "internet_charge_type")
|
|
1130
1010
|
|
|
@@ -1136,7 +1016,7 @@ class _InstanceState:
|
|
|
1136
1016
|
@pulumi.getter(name="internetMaxBandwidthOut")
|
|
1137
1017
|
def internet_max_bandwidth_out(self) -> Optional[pulumi.Input[int]]:
|
|
1138
1018
|
"""
|
|
1139
|
-
Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
|
|
1019
|
+
Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
1140
1020
|
"""
|
|
1141
1021
|
return pulumi.get(self, "internet_max_bandwidth_out")
|
|
1142
1022
|
|
|
@@ -1151,7 +1031,7 @@ class _InstanceState:
|
|
|
1151
1031
|
The IP type. Value:
|
|
1152
1032
|
- ipv4 (default):IPv4
|
|
1153
1033
|
- ipv6:IPv6
|
|
1154
|
-
- ipv4Andipv6:IPv4 and IPv6
|
|
1034
|
+
- ipv4Andipv6:IPv4 and IPv6.
|
|
1155
1035
|
"""
|
|
1156
1036
|
return pulumi.get(self, "ip_type")
|
|
1157
1037
|
|
|
@@ -1159,25 +1039,11 @@ class _InstanceState:
|
|
|
1159
1039
|
def ip_type(self, value: Optional[pulumi.Input[str]]):
|
|
1160
1040
|
pulumi.set(self, "ip_type", value)
|
|
1161
1041
|
|
|
1162
|
-
@property
|
|
1163
|
-
@pulumi.getter(name="keyPairName")
|
|
1164
|
-
def key_pair_name(self) -> Optional[pulumi.Input[str]]:
|
|
1165
|
-
"""
|
|
1166
|
-
The key pair name.
|
|
1167
|
-
|
|
1168
|
-
> **NOTE:** At least one of `Password`, `KeyPairName`, and **PasswordInherit.
|
|
1169
|
-
"""
|
|
1170
|
-
return pulumi.get(self, "key_pair_name")
|
|
1171
|
-
|
|
1172
|
-
@key_pair_name.setter
|
|
1173
|
-
def key_pair_name(self, value: Optional[pulumi.Input[str]]):
|
|
1174
|
-
pulumi.set(self, "key_pair_name", value)
|
|
1175
|
-
|
|
1176
1042
|
@property
|
|
1177
1043
|
@pulumi.getter(name="netDistrictCode")
|
|
1178
1044
|
def net_district_code(self) -> Optional[pulumi.Input[str]]:
|
|
1179
1045
|
"""
|
|
1180
|
-
The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling
|
|
1046
|
+
The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
|
|
1181
1047
|
"""
|
|
1182
1048
|
return pulumi.get(self, "net_district_code")
|
|
1183
1049
|
|
|
@@ -1189,7 +1055,7 @@ class _InstanceState:
|
|
|
1189
1055
|
@pulumi.getter(name="netWorkId")
|
|
1190
1056
|
def net_work_id(self) -> Optional[pulumi.Input[str]]:
|
|
1191
1057
|
"""
|
|
1192
|
-
The network ID of the instance. Can only be used in node-level scheduling
|
|
1058
|
+
The network ID of the instance. Can only be used in node-level scheduling.
|
|
1193
1059
|
"""
|
|
1194
1060
|
return pulumi.get(self, "net_work_id")
|
|
1195
1061
|
|
|
@@ -1201,7 +1067,7 @@ class _InstanceState:
|
|
|
1201
1067
|
@pulumi.getter
|
|
1202
1068
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
1203
1069
|
"""
|
|
1204
|
-
The instance password. At least one of Password, KeyPairName, and PasswordInherit
|
|
1070
|
+
The instance password. At least one of Password, KeyPairName, and PasswordInherit.
|
|
1205
1071
|
"""
|
|
1206
1072
|
return pulumi.get(self, "password")
|
|
1207
1073
|
|
|
@@ -1213,7 +1079,7 @@ class _InstanceState:
|
|
|
1213
1079
|
@pulumi.getter(name="passwordInherit")
|
|
1214
1080
|
def password_inherit(self) -> Optional[pulumi.Input[bool]]:
|
|
1215
1081
|
"""
|
|
1216
|
-
Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
|
|
1082
|
+
Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
|
|
1217
1083
|
"""
|
|
1218
1084
|
return pulumi.get(self, "password_inherit")
|
|
1219
1085
|
|
|
@@ -1225,9 +1091,9 @@ class _InstanceState:
|
|
|
1225
1091
|
@pulumi.getter(name="paymentType")
|
|
1226
1092
|
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
1227
1093
|
"""
|
|
1228
|
-
Instance payment method.
|
|
1094
|
+
Instance payment method. Optional values:
|
|
1229
1095
|
- Subscription: prepaid, annual and monthly
|
|
1230
|
-
- PayAsYouGo: Pay by volume
|
|
1096
|
+
- PayAsYouGo: Pay by volume.
|
|
1231
1097
|
"""
|
|
1232
1098
|
return pulumi.get(self, "payment_type")
|
|
1233
1099
|
|
|
@@ -1255,7 +1121,7 @@ class _InstanceState:
|
|
|
1255
1121
|
"""
|
|
1256
1122
|
The unit of time for purchasing resources. Value:
|
|
1257
1123
|
- Month (default): purchase by Month
|
|
1258
|
-
- Day: buy by Day
|
|
1124
|
+
- Day: buy by Day.
|
|
1259
1125
|
"""
|
|
1260
1126
|
return pulumi.get(self, "period_unit")
|
|
1261
1127
|
|
|
@@ -1281,7 +1147,7 @@ class _InstanceState:
|
|
|
1281
1147
|
"""
|
|
1282
1148
|
Whether to assign a public IP identifier. Value:
|
|
1283
1149
|
- true (default): Assign
|
|
1284
|
-
- false: do not assign
|
|
1150
|
+
- false: do not assign.
|
|
1285
1151
|
"""
|
|
1286
1152
|
return pulumi.get(self, "public_ip_identification")
|
|
1287
1153
|
|
|
@@ -1295,7 +1161,7 @@ class _InstanceState:
|
|
|
1295
1161
|
"""
|
|
1296
1162
|
Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
|
|
1297
1163
|
- Node-level scheduling: Region
|
|
1298
|
-
- Regional scheduling: Big (region),Middle (province),Small (city)
|
|
1164
|
+
- Regional scheduling: Big (region),Middle (province),Small (city).
|
|
1299
1165
|
"""
|
|
1300
1166
|
return pulumi.get(self, "schedule_area_level")
|
|
1301
1167
|
|
|
@@ -1309,7 +1175,7 @@ class _InstanceState:
|
|
|
1309
1175
|
"""
|
|
1310
1176
|
Scheduling price policy. If it is not filled in, the default priority is low price. Value:
|
|
1311
1177
|
- PriceLowPriority
|
|
1312
|
-
- PriceLowPriority (priority low price)
|
|
1178
|
+
- PriceLowPriority (priority low price).
|
|
1313
1179
|
"""
|
|
1314
1180
|
return pulumi.get(self, "scheduling_price_strategy")
|
|
1315
1181
|
|
|
@@ -1323,7 +1189,7 @@ class _InstanceState:
|
|
|
1323
1189
|
"""
|
|
1324
1190
|
Scheduling policy. Optional values:
|
|
1325
1191
|
- Concentrate for node-level scheduling
|
|
1326
|
-
- For regional scheduling, Concentrate, Disperse
|
|
1192
|
+
- For regional scheduling, Concentrate, Disperse.
|
|
1327
1193
|
"""
|
|
1328
1194
|
return pulumi.get(self, "scheduling_strategy")
|
|
1329
1195
|
|
|
@@ -1343,25 +1209,11 @@ class _InstanceState:
|
|
|
1343
1209
|
def security_id(self, value: Optional[pulumi.Input[str]]):
|
|
1344
1210
|
pulumi.set(self, "security_id", value)
|
|
1345
1211
|
|
|
1346
|
-
@property
|
|
1347
|
-
@pulumi.getter(name="spotStrategy")
|
|
1348
|
-
def spot_strategy(self) -> Optional[pulumi.Input[str]]:
|
|
1349
|
-
"""
|
|
1350
|
-
The bidding strategy for pay-as-you-go instances. It takes effect when the value of the 'InstanceChargeType' parameter is set to 'PostPaid. Value range:
|
|
1351
|
-
- NoSpot: normal pay-as-you-go instance (default)
|
|
1352
|
-
- SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
|
|
1353
|
-
"""
|
|
1354
|
-
return pulumi.get(self, "spot_strategy")
|
|
1355
|
-
|
|
1356
|
-
@spot_strategy.setter
|
|
1357
|
-
def spot_strategy(self, value: Optional[pulumi.Input[str]]):
|
|
1358
|
-
pulumi.set(self, "spot_strategy", value)
|
|
1359
|
-
|
|
1360
1212
|
@property
|
|
1361
1213
|
@pulumi.getter
|
|
1362
1214
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
1363
1215
|
"""
|
|
1364
|
-
Status of the instance
|
|
1216
|
+
Status of the instance.
|
|
1365
1217
|
"""
|
|
1366
1218
|
return pulumi.get(self, "status")
|
|
1367
1219
|
|
|
@@ -1381,18 +1233,6 @@ class _InstanceState:
|
|
|
1381
1233
|
def system_disk(self, value: Optional[pulumi.Input['InstanceSystemDiskArgs']]):
|
|
1382
1234
|
pulumi.set(self, "system_disk", value)
|
|
1383
1235
|
|
|
1384
|
-
@property
|
|
1385
|
-
@pulumi.getter
|
|
1386
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1387
|
-
"""
|
|
1388
|
-
The tag bound to the instance
|
|
1389
|
-
"""
|
|
1390
|
-
return pulumi.get(self, "tags")
|
|
1391
|
-
|
|
1392
|
-
@tags.setter
|
|
1393
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1394
|
-
pulumi.set(self, "tags", value)
|
|
1395
|
-
|
|
1396
1236
|
@property
|
|
1397
1237
|
@pulumi.getter(name="uniqueSuffix")
|
|
1398
1238
|
def unique_suffix(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -1421,7 +1261,7 @@ class _InstanceState:
|
|
|
1421
1261
|
@pulumi.getter(name="vswitchId")
|
|
1422
1262
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
1423
1263
|
"""
|
|
1424
|
-
The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
|
|
1264
|
+
The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
|
|
1425
1265
|
"""
|
|
1426
1266
|
return pulumi.get(self, "vswitch_id")
|
|
1427
1267
|
|
|
@@ -1436,7 +1276,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1436
1276
|
resource_name: str,
|
|
1437
1277
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1438
1278
|
amount: Optional[pulumi.Input[int]] = None,
|
|
1439
|
-
auto_release_time: Optional[pulumi.Input[str]] = None,
|
|
1440
1279
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
1441
1280
|
auto_use_coupon: Optional[pulumi.Input[str]] = None,
|
|
1442
1281
|
billing_cycle: Optional[pulumi.Input[str]] = None,
|
|
@@ -1453,7 +1292,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1453
1292
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
1454
1293
|
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
|
|
1455
1294
|
ip_type: Optional[pulumi.Input[str]] = None,
|
|
1456
|
-
key_pair_name: Optional[pulumi.Input[str]] = None,
|
|
1457
1295
|
net_district_code: Optional[pulumi.Input[str]] = None,
|
|
1458
1296
|
net_work_id: Optional[pulumi.Input[str]] = None,
|
|
1459
1297
|
password: Optional[pulumi.Input[str]] = None,
|
|
@@ -1467,10 +1305,8 @@ class Instance(pulumi.CustomResource):
|
|
|
1467
1305
|
scheduling_price_strategy: Optional[pulumi.Input[str]] = None,
|
|
1468
1306
|
scheduling_strategy: Optional[pulumi.Input[str]] = None,
|
|
1469
1307
|
security_id: Optional[pulumi.Input[str]] = None,
|
|
1470
|
-
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
1471
1308
|
status: Optional[pulumi.Input[str]] = None,
|
|
1472
1309
|
system_disk: Optional[pulumi.Input[Union['InstanceSystemDiskArgs', 'InstanceSystemDiskArgsDict']]] = None,
|
|
1473
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1474
1310
|
unique_suffix: Optional[pulumi.Input[bool]] = None,
|
|
1475
1311
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
1476
1312
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1478,7 +1314,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1478
1314
|
"""
|
|
1479
1315
|
## Import
|
|
1480
1316
|
|
|
1481
|
-
|
|
1317
|
+
ENS Instance can be imported using the id, e.g.
|
|
1482
1318
|
|
|
1483
1319
|
```sh
|
|
1484
1320
|
$ pulumi import alicloud:ens/instance:Instance example <id>
|
|
@@ -1486,84 +1322,72 @@ class Instance(pulumi.CustomResource):
|
|
|
1486
1322
|
|
|
1487
1323
|
:param str resource_name: The name of the resource.
|
|
1488
1324
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1489
|
-
:param pulumi.Input[int] amount: The number of instances created, with a minimum of 1 and a maximum of 100
|
|
1490
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
|
|
1491
|
-
- If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
|
|
1492
|
-
- The minimum release time is one hour after the current time.
|
|
1325
|
+
:param pulumi.Input[int] amount: The number of instances created, with a minimum of 1 and a maximum of 100.
|
|
1493
1326
|
:param pulumi.Input[bool] auto_renew: Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
|
|
1494
1327
|
:param pulumi.Input[str] auto_use_coupon: Whether to use vouchers. The default is to use. Value:
|
|
1495
1328
|
- true (used)
|
|
1496
|
-
- false (not used)
|
|
1329
|
+
- false (not used).
|
|
1497
1330
|
:param pulumi.Input[str] billing_cycle: The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
|
|
1498
1331
|
- Hour: hourly billing
|
|
1499
1332
|
- Day: Daily billing
|
|
1500
|
-
- Month: monthly billing
|
|
1333
|
+
- Month: monthly billing.
|
|
1501
1334
|
:param pulumi.Input[str] carrier: Operator, required for regional scheduling. Optional values:
|
|
1502
1335
|
- cmcc (mobile)
|
|
1503
1336
|
- unicom
|
|
1504
|
-
- telecom
|
|
1505
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]] data_disks: Data disk specifications See `data_disk` below.
|
|
1337
|
+
- telecom.
|
|
1338
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]] data_disks: Data disk specifications. See `data_disk` below.
|
|
1506
1339
|
:param pulumi.Input[str] ens_region_id: The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
|
|
1507
1340
|
:param pulumi.Input[str] force_stop: Whether to force the identity when operating the instance. Optional values:
|
|
1508
1341
|
- true: Force
|
|
1509
1342
|
- false (default): non-mandatory
|
|
1510
|
-
:param pulumi.Input[str] host_name: The host name of the instance. Example value: test-HostName
|
|
1511
|
-
:param pulumi.Input[str] image_id: The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * *
|
|
1343
|
+
:param pulumi.Input[str] host_name: The host name of the instance. Example value: test-HostName.
|
|
1344
|
+
:param pulumi.Input[str] image_id: The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
|
|
1512
1345
|
:param pulumi.Input[bool] include_data_disks: Whether the Payment type of the disk created with the instance is converted.
|
|
1513
1346
|
:param pulumi.Input[str] instance_charge_strategy: The instance billing policy. Optional values:
|
|
1514
1347
|
- instance: instance granularity (the subscription method does not support instance)
|
|
1515
|
-
- user: user Dimension (user is not transmitted or supported in the prepaid mode)
|
|
1516
|
-
:param pulumi.Input[str] instance_name: The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
|
|
1517
|
-
|
|
1518
|
-
The default value is the InstanceId of the instance.
|
|
1519
|
-
:param pulumi.Input[str] instance_type: The specification of the instance. Example value: ens.sn1.small
|
|
1348
|
+
- user: user Dimension (user is not transmitted or supported in the prepaid mode).
|
|
1349
|
+
:param pulumi.Input[str] instance_name: The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
|
|
1350
|
+
:param pulumi.Input[str] instance_type: The specification of the instance. Example value: ens.sn1.small.
|
|
1520
1351
|
:param pulumi.Input[str] internet_charge_type: Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
|
|
1521
1352
|
- BandwidthByDay: Daily peak bandwidth
|
|
1522
|
-
- 95bandwidthbymonth: 95 peak bandwidth
|
|
1523
|
-
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
|
|
1353
|
+
- 95bandwidthbymonth: 95 peak bandwidth.
|
|
1354
|
+
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
1524
1355
|
:param pulumi.Input[str] ip_type: The IP type. Value:
|
|
1525
1356
|
- ipv4 (default):IPv4
|
|
1526
1357
|
- ipv6:IPv6
|
|
1527
|
-
- ipv4Andipv6:IPv4 and IPv6
|
|
1528
|
-
:param pulumi.Input[str]
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
:param pulumi.Input[
|
|
1532
|
-
:param pulumi.Input[str]
|
|
1533
|
-
:param pulumi.Input[str] password: The instance password. At least one of Password, KeyPairName, and PasswordInherit
|
|
1534
|
-
:param pulumi.Input[bool] password_inherit: Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
|
|
1535
|
-
:param pulumi.Input[str] payment_type: Instance payment method. Since v1.230.0, you can modify payment_type. Optional values:
|
|
1358
|
+
- ipv4Andipv6:IPv4 and IPv6.
|
|
1359
|
+
:param pulumi.Input[str] net_district_code: The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
|
|
1360
|
+
:param pulumi.Input[str] net_work_id: The network ID of the instance. Can only be used in node-level scheduling.
|
|
1361
|
+
:param pulumi.Input[str] password: The instance password. At least one of Password, KeyPairName, and PasswordInherit.
|
|
1362
|
+
:param pulumi.Input[bool] password_inherit: Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
|
|
1363
|
+
:param pulumi.Input[str] payment_type: Instance payment method. Optional values:
|
|
1536
1364
|
- Subscription: prepaid, annual and monthly
|
|
1537
|
-
- PayAsYouGo: Pay by volume
|
|
1365
|
+
- PayAsYouGo: Pay by volume.
|
|
1538
1366
|
:param pulumi.Input[int] period: The duration of the resource purchase. Value method:
|
|
1539
1367
|
- If PeriodUnit is set to Day, Period can only be set to 3.
|
|
1540
1368
|
- If PeriodUnit is set to Month, Period can be set to 1-9,12.
|
|
1541
1369
|
:param pulumi.Input[str] period_unit: The unit of time for purchasing resources. Value:
|
|
1542
1370
|
- Month (default): purchase by Month
|
|
1543
|
-
- Day: buy by Day
|
|
1371
|
+
- Day: buy by Day.
|
|
1544
1372
|
:param pulumi.Input[str] private_ip_address: The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
|
|
1545
1373
|
:param pulumi.Input[bool] public_ip_identification: Whether to assign a public IP identifier. Value:
|
|
1546
1374
|
- true (default): Assign
|
|
1547
|
-
- false: do not assign
|
|
1375
|
+
- false: do not assign.
|
|
1548
1376
|
:param pulumi.Input[str] schedule_area_level: Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
|
|
1549
1377
|
- Node-level scheduling: Region
|
|
1550
|
-
- Regional scheduling: Big (region),Middle (province),Small (city)
|
|
1378
|
+
- Regional scheduling: Big (region),Middle (province),Small (city).
|
|
1551
1379
|
:param pulumi.Input[str] scheduling_price_strategy: Scheduling price policy. If it is not filled in, the default priority is low price. Value:
|
|
1552
1380
|
- PriceLowPriority
|
|
1553
|
-
- PriceLowPriority (priority low price)
|
|
1381
|
+
- PriceLowPriority (priority low price).
|
|
1554
1382
|
:param pulumi.Input[str] scheduling_strategy: Scheduling policy. Optional values:
|
|
1555
1383
|
- Concentrate for node-level scheduling
|
|
1556
|
-
- For regional scheduling, Concentrate, Disperse
|
|
1384
|
+
- For regional scheduling, Concentrate, Disperse.
|
|
1557
1385
|
:param pulumi.Input[str] security_id: ID of the security group to which the instance belongs.
|
|
1558
|
-
:param pulumi.Input[str]
|
|
1559
|
-
- NoSpot: normal pay-as-you-go instance (default)
|
|
1560
|
-
- SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
|
|
1561
|
-
:param pulumi.Input[str] status: Status of the instance
|
|
1386
|
+
:param pulumi.Input[str] status: Status of the instance.
|
|
1562
1387
|
:param pulumi.Input[Union['InstanceSystemDiskArgs', 'InstanceSystemDiskArgsDict']] system_disk: System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `system_disk` below.
|
|
1563
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag bound to the instance
|
|
1564
1388
|
:param pulumi.Input[bool] unique_suffix: Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
|
|
1565
1389
|
:param pulumi.Input[str] user_data: User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
|
|
1566
|
-
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
|
|
1390
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
|
|
1567
1391
|
"""
|
|
1568
1392
|
...
|
|
1569
1393
|
@overload
|
|
@@ -1574,7 +1398,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1574
1398
|
"""
|
|
1575
1399
|
## Import
|
|
1576
1400
|
|
|
1577
|
-
|
|
1401
|
+
ENS Instance can be imported using the id, e.g.
|
|
1578
1402
|
|
|
1579
1403
|
```sh
|
|
1580
1404
|
$ pulumi import alicloud:ens/instance:Instance example <id>
|
|
@@ -1596,7 +1420,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1596
1420
|
resource_name: str,
|
|
1597
1421
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1598
1422
|
amount: Optional[pulumi.Input[int]] = None,
|
|
1599
|
-
auto_release_time: Optional[pulumi.Input[str]] = None,
|
|
1600
1423
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
1601
1424
|
auto_use_coupon: Optional[pulumi.Input[str]] = None,
|
|
1602
1425
|
billing_cycle: Optional[pulumi.Input[str]] = None,
|
|
@@ -1613,7 +1436,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1613
1436
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
1614
1437
|
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
|
|
1615
1438
|
ip_type: Optional[pulumi.Input[str]] = None,
|
|
1616
|
-
key_pair_name: Optional[pulumi.Input[str]] = None,
|
|
1617
1439
|
net_district_code: Optional[pulumi.Input[str]] = None,
|
|
1618
1440
|
net_work_id: Optional[pulumi.Input[str]] = None,
|
|
1619
1441
|
password: Optional[pulumi.Input[str]] = None,
|
|
@@ -1627,10 +1449,8 @@ class Instance(pulumi.CustomResource):
|
|
|
1627
1449
|
scheduling_price_strategy: Optional[pulumi.Input[str]] = None,
|
|
1628
1450
|
scheduling_strategy: Optional[pulumi.Input[str]] = None,
|
|
1629
1451
|
security_id: Optional[pulumi.Input[str]] = None,
|
|
1630
|
-
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
1631
1452
|
status: Optional[pulumi.Input[str]] = None,
|
|
1632
1453
|
system_disk: Optional[pulumi.Input[Union['InstanceSystemDiskArgs', 'InstanceSystemDiskArgsDict']]] = None,
|
|
1633
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1634
1454
|
unique_suffix: Optional[pulumi.Input[bool]] = None,
|
|
1635
1455
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
1636
1456
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1644,7 +1464,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1644
1464
|
__props__ = InstanceArgs.__new__(InstanceArgs)
|
|
1645
1465
|
|
|
1646
1466
|
__props__.__dict__["amount"] = amount
|
|
1647
|
-
__props__.__dict__["auto_release_time"] = auto_release_time
|
|
1648
1467
|
__props__.__dict__["auto_renew"] = auto_renew
|
|
1649
1468
|
__props__.__dict__["auto_use_coupon"] = auto_use_coupon
|
|
1650
1469
|
__props__.__dict__["billing_cycle"] = billing_cycle
|
|
@@ -1663,7 +1482,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1663
1482
|
__props__.__dict__["internet_charge_type"] = internet_charge_type
|
|
1664
1483
|
__props__.__dict__["internet_max_bandwidth_out"] = internet_max_bandwidth_out
|
|
1665
1484
|
__props__.__dict__["ip_type"] = ip_type
|
|
1666
|
-
__props__.__dict__["key_pair_name"] = key_pair_name
|
|
1667
1485
|
__props__.__dict__["net_district_code"] = net_district_code
|
|
1668
1486
|
__props__.__dict__["net_work_id"] = net_work_id
|
|
1669
1487
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
@@ -1681,10 +1499,8 @@ class Instance(pulumi.CustomResource):
|
|
|
1681
1499
|
__props__.__dict__["scheduling_price_strategy"] = scheduling_price_strategy
|
|
1682
1500
|
__props__.__dict__["scheduling_strategy"] = scheduling_strategy
|
|
1683
1501
|
__props__.__dict__["security_id"] = security_id
|
|
1684
|
-
__props__.__dict__["spot_strategy"] = spot_strategy
|
|
1685
1502
|
__props__.__dict__["status"] = status
|
|
1686
1503
|
__props__.__dict__["system_disk"] = system_disk
|
|
1687
|
-
__props__.__dict__["tags"] = tags
|
|
1688
1504
|
__props__.__dict__["unique_suffix"] = unique_suffix
|
|
1689
1505
|
__props__.__dict__["user_data"] = user_data
|
|
1690
1506
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
@@ -1701,7 +1517,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1701
1517
|
id: pulumi.Input[str],
|
|
1702
1518
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1703
1519
|
amount: Optional[pulumi.Input[int]] = None,
|
|
1704
|
-
auto_release_time: Optional[pulumi.Input[str]] = None,
|
|
1705
1520
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
1706
1521
|
auto_use_coupon: Optional[pulumi.Input[str]] = None,
|
|
1707
1522
|
billing_cycle: Optional[pulumi.Input[str]] = None,
|
|
@@ -1718,7 +1533,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1718
1533
|
internet_charge_type: Optional[pulumi.Input[str]] = None,
|
|
1719
1534
|
internet_max_bandwidth_out: Optional[pulumi.Input[int]] = None,
|
|
1720
1535
|
ip_type: Optional[pulumi.Input[str]] = None,
|
|
1721
|
-
key_pair_name: Optional[pulumi.Input[str]] = None,
|
|
1722
1536
|
net_district_code: Optional[pulumi.Input[str]] = None,
|
|
1723
1537
|
net_work_id: Optional[pulumi.Input[str]] = None,
|
|
1724
1538
|
password: Optional[pulumi.Input[str]] = None,
|
|
@@ -1732,10 +1546,8 @@ class Instance(pulumi.CustomResource):
|
|
|
1732
1546
|
scheduling_price_strategy: Optional[pulumi.Input[str]] = None,
|
|
1733
1547
|
scheduling_strategy: Optional[pulumi.Input[str]] = None,
|
|
1734
1548
|
security_id: Optional[pulumi.Input[str]] = None,
|
|
1735
|
-
spot_strategy: Optional[pulumi.Input[str]] = None,
|
|
1736
1549
|
status: Optional[pulumi.Input[str]] = None,
|
|
1737
1550
|
system_disk: Optional[pulumi.Input[Union['InstanceSystemDiskArgs', 'InstanceSystemDiskArgsDict']]] = None,
|
|
1738
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1739
1551
|
unique_suffix: Optional[pulumi.Input[bool]] = None,
|
|
1740
1552
|
user_data: Optional[pulumi.Input[str]] = None,
|
|
1741
1553
|
vswitch_id: Optional[pulumi.Input[str]] = None) -> 'Instance':
|
|
@@ -1746,91 +1558,78 @@ class Instance(pulumi.CustomResource):
|
|
|
1746
1558
|
:param str resource_name: The unique name of the resulting resource.
|
|
1747
1559
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1748
1560
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1749
|
-
:param pulumi.Input[int] amount: The number of instances created, with a minimum of 1 and a maximum of 100
|
|
1750
|
-
:param pulumi.Input[str] auto_release_time: The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
|
|
1751
|
-
- If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
|
|
1752
|
-
- The minimum release time is one hour after the current time.
|
|
1561
|
+
:param pulumi.Input[int] amount: The number of instances created, with a minimum of 1 and a maximum of 100.
|
|
1753
1562
|
:param pulumi.Input[bool] auto_renew: Whether to automatically renew the logo. The default value is false. This parameter is invalid when you pay by volume.
|
|
1754
1563
|
:param pulumi.Input[str] auto_use_coupon: Whether to use vouchers. The default is to use. Value:
|
|
1755
1564
|
- true (used)
|
|
1756
|
-
- false (not used)
|
|
1565
|
+
- false (not used).
|
|
1757
1566
|
:param pulumi.Input[str] billing_cycle: The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
|
|
1758
1567
|
- Hour: hourly billing
|
|
1759
1568
|
- Day: Daily billing
|
|
1760
|
-
- Month: monthly billing
|
|
1569
|
+
- Month: monthly billing.
|
|
1761
1570
|
:param pulumi.Input[str] carrier: Operator, required for regional scheduling. Optional values:
|
|
1762
1571
|
- cmcc (mobile)
|
|
1763
1572
|
- unicom
|
|
1764
|
-
- telecom
|
|
1765
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]] data_disks: Data disk specifications See `data_disk` below.
|
|
1573
|
+
- telecom.
|
|
1574
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDataDiskArgs', 'InstanceDataDiskArgsDict']]]] data_disks: Data disk specifications. See `data_disk` below.
|
|
1766
1575
|
:param pulumi.Input[str] ens_region_id: The node ID. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big,Middle,Small, EnsRegionId is invalid.
|
|
1767
1576
|
:param pulumi.Input[str] force_stop: Whether to force the identity when operating the instance. Optional values:
|
|
1768
1577
|
- true: Force
|
|
1769
1578
|
- false (default): non-mandatory
|
|
1770
|
-
:param pulumi.Input[str] host_name: The host name of the instance. Example value: test-HostName
|
|
1771
|
-
:param pulumi.Input[str] image_id: The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * *
|
|
1579
|
+
:param pulumi.Input[str] host_name: The host name of the instance. Example value: test-HostName.
|
|
1580
|
+
:param pulumi.Input[str] image_id: The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
|
|
1772
1581
|
:param pulumi.Input[bool] include_data_disks: Whether the Payment type of the disk created with the instance is converted.
|
|
1773
1582
|
:param pulumi.Input[str] instance_charge_strategy: The instance billing policy. Optional values:
|
|
1774
1583
|
- instance: instance granularity (the subscription method does not support instance)
|
|
1775
|
-
- user: user Dimension (user is not transmitted or supported in the prepaid mode)
|
|
1776
|
-
:param pulumi.Input[str] instance_name: The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
|
|
1777
|
-
|
|
1778
|
-
The default value is the InstanceId of the instance.
|
|
1779
|
-
:param pulumi.Input[str] instance_type: The specification of the instance. Example value: ens.sn1.small
|
|
1584
|
+
- user: user Dimension (user is not transmitted or supported in the prepaid mode).
|
|
1585
|
+
:param pulumi.Input[str] instance_name: The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
|
|
1586
|
+
:param pulumi.Input[str] instance_type: The specification of the instance. Example value: ens.sn1.small.
|
|
1780
1587
|
:param pulumi.Input[str] internet_charge_type: Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
|
|
1781
1588
|
- BandwidthByDay: Daily peak bandwidth
|
|
1782
|
-
- 95bandwidthbymonth: 95 peak bandwidth
|
|
1783
|
-
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
|
|
1589
|
+
- 95bandwidthbymonth: 95 peak bandwidth.
|
|
1590
|
+
:param pulumi.Input[int] internet_max_bandwidth_out: Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
1784
1591
|
:param pulumi.Input[str] ip_type: The IP type. Value:
|
|
1785
1592
|
- ipv4 (default):IPv4
|
|
1786
1593
|
- ipv6:IPv6
|
|
1787
|
-
- ipv4Andipv6:IPv4 and IPv6
|
|
1788
|
-
:param pulumi.Input[str]
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
:param pulumi.Input[
|
|
1792
|
-
:param pulumi.Input[str]
|
|
1793
|
-
:param pulumi.Input[str] password: The instance password. At least one of Password, KeyPairName, and PasswordInherit
|
|
1794
|
-
:param pulumi.Input[bool] password_inherit: Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
|
|
1795
|
-
:param pulumi.Input[str] payment_type: Instance payment method. Since v1.230.0, you can modify payment_type. Optional values:
|
|
1594
|
+
- ipv4Andipv6:IPv4 and IPv6.
|
|
1595
|
+
:param pulumi.Input[str] net_district_code: The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
|
|
1596
|
+
:param pulumi.Input[str] net_work_id: The network ID of the instance. Can only be used in node-level scheduling.
|
|
1597
|
+
:param pulumi.Input[str] password: The instance password. At least one of Password, KeyPairName, and PasswordInherit.
|
|
1598
|
+
:param pulumi.Input[bool] password_inherit: Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
|
|
1599
|
+
:param pulumi.Input[str] payment_type: Instance payment method. Optional values:
|
|
1796
1600
|
- Subscription: prepaid, annual and monthly
|
|
1797
|
-
- PayAsYouGo: Pay by volume
|
|
1601
|
+
- PayAsYouGo: Pay by volume.
|
|
1798
1602
|
:param pulumi.Input[int] period: The duration of the resource purchase. Value method:
|
|
1799
1603
|
- If PeriodUnit is set to Day, Period can only be set to 3.
|
|
1800
1604
|
- If PeriodUnit is set to Month, Period can be set to 1-9,12.
|
|
1801
1605
|
:param pulumi.Input[str] period_unit: The unit of time for purchasing resources. Value:
|
|
1802
1606
|
- Month (default): purchase by Month
|
|
1803
|
-
- Day: buy by Day
|
|
1607
|
+
- Day: buy by Day.
|
|
1804
1608
|
:param pulumi.Input[str] private_ip_address: The private IP address. Can only be used for node-level scheduling. If a private IP address is specified, the number of instances can only be one, and both the private IP address and the vSwitch ID are not empty, the private IP address takes effect.
|
|
1805
1609
|
:param pulumi.Input[bool] public_ip_identification: Whether to assign a public IP identifier. Value:
|
|
1806
1610
|
- true (default): Assign
|
|
1807
|
-
- false: do not assign
|
|
1611
|
+
- false: do not assign.
|
|
1808
1612
|
:param pulumi.Input[str] schedule_area_level: Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
|
|
1809
1613
|
- Node-level scheduling: Region
|
|
1810
|
-
- Regional scheduling: Big (region),Middle (province),Small (city)
|
|
1614
|
+
- Regional scheduling: Big (region),Middle (province),Small (city).
|
|
1811
1615
|
:param pulumi.Input[str] scheduling_price_strategy: Scheduling price policy. If it is not filled in, the default priority is low price. Value:
|
|
1812
1616
|
- PriceLowPriority
|
|
1813
|
-
- PriceLowPriority (priority low price)
|
|
1617
|
+
- PriceLowPriority (priority low price).
|
|
1814
1618
|
:param pulumi.Input[str] scheduling_strategy: Scheduling policy. Optional values:
|
|
1815
1619
|
- Concentrate for node-level scheduling
|
|
1816
|
-
- For regional scheduling, Concentrate, Disperse
|
|
1620
|
+
- For regional scheduling, Concentrate, Disperse.
|
|
1817
1621
|
:param pulumi.Input[str] security_id: ID of the security group to which the instance belongs.
|
|
1818
|
-
:param pulumi.Input[str]
|
|
1819
|
-
- NoSpot: normal pay-as-you-go instance (default)
|
|
1820
|
-
- SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
|
|
1821
|
-
:param pulumi.Input[str] status: Status of the instance
|
|
1622
|
+
:param pulumi.Input[str] status: Status of the instance.
|
|
1822
1623
|
:param pulumi.Input[Union['InstanceSystemDiskArgs', 'InstanceSystemDiskArgsDict']] system_disk: System Disk Specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `system_disk` below.
|
|
1823
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag bound to the instance
|
|
1824
1624
|
:param pulumi.Input[bool] unique_suffix: Indicates whether to add an ordered suffix to HostName and InstanceName. The ordered suffix starts from 001 and cannot exceed 999.
|
|
1825
1625
|
:param pulumi.Input[str] user_data: User-defined data, maximum support 16KB. You can pass in the UserData information. The UserData is encoded in Base64 format.
|
|
1826
|
-
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
|
|
1626
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
|
|
1827
1627
|
"""
|
|
1828
1628
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1829
1629
|
|
|
1830
1630
|
__props__ = _InstanceState.__new__(_InstanceState)
|
|
1831
1631
|
|
|
1832
1632
|
__props__.__dict__["amount"] = amount
|
|
1833
|
-
__props__.__dict__["auto_release_time"] = auto_release_time
|
|
1834
1633
|
__props__.__dict__["auto_renew"] = auto_renew
|
|
1835
1634
|
__props__.__dict__["auto_use_coupon"] = auto_use_coupon
|
|
1836
1635
|
__props__.__dict__["billing_cycle"] = billing_cycle
|
|
@@ -1847,7 +1646,6 @@ class Instance(pulumi.CustomResource):
|
|
|
1847
1646
|
__props__.__dict__["internet_charge_type"] = internet_charge_type
|
|
1848
1647
|
__props__.__dict__["internet_max_bandwidth_out"] = internet_max_bandwidth_out
|
|
1849
1648
|
__props__.__dict__["ip_type"] = ip_type
|
|
1850
|
-
__props__.__dict__["key_pair_name"] = key_pair_name
|
|
1851
1649
|
__props__.__dict__["net_district_code"] = net_district_code
|
|
1852
1650
|
__props__.__dict__["net_work_id"] = net_work_id
|
|
1853
1651
|
__props__.__dict__["password"] = password
|
|
@@ -1861,10 +1659,8 @@ class Instance(pulumi.CustomResource):
|
|
|
1861
1659
|
__props__.__dict__["scheduling_price_strategy"] = scheduling_price_strategy
|
|
1862
1660
|
__props__.__dict__["scheduling_strategy"] = scheduling_strategy
|
|
1863
1661
|
__props__.__dict__["security_id"] = security_id
|
|
1864
|
-
__props__.__dict__["spot_strategy"] = spot_strategy
|
|
1865
1662
|
__props__.__dict__["status"] = status
|
|
1866
1663
|
__props__.__dict__["system_disk"] = system_disk
|
|
1867
|
-
__props__.__dict__["tags"] = tags
|
|
1868
1664
|
__props__.__dict__["unique_suffix"] = unique_suffix
|
|
1869
1665
|
__props__.__dict__["user_data"] = user_data
|
|
1870
1666
|
__props__.__dict__["vswitch_id"] = vswitch_id
|
|
@@ -1874,20 +1670,10 @@ class Instance(pulumi.CustomResource):
|
|
|
1874
1670
|
@pulumi.getter
|
|
1875
1671
|
def amount(self) -> pulumi.Output[Optional[int]]:
|
|
1876
1672
|
"""
|
|
1877
|
-
The number of instances created, with a minimum of 1 and a maximum of 100
|
|
1673
|
+
The number of instances created, with a minimum of 1 and a maximum of 100.
|
|
1878
1674
|
"""
|
|
1879
1675
|
return pulumi.get(self, "amount")
|
|
1880
1676
|
|
|
1881
|
-
@property
|
|
1882
|
-
@pulumi.getter(name="autoReleaseTime")
|
|
1883
|
-
def auto_release_time(self) -> pulumi.Output[Optional[str]]:
|
|
1884
|
-
"""
|
|
1885
|
-
The automatic release time of the pay-as-you-go instance. According to the [ISO 8601] standard, UTC +0 time is used. The format is: 'yyyy-MM-ddTHH:mm:ssZ '.
|
|
1886
|
-
- If the second ('ss') value is not '00', it is automatically taken as the start of the current minute ('mm').
|
|
1887
|
-
- The minimum release time is one hour after the current time.
|
|
1888
|
-
"""
|
|
1889
|
-
return pulumi.get(self, "auto_release_time")
|
|
1890
|
-
|
|
1891
1677
|
@property
|
|
1892
1678
|
@pulumi.getter(name="autoRenew")
|
|
1893
1679
|
def auto_renew(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -1902,7 +1688,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1902
1688
|
"""
|
|
1903
1689
|
Whether to use vouchers. The default is to use. Value:
|
|
1904
1690
|
- true (used)
|
|
1905
|
-
- false (not used)
|
|
1691
|
+
- false (not used).
|
|
1906
1692
|
"""
|
|
1907
1693
|
return pulumi.get(self, "auto_use_coupon")
|
|
1908
1694
|
|
|
@@ -1913,7 +1699,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1913
1699
|
The billing cycle for instance computing resources. Only instance-level pay-as-you-go is supported. Value
|
|
1914
1700
|
- Hour: hourly billing
|
|
1915
1701
|
- Day: Daily billing
|
|
1916
|
-
- Month: monthly billing
|
|
1702
|
+
- Month: monthly billing.
|
|
1917
1703
|
"""
|
|
1918
1704
|
return pulumi.get(self, "billing_cycle")
|
|
1919
1705
|
|
|
@@ -1924,7 +1710,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1924
1710
|
Operator, required for regional scheduling. Optional values:
|
|
1925
1711
|
- cmcc (mobile)
|
|
1926
1712
|
- unicom
|
|
1927
|
-
- telecom
|
|
1713
|
+
- telecom.
|
|
1928
1714
|
"""
|
|
1929
1715
|
return pulumi.get(self, "carrier")
|
|
1930
1716
|
|
|
@@ -1932,7 +1718,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1932
1718
|
@pulumi.getter(name="dataDisks")
|
|
1933
1719
|
def data_disks(self) -> pulumi.Output[Sequence['outputs.InstanceDataDisk']]:
|
|
1934
1720
|
"""
|
|
1935
|
-
Data disk specifications See `data_disk` below.
|
|
1721
|
+
Data disk specifications. See `data_disk` below.
|
|
1936
1722
|
"""
|
|
1937
1723
|
return pulumi.get(self, "data_disks")
|
|
1938
1724
|
|
|
@@ -1958,7 +1744,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1958
1744
|
@pulumi.getter(name="hostName")
|
|
1959
1745
|
def host_name(self) -> pulumi.Output[str]:
|
|
1960
1746
|
"""
|
|
1961
|
-
The host name of the instance. Example value: test-HostName
|
|
1747
|
+
The host name of the instance. Example value: test-HostName.
|
|
1962
1748
|
"""
|
|
1963
1749
|
return pulumi.get(self, "host_name")
|
|
1964
1750
|
|
|
@@ -1966,7 +1752,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1966
1752
|
@pulumi.getter(name="imageId")
|
|
1967
1753
|
def image_id(self) -> pulumi.Output[Optional[str]]:
|
|
1968
1754
|
"""
|
|
1969
|
-
The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * *
|
|
1755
|
+
The image ID of the instance. The arm version card cannot be filled in. Other specifications are required. Example value: m-5si16wo6simkt267p8b7h * * * *.
|
|
1970
1756
|
"""
|
|
1971
1757
|
return pulumi.get(self, "image_id")
|
|
1972
1758
|
|
|
@@ -1984,7 +1770,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1984
1770
|
"""
|
|
1985
1771
|
The instance billing policy. Optional values:
|
|
1986
1772
|
- instance: instance granularity (the subscription method does not support instance)
|
|
1987
|
-
- user: user Dimension (user is not transmitted or supported in the prepaid mode)
|
|
1773
|
+
- user: user Dimension (user is not transmitted or supported in the prepaid mode).
|
|
1988
1774
|
"""
|
|
1989
1775
|
return pulumi.get(self, "instance_charge_strategy")
|
|
1990
1776
|
|
|
@@ -1992,9 +1778,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1992
1778
|
@pulumi.getter(name="instanceName")
|
|
1993
1779
|
def instance_name(self) -> pulumi.Output[str]:
|
|
1994
1780
|
"""
|
|
1995
|
-
The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-)
|
|
1996
|
-
|
|
1997
|
-
The default value is the InstanceId of the instance.
|
|
1781
|
+
The instance name. Example value: test-InstanceName. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-) The default value is the InstanceId of the instance. .
|
|
1998
1782
|
"""
|
|
1999
1783
|
return pulumi.get(self, "instance_name")
|
|
2000
1784
|
|
|
@@ -2002,7 +1786,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2002
1786
|
@pulumi.getter(name="instanceType")
|
|
2003
1787
|
def instance_type(self) -> pulumi.Output[str]:
|
|
2004
1788
|
"""
|
|
2005
|
-
The specification of the instance. Example value: ens.sn1.small
|
|
1789
|
+
The specification of the instance. Example value: ens.sn1.small.
|
|
2006
1790
|
"""
|
|
2007
1791
|
return pulumi.get(self, "instance_type")
|
|
2008
1792
|
|
|
@@ -2012,7 +1796,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2012
1796
|
"""
|
|
2013
1797
|
Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
|
|
2014
1798
|
- BandwidthByDay: Daily peak bandwidth
|
|
2015
|
-
- 95bandwidthbymonth: 95 peak bandwidth
|
|
1799
|
+
- 95bandwidthbymonth: 95 peak bandwidth.
|
|
2016
1800
|
"""
|
|
2017
1801
|
return pulumi.get(self, "internet_charge_type")
|
|
2018
1802
|
|
|
@@ -2020,7 +1804,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2020
1804
|
@pulumi.getter(name="internetMaxBandwidthOut")
|
|
2021
1805
|
def internet_max_bandwidth_out(self) -> pulumi.Output[int]:
|
|
2022
1806
|
"""
|
|
2023
|
-
Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991
|
|
1807
|
+
Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
|
|
2024
1808
|
"""
|
|
2025
1809
|
return pulumi.get(self, "internet_max_bandwidth_out")
|
|
2026
1810
|
|
|
@@ -2031,25 +1815,15 @@ class Instance(pulumi.CustomResource):
|
|
|
2031
1815
|
The IP type. Value:
|
|
2032
1816
|
- ipv4 (default):IPv4
|
|
2033
1817
|
- ipv6:IPv6
|
|
2034
|
-
- ipv4Andipv6:IPv4 and IPv6
|
|
1818
|
+
- ipv4Andipv6:IPv4 and IPv6.
|
|
2035
1819
|
"""
|
|
2036
1820
|
return pulumi.get(self, "ip_type")
|
|
2037
1821
|
|
|
2038
|
-
@property
|
|
2039
|
-
@pulumi.getter(name="keyPairName")
|
|
2040
|
-
def key_pair_name(self) -> pulumi.Output[Optional[str]]:
|
|
2041
|
-
"""
|
|
2042
|
-
The key pair name.
|
|
2043
|
-
|
|
2044
|
-
> **NOTE:** At least one of `Password`, `KeyPairName`, and **PasswordInherit.
|
|
2045
|
-
"""
|
|
2046
|
-
return pulumi.get(self, "key_pair_name")
|
|
2047
|
-
|
|
2048
1822
|
@property
|
|
2049
1823
|
@pulumi.getter(name="netDistrictCode")
|
|
2050
1824
|
def net_district_code(self) -> pulumi.Output[Optional[str]]:
|
|
2051
1825
|
"""
|
|
2052
|
-
The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling
|
|
1826
|
+
The area code. Example value: 350000. Required for regional-level scheduling, invalid for node-level scheduling.
|
|
2053
1827
|
"""
|
|
2054
1828
|
return pulumi.get(self, "net_district_code")
|
|
2055
1829
|
|
|
@@ -2057,7 +1831,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2057
1831
|
@pulumi.getter(name="netWorkId")
|
|
2058
1832
|
def net_work_id(self) -> pulumi.Output[str]:
|
|
2059
1833
|
"""
|
|
2060
|
-
The network ID of the instance. Can only be used in node-level scheduling
|
|
1834
|
+
The network ID of the instance. Can only be used in node-level scheduling.
|
|
2061
1835
|
"""
|
|
2062
1836
|
return pulumi.get(self, "net_work_id")
|
|
2063
1837
|
|
|
@@ -2065,7 +1839,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2065
1839
|
@pulumi.getter
|
|
2066
1840
|
def password(self) -> pulumi.Output[Optional[str]]:
|
|
2067
1841
|
"""
|
|
2068
|
-
The instance password. At least one of Password, KeyPairName, and PasswordInherit
|
|
1842
|
+
The instance password. At least one of Password, KeyPairName, and PasswordInherit.
|
|
2069
1843
|
"""
|
|
2070
1844
|
return pulumi.get(self, "password")
|
|
2071
1845
|
|
|
@@ -2073,7 +1847,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2073
1847
|
@pulumi.getter(name="passwordInherit")
|
|
2074
1848
|
def password_inherit(self) -> pulumi.Output[Optional[bool]]:
|
|
2075
1849
|
"""
|
|
2076
|
-
Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed
|
|
1850
|
+
Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
|
|
2077
1851
|
"""
|
|
2078
1852
|
return pulumi.get(self, "password_inherit")
|
|
2079
1853
|
|
|
@@ -2081,9 +1855,9 @@ class Instance(pulumi.CustomResource):
|
|
|
2081
1855
|
@pulumi.getter(name="paymentType")
|
|
2082
1856
|
def payment_type(self) -> pulumi.Output[str]:
|
|
2083
1857
|
"""
|
|
2084
|
-
Instance payment method.
|
|
1858
|
+
Instance payment method. Optional values:
|
|
2085
1859
|
- Subscription: prepaid, annual and monthly
|
|
2086
|
-
- PayAsYouGo: Pay by volume
|
|
1860
|
+
- PayAsYouGo: Pay by volume.
|
|
2087
1861
|
"""
|
|
2088
1862
|
return pulumi.get(self, "payment_type")
|
|
2089
1863
|
|
|
@@ -2103,7 +1877,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2103
1877
|
"""
|
|
2104
1878
|
The unit of time for purchasing resources. Value:
|
|
2105
1879
|
- Month (default): purchase by Month
|
|
2106
|
-
- Day: buy by Day
|
|
1880
|
+
- Day: buy by Day.
|
|
2107
1881
|
"""
|
|
2108
1882
|
return pulumi.get(self, "period_unit")
|
|
2109
1883
|
|
|
@@ -2121,7 +1895,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2121
1895
|
"""
|
|
2122
1896
|
Whether to assign a public IP identifier. Value:
|
|
2123
1897
|
- true (default): Assign
|
|
2124
|
-
- false: do not assign
|
|
1898
|
+
- false: do not assign.
|
|
2125
1899
|
"""
|
|
2126
1900
|
return pulumi.get(self, "public_ip_identification")
|
|
2127
1901
|
|
|
@@ -2131,7 +1905,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2131
1905
|
"""
|
|
2132
1906
|
Scheduling level, through which node-level scheduling or area scheduling is performed. Optional values:
|
|
2133
1907
|
- Node-level scheduling: Region
|
|
2134
|
-
- Regional scheduling: Big (region),Middle (province),Small (city)
|
|
1908
|
+
- Regional scheduling: Big (region),Middle (province),Small (city).
|
|
2135
1909
|
"""
|
|
2136
1910
|
return pulumi.get(self, "schedule_area_level")
|
|
2137
1911
|
|
|
@@ -2141,7 +1915,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2141
1915
|
"""
|
|
2142
1916
|
Scheduling price policy. If it is not filled in, the default priority is low price. Value:
|
|
2143
1917
|
- PriceLowPriority
|
|
2144
|
-
- PriceLowPriority (priority low price)
|
|
1918
|
+
- PriceLowPriority (priority low price).
|
|
2145
1919
|
"""
|
|
2146
1920
|
return pulumi.get(self, "scheduling_price_strategy")
|
|
2147
1921
|
|
|
@@ -2151,7 +1925,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2151
1925
|
"""
|
|
2152
1926
|
Scheduling policy. Optional values:
|
|
2153
1927
|
- Concentrate for node-level scheduling
|
|
2154
|
-
- For regional scheduling, Concentrate, Disperse
|
|
1928
|
+
- For regional scheduling, Concentrate, Disperse.
|
|
2155
1929
|
"""
|
|
2156
1930
|
return pulumi.get(self, "scheduling_strategy")
|
|
2157
1931
|
|
|
@@ -2163,21 +1937,11 @@ class Instance(pulumi.CustomResource):
|
|
|
2163
1937
|
"""
|
|
2164
1938
|
return pulumi.get(self, "security_id")
|
|
2165
1939
|
|
|
2166
|
-
@property
|
|
2167
|
-
@pulumi.getter(name="spotStrategy")
|
|
2168
|
-
def spot_strategy(self) -> pulumi.Output[Optional[str]]:
|
|
2169
|
-
"""
|
|
2170
|
-
The bidding strategy for pay-as-you-go instances. It takes effect when the value of the 'InstanceChargeType' parameter is set to 'PostPaid. Value range:
|
|
2171
|
-
- NoSpot: normal pay-as-you-go instance (default)
|
|
2172
|
-
- SpotAsPriceGo: The system automatically bids, following the actual price in the current market.
|
|
2173
|
-
"""
|
|
2174
|
-
return pulumi.get(self, "spot_strategy")
|
|
2175
|
-
|
|
2176
1940
|
@property
|
|
2177
1941
|
@pulumi.getter
|
|
2178
1942
|
def status(self) -> pulumi.Output[str]:
|
|
2179
1943
|
"""
|
|
2180
|
-
Status of the instance
|
|
1944
|
+
Status of the instance.
|
|
2181
1945
|
"""
|
|
2182
1946
|
return pulumi.get(self, "status")
|
|
2183
1947
|
|
|
@@ -2189,14 +1953,6 @@ class Instance(pulumi.CustomResource):
|
|
|
2189
1953
|
"""
|
|
2190
1954
|
return pulumi.get(self, "system_disk")
|
|
2191
1955
|
|
|
2192
|
-
@property
|
|
2193
|
-
@pulumi.getter
|
|
2194
|
-
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
2195
|
-
"""
|
|
2196
|
-
The tag bound to the instance
|
|
2197
|
-
"""
|
|
2198
|
-
return pulumi.get(self, "tags")
|
|
2199
|
-
|
|
2200
1956
|
@property
|
|
2201
1957
|
@pulumi.getter(name="uniqueSuffix")
|
|
2202
1958
|
def unique_suffix(self) -> pulumi.Output[Optional[bool]]:
|
|
@@ -2217,7 +1973,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2217
1973
|
@pulumi.getter(name="vswitchId")
|
|
2218
1974
|
def vswitch_id(self) -> pulumi.Output[str]:
|
|
2219
1975
|
"""
|
|
2220
|
-
The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling
|
|
1976
|
+
The ID of the vSwitch to which the instance belongs. Can only be used in node-level scheduling.
|
|
2221
1977
|
"""
|
|
2222
1978
|
return pulumi.get(self, "vswitch_id")
|
|
2223
1979
|
|