pulumi-alicloud 3.56.0a1715923185__py3-none-any.whl → 3.56.0a1716440817__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_alicloud/cs/_inputs.py +128 -16
- pulumi_alicloud/cs/edge_kubernetes.py +29 -15
- pulumi_alicloud/cs/kubernetes.py +54 -7
- pulumi_alicloud/cs/managed_kubernetes.py +34 -0
- pulumi_alicloud/cs/outputs.py +150 -16
- pulumi_alicloud/ecs/_inputs.py +49 -1
- pulumi_alicloud/ecs/ecs_deployment_set.py +9 -9
- pulumi_alicloud/ecs/eip.py +68 -0
- pulumi_alicloud/ecs/eip_address.py +115 -0
- pulumi_alicloud/ecs/instance.py +166 -126
- pulumi_alicloud/ecs/outputs.py +43 -1
- pulumi_alicloud/ess/_inputs.py +2 -2
- pulumi_alicloud/ess/outputs.py +2 -2
- pulumi_alicloud/ess/scaling_group.py +7 -7
- pulumi_alicloud/kms/instance.py +218 -128
- pulumi_alicloud/message/service_queue.py +100 -82
- pulumi_alicloud/nas/access_rule.py +38 -18
- pulumi_alicloud/nas/auto_snapshot_policy.py +111 -26
- pulumi_alicloud/privatelink/vpc_endpoint.py +124 -41
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/simpleapplicationserver/snapshot.py +4 -4
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/RECORD +25 -25
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716440817.dist-info}/top_level.txt +0 -0
pulumi_alicloud/kms/instance.py
CHANGED
|
@@ -16,50 +16,56 @@ __all__ = ['InstanceArgs', 'Instance']
|
|
|
16
16
|
@pulumi.input_type
|
|
17
17
|
class InstanceArgs:
|
|
18
18
|
def __init__(__self__, *,
|
|
19
|
-
key_num: pulumi.Input[int],
|
|
20
|
-
secret_num: pulumi.Input[int],
|
|
21
|
-
spec: pulumi.Input[int],
|
|
22
19
|
vpc_id: pulumi.Input[str],
|
|
23
|
-
vpc_num: pulumi.Input[int],
|
|
24
20
|
vswitch_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
25
21
|
zone_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
26
22
|
bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]]] = None,
|
|
23
|
+
force_delete_without_backup: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
key_num: Optional[pulumi.Input[int]] = None,
|
|
27
25
|
log: Optional[pulumi.Input[str]] = None,
|
|
28
26
|
log_storage: Optional[pulumi.Input[int]] = None,
|
|
27
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
29
28
|
period: Optional[pulumi.Input[int]] = None,
|
|
30
29
|
product_version: Optional[pulumi.Input[str]] = None,
|
|
31
30
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
32
|
-
renew_status: Optional[pulumi.Input[str]] = None
|
|
31
|
+
renew_status: Optional[pulumi.Input[str]] = None,
|
|
32
|
+
secret_num: Optional[pulumi.Input[int]] = None,
|
|
33
|
+
spec: Optional[pulumi.Input[int]] = None,
|
|
34
|
+
vpc_num: Optional[pulumi.Input[int]] = None):
|
|
33
35
|
"""
|
|
34
36
|
The set of arguments for constructing a Instance resource.
|
|
35
|
-
:param pulumi.Input[int] key_num: Maximum number of stored keys.
|
|
36
|
-
:param pulumi.Input[int] secret_num: Maximum number of Secrets.
|
|
37
|
-
:param pulumi.Input[int] spec: The computation performance level of the KMS instance.
|
|
38
37
|
:param pulumi.Input[str] vpc_id: Instance VPC id.
|
|
39
|
-
:param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
40
38
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: Instance bind vswitches.
|
|
41
39
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: zone id.
|
|
42
40
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
|
|
43
|
-
:param pulumi.Input[str]
|
|
44
|
-
:param pulumi.Input[int]
|
|
45
|
-
:param pulumi.Input[
|
|
41
|
+
:param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
|
|
42
|
+
:param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
43
|
+
:param pulumi.Input[str] log: Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
44
|
+
:param pulumi.Input[int] log_storage: Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
45
|
+
:param pulumi.Input[str] payment_type: Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
46
|
+
:param pulumi.Input[int] period: Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
46
47
|
:param pulumi.Input[str] product_version: KMS Instance commodity type (software/hardware).
|
|
47
|
-
:param pulumi.Input[int] renew_period: Automatic renewal period, in months.
|
|
48
|
-
:param pulumi.Input[str] renew_status: Renewal options
|
|
48
|
+
:param pulumi.Input[int] renew_period: Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
49
|
+
:param pulumi.Input[str] renew_status: Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
50
|
+
:param pulumi.Input[int] secret_num: Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
51
|
+
:param pulumi.Input[int] spec: The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
52
|
+
:param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
49
53
|
"""
|
|
50
|
-
pulumi.set(__self__, "key_num", key_num)
|
|
51
|
-
pulumi.set(__self__, "secret_num", secret_num)
|
|
52
|
-
pulumi.set(__self__, "spec", spec)
|
|
53
54
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
54
|
-
pulumi.set(__self__, "vpc_num", vpc_num)
|
|
55
55
|
pulumi.set(__self__, "vswitch_ids", vswitch_ids)
|
|
56
56
|
pulumi.set(__self__, "zone_ids", zone_ids)
|
|
57
57
|
if bind_vpcs is not None:
|
|
58
58
|
pulumi.set(__self__, "bind_vpcs", bind_vpcs)
|
|
59
|
+
if force_delete_without_backup is not None:
|
|
60
|
+
pulumi.set(__self__, "force_delete_without_backup", force_delete_without_backup)
|
|
61
|
+
if key_num is not None:
|
|
62
|
+
pulumi.set(__self__, "key_num", key_num)
|
|
59
63
|
if log is not None:
|
|
60
64
|
pulumi.set(__self__, "log", log)
|
|
61
65
|
if log_storage is not None:
|
|
62
66
|
pulumi.set(__self__, "log_storage", log_storage)
|
|
67
|
+
if payment_type is not None:
|
|
68
|
+
pulumi.set(__self__, "payment_type", payment_type)
|
|
63
69
|
if period is not None:
|
|
64
70
|
pulumi.set(__self__, "period", period)
|
|
65
71
|
if product_version is not None:
|
|
@@ -68,42 +74,12 @@ class InstanceArgs:
|
|
|
68
74
|
pulumi.set(__self__, "renew_period", renew_period)
|
|
69
75
|
if renew_status is not None:
|
|
70
76
|
pulumi.set(__self__, "renew_status", renew_status)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"""
|
|
78
|
-
return pulumi.get(self, "key_num")
|
|
79
|
-
|
|
80
|
-
@key_num.setter
|
|
81
|
-
def key_num(self, value: pulumi.Input[int]):
|
|
82
|
-
pulumi.set(self, "key_num", value)
|
|
83
|
-
|
|
84
|
-
@property
|
|
85
|
-
@pulumi.getter(name="secretNum")
|
|
86
|
-
def secret_num(self) -> pulumi.Input[int]:
|
|
87
|
-
"""
|
|
88
|
-
Maximum number of Secrets.
|
|
89
|
-
"""
|
|
90
|
-
return pulumi.get(self, "secret_num")
|
|
91
|
-
|
|
92
|
-
@secret_num.setter
|
|
93
|
-
def secret_num(self, value: pulumi.Input[int]):
|
|
94
|
-
pulumi.set(self, "secret_num", value)
|
|
95
|
-
|
|
96
|
-
@property
|
|
97
|
-
@pulumi.getter
|
|
98
|
-
def spec(self) -> pulumi.Input[int]:
|
|
99
|
-
"""
|
|
100
|
-
The computation performance level of the KMS instance.
|
|
101
|
-
"""
|
|
102
|
-
return pulumi.get(self, "spec")
|
|
103
|
-
|
|
104
|
-
@spec.setter
|
|
105
|
-
def spec(self, value: pulumi.Input[int]):
|
|
106
|
-
pulumi.set(self, "spec", value)
|
|
77
|
+
if secret_num is not None:
|
|
78
|
+
pulumi.set(__self__, "secret_num", secret_num)
|
|
79
|
+
if spec is not None:
|
|
80
|
+
pulumi.set(__self__, "spec", spec)
|
|
81
|
+
if vpc_num is not None:
|
|
82
|
+
pulumi.set(__self__, "vpc_num", vpc_num)
|
|
107
83
|
|
|
108
84
|
@property
|
|
109
85
|
@pulumi.getter(name="vpcId")
|
|
@@ -117,18 +93,6 @@ class InstanceArgs:
|
|
|
117
93
|
def vpc_id(self, value: pulumi.Input[str]):
|
|
118
94
|
pulumi.set(self, "vpc_id", value)
|
|
119
95
|
|
|
120
|
-
@property
|
|
121
|
-
@pulumi.getter(name="vpcNum")
|
|
122
|
-
def vpc_num(self) -> pulumi.Input[int]:
|
|
123
|
-
"""
|
|
124
|
-
The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
125
|
-
"""
|
|
126
|
-
return pulumi.get(self, "vpc_num")
|
|
127
|
-
|
|
128
|
-
@vpc_num.setter
|
|
129
|
-
def vpc_num(self, value: pulumi.Input[int]):
|
|
130
|
-
pulumi.set(self, "vpc_num", value)
|
|
131
|
-
|
|
132
96
|
@property
|
|
133
97
|
@pulumi.getter(name="vswitchIds")
|
|
134
98
|
def vswitch_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
@@ -165,11 +129,35 @@ class InstanceArgs:
|
|
|
165
129
|
def bind_vpcs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]]]):
|
|
166
130
|
pulumi.set(self, "bind_vpcs", value)
|
|
167
131
|
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter(name="forceDeleteWithoutBackup")
|
|
134
|
+
def force_delete_without_backup(self) -> Optional[pulumi.Input[str]]:
|
|
135
|
+
"""
|
|
136
|
+
Whether to force deletion even without backup.
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "force_delete_without_backup")
|
|
139
|
+
|
|
140
|
+
@force_delete_without_backup.setter
|
|
141
|
+
def force_delete_without_backup(self, value: Optional[pulumi.Input[str]]):
|
|
142
|
+
pulumi.set(self, "force_delete_without_backup", value)
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter(name="keyNum")
|
|
146
|
+
def key_num(self) -> Optional[pulumi.Input[int]]:
|
|
147
|
+
"""
|
|
148
|
+
Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
149
|
+
"""
|
|
150
|
+
return pulumi.get(self, "key_num")
|
|
151
|
+
|
|
152
|
+
@key_num.setter
|
|
153
|
+
def key_num(self, value: Optional[pulumi.Input[int]]):
|
|
154
|
+
pulumi.set(self, "key_num", value)
|
|
155
|
+
|
|
168
156
|
@property
|
|
169
157
|
@pulumi.getter
|
|
170
158
|
def log(self) -> Optional[pulumi.Input[str]]:
|
|
171
159
|
"""
|
|
172
|
-
Instance Audit Log Switch.
|
|
160
|
+
Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
173
161
|
"""
|
|
174
162
|
return pulumi.get(self, "log")
|
|
175
163
|
|
|
@@ -181,7 +169,7 @@ class InstanceArgs:
|
|
|
181
169
|
@pulumi.getter(name="logStorage")
|
|
182
170
|
def log_storage(self) -> Optional[pulumi.Input[int]]:
|
|
183
171
|
"""
|
|
184
|
-
Instance log capacity.
|
|
172
|
+
Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
185
173
|
"""
|
|
186
174
|
return pulumi.get(self, "log_storage")
|
|
187
175
|
|
|
@@ -189,11 +177,23 @@ class InstanceArgs:
|
|
|
189
177
|
def log_storage(self, value: Optional[pulumi.Input[int]]):
|
|
190
178
|
pulumi.set(self, "log_storage", value)
|
|
191
179
|
|
|
180
|
+
@property
|
|
181
|
+
@pulumi.getter(name="paymentType")
|
|
182
|
+
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
183
|
+
"""
|
|
184
|
+
Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
185
|
+
"""
|
|
186
|
+
return pulumi.get(self, "payment_type")
|
|
187
|
+
|
|
188
|
+
@payment_type.setter
|
|
189
|
+
def payment_type(self, value: Optional[pulumi.Input[str]]):
|
|
190
|
+
pulumi.set(self, "payment_type", value)
|
|
191
|
+
|
|
192
192
|
@property
|
|
193
193
|
@pulumi.getter
|
|
194
194
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
195
195
|
"""
|
|
196
|
-
Purchase cycle, in months.
|
|
196
|
+
Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
197
197
|
"""
|
|
198
198
|
return pulumi.get(self, "period")
|
|
199
199
|
|
|
@@ -217,7 +217,7 @@ class InstanceArgs:
|
|
|
217
217
|
@pulumi.getter(name="renewPeriod")
|
|
218
218
|
def renew_period(self) -> Optional[pulumi.Input[int]]:
|
|
219
219
|
"""
|
|
220
|
-
Automatic renewal period, in months.
|
|
220
|
+
Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
221
221
|
"""
|
|
222
222
|
return pulumi.get(self, "renew_period")
|
|
223
223
|
|
|
@@ -229,7 +229,7 @@ class InstanceArgs:
|
|
|
229
229
|
@pulumi.getter(name="renewStatus")
|
|
230
230
|
def renew_status(self) -> Optional[pulumi.Input[str]]:
|
|
231
231
|
"""
|
|
232
|
-
Renewal options
|
|
232
|
+
Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
233
233
|
"""
|
|
234
234
|
return pulumi.get(self, "renew_status")
|
|
235
235
|
|
|
@@ -237,6 +237,42 @@ class InstanceArgs:
|
|
|
237
237
|
def renew_status(self, value: Optional[pulumi.Input[str]]):
|
|
238
238
|
pulumi.set(self, "renew_status", value)
|
|
239
239
|
|
|
240
|
+
@property
|
|
241
|
+
@pulumi.getter(name="secretNum")
|
|
242
|
+
def secret_num(self) -> Optional[pulumi.Input[int]]:
|
|
243
|
+
"""
|
|
244
|
+
Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
245
|
+
"""
|
|
246
|
+
return pulumi.get(self, "secret_num")
|
|
247
|
+
|
|
248
|
+
@secret_num.setter
|
|
249
|
+
def secret_num(self, value: Optional[pulumi.Input[int]]):
|
|
250
|
+
pulumi.set(self, "secret_num", value)
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
@pulumi.getter
|
|
254
|
+
def spec(self) -> Optional[pulumi.Input[int]]:
|
|
255
|
+
"""
|
|
256
|
+
The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
257
|
+
"""
|
|
258
|
+
return pulumi.get(self, "spec")
|
|
259
|
+
|
|
260
|
+
@spec.setter
|
|
261
|
+
def spec(self, value: Optional[pulumi.Input[int]]):
|
|
262
|
+
pulumi.set(self, "spec", value)
|
|
263
|
+
|
|
264
|
+
@property
|
|
265
|
+
@pulumi.getter(name="vpcNum")
|
|
266
|
+
def vpc_num(self) -> Optional[pulumi.Input[int]]:
|
|
267
|
+
"""
|
|
268
|
+
The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
269
|
+
"""
|
|
270
|
+
return pulumi.get(self, "vpc_num")
|
|
271
|
+
|
|
272
|
+
@vpc_num.setter
|
|
273
|
+
def vpc_num(self, value: Optional[pulumi.Input[int]]):
|
|
274
|
+
pulumi.set(self, "vpc_num", value)
|
|
275
|
+
|
|
240
276
|
|
|
241
277
|
@pulumi.input_type
|
|
242
278
|
class _InstanceState:
|
|
@@ -244,10 +280,12 @@ class _InstanceState:
|
|
|
244
280
|
bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]]] = None,
|
|
245
281
|
ca_certificate_chain_pem: Optional[pulumi.Input[str]] = None,
|
|
246
282
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
283
|
+
force_delete_without_backup: Optional[pulumi.Input[str]] = None,
|
|
247
284
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
248
285
|
key_num: Optional[pulumi.Input[int]] = None,
|
|
249
286
|
log: Optional[pulumi.Input[str]] = None,
|
|
250
287
|
log_storage: Optional[pulumi.Input[int]] = None,
|
|
288
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
251
289
|
period: Optional[pulumi.Input[int]] = None,
|
|
252
290
|
product_version: Optional[pulumi.Input[str]] = None,
|
|
253
291
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
@@ -264,19 +302,21 @@ class _InstanceState:
|
|
|
264
302
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
|
|
265
303
|
:param pulumi.Input[str] ca_certificate_chain_pem: KMS instance certificate chain in PEM format.
|
|
266
304
|
:param pulumi.Input[str] create_time: The creation time of the resource.
|
|
305
|
+
:param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
|
|
267
306
|
:param pulumi.Input[str] instance_name: The name of the resource.
|
|
268
|
-
:param pulumi.Input[int] key_num: Maximum number of stored keys.
|
|
269
|
-
:param pulumi.Input[str] log: Instance Audit Log Switch.
|
|
270
|
-
:param pulumi.Input[int] log_storage: Instance log capacity.
|
|
271
|
-
:param pulumi.Input[
|
|
307
|
+
:param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
308
|
+
:param pulumi.Input[str] log: Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
309
|
+
:param pulumi.Input[int] log_storage: Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
310
|
+
:param pulumi.Input[str] payment_type: Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
311
|
+
:param pulumi.Input[int] period: Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
272
312
|
:param pulumi.Input[str] product_version: KMS Instance commodity type (software/hardware).
|
|
273
|
-
:param pulumi.Input[int] renew_period: Automatic renewal period, in months.
|
|
274
|
-
:param pulumi.Input[str] renew_status: Renewal options
|
|
275
|
-
:param pulumi.Input[int] secret_num: Maximum number of Secrets.
|
|
276
|
-
:param pulumi.Input[int] spec: The computation performance level of the KMS instance.
|
|
313
|
+
:param pulumi.Input[int] renew_period: Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
314
|
+
:param pulumi.Input[str] renew_status: Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
315
|
+
:param pulumi.Input[int] secret_num: Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
316
|
+
:param pulumi.Input[int] spec: The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
277
317
|
:param pulumi.Input[str] status: Instance status.
|
|
278
318
|
:param pulumi.Input[str] vpc_id: Instance VPC id.
|
|
279
|
-
:param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
319
|
+
:param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
280
320
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: Instance bind vswitches.
|
|
281
321
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: zone id.
|
|
282
322
|
"""
|
|
@@ -286,6 +326,8 @@ class _InstanceState:
|
|
|
286
326
|
pulumi.set(__self__, "ca_certificate_chain_pem", ca_certificate_chain_pem)
|
|
287
327
|
if create_time is not None:
|
|
288
328
|
pulumi.set(__self__, "create_time", create_time)
|
|
329
|
+
if force_delete_without_backup is not None:
|
|
330
|
+
pulumi.set(__self__, "force_delete_without_backup", force_delete_without_backup)
|
|
289
331
|
if instance_name is not None:
|
|
290
332
|
pulumi.set(__self__, "instance_name", instance_name)
|
|
291
333
|
if key_num is not None:
|
|
@@ -294,6 +336,8 @@ class _InstanceState:
|
|
|
294
336
|
pulumi.set(__self__, "log", log)
|
|
295
337
|
if log_storage is not None:
|
|
296
338
|
pulumi.set(__self__, "log_storage", log_storage)
|
|
339
|
+
if payment_type is not None:
|
|
340
|
+
pulumi.set(__self__, "payment_type", payment_type)
|
|
297
341
|
if period is not None:
|
|
298
342
|
pulumi.set(__self__, "period", period)
|
|
299
343
|
if product_version is not None:
|
|
@@ -353,6 +397,18 @@ class _InstanceState:
|
|
|
353
397
|
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
354
398
|
pulumi.set(self, "create_time", value)
|
|
355
399
|
|
|
400
|
+
@property
|
|
401
|
+
@pulumi.getter(name="forceDeleteWithoutBackup")
|
|
402
|
+
def force_delete_without_backup(self) -> Optional[pulumi.Input[str]]:
|
|
403
|
+
"""
|
|
404
|
+
Whether to force deletion even without backup.
|
|
405
|
+
"""
|
|
406
|
+
return pulumi.get(self, "force_delete_without_backup")
|
|
407
|
+
|
|
408
|
+
@force_delete_without_backup.setter
|
|
409
|
+
def force_delete_without_backup(self, value: Optional[pulumi.Input[str]]):
|
|
410
|
+
pulumi.set(self, "force_delete_without_backup", value)
|
|
411
|
+
|
|
356
412
|
@property
|
|
357
413
|
@pulumi.getter(name="instanceName")
|
|
358
414
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -369,7 +425,7 @@ class _InstanceState:
|
|
|
369
425
|
@pulumi.getter(name="keyNum")
|
|
370
426
|
def key_num(self) -> Optional[pulumi.Input[int]]:
|
|
371
427
|
"""
|
|
372
|
-
Maximum number of stored keys.
|
|
428
|
+
Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
373
429
|
"""
|
|
374
430
|
return pulumi.get(self, "key_num")
|
|
375
431
|
|
|
@@ -381,7 +437,7 @@ class _InstanceState:
|
|
|
381
437
|
@pulumi.getter
|
|
382
438
|
def log(self) -> Optional[pulumi.Input[str]]:
|
|
383
439
|
"""
|
|
384
|
-
Instance Audit Log Switch.
|
|
440
|
+
Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
385
441
|
"""
|
|
386
442
|
return pulumi.get(self, "log")
|
|
387
443
|
|
|
@@ -393,7 +449,7 @@ class _InstanceState:
|
|
|
393
449
|
@pulumi.getter(name="logStorage")
|
|
394
450
|
def log_storage(self) -> Optional[pulumi.Input[int]]:
|
|
395
451
|
"""
|
|
396
|
-
Instance log capacity.
|
|
452
|
+
Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
397
453
|
"""
|
|
398
454
|
return pulumi.get(self, "log_storage")
|
|
399
455
|
|
|
@@ -401,11 +457,23 @@ class _InstanceState:
|
|
|
401
457
|
def log_storage(self, value: Optional[pulumi.Input[int]]):
|
|
402
458
|
pulumi.set(self, "log_storage", value)
|
|
403
459
|
|
|
460
|
+
@property
|
|
461
|
+
@pulumi.getter(name="paymentType")
|
|
462
|
+
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
463
|
+
"""
|
|
464
|
+
Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
465
|
+
"""
|
|
466
|
+
return pulumi.get(self, "payment_type")
|
|
467
|
+
|
|
468
|
+
@payment_type.setter
|
|
469
|
+
def payment_type(self, value: Optional[pulumi.Input[str]]):
|
|
470
|
+
pulumi.set(self, "payment_type", value)
|
|
471
|
+
|
|
404
472
|
@property
|
|
405
473
|
@pulumi.getter
|
|
406
474
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
407
475
|
"""
|
|
408
|
-
Purchase cycle, in months.
|
|
476
|
+
Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
409
477
|
"""
|
|
410
478
|
return pulumi.get(self, "period")
|
|
411
479
|
|
|
@@ -429,7 +497,7 @@ class _InstanceState:
|
|
|
429
497
|
@pulumi.getter(name="renewPeriod")
|
|
430
498
|
def renew_period(self) -> Optional[pulumi.Input[int]]:
|
|
431
499
|
"""
|
|
432
|
-
Automatic renewal period, in months.
|
|
500
|
+
Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
433
501
|
"""
|
|
434
502
|
return pulumi.get(self, "renew_period")
|
|
435
503
|
|
|
@@ -441,7 +509,7 @@ class _InstanceState:
|
|
|
441
509
|
@pulumi.getter(name="renewStatus")
|
|
442
510
|
def renew_status(self) -> Optional[pulumi.Input[str]]:
|
|
443
511
|
"""
|
|
444
|
-
Renewal options
|
|
512
|
+
Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
445
513
|
"""
|
|
446
514
|
return pulumi.get(self, "renew_status")
|
|
447
515
|
|
|
@@ -453,7 +521,7 @@ class _InstanceState:
|
|
|
453
521
|
@pulumi.getter(name="secretNum")
|
|
454
522
|
def secret_num(self) -> Optional[pulumi.Input[int]]:
|
|
455
523
|
"""
|
|
456
|
-
Maximum number of Secrets.
|
|
524
|
+
Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
457
525
|
"""
|
|
458
526
|
return pulumi.get(self, "secret_num")
|
|
459
527
|
|
|
@@ -465,7 +533,7 @@ class _InstanceState:
|
|
|
465
533
|
@pulumi.getter
|
|
466
534
|
def spec(self) -> Optional[pulumi.Input[int]]:
|
|
467
535
|
"""
|
|
468
|
-
The computation performance level of the KMS instance.
|
|
536
|
+
The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
469
537
|
"""
|
|
470
538
|
return pulumi.get(self, "spec")
|
|
471
539
|
|
|
@@ -501,7 +569,7 @@ class _InstanceState:
|
|
|
501
569
|
@pulumi.getter(name="vpcNum")
|
|
502
570
|
def vpc_num(self) -> Optional[pulumi.Input[int]]:
|
|
503
571
|
"""
|
|
504
|
-
The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
572
|
+
The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
505
573
|
"""
|
|
506
574
|
return pulumi.get(self, "vpc_num")
|
|
507
575
|
|
|
@@ -540,9 +608,11 @@ class Instance(pulumi.CustomResource):
|
|
|
540
608
|
resource_name: str,
|
|
541
609
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
542
610
|
bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]]] = None,
|
|
611
|
+
force_delete_without_backup: Optional[pulumi.Input[str]] = None,
|
|
543
612
|
key_num: Optional[pulumi.Input[int]] = None,
|
|
544
613
|
log: Optional[pulumi.Input[str]] = None,
|
|
545
614
|
log_storage: Optional[pulumi.Input[int]] = None,
|
|
615
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
546
616
|
period: Optional[pulumi.Input[int]] = None,
|
|
547
617
|
product_version: Optional[pulumi.Input[str]] = None,
|
|
548
618
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
@@ -602,17 +672,19 @@ class Instance(pulumi.CustomResource):
|
|
|
602
672
|
:param str resource_name: The name of the resource.
|
|
603
673
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
604
674
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
|
|
605
|
-
:param pulumi.Input[
|
|
606
|
-
:param pulumi.Input[
|
|
607
|
-
:param pulumi.Input[
|
|
608
|
-
:param pulumi.Input[int]
|
|
675
|
+
:param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
|
|
676
|
+
:param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
677
|
+
:param pulumi.Input[str] log: Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
678
|
+
:param pulumi.Input[int] log_storage: Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
679
|
+
:param pulumi.Input[str] payment_type: Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
680
|
+
:param pulumi.Input[int] period: Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
609
681
|
:param pulumi.Input[str] product_version: KMS Instance commodity type (software/hardware).
|
|
610
|
-
:param pulumi.Input[int] renew_period: Automatic renewal period, in months.
|
|
611
|
-
:param pulumi.Input[str] renew_status: Renewal options
|
|
612
|
-
:param pulumi.Input[int] secret_num: Maximum number of Secrets.
|
|
613
|
-
:param pulumi.Input[int] spec: The computation performance level of the KMS instance.
|
|
682
|
+
:param pulumi.Input[int] renew_period: Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
683
|
+
:param pulumi.Input[str] renew_status: Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
684
|
+
:param pulumi.Input[int] secret_num: Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
685
|
+
:param pulumi.Input[int] spec: The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
614
686
|
:param pulumi.Input[str] vpc_id: Instance VPC id.
|
|
615
|
-
:param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
687
|
+
:param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
616
688
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: Instance bind vswitches.
|
|
617
689
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: zone id.
|
|
618
690
|
"""
|
|
@@ -683,9 +755,11 @@ class Instance(pulumi.CustomResource):
|
|
|
683
755
|
resource_name: str,
|
|
684
756
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
685
757
|
bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]]] = None,
|
|
758
|
+
force_delete_without_backup: Optional[pulumi.Input[str]] = None,
|
|
686
759
|
key_num: Optional[pulumi.Input[int]] = None,
|
|
687
760
|
log: Optional[pulumi.Input[str]] = None,
|
|
688
761
|
log_storage: Optional[pulumi.Input[int]] = None,
|
|
762
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
689
763
|
period: Optional[pulumi.Input[int]] = None,
|
|
690
764
|
product_version: Optional[pulumi.Input[str]] = None,
|
|
691
765
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
@@ -706,26 +780,20 @@ class Instance(pulumi.CustomResource):
|
|
|
706
780
|
__props__ = InstanceArgs.__new__(InstanceArgs)
|
|
707
781
|
|
|
708
782
|
__props__.__dict__["bind_vpcs"] = bind_vpcs
|
|
709
|
-
|
|
710
|
-
raise TypeError("Missing required property 'key_num'")
|
|
783
|
+
__props__.__dict__["force_delete_without_backup"] = force_delete_without_backup
|
|
711
784
|
__props__.__dict__["key_num"] = key_num
|
|
712
785
|
__props__.__dict__["log"] = log
|
|
713
786
|
__props__.__dict__["log_storage"] = log_storage
|
|
787
|
+
__props__.__dict__["payment_type"] = payment_type
|
|
714
788
|
__props__.__dict__["period"] = period
|
|
715
789
|
__props__.__dict__["product_version"] = product_version
|
|
716
790
|
__props__.__dict__["renew_period"] = renew_period
|
|
717
791
|
__props__.__dict__["renew_status"] = renew_status
|
|
718
|
-
if secret_num is None and not opts.urn:
|
|
719
|
-
raise TypeError("Missing required property 'secret_num'")
|
|
720
792
|
__props__.__dict__["secret_num"] = secret_num
|
|
721
|
-
if spec is None and not opts.urn:
|
|
722
|
-
raise TypeError("Missing required property 'spec'")
|
|
723
793
|
__props__.__dict__["spec"] = spec
|
|
724
794
|
if vpc_id is None and not opts.urn:
|
|
725
795
|
raise TypeError("Missing required property 'vpc_id'")
|
|
726
796
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
727
|
-
if vpc_num is None and not opts.urn:
|
|
728
|
-
raise TypeError("Missing required property 'vpc_num'")
|
|
729
797
|
__props__.__dict__["vpc_num"] = vpc_num
|
|
730
798
|
if vswitch_ids is None and not opts.urn:
|
|
731
799
|
raise TypeError("Missing required property 'vswitch_ids'")
|
|
@@ -750,10 +818,12 @@ class Instance(pulumi.CustomResource):
|
|
|
750
818
|
bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]]] = None,
|
|
751
819
|
ca_certificate_chain_pem: Optional[pulumi.Input[str]] = None,
|
|
752
820
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
821
|
+
force_delete_without_backup: Optional[pulumi.Input[str]] = None,
|
|
753
822
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
754
823
|
key_num: Optional[pulumi.Input[int]] = None,
|
|
755
824
|
log: Optional[pulumi.Input[str]] = None,
|
|
756
825
|
log_storage: Optional[pulumi.Input[int]] = None,
|
|
826
|
+
payment_type: Optional[pulumi.Input[str]] = None,
|
|
757
827
|
period: Optional[pulumi.Input[int]] = None,
|
|
758
828
|
product_version: Optional[pulumi.Input[str]] = None,
|
|
759
829
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
@@ -775,19 +845,21 @@ class Instance(pulumi.CustomResource):
|
|
|
775
845
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
|
|
776
846
|
:param pulumi.Input[str] ca_certificate_chain_pem: KMS instance certificate chain in PEM format.
|
|
777
847
|
:param pulumi.Input[str] create_time: The creation time of the resource.
|
|
848
|
+
:param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
|
|
778
849
|
:param pulumi.Input[str] instance_name: The name of the resource.
|
|
779
|
-
:param pulumi.Input[int] key_num: Maximum number of stored keys.
|
|
780
|
-
:param pulumi.Input[str] log: Instance Audit Log Switch.
|
|
781
|
-
:param pulumi.Input[int] log_storage: Instance log capacity.
|
|
782
|
-
:param pulumi.Input[
|
|
850
|
+
:param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
851
|
+
:param pulumi.Input[str] log: Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
852
|
+
:param pulumi.Input[int] log_storage: Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
853
|
+
:param pulumi.Input[str] payment_type: Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
854
|
+
:param pulumi.Input[int] period: Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
783
855
|
:param pulumi.Input[str] product_version: KMS Instance commodity type (software/hardware).
|
|
784
|
-
:param pulumi.Input[int] renew_period: Automatic renewal period, in months.
|
|
785
|
-
:param pulumi.Input[str] renew_status: Renewal options
|
|
786
|
-
:param pulumi.Input[int] secret_num: Maximum number of Secrets.
|
|
787
|
-
:param pulumi.Input[int] spec: The computation performance level of the KMS instance.
|
|
856
|
+
:param pulumi.Input[int] renew_period: Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
857
|
+
:param pulumi.Input[str] renew_status: Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
858
|
+
:param pulumi.Input[int] secret_num: Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
859
|
+
:param pulumi.Input[int] spec: The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
788
860
|
:param pulumi.Input[str] status: Instance status.
|
|
789
861
|
:param pulumi.Input[str] vpc_id: Instance VPC id.
|
|
790
|
-
:param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
862
|
+
:param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
791
863
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: Instance bind vswitches.
|
|
792
864
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: zone id.
|
|
793
865
|
"""
|
|
@@ -798,10 +870,12 @@ class Instance(pulumi.CustomResource):
|
|
|
798
870
|
__props__.__dict__["bind_vpcs"] = bind_vpcs
|
|
799
871
|
__props__.__dict__["ca_certificate_chain_pem"] = ca_certificate_chain_pem
|
|
800
872
|
__props__.__dict__["create_time"] = create_time
|
|
873
|
+
__props__.__dict__["force_delete_without_backup"] = force_delete_without_backup
|
|
801
874
|
__props__.__dict__["instance_name"] = instance_name
|
|
802
875
|
__props__.__dict__["key_num"] = key_num
|
|
803
876
|
__props__.__dict__["log"] = log
|
|
804
877
|
__props__.__dict__["log_storage"] = log_storage
|
|
878
|
+
__props__.__dict__["payment_type"] = payment_type
|
|
805
879
|
__props__.__dict__["period"] = period
|
|
806
880
|
__props__.__dict__["product_version"] = product_version
|
|
807
881
|
__props__.__dict__["renew_period"] = renew_period
|
|
@@ -839,6 +913,14 @@ class Instance(pulumi.CustomResource):
|
|
|
839
913
|
"""
|
|
840
914
|
return pulumi.get(self, "create_time")
|
|
841
915
|
|
|
916
|
+
@property
|
|
917
|
+
@pulumi.getter(name="forceDeleteWithoutBackup")
|
|
918
|
+
def force_delete_without_backup(self) -> pulumi.Output[Optional[str]]:
|
|
919
|
+
"""
|
|
920
|
+
Whether to force deletion even without backup.
|
|
921
|
+
"""
|
|
922
|
+
return pulumi.get(self, "force_delete_without_backup")
|
|
923
|
+
|
|
842
924
|
@property
|
|
843
925
|
@pulumi.getter(name="instanceName")
|
|
844
926
|
def instance_name(self) -> pulumi.Output[str]:
|
|
@@ -849,9 +931,9 @@ class Instance(pulumi.CustomResource):
|
|
|
849
931
|
|
|
850
932
|
@property
|
|
851
933
|
@pulumi.getter(name="keyNum")
|
|
852
|
-
def key_num(self) -> pulumi.Output[int]:
|
|
934
|
+
def key_num(self) -> pulumi.Output[Optional[int]]:
|
|
853
935
|
"""
|
|
854
|
-
Maximum number of stored keys.
|
|
936
|
+
Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
855
937
|
"""
|
|
856
938
|
return pulumi.get(self, "key_num")
|
|
857
939
|
|
|
@@ -859,7 +941,7 @@ class Instance(pulumi.CustomResource):
|
|
|
859
941
|
@pulumi.getter
|
|
860
942
|
def log(self) -> pulumi.Output[str]:
|
|
861
943
|
"""
|
|
862
|
-
Instance Audit Log Switch.
|
|
944
|
+
Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
863
945
|
"""
|
|
864
946
|
return pulumi.get(self, "log")
|
|
865
947
|
|
|
@@ -867,15 +949,23 @@ class Instance(pulumi.CustomResource):
|
|
|
867
949
|
@pulumi.getter(name="logStorage")
|
|
868
950
|
def log_storage(self) -> pulumi.Output[int]:
|
|
869
951
|
"""
|
|
870
|
-
Instance log capacity.
|
|
952
|
+
Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
871
953
|
"""
|
|
872
954
|
return pulumi.get(self, "log_storage")
|
|
873
955
|
|
|
956
|
+
@property
|
|
957
|
+
@pulumi.getter(name="paymentType")
|
|
958
|
+
def payment_type(self) -> pulumi.Output[str]:
|
|
959
|
+
"""
|
|
960
|
+
Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
961
|
+
"""
|
|
962
|
+
return pulumi.get(self, "payment_type")
|
|
963
|
+
|
|
874
964
|
@property
|
|
875
965
|
@pulumi.getter
|
|
876
966
|
def period(self) -> pulumi.Output[Optional[int]]:
|
|
877
967
|
"""
|
|
878
|
-
Purchase cycle, in months.
|
|
968
|
+
Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
879
969
|
"""
|
|
880
970
|
return pulumi.get(self, "period")
|
|
881
971
|
|
|
@@ -891,7 +981,7 @@ class Instance(pulumi.CustomResource):
|
|
|
891
981
|
@pulumi.getter(name="renewPeriod")
|
|
892
982
|
def renew_period(self) -> pulumi.Output[Optional[int]]:
|
|
893
983
|
"""
|
|
894
|
-
Automatic renewal period, in months.
|
|
984
|
+
Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
895
985
|
"""
|
|
896
986
|
return pulumi.get(self, "renew_period")
|
|
897
987
|
|
|
@@ -899,23 +989,23 @@ class Instance(pulumi.CustomResource):
|
|
|
899
989
|
@pulumi.getter(name="renewStatus")
|
|
900
990
|
def renew_status(self) -> pulumi.Output[Optional[str]]:
|
|
901
991
|
"""
|
|
902
|
-
Renewal options
|
|
992
|
+
Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
903
993
|
"""
|
|
904
994
|
return pulumi.get(self, "renew_status")
|
|
905
995
|
|
|
906
996
|
@property
|
|
907
997
|
@pulumi.getter(name="secretNum")
|
|
908
|
-
def secret_num(self) -> pulumi.Output[int]:
|
|
998
|
+
def secret_num(self) -> pulumi.Output[Optional[int]]:
|
|
909
999
|
"""
|
|
910
|
-
Maximum number of Secrets.
|
|
1000
|
+
Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
911
1001
|
"""
|
|
912
1002
|
return pulumi.get(self, "secret_num")
|
|
913
1003
|
|
|
914
1004
|
@property
|
|
915
1005
|
@pulumi.getter
|
|
916
|
-
def spec(self) -> pulumi.Output[int]:
|
|
1006
|
+
def spec(self) -> pulumi.Output[Optional[int]]:
|
|
917
1007
|
"""
|
|
918
|
-
The computation performance level of the KMS instance.
|
|
1008
|
+
The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
919
1009
|
"""
|
|
920
1010
|
return pulumi.get(self, "spec")
|
|
921
1011
|
|
|
@@ -937,9 +1027,9 @@ class Instance(pulumi.CustomResource):
|
|
|
937
1027
|
|
|
938
1028
|
@property
|
|
939
1029
|
@pulumi.getter(name="vpcNum")
|
|
940
|
-
def vpc_num(self) -> pulumi.Output[int]:
|
|
1030
|
+
def vpc_num(self) -> pulumi.Output[Optional[int]]:
|
|
941
1031
|
"""
|
|
942
|
-
The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
1032
|
+
The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
|
|
943
1033
|
"""
|
|
944
1034
|
return pulumi.get(self, "vpc_num")
|
|
945
1035
|
|