pulumi-alicloud 3.66.0a1731672315__py3-none-any.whl → 3.67.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +16 -0
- pulumi_alicloud/cen/flow_log.py +373 -58
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +4 -4
- pulumi_alicloud/cr/registry_enterprise_instance.py +474 -90
- pulumi_alicloud/ecs/ecs_image_component.py +221 -48
- pulumi_alicloud/ess/_inputs.py +94 -0
- pulumi_alicloud/ess/eci_scaling_configuration.py +42 -14
- pulumi_alicloud/ess/outputs.py +79 -0
- pulumi_alicloud/ess/scaling_configuration.py +47 -0
- pulumi_alicloud/expressconnect/router_vbr_child_instance.py +86 -25
- pulumi_alicloud/kms/key.py +1 -1
- pulumi_alicloud/kvstore/account.py +24 -24
- pulumi_alicloud/kvstore/audit_log_config.py +4 -4
- pulumi_alicloud/kvstore/backup_policy.py +2 -2
- pulumi_alicloud/kvstore/connection.py +8 -8
- pulumi_alicloud/kvstore/get_accounts.py +4 -4
- pulumi_alicloud/kvstore/get_connections.py +5 -5
- pulumi_alicloud/kvstore/get_instance_classes.py +12 -12
- pulumi_alicloud/kvstore/get_instance_engines.py +7 -7
- pulumi_alicloud/kvstore/get_permission.py +10 -10
- pulumi_alicloud/kvstore/get_zones.py +4 -4
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/mongodb/instance.py +47 -0
- pulumi_alicloud/mongodb/sharding_instance.py +47 -0
- pulumi_alicloud/polardb/cluster.py +7 -7
- pulumi_alicloud/privatelink/vpc_endpoint_service.py +42 -91
- pulumi_alicloud/privatelink/vpc_endpoint_service_connection.py +27 -23
- pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +34 -37
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +28 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/__init__.py +2 -0
- pulumi_alicloud/rds/_inputs.py +146 -0
- pulumi_alicloud/rds/custom.py +1630 -0
- pulumi_alicloud/rds/custom_deployment_set.py +525 -0
- pulumi_alicloud/rds/outputs.py +105 -0
- pulumi_alicloud/redis/tair_instance.py +76 -1
- pulumi_alicloud/vpc/_inputs.py +54 -0
- pulumi_alicloud/vpc/nat_gateway.py +175 -14
- pulumi_alicloud/vpc/outputs.py +51 -0
- pulumi_alicloud/vpn/gateway_vco_route.py +68 -21
- {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/METADATA +5 -5
- {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/RECORD +44 -42
- {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/top_level.txt +0 -0
|
@@ -21,51 +21,79 @@ class RegistryEnterpriseInstanceArgs:
|
|
|
21
21
|
def __init__(__self__, *,
|
|
22
22
|
instance_name: pulumi.Input[str],
|
|
23
23
|
instance_type: pulumi.Input[str],
|
|
24
|
+
payment_type: pulumi.Input[str],
|
|
24
25
|
custom_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
default_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
image_scanner: Optional[pulumi.Input[str]] = None,
|
|
25
28
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
26
29
|
kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
27
30
|
password: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
payment_type: Optional[pulumi.Input[str]] = None,
|
|
29
31
|
period: Optional[pulumi.Input[int]] = None,
|
|
30
32
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
31
|
-
renewal_status: Optional[pulumi.Input[str]] = None
|
|
33
|
+
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
34
|
+
resource_group_id: Optional[pulumi.Input[str]] = None):
|
|
32
35
|
"""
|
|
33
36
|
The set of arguments for constructing a RegistryEnterpriseInstance resource.
|
|
34
|
-
:param pulumi.Input[str] instance_name:
|
|
35
|
-
:param pulumi.Input[str] instance_type:
|
|
36
|
-
|
|
37
|
+
:param pulumi.Input[str] instance_name: InstanceName
|
|
38
|
+
:param pulumi.Input[str] instance_type: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
39
|
+
|
|
40
|
+
Basic: Basic instance
|
|
41
|
+
|
|
42
|
+
Standard: Standard instance
|
|
43
|
+
|
|
44
|
+
Advanced: Advanced Edition Instance
|
|
45
|
+
:param pulumi.Input[str] payment_type: Payment type, value:
|
|
46
|
+
- Subscription: Prepaid.
|
|
47
|
+
:param pulumi.Input[str] custom_oss_bucket: Custom OSS Bucket name
|
|
48
|
+
:param pulumi.Input[str] default_oss_bucket: Whether to use the default OSS Bucket
|
|
49
|
+
:param pulumi.Input[str] image_scanner: Security scan engine
|
|
37
50
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored.
|
|
38
51
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
39
|
-
:param pulumi.Input[str] password:
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
:param pulumi.Input[
|
|
52
|
+
:param pulumi.Input[str] password: Permanent access credentials of the instance
|
|
53
|
+
:param pulumi.Input[int] period: Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
54
|
+
|
|
55
|
+
> **NOTE:** must be set when creating a prepaid instance.
|
|
56
|
+
:param pulumi.Input[int] renew_period: Automatic renewal cycle, in months.
|
|
57
|
+
|
|
58
|
+
> **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
59
|
+
:param pulumi.Input[str] renewal_status: Automatic renewal status, value:
|
|
60
|
+
- AutoRenewal: automatic renewal.
|
|
61
|
+
- ManualRenewal: manual renewal.
|
|
62
|
+
|
|
63
|
+
Default ManualRenewal.
|
|
64
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
65
|
+
|
|
66
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
44
67
|
"""
|
|
45
68
|
pulumi.set(__self__, "instance_name", instance_name)
|
|
46
69
|
pulumi.set(__self__, "instance_type", instance_type)
|
|
70
|
+
pulumi.set(__self__, "payment_type", payment_type)
|
|
47
71
|
if custom_oss_bucket is not None:
|
|
48
72
|
pulumi.set(__self__, "custom_oss_bucket", custom_oss_bucket)
|
|
73
|
+
if default_oss_bucket is not None:
|
|
74
|
+
pulumi.set(__self__, "default_oss_bucket", default_oss_bucket)
|
|
75
|
+
if image_scanner is not None:
|
|
76
|
+
pulumi.set(__self__, "image_scanner", image_scanner)
|
|
49
77
|
if kms_encrypted_password is not None:
|
|
50
78
|
pulumi.set(__self__, "kms_encrypted_password", kms_encrypted_password)
|
|
51
79
|
if kms_encryption_context is not None:
|
|
52
80
|
pulumi.set(__self__, "kms_encryption_context", kms_encryption_context)
|
|
53
81
|
if password is not None:
|
|
54
82
|
pulumi.set(__self__, "password", password)
|
|
55
|
-
if payment_type is not None:
|
|
56
|
-
pulumi.set(__self__, "payment_type", payment_type)
|
|
57
83
|
if period is not None:
|
|
58
84
|
pulumi.set(__self__, "period", period)
|
|
59
85
|
if renew_period is not None:
|
|
60
86
|
pulumi.set(__self__, "renew_period", renew_period)
|
|
61
87
|
if renewal_status is not None:
|
|
62
88
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
89
|
+
if resource_group_id is not None:
|
|
90
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
63
91
|
|
|
64
92
|
@property
|
|
65
93
|
@pulumi.getter(name="instanceName")
|
|
66
94
|
def instance_name(self) -> pulumi.Input[str]:
|
|
67
95
|
"""
|
|
68
|
-
|
|
96
|
+
InstanceName
|
|
69
97
|
"""
|
|
70
98
|
return pulumi.get(self, "instance_name")
|
|
71
99
|
|
|
@@ -77,7 +105,13 @@ class RegistryEnterpriseInstanceArgs:
|
|
|
77
105
|
@pulumi.getter(name="instanceType")
|
|
78
106
|
def instance_type(self) -> pulumi.Input[str]:
|
|
79
107
|
"""
|
|
80
|
-
|
|
108
|
+
The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
109
|
+
|
|
110
|
+
Basic: Basic instance
|
|
111
|
+
|
|
112
|
+
Standard: Standard instance
|
|
113
|
+
|
|
114
|
+
Advanced: Advanced Edition Instance
|
|
81
115
|
"""
|
|
82
116
|
return pulumi.get(self, "instance_type")
|
|
83
117
|
|
|
@@ -85,11 +119,24 @@ class RegistryEnterpriseInstanceArgs:
|
|
|
85
119
|
def instance_type(self, value: pulumi.Input[str]):
|
|
86
120
|
pulumi.set(self, "instance_type", value)
|
|
87
121
|
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="paymentType")
|
|
124
|
+
def payment_type(self) -> pulumi.Input[str]:
|
|
125
|
+
"""
|
|
126
|
+
Payment type, value:
|
|
127
|
+
- Subscription: Prepaid.
|
|
128
|
+
"""
|
|
129
|
+
return pulumi.get(self, "payment_type")
|
|
130
|
+
|
|
131
|
+
@payment_type.setter
|
|
132
|
+
def payment_type(self, value: pulumi.Input[str]):
|
|
133
|
+
pulumi.set(self, "payment_type", value)
|
|
134
|
+
|
|
88
135
|
@property
|
|
89
136
|
@pulumi.getter(name="customOssBucket")
|
|
90
137
|
def custom_oss_bucket(self) -> Optional[pulumi.Input[str]]:
|
|
91
138
|
"""
|
|
92
|
-
|
|
139
|
+
Custom OSS Bucket name
|
|
93
140
|
"""
|
|
94
141
|
return pulumi.get(self, "custom_oss_bucket")
|
|
95
142
|
|
|
@@ -97,6 +144,30 @@ class RegistryEnterpriseInstanceArgs:
|
|
|
97
144
|
def custom_oss_bucket(self, value: Optional[pulumi.Input[str]]):
|
|
98
145
|
pulumi.set(self, "custom_oss_bucket", value)
|
|
99
146
|
|
|
147
|
+
@property
|
|
148
|
+
@pulumi.getter(name="defaultOssBucket")
|
|
149
|
+
def default_oss_bucket(self) -> Optional[pulumi.Input[str]]:
|
|
150
|
+
"""
|
|
151
|
+
Whether to use the default OSS Bucket
|
|
152
|
+
"""
|
|
153
|
+
return pulumi.get(self, "default_oss_bucket")
|
|
154
|
+
|
|
155
|
+
@default_oss_bucket.setter
|
|
156
|
+
def default_oss_bucket(self, value: Optional[pulumi.Input[str]]):
|
|
157
|
+
pulumi.set(self, "default_oss_bucket", value)
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
@pulumi.getter(name="imageScanner")
|
|
161
|
+
def image_scanner(self) -> Optional[pulumi.Input[str]]:
|
|
162
|
+
"""
|
|
163
|
+
Security scan engine
|
|
164
|
+
"""
|
|
165
|
+
return pulumi.get(self, "image_scanner")
|
|
166
|
+
|
|
167
|
+
@image_scanner.setter
|
|
168
|
+
def image_scanner(self, value: Optional[pulumi.Input[str]]):
|
|
169
|
+
pulumi.set(self, "image_scanner", value)
|
|
170
|
+
|
|
100
171
|
@property
|
|
101
172
|
@pulumi.getter(name="kmsEncryptedPassword")
|
|
102
173
|
def kms_encrypted_password(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -125,7 +196,7 @@ class RegistryEnterpriseInstanceArgs:
|
|
|
125
196
|
@pulumi.getter
|
|
126
197
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
127
198
|
"""
|
|
128
|
-
|
|
199
|
+
Permanent access credentials of the instance
|
|
129
200
|
"""
|
|
130
201
|
return pulumi.get(self, "password")
|
|
131
202
|
|
|
@@ -133,23 +204,13 @@ class RegistryEnterpriseInstanceArgs:
|
|
|
133
204
|
def password(self, value: Optional[pulumi.Input[str]]):
|
|
134
205
|
pulumi.set(self, "password", value)
|
|
135
206
|
|
|
136
|
-
@property
|
|
137
|
-
@pulumi.getter(name="paymentType")
|
|
138
|
-
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
139
|
-
"""
|
|
140
|
-
Subscription of Container Registry Enterprise Edition instance. Default value: `Subscription`. Valid values: `Subscription`.
|
|
141
|
-
"""
|
|
142
|
-
return pulumi.get(self, "payment_type")
|
|
143
|
-
|
|
144
|
-
@payment_type.setter
|
|
145
|
-
def payment_type(self, value: Optional[pulumi.Input[str]]):
|
|
146
|
-
pulumi.set(self, "payment_type", value)
|
|
147
|
-
|
|
148
207
|
@property
|
|
149
208
|
@pulumi.getter
|
|
150
209
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
151
210
|
"""
|
|
152
|
-
|
|
211
|
+
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
212
|
+
|
|
213
|
+
> **NOTE:** must be set when creating a prepaid instance.
|
|
153
214
|
"""
|
|
154
215
|
return pulumi.get(self, "period")
|
|
155
216
|
|
|
@@ -161,7 +222,9 @@ class RegistryEnterpriseInstanceArgs:
|
|
|
161
222
|
@pulumi.getter(name="renewPeriod")
|
|
162
223
|
def renew_period(self) -> Optional[pulumi.Input[int]]:
|
|
163
224
|
"""
|
|
164
|
-
|
|
225
|
+
Automatic renewal cycle, in months.
|
|
226
|
+
|
|
227
|
+
> **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
165
228
|
"""
|
|
166
229
|
return pulumi.get(self, "renew_period")
|
|
167
230
|
|
|
@@ -173,7 +236,11 @@ class RegistryEnterpriseInstanceArgs:
|
|
|
173
236
|
@pulumi.getter(name="renewalStatus")
|
|
174
237
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
175
238
|
"""
|
|
176
|
-
|
|
239
|
+
Automatic renewal status, value:
|
|
240
|
+
- AutoRenewal: automatic renewal.
|
|
241
|
+
- ManualRenewal: manual renewal.
|
|
242
|
+
|
|
243
|
+
Default ManualRenewal.
|
|
177
244
|
"""
|
|
178
245
|
return pulumi.get(self, "renewal_status")
|
|
179
246
|
|
|
@@ -181,13 +248,30 @@ class RegistryEnterpriseInstanceArgs:
|
|
|
181
248
|
def renewal_status(self, value: Optional[pulumi.Input[str]]):
|
|
182
249
|
pulumi.set(self, "renewal_status", value)
|
|
183
250
|
|
|
251
|
+
@property
|
|
252
|
+
@pulumi.getter(name="resourceGroupId")
|
|
253
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
254
|
+
"""
|
|
255
|
+
The ID of the resource group
|
|
256
|
+
|
|
257
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
258
|
+
"""
|
|
259
|
+
return pulumi.get(self, "resource_group_id")
|
|
260
|
+
|
|
261
|
+
@resource_group_id.setter
|
|
262
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
263
|
+
pulumi.set(self, "resource_group_id", value)
|
|
264
|
+
|
|
184
265
|
|
|
185
266
|
@pulumi.input_type
|
|
186
267
|
class _RegistryEnterpriseInstanceState:
|
|
187
268
|
def __init__(__self__, *,
|
|
269
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
188
270
|
created_time: Optional[pulumi.Input[str]] = None,
|
|
189
271
|
custom_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
272
|
+
default_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
190
273
|
end_time: Optional[pulumi.Input[str]] = None,
|
|
274
|
+
image_scanner: Optional[pulumi.Input[str]] = None,
|
|
191
275
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
192
276
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
193
277
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
@@ -195,31 +279,64 @@ class _RegistryEnterpriseInstanceState:
|
|
|
195
279
|
password: Optional[pulumi.Input[str]] = None,
|
|
196
280
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
197
281
|
period: Optional[pulumi.Input[int]] = None,
|
|
282
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
198
283
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
199
284
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
285
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
200
286
|
status: Optional[pulumi.Input[str]] = None):
|
|
201
287
|
"""
|
|
202
288
|
Input properties used for looking up and filtering RegistryEnterpriseInstance resources.
|
|
203
|
-
:param pulumi.Input[str]
|
|
204
|
-
:param pulumi.Input[str]
|
|
205
|
-
:param pulumi.Input[str]
|
|
206
|
-
:param pulumi.Input[str]
|
|
207
|
-
:param pulumi.Input[str]
|
|
289
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
290
|
+
:param pulumi.Input[str] created_time: . Field 'created_time' has been deprecated from provider version 1.235.0. New field 'create_time' instead.
|
|
291
|
+
:param pulumi.Input[str] custom_oss_bucket: Custom OSS Bucket name
|
|
292
|
+
:param pulumi.Input[str] default_oss_bucket: Whether to use the default OSS Bucket
|
|
293
|
+
:param pulumi.Input[str] end_time: Expiration Time
|
|
294
|
+
:param pulumi.Input[str] image_scanner: Security scan engine
|
|
295
|
+
:param pulumi.Input[str] instance_name: InstanceName
|
|
296
|
+
:param pulumi.Input[str] instance_type: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
297
|
+
|
|
298
|
+
Basic: Basic instance
|
|
299
|
+
|
|
300
|
+
Standard: Standard instance
|
|
301
|
+
|
|
302
|
+
Advanced: Advanced Edition Instance
|
|
208
303
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored.
|
|
209
304
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
210
|
-
:param pulumi.Input[str] password:
|
|
211
|
-
:param pulumi.Input[str] payment_type:
|
|
212
|
-
|
|
213
|
-
:param pulumi.Input[int]
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
305
|
+
:param pulumi.Input[str] password: Permanent access credentials of the instance
|
|
306
|
+
:param pulumi.Input[str] payment_type: Payment type, value:
|
|
307
|
+
- Subscription: Prepaid.
|
|
308
|
+
:param pulumi.Input[int] period: Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
309
|
+
|
|
310
|
+
> **NOTE:** must be set when creating a prepaid instance.
|
|
311
|
+
:param pulumi.Input[str] region_id: RegionId
|
|
312
|
+
:param pulumi.Input[int] renew_period: Automatic renewal cycle, in months.
|
|
313
|
+
|
|
314
|
+
> **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
315
|
+
:param pulumi.Input[str] renewal_status: Automatic renewal status, value:
|
|
316
|
+
- AutoRenewal: automatic renewal.
|
|
317
|
+
- ManualRenewal: manual renewal.
|
|
318
|
+
|
|
319
|
+
Default ManualRenewal.
|
|
320
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
321
|
+
|
|
322
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
323
|
+
:param pulumi.Input[str] status: Instance Status
|
|
324
|
+
"""
|
|
325
|
+
if create_time is not None:
|
|
326
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
327
|
+
if created_time is not None:
|
|
328
|
+
warnings.warn("""Field 'created_time' has been deprecated since provider version 1.235.0. New field 'create_time' instead.""", DeprecationWarning)
|
|
329
|
+
pulumi.log.warn("""created_time is deprecated: Field 'created_time' has been deprecated since provider version 1.235.0. New field 'create_time' instead.""")
|
|
217
330
|
if created_time is not None:
|
|
218
331
|
pulumi.set(__self__, "created_time", created_time)
|
|
219
332
|
if custom_oss_bucket is not None:
|
|
220
333
|
pulumi.set(__self__, "custom_oss_bucket", custom_oss_bucket)
|
|
334
|
+
if default_oss_bucket is not None:
|
|
335
|
+
pulumi.set(__self__, "default_oss_bucket", default_oss_bucket)
|
|
221
336
|
if end_time is not None:
|
|
222
337
|
pulumi.set(__self__, "end_time", end_time)
|
|
338
|
+
if image_scanner is not None:
|
|
339
|
+
pulumi.set(__self__, "image_scanner", image_scanner)
|
|
223
340
|
if instance_name is not None:
|
|
224
341
|
pulumi.set(__self__, "instance_name", instance_name)
|
|
225
342
|
if instance_type is not None:
|
|
@@ -234,18 +351,35 @@ class _RegistryEnterpriseInstanceState:
|
|
|
234
351
|
pulumi.set(__self__, "payment_type", payment_type)
|
|
235
352
|
if period is not None:
|
|
236
353
|
pulumi.set(__self__, "period", period)
|
|
354
|
+
if region_id is not None:
|
|
355
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
237
356
|
if renew_period is not None:
|
|
238
357
|
pulumi.set(__self__, "renew_period", renew_period)
|
|
239
358
|
if renewal_status is not None:
|
|
240
359
|
pulumi.set(__self__, "renewal_status", renewal_status)
|
|
360
|
+
if resource_group_id is not None:
|
|
361
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
241
362
|
if status is not None:
|
|
242
363
|
pulumi.set(__self__, "status", status)
|
|
243
364
|
|
|
365
|
+
@property
|
|
366
|
+
@pulumi.getter(name="createTime")
|
|
367
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
368
|
+
"""
|
|
369
|
+
The creation time of the resource
|
|
370
|
+
"""
|
|
371
|
+
return pulumi.get(self, "create_time")
|
|
372
|
+
|
|
373
|
+
@create_time.setter
|
|
374
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
375
|
+
pulumi.set(self, "create_time", value)
|
|
376
|
+
|
|
244
377
|
@property
|
|
245
378
|
@pulumi.getter(name="createdTime")
|
|
379
|
+
@_utilities.deprecated("""Field 'created_time' has been deprecated since provider version 1.235.0. New field 'create_time' instead.""")
|
|
246
380
|
def created_time(self) -> Optional[pulumi.Input[str]]:
|
|
247
381
|
"""
|
|
248
|
-
|
|
382
|
+
. Field 'created_time' has been deprecated from provider version 1.235.0. New field 'create_time' instead.
|
|
249
383
|
"""
|
|
250
384
|
return pulumi.get(self, "created_time")
|
|
251
385
|
|
|
@@ -257,7 +391,7 @@ class _RegistryEnterpriseInstanceState:
|
|
|
257
391
|
@pulumi.getter(name="customOssBucket")
|
|
258
392
|
def custom_oss_bucket(self) -> Optional[pulumi.Input[str]]:
|
|
259
393
|
"""
|
|
260
|
-
|
|
394
|
+
Custom OSS Bucket name
|
|
261
395
|
"""
|
|
262
396
|
return pulumi.get(self, "custom_oss_bucket")
|
|
263
397
|
|
|
@@ -265,11 +399,23 @@ class _RegistryEnterpriseInstanceState:
|
|
|
265
399
|
def custom_oss_bucket(self, value: Optional[pulumi.Input[str]]):
|
|
266
400
|
pulumi.set(self, "custom_oss_bucket", value)
|
|
267
401
|
|
|
402
|
+
@property
|
|
403
|
+
@pulumi.getter(name="defaultOssBucket")
|
|
404
|
+
def default_oss_bucket(self) -> Optional[pulumi.Input[str]]:
|
|
405
|
+
"""
|
|
406
|
+
Whether to use the default OSS Bucket
|
|
407
|
+
"""
|
|
408
|
+
return pulumi.get(self, "default_oss_bucket")
|
|
409
|
+
|
|
410
|
+
@default_oss_bucket.setter
|
|
411
|
+
def default_oss_bucket(self, value: Optional[pulumi.Input[str]]):
|
|
412
|
+
pulumi.set(self, "default_oss_bucket", value)
|
|
413
|
+
|
|
268
414
|
@property
|
|
269
415
|
@pulumi.getter(name="endTime")
|
|
270
416
|
def end_time(self) -> Optional[pulumi.Input[str]]:
|
|
271
417
|
"""
|
|
272
|
-
Time
|
|
418
|
+
Expiration Time
|
|
273
419
|
"""
|
|
274
420
|
return pulumi.get(self, "end_time")
|
|
275
421
|
|
|
@@ -277,11 +423,23 @@ class _RegistryEnterpriseInstanceState:
|
|
|
277
423
|
def end_time(self, value: Optional[pulumi.Input[str]]):
|
|
278
424
|
pulumi.set(self, "end_time", value)
|
|
279
425
|
|
|
426
|
+
@property
|
|
427
|
+
@pulumi.getter(name="imageScanner")
|
|
428
|
+
def image_scanner(self) -> Optional[pulumi.Input[str]]:
|
|
429
|
+
"""
|
|
430
|
+
Security scan engine
|
|
431
|
+
"""
|
|
432
|
+
return pulumi.get(self, "image_scanner")
|
|
433
|
+
|
|
434
|
+
@image_scanner.setter
|
|
435
|
+
def image_scanner(self, value: Optional[pulumi.Input[str]]):
|
|
436
|
+
pulumi.set(self, "image_scanner", value)
|
|
437
|
+
|
|
280
438
|
@property
|
|
281
439
|
@pulumi.getter(name="instanceName")
|
|
282
440
|
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
|
283
441
|
"""
|
|
284
|
-
|
|
442
|
+
InstanceName
|
|
285
443
|
"""
|
|
286
444
|
return pulumi.get(self, "instance_name")
|
|
287
445
|
|
|
@@ -293,7 +451,13 @@ class _RegistryEnterpriseInstanceState:
|
|
|
293
451
|
@pulumi.getter(name="instanceType")
|
|
294
452
|
def instance_type(self) -> Optional[pulumi.Input[str]]:
|
|
295
453
|
"""
|
|
296
|
-
|
|
454
|
+
The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
455
|
+
|
|
456
|
+
Basic: Basic instance
|
|
457
|
+
|
|
458
|
+
Standard: Standard instance
|
|
459
|
+
|
|
460
|
+
Advanced: Advanced Edition Instance
|
|
297
461
|
"""
|
|
298
462
|
return pulumi.get(self, "instance_type")
|
|
299
463
|
|
|
@@ -329,7 +493,7 @@ class _RegistryEnterpriseInstanceState:
|
|
|
329
493
|
@pulumi.getter
|
|
330
494
|
def password(self) -> Optional[pulumi.Input[str]]:
|
|
331
495
|
"""
|
|
332
|
-
|
|
496
|
+
Permanent access credentials of the instance
|
|
333
497
|
"""
|
|
334
498
|
return pulumi.get(self, "password")
|
|
335
499
|
|
|
@@ -341,7 +505,8 @@ class _RegistryEnterpriseInstanceState:
|
|
|
341
505
|
@pulumi.getter(name="paymentType")
|
|
342
506
|
def payment_type(self) -> Optional[pulumi.Input[str]]:
|
|
343
507
|
"""
|
|
344
|
-
|
|
508
|
+
Payment type, value:
|
|
509
|
+
- Subscription: Prepaid.
|
|
345
510
|
"""
|
|
346
511
|
return pulumi.get(self, "payment_type")
|
|
347
512
|
|
|
@@ -353,7 +518,9 @@ class _RegistryEnterpriseInstanceState:
|
|
|
353
518
|
@pulumi.getter
|
|
354
519
|
def period(self) -> Optional[pulumi.Input[int]]:
|
|
355
520
|
"""
|
|
356
|
-
|
|
521
|
+
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
522
|
+
|
|
523
|
+
> **NOTE:** must be set when creating a prepaid instance.
|
|
357
524
|
"""
|
|
358
525
|
return pulumi.get(self, "period")
|
|
359
526
|
|
|
@@ -361,11 +528,25 @@ class _RegistryEnterpriseInstanceState:
|
|
|
361
528
|
def period(self, value: Optional[pulumi.Input[int]]):
|
|
362
529
|
pulumi.set(self, "period", value)
|
|
363
530
|
|
|
531
|
+
@property
|
|
532
|
+
@pulumi.getter(name="regionId")
|
|
533
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
534
|
+
"""
|
|
535
|
+
RegionId
|
|
536
|
+
"""
|
|
537
|
+
return pulumi.get(self, "region_id")
|
|
538
|
+
|
|
539
|
+
@region_id.setter
|
|
540
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
541
|
+
pulumi.set(self, "region_id", value)
|
|
542
|
+
|
|
364
543
|
@property
|
|
365
544
|
@pulumi.getter(name="renewPeriod")
|
|
366
545
|
def renew_period(self) -> Optional[pulumi.Input[int]]:
|
|
367
546
|
"""
|
|
368
|
-
|
|
547
|
+
Automatic renewal cycle, in months.
|
|
548
|
+
|
|
549
|
+
> **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
369
550
|
"""
|
|
370
551
|
return pulumi.get(self, "renew_period")
|
|
371
552
|
|
|
@@ -377,7 +558,11 @@ class _RegistryEnterpriseInstanceState:
|
|
|
377
558
|
@pulumi.getter(name="renewalStatus")
|
|
378
559
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
379
560
|
"""
|
|
380
|
-
|
|
561
|
+
Automatic renewal status, value:
|
|
562
|
+
- AutoRenewal: automatic renewal.
|
|
563
|
+
- ManualRenewal: manual renewal.
|
|
564
|
+
|
|
565
|
+
Default ManualRenewal.
|
|
381
566
|
"""
|
|
382
567
|
return pulumi.get(self, "renewal_status")
|
|
383
568
|
|
|
@@ -385,11 +570,25 @@ class _RegistryEnterpriseInstanceState:
|
|
|
385
570
|
def renewal_status(self, value: Optional[pulumi.Input[str]]):
|
|
386
571
|
pulumi.set(self, "renewal_status", value)
|
|
387
572
|
|
|
573
|
+
@property
|
|
574
|
+
@pulumi.getter(name="resourceGroupId")
|
|
575
|
+
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
576
|
+
"""
|
|
577
|
+
The ID of the resource group
|
|
578
|
+
|
|
579
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
580
|
+
"""
|
|
581
|
+
return pulumi.get(self, "resource_group_id")
|
|
582
|
+
|
|
583
|
+
@resource_group_id.setter
|
|
584
|
+
def resource_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
585
|
+
pulumi.set(self, "resource_group_id", value)
|
|
586
|
+
|
|
388
587
|
@property
|
|
389
588
|
@pulumi.getter
|
|
390
589
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
391
590
|
"""
|
|
392
|
-
Status
|
|
591
|
+
Instance Status
|
|
393
592
|
"""
|
|
394
593
|
return pulumi.get(self, "status")
|
|
395
594
|
|
|
@@ -404,6 +603,8 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
404
603
|
resource_name: str,
|
|
405
604
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
406
605
|
custom_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
606
|
+
default_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
607
|
+
image_scanner: Optional[pulumi.Input[str]] = None,
|
|
407
608
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
408
609
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
409
610
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
@@ -413,28 +614,80 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
413
614
|
period: Optional[pulumi.Input[int]] = None,
|
|
414
615
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
415
616
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
617
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
416
618
|
__props__=None):
|
|
417
619
|
"""
|
|
620
|
+
Provides a CR Instance resource.
|
|
621
|
+
|
|
622
|
+
For information about Container Registry Enterprise Edition instances and how to use it, see [Create a Instance](https://www.alibabacloud.com/help/en/doc-detail/208144.htm)
|
|
623
|
+
|
|
624
|
+
> **NOTE:** Available since v1.124.0.
|
|
625
|
+
|
|
626
|
+
## Example Usage
|
|
627
|
+
|
|
628
|
+
Basic Usage
|
|
629
|
+
|
|
630
|
+
```python
|
|
631
|
+
import pulumi
|
|
632
|
+
import pulumi_alicloud as alicloud
|
|
633
|
+
import pulumi_random as random
|
|
634
|
+
|
|
635
|
+
config = pulumi.Config()
|
|
636
|
+
name = config.get("name")
|
|
637
|
+
if name is None:
|
|
638
|
+
name = "terraform-example"
|
|
639
|
+
default = random.index.Integer("default",
|
|
640
|
+
min=10000000,
|
|
641
|
+
max=99999999)
|
|
642
|
+
default_registry_enterprise_instance = alicloud.cr.RegistryEnterpriseInstance("default",
|
|
643
|
+
payment_type="Subscription",
|
|
644
|
+
period=1,
|
|
645
|
+
renew_period=0,
|
|
646
|
+
renewal_status="ManualRenewal",
|
|
647
|
+
instance_type="Advanced",
|
|
648
|
+
instance_name=f"{name}-{default['result']}")
|
|
649
|
+
```
|
|
650
|
+
|
|
418
651
|
## Import
|
|
419
652
|
|
|
420
|
-
|
|
653
|
+
CR Instance can be imported using the id, e.g.
|
|
421
654
|
|
|
422
655
|
```sh
|
|
423
|
-
$ pulumi import alicloud:cr/registryEnterpriseInstance:RegistryEnterpriseInstance
|
|
656
|
+
$ pulumi import alicloud:cr/registryEnterpriseInstance:RegistryEnterpriseInstance example <id>
|
|
424
657
|
```
|
|
425
658
|
|
|
426
659
|
:param str resource_name: The name of the resource.
|
|
427
660
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
428
|
-
:param pulumi.Input[str] custom_oss_bucket:
|
|
429
|
-
:param pulumi.Input[str]
|
|
430
|
-
:param pulumi.Input[str]
|
|
661
|
+
:param pulumi.Input[str] custom_oss_bucket: Custom OSS Bucket name
|
|
662
|
+
:param pulumi.Input[str] default_oss_bucket: Whether to use the default OSS Bucket
|
|
663
|
+
:param pulumi.Input[str] image_scanner: Security scan engine
|
|
664
|
+
:param pulumi.Input[str] instance_name: InstanceName
|
|
665
|
+
:param pulumi.Input[str] instance_type: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
666
|
+
|
|
667
|
+
Basic: Basic instance
|
|
668
|
+
|
|
669
|
+
Standard: Standard instance
|
|
670
|
+
|
|
671
|
+
Advanced: Advanced Edition Instance
|
|
431
672
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored.
|
|
432
673
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
433
|
-
:param pulumi.Input[str] password:
|
|
434
|
-
:param pulumi.Input[str] payment_type:
|
|
435
|
-
|
|
436
|
-
:param pulumi.Input[int]
|
|
437
|
-
|
|
674
|
+
:param pulumi.Input[str] password: Permanent access credentials of the instance
|
|
675
|
+
:param pulumi.Input[str] payment_type: Payment type, value:
|
|
676
|
+
- Subscription: Prepaid.
|
|
677
|
+
:param pulumi.Input[int] period: Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
678
|
+
|
|
679
|
+
> **NOTE:** must be set when creating a prepaid instance.
|
|
680
|
+
:param pulumi.Input[int] renew_period: Automatic renewal cycle, in months.
|
|
681
|
+
|
|
682
|
+
> **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
683
|
+
:param pulumi.Input[str] renewal_status: Automatic renewal status, value:
|
|
684
|
+
- AutoRenewal: automatic renewal.
|
|
685
|
+
- ManualRenewal: manual renewal.
|
|
686
|
+
|
|
687
|
+
Default ManualRenewal.
|
|
688
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
689
|
+
|
|
690
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
438
691
|
"""
|
|
439
692
|
...
|
|
440
693
|
@overload
|
|
@@ -443,12 +696,43 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
443
696
|
args: RegistryEnterpriseInstanceArgs,
|
|
444
697
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
445
698
|
"""
|
|
699
|
+
Provides a CR Instance resource.
|
|
700
|
+
|
|
701
|
+
For information about Container Registry Enterprise Edition instances and how to use it, see [Create a Instance](https://www.alibabacloud.com/help/en/doc-detail/208144.htm)
|
|
702
|
+
|
|
703
|
+
> **NOTE:** Available since v1.124.0.
|
|
704
|
+
|
|
705
|
+
## Example Usage
|
|
706
|
+
|
|
707
|
+
Basic Usage
|
|
708
|
+
|
|
709
|
+
```python
|
|
710
|
+
import pulumi
|
|
711
|
+
import pulumi_alicloud as alicloud
|
|
712
|
+
import pulumi_random as random
|
|
713
|
+
|
|
714
|
+
config = pulumi.Config()
|
|
715
|
+
name = config.get("name")
|
|
716
|
+
if name is None:
|
|
717
|
+
name = "terraform-example"
|
|
718
|
+
default = random.index.Integer("default",
|
|
719
|
+
min=10000000,
|
|
720
|
+
max=99999999)
|
|
721
|
+
default_registry_enterprise_instance = alicloud.cr.RegistryEnterpriseInstance("default",
|
|
722
|
+
payment_type="Subscription",
|
|
723
|
+
period=1,
|
|
724
|
+
renew_period=0,
|
|
725
|
+
renewal_status="ManualRenewal",
|
|
726
|
+
instance_type="Advanced",
|
|
727
|
+
instance_name=f"{name}-{default['result']}")
|
|
728
|
+
```
|
|
729
|
+
|
|
446
730
|
## Import
|
|
447
731
|
|
|
448
|
-
|
|
732
|
+
CR Instance can be imported using the id, e.g.
|
|
449
733
|
|
|
450
734
|
```sh
|
|
451
|
-
$ pulumi import alicloud:cr/registryEnterpriseInstance:RegistryEnterpriseInstance
|
|
735
|
+
$ pulumi import alicloud:cr/registryEnterpriseInstance:RegistryEnterpriseInstance example <id>
|
|
452
736
|
```
|
|
453
737
|
|
|
454
738
|
:param str resource_name: The name of the resource.
|
|
@@ -467,6 +751,8 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
467
751
|
resource_name: str,
|
|
468
752
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
469
753
|
custom_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
754
|
+
default_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
755
|
+
image_scanner: Optional[pulumi.Input[str]] = None,
|
|
470
756
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
471
757
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
472
758
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
@@ -476,6 +762,7 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
476
762
|
period: Optional[pulumi.Input[int]] = None,
|
|
477
763
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
478
764
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
765
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
479
766
|
__props__=None):
|
|
480
767
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
481
768
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -486,6 +773,8 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
486
773
|
__props__ = RegistryEnterpriseInstanceArgs.__new__(RegistryEnterpriseInstanceArgs)
|
|
487
774
|
|
|
488
775
|
__props__.__dict__["custom_oss_bucket"] = custom_oss_bucket
|
|
776
|
+
__props__.__dict__["default_oss_bucket"] = default_oss_bucket
|
|
777
|
+
__props__.__dict__["image_scanner"] = image_scanner
|
|
489
778
|
if instance_name is None and not opts.urn:
|
|
490
779
|
raise TypeError("Missing required property 'instance_name'")
|
|
491
780
|
__props__.__dict__["instance_name"] = instance_name
|
|
@@ -495,12 +784,17 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
495
784
|
__props__.__dict__["kms_encrypted_password"] = kms_encrypted_password
|
|
496
785
|
__props__.__dict__["kms_encryption_context"] = kms_encryption_context
|
|
497
786
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
787
|
+
if payment_type is None and not opts.urn:
|
|
788
|
+
raise TypeError("Missing required property 'payment_type'")
|
|
498
789
|
__props__.__dict__["payment_type"] = payment_type
|
|
499
790
|
__props__.__dict__["period"] = period
|
|
500
791
|
__props__.__dict__["renew_period"] = renew_period
|
|
501
792
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
793
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
794
|
+
__props__.__dict__["create_time"] = None
|
|
502
795
|
__props__.__dict__["created_time"] = None
|
|
503
796
|
__props__.__dict__["end_time"] = None
|
|
797
|
+
__props__.__dict__["region_id"] = None
|
|
504
798
|
__props__.__dict__["status"] = None
|
|
505
799
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
506
800
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
@@ -514,9 +808,12 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
514
808
|
def get(resource_name: str,
|
|
515
809
|
id: pulumi.Input[str],
|
|
516
810
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
811
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
517
812
|
created_time: Optional[pulumi.Input[str]] = None,
|
|
518
813
|
custom_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
814
|
+
default_oss_bucket: Optional[pulumi.Input[str]] = None,
|
|
519
815
|
end_time: Optional[pulumi.Input[str]] = None,
|
|
816
|
+
image_scanner: Optional[pulumi.Input[str]] = None,
|
|
520
817
|
instance_name: Optional[pulumi.Input[str]] = None,
|
|
521
818
|
instance_type: Optional[pulumi.Input[str]] = None,
|
|
522
819
|
kms_encrypted_password: Optional[pulumi.Input[str]] = None,
|
|
@@ -524,8 +821,10 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
524
821
|
password: Optional[pulumi.Input[str]] = None,
|
|
525
822
|
payment_type: Optional[pulumi.Input[str]] = None,
|
|
526
823
|
period: Optional[pulumi.Input[int]] = None,
|
|
824
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
527
825
|
renew_period: Optional[pulumi.Input[int]] = None,
|
|
528
826
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
827
|
+
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
529
828
|
status: Optional[pulumi.Input[str]] = None) -> 'RegistryEnterpriseInstance':
|
|
530
829
|
"""
|
|
531
830
|
Get an existing RegistryEnterpriseInstance resource's state with the given name, id, and optional extra
|
|
@@ -534,27 +833,52 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
534
833
|
:param str resource_name: The unique name of the resulting resource.
|
|
535
834
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
536
835
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
537
|
-
:param pulumi.Input[str]
|
|
538
|
-
:param pulumi.Input[str]
|
|
539
|
-
:param pulumi.Input[str]
|
|
540
|
-
:param pulumi.Input[str]
|
|
541
|
-
:param pulumi.Input[str]
|
|
836
|
+
:param pulumi.Input[str] create_time: The creation time of the resource
|
|
837
|
+
:param pulumi.Input[str] created_time: . Field 'created_time' has been deprecated from provider version 1.235.0. New field 'create_time' instead.
|
|
838
|
+
:param pulumi.Input[str] custom_oss_bucket: Custom OSS Bucket name
|
|
839
|
+
:param pulumi.Input[str] default_oss_bucket: Whether to use the default OSS Bucket
|
|
840
|
+
:param pulumi.Input[str] end_time: Expiration Time
|
|
841
|
+
:param pulumi.Input[str] image_scanner: Security scan engine
|
|
842
|
+
:param pulumi.Input[str] instance_name: InstanceName
|
|
843
|
+
:param pulumi.Input[str] instance_type: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
844
|
+
|
|
845
|
+
Basic: Basic instance
|
|
846
|
+
|
|
847
|
+
Standard: Standard instance
|
|
848
|
+
|
|
849
|
+
Advanced: Advanced Edition Instance
|
|
542
850
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to an instance. If the `password` is filled in, this field will be ignored.
|
|
543
851
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
544
|
-
:param pulumi.Input[str] password:
|
|
545
|
-
:param pulumi.Input[str] payment_type:
|
|
546
|
-
|
|
547
|
-
:param pulumi.Input[int]
|
|
548
|
-
|
|
549
|
-
|
|
852
|
+
:param pulumi.Input[str] password: Permanent access credentials of the instance
|
|
853
|
+
:param pulumi.Input[str] payment_type: Payment type, value:
|
|
854
|
+
- Subscription: Prepaid.
|
|
855
|
+
:param pulumi.Input[int] period: Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
856
|
+
|
|
857
|
+
> **NOTE:** must be set when creating a prepaid instance.
|
|
858
|
+
:param pulumi.Input[str] region_id: RegionId
|
|
859
|
+
:param pulumi.Input[int] renew_period: Automatic renewal cycle, in months.
|
|
860
|
+
|
|
861
|
+
> **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
862
|
+
:param pulumi.Input[str] renewal_status: Automatic renewal status, value:
|
|
863
|
+
- AutoRenewal: automatic renewal.
|
|
864
|
+
- ManualRenewal: manual renewal.
|
|
865
|
+
|
|
866
|
+
Default ManualRenewal.
|
|
867
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group
|
|
868
|
+
|
|
869
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
870
|
+
:param pulumi.Input[str] status: Instance Status
|
|
550
871
|
"""
|
|
551
872
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
552
873
|
|
|
553
874
|
__props__ = _RegistryEnterpriseInstanceState.__new__(_RegistryEnterpriseInstanceState)
|
|
554
875
|
|
|
876
|
+
__props__.__dict__["create_time"] = create_time
|
|
555
877
|
__props__.__dict__["created_time"] = created_time
|
|
556
878
|
__props__.__dict__["custom_oss_bucket"] = custom_oss_bucket
|
|
879
|
+
__props__.__dict__["default_oss_bucket"] = default_oss_bucket
|
|
557
880
|
__props__.__dict__["end_time"] = end_time
|
|
881
|
+
__props__.__dict__["image_scanner"] = image_scanner
|
|
558
882
|
__props__.__dict__["instance_name"] = instance_name
|
|
559
883
|
__props__.__dict__["instance_type"] = instance_type
|
|
560
884
|
__props__.__dict__["kms_encrypted_password"] = kms_encrypted_password
|
|
@@ -562,16 +886,27 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
562
886
|
__props__.__dict__["password"] = password
|
|
563
887
|
__props__.__dict__["payment_type"] = payment_type
|
|
564
888
|
__props__.__dict__["period"] = period
|
|
889
|
+
__props__.__dict__["region_id"] = region_id
|
|
565
890
|
__props__.__dict__["renew_period"] = renew_period
|
|
566
891
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
892
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
567
893
|
__props__.__dict__["status"] = status
|
|
568
894
|
return RegistryEnterpriseInstance(resource_name, opts=opts, __props__=__props__)
|
|
569
895
|
|
|
896
|
+
@property
|
|
897
|
+
@pulumi.getter(name="createTime")
|
|
898
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
899
|
+
"""
|
|
900
|
+
The creation time of the resource
|
|
901
|
+
"""
|
|
902
|
+
return pulumi.get(self, "create_time")
|
|
903
|
+
|
|
570
904
|
@property
|
|
571
905
|
@pulumi.getter(name="createdTime")
|
|
906
|
+
@_utilities.deprecated("""Field 'created_time' has been deprecated since provider version 1.235.0. New field 'create_time' instead.""")
|
|
572
907
|
def created_time(self) -> pulumi.Output[str]:
|
|
573
908
|
"""
|
|
574
|
-
|
|
909
|
+
. Field 'created_time' has been deprecated from provider version 1.235.0. New field 'create_time' instead.
|
|
575
910
|
"""
|
|
576
911
|
return pulumi.get(self, "created_time")
|
|
577
912
|
|
|
@@ -579,23 +914,39 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
579
914
|
@pulumi.getter(name="customOssBucket")
|
|
580
915
|
def custom_oss_bucket(self) -> pulumi.Output[Optional[str]]:
|
|
581
916
|
"""
|
|
582
|
-
|
|
917
|
+
Custom OSS Bucket name
|
|
583
918
|
"""
|
|
584
919
|
return pulumi.get(self, "custom_oss_bucket")
|
|
585
920
|
|
|
921
|
+
@property
|
|
922
|
+
@pulumi.getter(name="defaultOssBucket")
|
|
923
|
+
def default_oss_bucket(self) -> pulumi.Output[Optional[str]]:
|
|
924
|
+
"""
|
|
925
|
+
Whether to use the default OSS Bucket
|
|
926
|
+
"""
|
|
927
|
+
return pulumi.get(self, "default_oss_bucket")
|
|
928
|
+
|
|
586
929
|
@property
|
|
587
930
|
@pulumi.getter(name="endTime")
|
|
588
931
|
def end_time(self) -> pulumi.Output[str]:
|
|
589
932
|
"""
|
|
590
|
-
Time
|
|
933
|
+
Expiration Time
|
|
591
934
|
"""
|
|
592
935
|
return pulumi.get(self, "end_time")
|
|
593
936
|
|
|
937
|
+
@property
|
|
938
|
+
@pulumi.getter(name="imageScanner")
|
|
939
|
+
def image_scanner(self) -> pulumi.Output[Optional[str]]:
|
|
940
|
+
"""
|
|
941
|
+
Security scan engine
|
|
942
|
+
"""
|
|
943
|
+
return pulumi.get(self, "image_scanner")
|
|
944
|
+
|
|
594
945
|
@property
|
|
595
946
|
@pulumi.getter(name="instanceName")
|
|
596
947
|
def instance_name(self) -> pulumi.Output[str]:
|
|
597
948
|
"""
|
|
598
|
-
|
|
949
|
+
InstanceName
|
|
599
950
|
"""
|
|
600
951
|
return pulumi.get(self, "instance_name")
|
|
601
952
|
|
|
@@ -603,7 +954,13 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
603
954
|
@pulumi.getter(name="instanceType")
|
|
604
955
|
def instance_type(self) -> pulumi.Output[str]:
|
|
605
956
|
"""
|
|
606
|
-
|
|
957
|
+
The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. Valid values:
|
|
958
|
+
|
|
959
|
+
Basic: Basic instance
|
|
960
|
+
|
|
961
|
+
Standard: Standard instance
|
|
962
|
+
|
|
963
|
+
Advanced: Advanced Edition Instance
|
|
607
964
|
"""
|
|
608
965
|
return pulumi.get(self, "instance_type")
|
|
609
966
|
|
|
@@ -627,15 +984,16 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
627
984
|
@pulumi.getter
|
|
628
985
|
def password(self) -> pulumi.Output[Optional[str]]:
|
|
629
986
|
"""
|
|
630
|
-
|
|
987
|
+
Permanent access credentials of the instance
|
|
631
988
|
"""
|
|
632
989
|
return pulumi.get(self, "password")
|
|
633
990
|
|
|
634
991
|
@property
|
|
635
992
|
@pulumi.getter(name="paymentType")
|
|
636
|
-
def payment_type(self) -> pulumi.Output[
|
|
993
|
+
def payment_type(self) -> pulumi.Output[str]:
|
|
637
994
|
"""
|
|
638
|
-
|
|
995
|
+
Payment type, value:
|
|
996
|
+
- Subscription: Prepaid.
|
|
639
997
|
"""
|
|
640
998
|
return pulumi.get(self, "payment_type")
|
|
641
999
|
|
|
@@ -643,31 +1001,57 @@ class RegistryEnterpriseInstance(pulumi.CustomResource):
|
|
|
643
1001
|
@pulumi.getter
|
|
644
1002
|
def period(self) -> pulumi.Output[Optional[int]]:
|
|
645
1003
|
"""
|
|
646
|
-
|
|
1004
|
+
Prepaid cycle. The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
|
|
1005
|
+
|
|
1006
|
+
> **NOTE:** must be set when creating a prepaid instance.
|
|
647
1007
|
"""
|
|
648
1008
|
return pulumi.get(self, "period")
|
|
649
1009
|
|
|
1010
|
+
@property
|
|
1011
|
+
@pulumi.getter(name="regionId")
|
|
1012
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
1013
|
+
"""
|
|
1014
|
+
RegionId
|
|
1015
|
+
"""
|
|
1016
|
+
return pulumi.get(self, "region_id")
|
|
1017
|
+
|
|
650
1018
|
@property
|
|
651
1019
|
@pulumi.getter(name="renewPeriod")
|
|
652
1020
|
def renew_period(self) -> pulumi.Output[Optional[int]]:
|
|
653
1021
|
"""
|
|
654
|
-
|
|
1022
|
+
Automatic renewal cycle, in months.
|
|
1023
|
+
|
|
1024
|
+
> **NOTE:** When `RenewalStatus` is set to `AutoRenewal`, it must be set.
|
|
655
1025
|
"""
|
|
656
1026
|
return pulumi.get(self, "renew_period")
|
|
657
1027
|
|
|
658
1028
|
@property
|
|
659
1029
|
@pulumi.getter(name="renewalStatus")
|
|
660
|
-
def renewal_status(self) -> pulumi.Output[
|
|
1030
|
+
def renewal_status(self) -> pulumi.Output[str]:
|
|
661
1031
|
"""
|
|
662
|
-
|
|
1032
|
+
Automatic renewal status, value:
|
|
1033
|
+
- AutoRenewal: automatic renewal.
|
|
1034
|
+
- ManualRenewal: manual renewal.
|
|
1035
|
+
|
|
1036
|
+
Default ManualRenewal.
|
|
663
1037
|
"""
|
|
664
1038
|
return pulumi.get(self, "renewal_status")
|
|
665
1039
|
|
|
1040
|
+
@property
|
|
1041
|
+
@pulumi.getter(name="resourceGroupId")
|
|
1042
|
+
def resource_group_id(self) -> pulumi.Output[str]:
|
|
1043
|
+
"""
|
|
1044
|
+
The ID of the resource group
|
|
1045
|
+
|
|
1046
|
+
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
1047
|
+
"""
|
|
1048
|
+
return pulumi.get(self, "resource_group_id")
|
|
1049
|
+
|
|
666
1050
|
@property
|
|
667
1051
|
@pulumi.getter
|
|
668
1052
|
def status(self) -> pulumi.Output[str]:
|
|
669
1053
|
"""
|
|
670
|
-
Status
|
|
1054
|
+
Instance Status
|
|
671
1055
|
"""
|
|
672
1056
|
return pulumi.get(self, "status")
|
|
673
1057
|
|