pulumi-alicloud 3.63.0__py3-none-any.whl → 3.63.0a1726032285__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +0 -24
- pulumi_alicloud/alb/acl.py +19 -18
- pulumi_alicloud/alb/health_check_template.py +88 -96
- pulumi_alicloud/amqp/binding.py +36 -30
- pulumi_alicloud/cen/_inputs.py +14 -180
- pulumi_alicloud/cen/outputs.py +12 -173
- pulumi_alicloud/cen/traffic_marking_policy.py +53 -116
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +119 -338
- pulumi_alicloud/cms/_inputs.py +6 -6
- pulumi_alicloud/cms/outputs.py +6 -6
- pulumi_alicloud/cr/chart_namespace.py +6 -14
- pulumi_alicloud/cr/endpoint_acl_policy.py +2 -10
- pulumi_alicloud/cr/namespace.py +2 -10
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/_inputs.py +9 -8
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ddos/domain_resource.py +90 -446
- pulumi_alicloud/ddos/outputs.py +8 -7
- pulumi_alicloud/eci/container_group.py +0 -47
- pulumi_alicloud/ecs/_inputs.py +0 -28
- pulumi_alicloud/ecs/ecs_snapshot.py +77 -199
- pulumi_alicloud/ecs/outputs.py +0 -20
- pulumi_alicloud/ecs/snapshot.py +8 -26
- pulumi_alicloud/emrv2/_inputs.py +12 -12
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +2 -50
- pulumi_alicloud/ens/instance.py +184 -428
- pulumi_alicloud/ens/outputs.py +2 -57
- pulumi_alicloud/ess/__init__.py +0 -1
- pulumi_alicloud/ess/alarm.py +0 -47
- pulumi_alicloud/expressconnect/physical_connection.py +185 -321
- pulumi_alicloud/fc/trigger.py +24 -22
- pulumi_alicloud/ga/_inputs.py +5 -23
- pulumi_alicloud/ga/endpoint_group.py +14 -68
- pulumi_alicloud/ga/outputs.py +5 -21
- pulumi_alicloud/governance/account.py +0 -61
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/gpdb/_inputs.py +3 -361
- pulumi_alicloud/gpdb/instance.py +0 -47
- pulumi_alicloud/gpdb/outputs.py +4 -597
- pulumi_alicloud/mongodb/instance.py +0 -94
- pulumi_alicloud/nlb/_inputs.py +64 -120
- pulumi_alicloud/nlb/get_listeners.py +2 -32
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +2 -8
- pulumi_alicloud/nlb/listener.py +245 -315
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +212 -297
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +39 -29
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +18 -22
- pulumi_alicloud/nlb/outputs.py +66 -122
- pulumi_alicloud/nlb/security_policy.py +25 -53
- pulumi_alicloud/nlb/server_group.py +133 -196
- pulumi_alicloud/ocean/base_instance.py +163 -498
- pulumi_alicloud/oos/get_secret_parameters.py +9 -111
- pulumi_alicloud/oos/outputs.py +11 -22
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_account_alias.py +2 -35
- pulumi_alicloud/rds/instance.py +21 -21
- pulumi_alicloud/rocketmq/_inputs.py +22 -79
- pulumi_alicloud/rocketmq/outputs.py +21 -85
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +113 -307
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +59 -127
- pulumi_alicloud/vpc/peer_connection_accepter.py +42 -263
- pulumi_alicloud/vpc/route_entry.py +210 -232
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/RECORD +70 -75
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ess/server_group_attachment.py +0 -552
- pulumi_alicloud/gpdb/db_instance_ip_array.py +0 -533
- pulumi_alicloud/gpdb/get_data_backups.py +0 -288
- pulumi_alicloud/gpdb/get_log_backups.py +0 -225
- pulumi_alicloud/gpdb/streaming_job.py +0 -1568
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/top_level.txt +0 -0
pulumi_alicloud/cms/_inputs.py
CHANGED
|
@@ -226,7 +226,7 @@ class AlarmEscalationsCriticalArgs:
|
|
|
226
226
|
threshold: Optional[pulumi.Input[str]] = None,
|
|
227
227
|
times: Optional[pulumi.Input[int]] = None):
|
|
228
228
|
"""
|
|
229
|
-
:param pulumi.Input[str] comparison_operator: Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
229
|
+
:param pulumi.Input[str] comparison_operator: Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
230
230
|
:param pulumi.Input[str] statistics: Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
231
231
|
:param pulumi.Input[str] threshold: Critical level alarm threshold value, which must be a numeric value currently.
|
|
232
232
|
:param pulumi.Input[int] times: Critical level alarm retry times. Default value: `3`.
|
|
@@ -244,7 +244,7 @@ class AlarmEscalationsCriticalArgs:
|
|
|
244
244
|
@pulumi.getter(name="comparisonOperator")
|
|
245
245
|
def comparison_operator(self) -> Optional[pulumi.Input[str]]:
|
|
246
246
|
"""
|
|
247
|
-
Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
247
|
+
Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
248
248
|
"""
|
|
249
249
|
return pulumi.get(self, "comparison_operator")
|
|
250
250
|
|
|
@@ -297,7 +297,7 @@ class AlarmEscalationsInfoArgs:
|
|
|
297
297
|
threshold: Optional[pulumi.Input[str]] = None,
|
|
298
298
|
times: Optional[pulumi.Input[int]] = None):
|
|
299
299
|
"""
|
|
300
|
-
:param pulumi.Input[str] comparison_operator: Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
300
|
+
:param pulumi.Input[str] comparison_operator: Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
301
301
|
:param pulumi.Input[str] statistics: Info level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
302
302
|
:param pulumi.Input[str] threshold: Info level alarm threshold value, which must be a numeric value currently.
|
|
303
303
|
:param pulumi.Input[int] times: Info level alarm retry times. Default value: `3`.
|
|
@@ -315,7 +315,7 @@ class AlarmEscalationsInfoArgs:
|
|
|
315
315
|
@pulumi.getter(name="comparisonOperator")
|
|
316
316
|
def comparison_operator(self) -> Optional[pulumi.Input[str]]:
|
|
317
317
|
"""
|
|
318
|
-
Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
318
|
+
Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
319
319
|
"""
|
|
320
320
|
return pulumi.get(self, "comparison_operator")
|
|
321
321
|
|
|
@@ -368,7 +368,7 @@ class AlarmEscalationsWarnArgs:
|
|
|
368
368
|
threshold: Optional[pulumi.Input[str]] = None,
|
|
369
369
|
times: Optional[pulumi.Input[int]] = None):
|
|
370
370
|
"""
|
|
371
|
-
:param pulumi.Input[str] comparison_operator: Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
371
|
+
:param pulumi.Input[str] comparison_operator: Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
372
372
|
:param pulumi.Input[str] statistics: Warn level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
373
373
|
:param pulumi.Input[str] threshold: Warn level alarm threshold value, which must be a numeric value currently.
|
|
374
374
|
:param pulumi.Input[int] times: Warn level alarm retry times. Default value: `3`.
|
|
@@ -386,7 +386,7 @@ class AlarmEscalationsWarnArgs:
|
|
|
386
386
|
@pulumi.getter(name="comparisonOperator")
|
|
387
387
|
def comparison_operator(self) -> Optional[pulumi.Input[str]]:
|
|
388
388
|
"""
|
|
389
|
-
Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
389
|
+
Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
390
390
|
"""
|
|
391
391
|
return pulumi.get(self, "comparison_operator")
|
|
392
392
|
|
pulumi_alicloud/cms/outputs.py
CHANGED
|
@@ -284,7 +284,7 @@ class AlarmEscalationsCritical(dict):
|
|
|
284
284
|
threshold: Optional[str] = None,
|
|
285
285
|
times: Optional[int] = None):
|
|
286
286
|
"""
|
|
287
|
-
:param str comparison_operator: Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
287
|
+
:param str comparison_operator: Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
288
288
|
:param str statistics: Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
289
289
|
:param str threshold: Critical level alarm threshold value, which must be a numeric value currently.
|
|
290
290
|
:param int times: Critical level alarm retry times. Default value: `3`.
|
|
@@ -302,7 +302,7 @@ class AlarmEscalationsCritical(dict):
|
|
|
302
302
|
@pulumi.getter(name="comparisonOperator")
|
|
303
303
|
def comparison_operator(self) -> Optional[str]:
|
|
304
304
|
"""
|
|
305
|
-
Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
305
|
+
Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
306
306
|
"""
|
|
307
307
|
return pulumi.get(self, "comparison_operator")
|
|
308
308
|
|
|
@@ -356,7 +356,7 @@ class AlarmEscalationsInfo(dict):
|
|
|
356
356
|
threshold: Optional[str] = None,
|
|
357
357
|
times: Optional[int] = None):
|
|
358
358
|
"""
|
|
359
|
-
:param str comparison_operator: Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
359
|
+
:param str comparison_operator: Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
360
360
|
:param str statistics: Info level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
361
361
|
:param str threshold: Info level alarm threshold value, which must be a numeric value currently.
|
|
362
362
|
:param int times: Info level alarm retry times. Default value: `3`.
|
|
@@ -374,7 +374,7 @@ class AlarmEscalationsInfo(dict):
|
|
|
374
374
|
@pulumi.getter(name="comparisonOperator")
|
|
375
375
|
def comparison_operator(self) -> Optional[str]:
|
|
376
376
|
"""
|
|
377
|
-
Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
377
|
+
Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
378
378
|
"""
|
|
379
379
|
return pulumi.get(self, "comparison_operator")
|
|
380
380
|
|
|
@@ -428,7 +428,7 @@ class AlarmEscalationsWarn(dict):
|
|
|
428
428
|
threshold: Optional[str] = None,
|
|
429
429
|
times: Optional[int] = None):
|
|
430
430
|
"""
|
|
431
|
-
:param str comparison_operator: Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
431
|
+
:param str comparison_operator: Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
432
432
|
:param str statistics: Warn level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
|
|
433
433
|
:param str threshold: Warn level alarm threshold value, which must be a numeric value currently.
|
|
434
434
|
:param int times: Warn level alarm retry times. Default value: `3`.
|
|
@@ -446,7 +446,7 @@ class AlarmEscalationsWarn(dict):
|
|
|
446
446
|
@pulumi.getter(name="comparisonOperator")
|
|
447
447
|
def comparison_operator(self) -> Optional[str]:
|
|
448
448
|
"""
|
|
449
|
-
Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`,
|
|
449
|
+
Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
|
|
450
450
|
"""
|
|
451
451
|
return pulumi.get(self, "comparison_operator")
|
|
452
452
|
|
|
@@ -177,25 +177,21 @@ class ChartNamespace(pulumi.CustomResource):
|
|
|
177
177
|
```python
|
|
178
178
|
import pulumi
|
|
179
179
|
import pulumi_alicloud as alicloud
|
|
180
|
-
import pulumi_random as random
|
|
181
180
|
|
|
182
181
|
config = pulumi.Config()
|
|
183
182
|
name = config.get("name")
|
|
184
183
|
if name is None:
|
|
185
|
-
name = "
|
|
186
|
-
default = random.index.Integer("default",
|
|
187
|
-
min=10000000,
|
|
188
|
-
max=99999999)
|
|
184
|
+
name = "example-name"
|
|
189
185
|
example = alicloud.cr.RegistryEnterpriseInstance("example",
|
|
190
186
|
payment_type="Subscription",
|
|
191
187
|
period=1,
|
|
192
188
|
renew_period=0,
|
|
193
189
|
renewal_status="ManualRenewal",
|
|
194
190
|
instance_type="Advanced",
|
|
195
|
-
instance_name=
|
|
191
|
+
instance_name=name)
|
|
196
192
|
example_chart_namespace = alicloud.cr.ChartNamespace("example",
|
|
197
193
|
instance_id=example.id,
|
|
198
|
-
namespace_name=
|
|
194
|
+
namespace_name=name)
|
|
199
195
|
```
|
|
200
196
|
|
|
201
197
|
## Import
|
|
@@ -233,25 +229,21 @@ class ChartNamespace(pulumi.CustomResource):
|
|
|
233
229
|
```python
|
|
234
230
|
import pulumi
|
|
235
231
|
import pulumi_alicloud as alicloud
|
|
236
|
-
import pulumi_random as random
|
|
237
232
|
|
|
238
233
|
config = pulumi.Config()
|
|
239
234
|
name = config.get("name")
|
|
240
235
|
if name is None:
|
|
241
|
-
name = "
|
|
242
|
-
default = random.index.Integer("default",
|
|
243
|
-
min=10000000,
|
|
244
|
-
max=99999999)
|
|
236
|
+
name = "example-name"
|
|
245
237
|
example = alicloud.cr.RegistryEnterpriseInstance("example",
|
|
246
238
|
payment_type="Subscription",
|
|
247
239
|
period=1,
|
|
248
240
|
renew_period=0,
|
|
249
241
|
renewal_status="ManualRenewal",
|
|
250
242
|
instance_type="Advanced",
|
|
251
|
-
instance_name=
|
|
243
|
+
instance_name=name)
|
|
252
244
|
example_chart_namespace = alicloud.cr.ChartNamespace("example",
|
|
253
245
|
instance_id=example.id,
|
|
254
|
-
namespace_name=
|
|
246
|
+
namespace_name=name)
|
|
255
247
|
```
|
|
256
248
|
|
|
257
249
|
## Import
|
|
@@ -209,21 +209,17 @@ class EndpointAclPolicy(pulumi.CustomResource):
|
|
|
209
209
|
```python
|
|
210
210
|
import pulumi
|
|
211
211
|
import pulumi_alicloud as alicloud
|
|
212
|
-
import pulumi_random as random
|
|
213
212
|
|
|
214
213
|
config = pulumi.Config()
|
|
215
214
|
name = config.get("name")
|
|
216
215
|
if name is None:
|
|
217
216
|
name = "tf-example"
|
|
218
|
-
default_integer = random.index.Integer("default",
|
|
219
|
-
min=10000000,
|
|
220
|
-
max=99999999)
|
|
221
217
|
default_registry_enterprise_instance = alicloud.cr.RegistryEnterpriseInstance("default",
|
|
222
218
|
payment_type="Subscription",
|
|
223
219
|
period=1,
|
|
224
220
|
renewal_status="ManualRenewal",
|
|
225
221
|
instance_type="Advanced",
|
|
226
|
-
instance_name=
|
|
222
|
+
instance_name=name)
|
|
227
223
|
default = alicloud.cr.get_endpoint_acl_service_output(endpoint_type="internet",
|
|
228
224
|
enable=True,
|
|
229
225
|
instance_id=default_registry_enterprise_instance.id,
|
|
@@ -272,21 +268,17 @@ class EndpointAclPolicy(pulumi.CustomResource):
|
|
|
272
268
|
```python
|
|
273
269
|
import pulumi
|
|
274
270
|
import pulumi_alicloud as alicloud
|
|
275
|
-
import pulumi_random as random
|
|
276
271
|
|
|
277
272
|
config = pulumi.Config()
|
|
278
273
|
name = config.get("name")
|
|
279
274
|
if name is None:
|
|
280
275
|
name = "tf-example"
|
|
281
|
-
default_integer = random.index.Integer("default",
|
|
282
|
-
min=10000000,
|
|
283
|
-
max=99999999)
|
|
284
276
|
default_registry_enterprise_instance = alicloud.cr.RegistryEnterpriseInstance("default",
|
|
285
277
|
payment_type="Subscription",
|
|
286
278
|
period=1,
|
|
287
279
|
renewal_status="ManualRenewal",
|
|
288
280
|
instance_type="Advanced",
|
|
289
|
-
instance_name=
|
|
281
|
+
instance_name=name)
|
|
290
282
|
default = alicloud.cr.get_endpoint_acl_service_output(endpoint_type="internet",
|
|
291
283
|
enable=True,
|
|
292
284
|
instance_id=default_registry_enterprise_instance.id,
|
pulumi_alicloud/cr/namespace.py
CHANGED
|
@@ -144,17 +144,13 @@ class Namespace(pulumi.CustomResource):
|
|
|
144
144
|
```python
|
|
145
145
|
import pulumi
|
|
146
146
|
import pulumi_alicloud as alicloud
|
|
147
|
-
import pulumi_random as random
|
|
148
147
|
|
|
149
148
|
config = pulumi.Config()
|
|
150
149
|
name = config.get("name")
|
|
151
150
|
if name is None:
|
|
152
151
|
name = "terraform-example"
|
|
153
|
-
default = random.index.Integer("default",
|
|
154
|
-
min=10000000,
|
|
155
|
-
max=99999999)
|
|
156
152
|
example = alicloud.cr.Namespace("example",
|
|
157
|
-
name=
|
|
153
|
+
name=name,
|
|
158
154
|
auto_create=False,
|
|
159
155
|
default_visibility="PUBLIC")
|
|
160
156
|
```
|
|
@@ -193,17 +189,13 @@ class Namespace(pulumi.CustomResource):
|
|
|
193
189
|
```python
|
|
194
190
|
import pulumi
|
|
195
191
|
import pulumi_alicloud as alicloud
|
|
196
|
-
import pulumi_random as random
|
|
197
192
|
|
|
198
193
|
config = pulumi.Config()
|
|
199
194
|
name = config.get("name")
|
|
200
195
|
if name is None:
|
|
201
196
|
name = "terraform-example"
|
|
202
|
-
default = random.index.Integer("default",
|
|
203
|
-
min=10000000,
|
|
204
|
-
max=99999999)
|
|
205
197
|
example = alicloud.cr.Namespace("example",
|
|
206
|
-
name=
|
|
198
|
+
name=name,
|
|
207
199
|
auto_create=False,
|
|
208
200
|
default_visibility="PUBLIC")
|
|
209
201
|
```
|
|
@@ -414,30 +414,30 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
414
414
|
instance_name=f"{name}-target-{default_integer['result']}")
|
|
415
415
|
source_registry_enterprise_namespace = alicloud.cs.RegistryEnterpriseNamespace("source",
|
|
416
416
|
instance_id=source.id,
|
|
417
|
-
name=
|
|
417
|
+
name=name,
|
|
418
418
|
auto_create=False,
|
|
419
419
|
default_visibility="PUBLIC")
|
|
420
420
|
target_registry_enterprise_namespace = alicloud.cs.RegistryEnterpriseNamespace("target",
|
|
421
421
|
instance_id=target.id,
|
|
422
|
-
name=
|
|
422
|
+
name=name,
|
|
423
423
|
auto_create=False,
|
|
424
424
|
default_visibility="PUBLIC")
|
|
425
425
|
source_registry_enterprise_repo = alicloud.cs.RegistryEnterpriseRepo("source",
|
|
426
426
|
instance_id=source.id,
|
|
427
427
|
namespace=source_registry_enterprise_namespace.name,
|
|
428
|
-
name=
|
|
428
|
+
name=name,
|
|
429
429
|
summary="this is summary of my new repo",
|
|
430
430
|
repo_type="PUBLIC")
|
|
431
431
|
target_registry_enterprise_repo = alicloud.cs.RegistryEnterpriseRepo("target",
|
|
432
432
|
instance_id=target.id,
|
|
433
433
|
namespace=target_registry_enterprise_namespace.name,
|
|
434
|
-
name=
|
|
434
|
+
name=name,
|
|
435
435
|
summary="this is summary of my new repo",
|
|
436
436
|
repo_type="PUBLIC")
|
|
437
437
|
default_registry_enterprise_sync_rule = alicloud.cs.RegistryEnterpriseSyncRule("default",
|
|
438
438
|
instance_id=source.id,
|
|
439
439
|
namespace_name=source_registry_enterprise_namespace.name,
|
|
440
|
-
name=
|
|
440
|
+
name=name,
|
|
441
441
|
target_instance_id=target.id,
|
|
442
442
|
target_namespace_name=target_registry_enterprise_namespace.name,
|
|
443
443
|
target_region_id=default.regions[0].id,
|
|
@@ -514,30 +514,30 @@ class RegistryEnterpriseSyncRule(pulumi.CustomResource):
|
|
|
514
514
|
instance_name=f"{name}-target-{default_integer['result']}")
|
|
515
515
|
source_registry_enterprise_namespace = alicloud.cs.RegistryEnterpriseNamespace("source",
|
|
516
516
|
instance_id=source.id,
|
|
517
|
-
name=
|
|
517
|
+
name=name,
|
|
518
518
|
auto_create=False,
|
|
519
519
|
default_visibility="PUBLIC")
|
|
520
520
|
target_registry_enterprise_namespace = alicloud.cs.RegistryEnterpriseNamespace("target",
|
|
521
521
|
instance_id=target.id,
|
|
522
|
-
name=
|
|
522
|
+
name=name,
|
|
523
523
|
auto_create=False,
|
|
524
524
|
default_visibility="PUBLIC")
|
|
525
525
|
source_registry_enterprise_repo = alicloud.cs.RegistryEnterpriseRepo("source",
|
|
526
526
|
instance_id=source.id,
|
|
527
527
|
namespace=source_registry_enterprise_namespace.name,
|
|
528
|
-
name=
|
|
528
|
+
name=name,
|
|
529
529
|
summary="this is summary of my new repo",
|
|
530
530
|
repo_type="PUBLIC")
|
|
531
531
|
target_registry_enterprise_repo = alicloud.cs.RegistryEnterpriseRepo("target",
|
|
532
532
|
instance_id=target.id,
|
|
533
533
|
namespace=target_registry_enterprise_namespace.name,
|
|
534
|
-
name=
|
|
534
|
+
name=name,
|
|
535
535
|
summary="this is summary of my new repo",
|
|
536
536
|
repo_type="PUBLIC")
|
|
537
537
|
default_registry_enterprise_sync_rule = alicloud.cs.RegistryEnterpriseSyncRule("default",
|
|
538
538
|
instance_id=source.id,
|
|
539
539
|
namespace_name=source_registry_enterprise_namespace.name,
|
|
540
|
-
name=
|
|
540
|
+
name=name,
|
|
541
541
|
target_instance_id=target.id,
|
|
542
542
|
target_namespace_name=target_registry_enterprise_namespace.name,
|
|
543
543
|
target_region_id=default.regions[0].id,
|
pulumi_alicloud/ddos/_inputs.py
CHANGED
|
@@ -892,33 +892,34 @@ class BgpPolicyContentSourceLimitArgs:
|
|
|
892
892
|
@pulumi.input_type
|
|
893
893
|
class DomainResourceProxyTypeArgs:
|
|
894
894
|
def __init__(__self__, *,
|
|
895
|
-
proxy_ports: pulumi.Input[Sequence[pulumi.Input[int]]],
|
|
895
|
+
proxy_ports: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
|
896
896
|
proxy_type: Optional[pulumi.Input[str]] = None):
|
|
897
897
|
"""
|
|
898
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] proxy_ports:
|
|
899
|
-
:param pulumi.Input[str] proxy_type:
|
|
898
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] proxy_ports: the port number. This field is required and must be an integer. **NOTE:** From version 1.206.0, `proxy_ports` can be modified.
|
|
899
|
+
:param pulumi.Input[str] proxy_type: the protocol type. This field is required and must be a string. Valid values: `http`, `https`, `websocket`, and `websockets`.
|
|
900
900
|
"""
|
|
901
|
-
|
|
901
|
+
if proxy_ports is not None:
|
|
902
|
+
pulumi.set(__self__, "proxy_ports", proxy_ports)
|
|
902
903
|
if proxy_type is not None:
|
|
903
904
|
pulumi.set(__self__, "proxy_type", proxy_type)
|
|
904
905
|
|
|
905
906
|
@property
|
|
906
907
|
@pulumi.getter(name="proxyPorts")
|
|
907
|
-
def proxy_ports(self) -> pulumi.Input[Sequence[pulumi.Input[int]]]:
|
|
908
|
+
def proxy_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
908
909
|
"""
|
|
909
|
-
|
|
910
|
+
the port number. This field is required and must be an integer. **NOTE:** From version 1.206.0, `proxy_ports` can be modified.
|
|
910
911
|
"""
|
|
911
912
|
return pulumi.get(self, "proxy_ports")
|
|
912
913
|
|
|
913
914
|
@proxy_ports.setter
|
|
914
|
-
def proxy_ports(self, value: pulumi.Input[Sequence[pulumi.Input[int]]]):
|
|
915
|
+
def proxy_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
|
915
916
|
pulumi.set(self, "proxy_ports", value)
|
|
916
917
|
|
|
917
918
|
@property
|
|
918
919
|
@pulumi.getter(name="proxyType")
|
|
919
920
|
def proxy_type(self) -> Optional[pulumi.Input[str]]:
|
|
920
921
|
"""
|
|
921
|
-
|
|
922
|
+
the protocol type. This field is required and must be a string. Valid values: `http`, `https`, `websocket`, and `websockets`.
|
|
922
923
|
"""
|
|
923
924
|
return pulumi.get(self, "proxy_type")
|
|
924
925
|
|
pulumi_alicloud/ddos/bgp_ip.py
CHANGED
|
@@ -372,7 +372,7 @@ class BgpIp(pulumi.CustomResource):
|
|
|
372
372
|
|
|
373
373
|
@property
|
|
374
374
|
@pulumi.getter(name="memberUid")
|
|
375
|
-
def member_uid(self) -> pulumi.Output[str]:
|
|
375
|
+
def member_uid(self) -> pulumi.Output[Optional[str]]:
|
|
376
376
|
"""
|
|
377
377
|
The member account id of the IP address.
|
|
378
378
|
"""
|