pulumi-alicloud 3.64.0a1729894283__py3-none-any.whl → 3.65.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 +35 -0
- pulumi_alicloud/amqp/instance.py +8 -8
- pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
- pulumi_alicloud/bss/get_open_api_products.py +4 -4
- pulumi_alicloud/cas/get_certificates.py +17 -1
- pulumi_alicloud/cas/get_service_certificates.py +153 -17
- pulumi_alicloud/cas/outputs.py +40 -36
- pulumi_alicloud/cen/instance.py +108 -53
- pulumi_alicloud/cen/transit_router_route_table_association.py +72 -68
- pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
- pulumi_alicloud/cloudfirewall/instance.py +64 -36
- pulumi_alicloud/cloudstoragegateway/gateway.py +134 -58
- pulumi_alicloud/cs/_inputs.py +390 -26
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +48 -35
- pulumi_alicloud/cs/managed_kubernetes.py +91 -35
- pulumi_alicloud/cs/node_pool.py +68 -14
- pulumi_alicloud/cs/outputs.py +293 -16
- pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
- pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
- pulumi_alicloud/databasefilesystem/instance.py +31 -0
- pulumi_alicloud/databasefilesystem/outputs.py +0 -4
- pulumi_alicloud/dns/get_alidns_records.py +26 -4
- pulumi_alicloud/dns/outputs.py +2 -2
- pulumi_alicloud/eais/instance.py +55 -57
- pulumi_alicloud/ecp/instance.py +177 -219
- pulumi_alicloud/ecs/disk.py +2 -2
- pulumi_alicloud/ecs/ecs_disk.py +142 -58
- pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
- pulumi_alicloud/ecs/instance.py +131 -98
- pulumi_alicloud/ecs/key_pair.py +1 -1
- pulumi_alicloud/ecs/launch_template.py +102 -0
- pulumi_alicloud/ecs/outputs.py +57 -24
- pulumi_alicloud/ens/disk.py +2 -2
- pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
- pulumi_alicloud/ess/_inputs.py +342 -2
- pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
- pulumi_alicloud/ess/outputs.py +226 -2
- pulumi_alicloud/ess/scaling_configuration.py +377 -1
- pulumi_alicloud/ess/scaling_group.py +54 -7
- pulumi_alicloud/fc/_inputs.py +3 -3
- pulumi_alicloud/fc/outputs.py +2 -2
- pulumi_alicloud/ga/_inputs.py +57 -22
- pulumi_alicloud/ga/outputs.py +39 -15
- pulumi_alicloud/governance/baseline.py +18 -18
- pulumi_alicloud/governance/get_baselines.py +18 -18
- pulumi_alicloud/gpdb/__init__.py +1 -0
- pulumi_alicloud/gpdb/database.py +545 -0
- pulumi_alicloud/gpdb/instance.py +1 -1
- pulumi_alicloud/kms/get_secrets.py +5 -5
- pulumi_alicloud/kms/outputs.py +18 -18
- pulumi_alicloud/kvstore/instance.py +24 -5
- pulumi_alicloud/log/alert.py +14 -14
- pulumi_alicloud/mse/__init__.py +2 -0
- pulumi_alicloud/mse/cluster.py +149 -51
- pulumi_alicloud/mse/engine_namespace.py +176 -74
- pulumi_alicloud/mse/get_clusters.py +70 -10
- pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
- pulumi_alicloud/mse/get_nacos_configs.py +394 -0
- pulumi_alicloud/mse/nacos_config.py +762 -0
- pulumi_alicloud/mse/outputs.py +165 -8
- pulumi_alicloud/nas/data_flow.py +6 -6
- pulumi_alicloud/nas/fileset.py +6 -6
- pulumi_alicloud/nas/lifecycle_policy.py +6 -6
- pulumi_alicloud/nas/recycle_bin.py +6 -6
- pulumi_alicloud/nas/snapshot.py +6 -6
- pulumi_alicloud/ocean/base_instance.py +2 -2
- pulumi_alicloud/pai/__init__.py +8 -0
- pulumi_alicloud/pai/workspace_workspace.py +447 -0
- pulumi_alicloud/polardb/cluster.py +176 -14
- pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
- pulumi_alicloud/privatelink/outputs.py +17 -6
- pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +50 -3
- pulumi_alicloud/resourcemanager/get_folders.py +35 -28
- pulumi_alicloud/resourcemanager/outputs.py +8 -8
- pulumi_alicloud/servicemesh/_inputs.py +656 -174
- pulumi_alicloud/servicemesh/outputs.py +507 -117
- pulumi_alicloud/servicemesh/service_mesh.py +120 -78
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +307 -0
- pulumi_alicloud/sls/collection_policy.py +561 -0
- pulumi_alicloud/sls/outputs.py +263 -0
- pulumi_alicloud/threatdetection/instance.py +331 -43
- pulumi_alicloud/vpc/subnet.py +59 -27
- pulumi_alicloud/vpc/switch.py +104 -87
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/RECORD +94 -88
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/top_level.txt +0 -0
|
@@ -42,19 +42,19 @@ class InstanceArgs:
|
|
|
42
42
|
:param pulumi.Input[int] account_number: The number of multi account. It will be ignored when `cfw_account = false`.
|
|
43
43
|
:param pulumi.Input[int] band_width: Public network processing capability. Valid values: 10 to 15000. Unit: Mbps.
|
|
44
44
|
:param pulumi.Input[bool] cfw_account: Whether to use multi-account. Valid values: `true`, `false`.
|
|
45
|
-
:param pulumi.Input[bool] cfw_log: Whether to use log audit. Valid values: `true`, `false`.
|
|
46
|
-
:param pulumi.Input[int] cfw_log_storage: The log storage capacity.
|
|
45
|
+
:param pulumi.Input[bool] cfw_log: Whether to use log audit. Valid values: `true`, `false`. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, `cfw_log` can only be set to `true`, `cfw_log` cannot be modified to `false`.
|
|
46
|
+
:param pulumi.Input[int] cfw_log_storage: The log storage capacity. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, or `cfw_log` is set to `false`, `cfw_log_storage` will be ignored.
|
|
47
47
|
:param pulumi.Input[int] fw_vpc_number: The number of protected VPCs. It will be ignored when `spec = "premium_version"`. Valid values between 2 and 500.
|
|
48
48
|
:param pulumi.Input[int] instance_count: The number of assets.
|
|
49
49
|
:param pulumi.Input[int] ip_number: The number of public IPs that can be protected. Valid values: 20 to 4000.
|
|
50
50
|
:param pulumi.Input[str] logistics: The logistics.
|
|
51
|
-
:param pulumi.Input[str] modify_type: The type of modification. Valid values: `Upgrade`, `Downgrade`.
|
|
51
|
+
:param pulumi.Input[str] modify_type: The type of modification. Valid values: `Upgrade`, `Downgrade`. **NOTE:** The `modify_type` is required when you execute an update operation.
|
|
52
52
|
:param pulumi.Input[int] period: The prepaid period. Valid values: `1`, `3`, `6`, `12`, `24`, `36`. **NOTE:** 1 and 3 available since 1.204.1. If `payment_type` is set to `Subscription`, `period` is required. Otherwise, it will be ignored.
|
|
53
53
|
:param pulumi.Input[int] renew_period: Automatic renewal period. Attribute `renew_period` has been deprecated since 1.209.1. Using `renewal_duration` instead.
|
|
54
54
|
:param pulumi.Input[int] renewal_duration: Auto-Renewal Duration. It is required under the condition that `renewal_status` is `AutoRenewal`. Valid values: `1`, `2`, `3`, `6`, `12`.
|
|
55
55
|
**NOTE:** `renewal_duration` takes effect only if `payment_type` is set to `Subscription`, and `renewal_status` is set to `AutoRenewal`.
|
|
56
56
|
:param pulumi.Input[str] renewal_duration_unit: Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years. Valid values: `Month`, `Year`.
|
|
57
|
-
:param pulumi.Input[str] renewal_status: Whether to renew an instance automatically or not. Default
|
|
57
|
+
:param pulumi.Input[str] renewal_status: Whether to renew an instance automatically or not. Default value: `ManualRenewal`.
|
|
58
58
|
- `AutoRenewal`: Auto renewal.
|
|
59
59
|
- `ManualRenewal`: Manual renewal.
|
|
60
60
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
@@ -150,7 +150,7 @@ class InstanceArgs:
|
|
|
150
150
|
@pulumi.getter(name="cfwLog")
|
|
151
151
|
def cfw_log(self) -> Optional[pulumi.Input[bool]]:
|
|
152
152
|
"""
|
|
153
|
-
Whether to use log audit. Valid values: `true`, `false`.
|
|
153
|
+
Whether to use log audit. Valid values: `true`, `false`. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, `cfw_log` can only be set to `true`, `cfw_log` cannot be modified to `false`.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "cfw_log")
|
|
156
156
|
|
|
@@ -162,7 +162,7 @@ class InstanceArgs:
|
|
|
162
162
|
@pulumi.getter(name="cfwLogStorage")
|
|
163
163
|
def cfw_log_storage(self) -> Optional[pulumi.Input[int]]:
|
|
164
164
|
"""
|
|
165
|
-
The log storage capacity.
|
|
165
|
+
The log storage capacity. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, or `cfw_log` is set to `false`, `cfw_log_storage` will be ignored.
|
|
166
166
|
"""
|
|
167
167
|
return pulumi.get(self, "cfw_log_storage")
|
|
168
168
|
|
|
@@ -222,7 +222,7 @@ class InstanceArgs:
|
|
|
222
222
|
@pulumi.getter(name="modifyType")
|
|
223
223
|
def modify_type(self) -> Optional[pulumi.Input[str]]:
|
|
224
224
|
"""
|
|
225
|
-
The type of modification. Valid values: `Upgrade`, `Downgrade`.
|
|
225
|
+
The type of modification. Valid values: `Upgrade`, `Downgrade`. **NOTE:** The `modify_type` is required when you execute an update operation.
|
|
226
226
|
"""
|
|
227
227
|
return pulumi.get(self, "modify_type")
|
|
228
228
|
|
|
@@ -284,7 +284,7 @@ class InstanceArgs:
|
|
|
284
284
|
@pulumi.getter(name="renewalStatus")
|
|
285
285
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
286
286
|
"""
|
|
287
|
-
Whether to renew an instance automatically or not. Default
|
|
287
|
+
Whether to renew an instance automatically or not. Default value: `ManualRenewal`.
|
|
288
288
|
- `AutoRenewal`: Auto renewal.
|
|
289
289
|
- `ManualRenewal`: Manual renewal.
|
|
290
290
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
@@ -332,21 +332,22 @@ class _InstanceState:
|
|
|
332
332
|
renewal_duration_unit: Optional[pulumi.Input[str]] = None,
|
|
333
333
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
334
334
|
spec: Optional[pulumi.Input[str]] = None,
|
|
335
|
-
status: Optional[pulumi.Input[str]] = None
|
|
335
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
336
|
+
user_status: Optional[pulumi.Input[bool]] = None):
|
|
336
337
|
"""
|
|
337
338
|
Input properties used for looking up and filtering Instance resources.
|
|
338
339
|
:param pulumi.Input[int] account_number: The number of multi account. It will be ignored when `cfw_account = false`.
|
|
339
340
|
:param pulumi.Input[int] band_width: Public network processing capability. Valid values: 10 to 15000. Unit: Mbps.
|
|
340
341
|
:param pulumi.Input[bool] cfw_account: Whether to use multi-account. Valid values: `true`, `false`.
|
|
341
|
-
:param pulumi.Input[bool] cfw_log: Whether to use log audit. Valid values: `true`, `false`.
|
|
342
|
-
:param pulumi.Input[int] cfw_log_storage: The log storage capacity.
|
|
342
|
+
:param pulumi.Input[bool] cfw_log: Whether to use log audit. Valid values: `true`, `false`. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, `cfw_log` can only be set to `true`, `cfw_log` cannot be modified to `false`.
|
|
343
|
+
:param pulumi.Input[int] cfw_log_storage: The log storage capacity. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, or `cfw_log` is set to `false`, `cfw_log_storage` will be ignored.
|
|
343
344
|
:param pulumi.Input[str] create_time: The creation time.
|
|
344
345
|
:param pulumi.Input[str] end_time: The end time.
|
|
345
346
|
:param pulumi.Input[int] fw_vpc_number: The number of protected VPCs. It will be ignored when `spec = "premium_version"`. Valid values between 2 and 500.
|
|
346
347
|
:param pulumi.Input[int] instance_count: The number of assets.
|
|
347
348
|
:param pulumi.Input[int] ip_number: The number of public IPs that can be protected. Valid values: 20 to 4000.
|
|
348
349
|
:param pulumi.Input[str] logistics: The logistics.
|
|
349
|
-
:param pulumi.Input[str] modify_type: The type of modification. Valid values: `Upgrade`, `Downgrade`.
|
|
350
|
+
:param pulumi.Input[str] modify_type: The type of modification. Valid values: `Upgrade`, `Downgrade`. **NOTE:** The `modify_type` is required when you execute an update operation.
|
|
350
351
|
:param pulumi.Input[str] payment_type: The payment type of the resource. Valid values: `Subscription`, `PayAsYouGo`. **NOTE:** From version 1.220.0, `payment_type` can be set to `PayAsYouGo`.
|
|
351
352
|
:param pulumi.Input[int] period: The prepaid period. Valid values: `1`, `3`, `6`, `12`, `24`, `36`. **NOTE:** 1 and 3 available since 1.204.1. If `payment_type` is set to `Subscription`, `period` is required. Otherwise, it will be ignored.
|
|
352
353
|
:param pulumi.Input[str] release_time: The release time.
|
|
@@ -354,13 +355,14 @@ class _InstanceState:
|
|
|
354
355
|
:param pulumi.Input[int] renewal_duration: Auto-Renewal Duration. It is required under the condition that `renewal_status` is `AutoRenewal`. Valid values: `1`, `2`, `3`, `6`, `12`.
|
|
355
356
|
**NOTE:** `renewal_duration` takes effect only if `payment_type` is set to `Subscription`, and `renewal_status` is set to `AutoRenewal`.
|
|
356
357
|
:param pulumi.Input[str] renewal_duration_unit: Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years. Valid values: `Month`, `Year`.
|
|
357
|
-
:param pulumi.Input[str] renewal_status: Whether to renew an instance automatically or not. Default
|
|
358
|
+
:param pulumi.Input[str] renewal_status: Whether to renew an instance automatically or not. Default value: `ManualRenewal`.
|
|
358
359
|
- `AutoRenewal`: Auto renewal.
|
|
359
360
|
- `ManualRenewal`: Manual renewal.
|
|
360
361
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
361
362
|
**NOTE:** `renewal_status` takes effect only if `payment_type` is set to `Subscription`.
|
|
362
363
|
:param pulumi.Input[str] spec: Current version. Valid values: `premium_version`, `enterprise_version`,`ultimate_version`.
|
|
363
|
-
:param pulumi.Input[str] status: The status of Instance.
|
|
364
|
+
:param pulumi.Input[str] status: The status of Cloud Firewall Instance.
|
|
365
|
+
:param pulumi.Input[bool] user_status: (Available since v1.232.0) The user status of Cloud Firewall Instance.
|
|
364
366
|
"""
|
|
365
367
|
if account_number is not None:
|
|
366
368
|
pulumi.set(__self__, "account_number", account_number)
|
|
@@ -407,6 +409,8 @@ class _InstanceState:
|
|
|
407
409
|
pulumi.set(__self__, "spec", spec)
|
|
408
410
|
if status is not None:
|
|
409
411
|
pulumi.set(__self__, "status", status)
|
|
412
|
+
if user_status is not None:
|
|
413
|
+
pulumi.set(__self__, "user_status", user_status)
|
|
410
414
|
|
|
411
415
|
@property
|
|
412
416
|
@pulumi.getter(name="accountNumber")
|
|
@@ -448,7 +452,7 @@ class _InstanceState:
|
|
|
448
452
|
@pulumi.getter(name="cfwLog")
|
|
449
453
|
def cfw_log(self) -> Optional[pulumi.Input[bool]]:
|
|
450
454
|
"""
|
|
451
|
-
Whether to use log audit. Valid values: `true`, `false`.
|
|
455
|
+
Whether to use log audit. Valid values: `true`, `false`. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, `cfw_log` can only be set to `true`, `cfw_log` cannot be modified to `false`.
|
|
452
456
|
"""
|
|
453
457
|
return pulumi.get(self, "cfw_log")
|
|
454
458
|
|
|
@@ -460,7 +464,7 @@ class _InstanceState:
|
|
|
460
464
|
@pulumi.getter(name="cfwLogStorage")
|
|
461
465
|
def cfw_log_storage(self) -> Optional[pulumi.Input[int]]:
|
|
462
466
|
"""
|
|
463
|
-
The log storage capacity.
|
|
467
|
+
The log storage capacity. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, or `cfw_log` is set to `false`, `cfw_log_storage` will be ignored.
|
|
464
468
|
"""
|
|
465
469
|
return pulumi.get(self, "cfw_log_storage")
|
|
466
470
|
|
|
@@ -544,7 +548,7 @@ class _InstanceState:
|
|
|
544
548
|
@pulumi.getter(name="modifyType")
|
|
545
549
|
def modify_type(self) -> Optional[pulumi.Input[str]]:
|
|
546
550
|
"""
|
|
547
|
-
The type of modification. Valid values: `Upgrade`, `Downgrade`.
|
|
551
|
+
The type of modification. Valid values: `Upgrade`, `Downgrade`. **NOTE:** The `modify_type` is required when you execute an update operation.
|
|
548
552
|
"""
|
|
549
553
|
return pulumi.get(self, "modify_type")
|
|
550
554
|
|
|
@@ -630,7 +634,7 @@ class _InstanceState:
|
|
|
630
634
|
@pulumi.getter(name="renewalStatus")
|
|
631
635
|
def renewal_status(self) -> Optional[pulumi.Input[str]]:
|
|
632
636
|
"""
|
|
633
|
-
Whether to renew an instance automatically or not. Default
|
|
637
|
+
Whether to renew an instance automatically or not. Default value: `ManualRenewal`.
|
|
634
638
|
- `AutoRenewal`: Auto renewal.
|
|
635
639
|
- `ManualRenewal`: Manual renewal.
|
|
636
640
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
@@ -658,7 +662,7 @@ class _InstanceState:
|
|
|
658
662
|
@pulumi.getter
|
|
659
663
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
660
664
|
"""
|
|
661
|
-
The status of Instance.
|
|
665
|
+
The status of Cloud Firewall Instance.
|
|
662
666
|
"""
|
|
663
667
|
return pulumi.get(self, "status")
|
|
664
668
|
|
|
@@ -666,6 +670,18 @@ class _InstanceState:
|
|
|
666
670
|
def status(self, value: Optional[pulumi.Input[str]]):
|
|
667
671
|
pulumi.set(self, "status", value)
|
|
668
672
|
|
|
673
|
+
@property
|
|
674
|
+
@pulumi.getter(name="userStatus")
|
|
675
|
+
def user_status(self) -> Optional[pulumi.Input[bool]]:
|
|
676
|
+
"""
|
|
677
|
+
(Available since v1.232.0) The user status of Cloud Firewall Instance.
|
|
678
|
+
"""
|
|
679
|
+
return pulumi.get(self, "user_status")
|
|
680
|
+
|
|
681
|
+
@user_status.setter
|
|
682
|
+
def user_status(self, value: Optional[pulumi.Input[bool]]):
|
|
683
|
+
pulumi.set(self, "user_status", value)
|
|
684
|
+
|
|
669
685
|
|
|
670
686
|
class Instance(pulumi.CustomResource):
|
|
671
687
|
@overload
|
|
@@ -738,20 +754,20 @@ class Instance(pulumi.CustomResource):
|
|
|
738
754
|
:param pulumi.Input[int] account_number: The number of multi account. It will be ignored when `cfw_account = false`.
|
|
739
755
|
:param pulumi.Input[int] band_width: Public network processing capability. Valid values: 10 to 15000. Unit: Mbps.
|
|
740
756
|
:param pulumi.Input[bool] cfw_account: Whether to use multi-account. Valid values: `true`, `false`.
|
|
741
|
-
:param pulumi.Input[bool] cfw_log: Whether to use log audit. Valid values: `true`, `false`.
|
|
742
|
-
:param pulumi.Input[int] cfw_log_storage: The log storage capacity.
|
|
757
|
+
:param pulumi.Input[bool] cfw_log: Whether to use log audit. Valid values: `true`, `false`. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, `cfw_log` can only be set to `true`, `cfw_log` cannot be modified to `false`.
|
|
758
|
+
:param pulumi.Input[int] cfw_log_storage: The log storage capacity. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, or `cfw_log` is set to `false`, `cfw_log_storage` will be ignored.
|
|
743
759
|
:param pulumi.Input[int] fw_vpc_number: The number of protected VPCs. It will be ignored when `spec = "premium_version"`. Valid values between 2 and 500.
|
|
744
760
|
:param pulumi.Input[int] instance_count: The number of assets.
|
|
745
761
|
:param pulumi.Input[int] ip_number: The number of public IPs that can be protected. Valid values: 20 to 4000.
|
|
746
762
|
:param pulumi.Input[str] logistics: The logistics.
|
|
747
|
-
:param pulumi.Input[str] modify_type: The type of modification. Valid values: `Upgrade`, `Downgrade`.
|
|
763
|
+
:param pulumi.Input[str] modify_type: The type of modification. Valid values: `Upgrade`, `Downgrade`. **NOTE:** The `modify_type` is required when you execute an update operation.
|
|
748
764
|
:param pulumi.Input[str] payment_type: The payment type of the resource. Valid values: `Subscription`, `PayAsYouGo`. **NOTE:** From version 1.220.0, `payment_type` can be set to `PayAsYouGo`.
|
|
749
765
|
:param pulumi.Input[int] period: The prepaid period. Valid values: `1`, `3`, `6`, `12`, `24`, `36`. **NOTE:** 1 and 3 available since 1.204.1. If `payment_type` is set to `Subscription`, `period` is required. Otherwise, it will be ignored.
|
|
750
766
|
:param pulumi.Input[int] renew_period: Automatic renewal period. Attribute `renew_period` has been deprecated since 1.209.1. Using `renewal_duration` instead.
|
|
751
767
|
:param pulumi.Input[int] renewal_duration: Auto-Renewal Duration. It is required under the condition that `renewal_status` is `AutoRenewal`. Valid values: `1`, `2`, `3`, `6`, `12`.
|
|
752
768
|
**NOTE:** `renewal_duration` takes effect only if `payment_type` is set to `Subscription`, and `renewal_status` is set to `AutoRenewal`.
|
|
753
769
|
:param pulumi.Input[str] renewal_duration_unit: Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years. Valid values: `Month`, `Year`.
|
|
754
|
-
:param pulumi.Input[str] renewal_status: Whether to renew an instance automatically or not. Default
|
|
770
|
+
:param pulumi.Input[str] renewal_status: Whether to renew an instance automatically or not. Default value: `ManualRenewal`.
|
|
755
771
|
- `AutoRenewal`: Auto renewal.
|
|
756
772
|
- `ManualRenewal`: Manual renewal.
|
|
757
773
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
@@ -871,6 +887,7 @@ class Instance(pulumi.CustomResource):
|
|
|
871
887
|
__props__.__dict__["end_time"] = None
|
|
872
888
|
__props__.__dict__["release_time"] = None
|
|
873
889
|
__props__.__dict__["status"] = None
|
|
890
|
+
__props__.__dict__["user_status"] = None
|
|
874
891
|
super(Instance, __self__).__init__(
|
|
875
892
|
'alicloud:cloudfirewall/instance:Instance',
|
|
876
893
|
resource_name,
|
|
@@ -901,7 +918,8 @@ class Instance(pulumi.CustomResource):
|
|
|
901
918
|
renewal_duration_unit: Optional[pulumi.Input[str]] = None,
|
|
902
919
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
903
920
|
spec: Optional[pulumi.Input[str]] = None,
|
|
904
|
-
status: Optional[pulumi.Input[str]] = None
|
|
921
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
922
|
+
user_status: Optional[pulumi.Input[bool]] = None) -> 'Instance':
|
|
905
923
|
"""
|
|
906
924
|
Get an existing Instance resource's state with the given name, id, and optional extra
|
|
907
925
|
properties used to qualify the lookup.
|
|
@@ -912,15 +930,15 @@ class Instance(pulumi.CustomResource):
|
|
|
912
930
|
:param pulumi.Input[int] account_number: The number of multi account. It will be ignored when `cfw_account = false`.
|
|
913
931
|
:param pulumi.Input[int] band_width: Public network processing capability. Valid values: 10 to 15000. Unit: Mbps.
|
|
914
932
|
:param pulumi.Input[bool] cfw_account: Whether to use multi-account. Valid values: `true`, `false`.
|
|
915
|
-
:param pulumi.Input[bool] cfw_log: Whether to use log audit. Valid values: `true`, `false`.
|
|
916
|
-
:param pulumi.Input[int] cfw_log_storage: The log storage capacity.
|
|
933
|
+
:param pulumi.Input[bool] cfw_log: Whether to use log audit. Valid values: `true`, `false`. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, `cfw_log` can only be set to `true`, `cfw_log` cannot be modified to `false`.
|
|
934
|
+
:param pulumi.Input[int] cfw_log_storage: The log storage capacity. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, or `cfw_log` is set to `false`, `cfw_log_storage` will be ignored.
|
|
917
935
|
:param pulumi.Input[str] create_time: The creation time.
|
|
918
936
|
:param pulumi.Input[str] end_time: The end time.
|
|
919
937
|
:param pulumi.Input[int] fw_vpc_number: The number of protected VPCs. It will be ignored when `spec = "premium_version"`. Valid values between 2 and 500.
|
|
920
938
|
:param pulumi.Input[int] instance_count: The number of assets.
|
|
921
939
|
:param pulumi.Input[int] ip_number: The number of public IPs that can be protected. Valid values: 20 to 4000.
|
|
922
940
|
:param pulumi.Input[str] logistics: The logistics.
|
|
923
|
-
:param pulumi.Input[str] modify_type: The type of modification. Valid values: `Upgrade`, `Downgrade`.
|
|
941
|
+
:param pulumi.Input[str] modify_type: The type of modification. Valid values: `Upgrade`, `Downgrade`. **NOTE:** The `modify_type` is required when you execute an update operation.
|
|
924
942
|
:param pulumi.Input[str] payment_type: The payment type of the resource. Valid values: `Subscription`, `PayAsYouGo`. **NOTE:** From version 1.220.0, `payment_type` can be set to `PayAsYouGo`.
|
|
925
943
|
:param pulumi.Input[int] period: The prepaid period. Valid values: `1`, `3`, `6`, `12`, `24`, `36`. **NOTE:** 1 and 3 available since 1.204.1. If `payment_type` is set to `Subscription`, `period` is required. Otherwise, it will be ignored.
|
|
926
944
|
:param pulumi.Input[str] release_time: The release time.
|
|
@@ -928,13 +946,14 @@ class Instance(pulumi.CustomResource):
|
|
|
928
946
|
:param pulumi.Input[int] renewal_duration: Auto-Renewal Duration. It is required under the condition that `renewal_status` is `AutoRenewal`. Valid values: `1`, `2`, `3`, `6`, `12`.
|
|
929
947
|
**NOTE:** `renewal_duration` takes effect only if `payment_type` is set to `Subscription`, and `renewal_status` is set to `AutoRenewal`.
|
|
930
948
|
:param pulumi.Input[str] renewal_duration_unit: Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years. Valid values: `Month`, `Year`.
|
|
931
|
-
:param pulumi.Input[str] renewal_status: Whether to renew an instance automatically or not. Default
|
|
949
|
+
:param pulumi.Input[str] renewal_status: Whether to renew an instance automatically or not. Default value: `ManualRenewal`.
|
|
932
950
|
- `AutoRenewal`: Auto renewal.
|
|
933
951
|
- `ManualRenewal`: Manual renewal.
|
|
934
952
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
935
953
|
**NOTE:** `renewal_status` takes effect only if `payment_type` is set to `Subscription`.
|
|
936
954
|
:param pulumi.Input[str] spec: Current version. Valid values: `premium_version`, `enterprise_version`,`ultimate_version`.
|
|
937
|
-
:param pulumi.Input[str] status: The status of Instance.
|
|
955
|
+
:param pulumi.Input[str] status: The status of Cloud Firewall Instance.
|
|
956
|
+
:param pulumi.Input[bool] user_status: (Available since v1.232.0) The user status of Cloud Firewall Instance.
|
|
938
957
|
"""
|
|
939
958
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
940
959
|
|
|
@@ -961,6 +980,7 @@ class Instance(pulumi.CustomResource):
|
|
|
961
980
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
962
981
|
__props__.__dict__["spec"] = spec
|
|
963
982
|
__props__.__dict__["status"] = status
|
|
983
|
+
__props__.__dict__["user_status"] = user_status
|
|
964
984
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
|
965
985
|
|
|
966
986
|
@property
|
|
@@ -991,7 +1011,7 @@ class Instance(pulumi.CustomResource):
|
|
|
991
1011
|
@pulumi.getter(name="cfwLog")
|
|
992
1012
|
def cfw_log(self) -> pulumi.Output[Optional[bool]]:
|
|
993
1013
|
"""
|
|
994
|
-
Whether to use log audit. Valid values: `true`, `false`.
|
|
1014
|
+
Whether to use log audit. Valid values: `true`, `false`. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, `cfw_log` can only be set to `true`, `cfw_log` cannot be modified to `false`.
|
|
995
1015
|
"""
|
|
996
1016
|
return pulumi.get(self, "cfw_log")
|
|
997
1017
|
|
|
@@ -999,7 +1019,7 @@ class Instance(pulumi.CustomResource):
|
|
|
999
1019
|
@pulumi.getter(name="cfwLogStorage")
|
|
1000
1020
|
def cfw_log_storage(self) -> pulumi.Output[Optional[int]]:
|
|
1001
1021
|
"""
|
|
1002
|
-
The log storage capacity.
|
|
1022
|
+
The log storage capacity. **NOTE:** From version 1.232.0, When `payment_type` is set to `PayAsYouGo`, or `cfw_log` is set to `false`, `cfw_log_storage` will be ignored.
|
|
1003
1023
|
"""
|
|
1004
1024
|
return pulumi.get(self, "cfw_log_storage")
|
|
1005
1025
|
|
|
@@ -1037,7 +1057,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1037
1057
|
|
|
1038
1058
|
@property
|
|
1039
1059
|
@pulumi.getter(name="ipNumber")
|
|
1040
|
-
def ip_number(self) -> pulumi.Output[
|
|
1060
|
+
def ip_number(self) -> pulumi.Output[int]:
|
|
1041
1061
|
"""
|
|
1042
1062
|
The number of public IPs that can be protected. Valid values: 20 to 4000.
|
|
1043
1063
|
"""
|
|
@@ -1055,7 +1075,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1055
1075
|
@pulumi.getter(name="modifyType")
|
|
1056
1076
|
def modify_type(self) -> pulumi.Output[Optional[str]]:
|
|
1057
1077
|
"""
|
|
1058
|
-
The type of modification. Valid values: `Upgrade`, `Downgrade`.
|
|
1078
|
+
The type of modification. Valid values: `Upgrade`, `Downgrade`. **NOTE:** The `modify_type` is required when you execute an update operation.
|
|
1059
1079
|
"""
|
|
1060
1080
|
return pulumi.get(self, "modify_type")
|
|
1061
1081
|
|
|
@@ -1113,7 +1133,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1113
1133
|
@pulumi.getter(name="renewalStatus")
|
|
1114
1134
|
def renewal_status(self) -> pulumi.Output[str]:
|
|
1115
1135
|
"""
|
|
1116
|
-
Whether to renew an instance automatically or not. Default
|
|
1136
|
+
Whether to renew an instance automatically or not. Default value: `ManualRenewal`.
|
|
1117
1137
|
- `AutoRenewal`: Auto renewal.
|
|
1118
1138
|
- `ManualRenewal`: Manual renewal.
|
|
1119
1139
|
- `NotRenewal`: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
|
|
@@ -1123,7 +1143,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1123
1143
|
|
|
1124
1144
|
@property
|
|
1125
1145
|
@pulumi.getter
|
|
1126
|
-
def spec(self) -> pulumi.Output[
|
|
1146
|
+
def spec(self) -> pulumi.Output[str]:
|
|
1127
1147
|
"""
|
|
1128
1148
|
Current version. Valid values: `premium_version`, `enterprise_version`,`ultimate_version`.
|
|
1129
1149
|
"""
|
|
@@ -1133,7 +1153,15 @@ class Instance(pulumi.CustomResource):
|
|
|
1133
1153
|
@pulumi.getter
|
|
1134
1154
|
def status(self) -> pulumi.Output[str]:
|
|
1135
1155
|
"""
|
|
1136
|
-
The status of Instance.
|
|
1156
|
+
The status of Cloud Firewall Instance.
|
|
1137
1157
|
"""
|
|
1138
1158
|
return pulumi.get(self, "status")
|
|
1139
1159
|
|
|
1160
|
+
@property
|
|
1161
|
+
@pulumi.getter(name="userStatus")
|
|
1162
|
+
def user_status(self) -> pulumi.Output[bool]:
|
|
1163
|
+
"""
|
|
1164
|
+
(Available since v1.232.0) The user status of Cloud Firewall Instance.
|
|
1165
|
+
"""
|
|
1166
|
+
return pulumi.get(self, "user_status")
|
|
1167
|
+
|