pulumi-alicloud 3.59.0a1720761596__py3-none-any.whl → 3.59.1__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 +48 -0
- pulumi_alicloud/_utilities.py +3 -4
- pulumi_alicloud/adb/_inputs.py +14 -0
- pulumi_alicloud/adb/outputs.py +14 -0
- pulumi_alicloud/adb/resource_group.py +115 -119
- pulumi_alicloud/alb/_inputs.py +224 -0
- pulumi_alicloud/alb/outputs.py +260 -0
- pulumi_alicloud/arms/_inputs.py +438 -0
- pulumi_alicloud/arms/outputs.py +442 -0
- pulumi_alicloud/bp/_inputs.py +14 -0
- pulumi_alicloud/bp/outputs.py +14 -0
- pulumi_alicloud/cas/outputs.py +4 -0
- pulumi_alicloud/cddc/outputs.py +6 -0
- pulumi_alicloud/cen/get_transit_router_service.py +2 -2
- pulumi_alicloud/cfg/_inputs.py +20 -0
- pulumi_alicloud/cfg/outputs.py +20 -0
- pulumi_alicloud/clickhouse/get_regions.py +2 -2
- pulumi_alicloud/clickhouse/outputs.py +4 -0
- pulumi_alicloud/cloudfirewall/_inputs.py +40 -0
- pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
- pulumi_alicloud/cloudfirewall/outputs.py +40 -0
- pulumi_alicloud/cloudmonitor/_inputs.py +18 -0
- pulumi_alicloud/cloudmonitor/outputs.py +18 -0
- pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
- pulumi_alicloud/cms/_inputs.py +188 -0
- pulumi_alicloud/cms/outputs.py +228 -0
- pulumi_alicloud/compute/_inputs.py +4 -0
- pulumi_alicloud/compute/outputs.py +4 -0
- pulumi_alicloud/cs/_inputs.py +22 -0
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/cs/outputs.py +22 -0
- pulumi_alicloud/databasegateway/outputs.py +42 -0
- pulumi_alicloud/dcdn/_inputs.py +555 -27
- pulumi_alicloud/dcdn/domain.py +366 -217
- pulumi_alicloud/dcdn/outputs.py +550 -22
- pulumi_alicloud/ddos/_inputs.py +162 -0
- pulumi_alicloud/ddos/outputs.py +162 -0
- pulumi_alicloud/dfs/file_system.py +52 -19
- pulumi_alicloud/directmail/get_domains.py +31 -24
- pulumi_alicloud/directmail/outputs.py +131 -32
- pulumi_alicloud/ebs/_inputs.py +22 -0
- pulumi_alicloud/ebs/outputs.py +22 -0
- pulumi_alicloud/eci/_inputs.py +100 -0
- pulumi_alicloud/eci/outputs.py +100 -0
- pulumi_alicloud/ecs/_inputs.py +242 -16
- pulumi_alicloud/ecs/ecs_disk.py +7 -0
- pulumi_alicloud/ecs/image.py +607 -121
- pulumi_alicloud/ecs/instance.py +304 -102
- pulumi_alicloud/ecs/outputs.py +348 -17
- pulumi_alicloud/edas/_inputs.py +28 -0
- pulumi_alicloud/edas/outputs.py +28 -0
- pulumi_alicloud/ehpc/_inputs.py +6 -0
- pulumi_alicloud/ehpc/outputs.py +6 -0
- pulumi_alicloud/emr/_inputs.py +134 -0
- pulumi_alicloud/emr/outputs.py +148 -0
- pulumi_alicloud/emrv2/_inputs.py +714 -0
- pulumi_alicloud/emrv2/cluster.py +14 -14
- pulumi_alicloud/emrv2/outputs.py +724 -0
- pulumi_alicloud/ens/__init__.py +2 -0
- pulumi_alicloud/ens/eip_instance_attachment.py +480 -0
- pulumi_alicloud/ens/instance.py +16 -17
- pulumi_alicloud/ens/nat_gateway.py +458 -0
- pulumi_alicloud/ess/_inputs.py +24 -0
- pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
- pulumi_alicloud/ess/outputs.py +24 -0
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/eventbridge/_inputs.py +156 -0
- pulumi_alicloud/eventbridge/outputs.py +156 -0
- pulumi_alicloud/expressconnect/_inputs.py +12 -0
- pulumi_alicloud/expressconnect/outputs.py +12 -0
- pulumi_alicloud/fc/_inputs.py +32 -0
- pulumi_alicloud/fc/outputs.py +32 -0
- pulumi_alicloud/ga/_inputs.py +24 -0
- pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
- pulumi_alicloud/ga/listener.py +122 -0
- pulumi_alicloud/ga/outputs.py +24 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/_inputs.py +48 -0
- pulumi_alicloud/gpdb/external_data_service.py +485 -0
- pulumi_alicloud/gpdb/outputs.py +60 -0
- pulumi_alicloud/gpdb/remote_adb_data_source.py +763 -0
- pulumi_alicloud/gpdb/streaming_data_service.py +481 -0
- pulumi_alicloud/gpdb/streaming_data_source.py +645 -0
- pulumi_alicloud/hbr/_inputs.py +68 -0
- pulumi_alicloud/hbr/outputs.py +68 -0
- pulumi_alicloud/imp/_inputs.py +14 -0
- pulumi_alicloud/imp/outputs.py +14 -0
- pulumi_alicloud/log/_inputs.py +14 -0
- pulumi_alicloud/log/outputs.py +14 -0
- pulumi_alicloud/maxcompute/_inputs.py +54 -34
- pulumi_alicloud/maxcompute/outputs.py +54 -34
- pulumi_alicloud/maxcompute/project.py +230 -66
- pulumi_alicloud/mongodb/_inputs.py +14 -0
- pulumi_alicloud/mongodb/outputs.py +14 -0
- pulumi_alicloud/oss/_inputs.py +100 -0
- pulumi_alicloud/oss/outputs.py +100 -0
- pulumi_alicloud/ots/_inputs.py +60 -0
- pulumi_alicloud/ots/outputs.py +60 -0
- pulumi_alicloud/polardb/_inputs.py +10 -0
- pulumi_alicloud/polardb/cluster.py +28 -28
- pulumi_alicloud/polardb/outputs.py +10 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/outputs.py +18 -0
- pulumi_alicloud/quotas/_inputs.py +10 -0
- pulumi_alicloud/quotas/outputs.py +10 -0
- pulumi_alicloud/ram/_inputs.py +24 -0
- pulumi_alicloud/ram/outputs.py +24 -0
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/realtimecompute/_inputs.py +6 -0
- pulumi_alicloud/realtimecompute/outputs.py +6 -0
- pulumi_alicloud/redis/tair_instance.py +161 -67
- pulumi_alicloud/rocketmq/_inputs.py +36 -0
- pulumi_alicloud/rocketmq/outputs.py +36 -0
- pulumi_alicloud/ros/_inputs.py +72 -0
- pulumi_alicloud/ros/outputs.py +72 -0
- pulumi_alicloud/sae/_inputs.py +118 -0
- pulumi_alicloud/sae/outputs.py +118 -0
- pulumi_alicloud/scdn/_inputs.py +56 -0
- pulumi_alicloud/scdn/outputs.py +56 -0
- pulumi_alicloud/servicecatalog/_inputs.py +10 -0
- pulumi_alicloud/servicecatalog/outputs.py +10 -0
- pulumi_alicloud/servicemesh/_inputs.py +150 -0
- pulumi_alicloud/servicemesh/outputs.py +154 -0
- pulumi_alicloud/slb/_inputs.py +8 -8
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group.py +140 -84
- pulumi_alicloud/sls/_inputs.py +186 -0
- pulumi_alicloud/sls/outputs.py +186 -0
- pulumi_alicloud/threatdetection/_inputs.py +32 -0
- pulumi_alicloud/threatdetection/outputs.py +32 -0
- pulumi_alicloud/vod/_inputs.py +18 -0
- pulumi_alicloud/vod/outputs.py +18 -0
- pulumi_alicloud/vpc/_inputs.py +50 -12
- pulumi_alicloud/vpc/network.py +332 -134
- pulumi_alicloud/vpc/outputs.py +50 -12
- pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
- pulumi_alicloud/vpn/_inputs.py +10 -0
- pulumi_alicloud/vpn/outputs.py +14 -0
- pulumi_alicloud/wafv3/_inputs.py +10 -0
- pulumi_alicloud/wafv3/outputs.py +10 -0
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/RECORD +144 -138
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/top_level.txt +0 -0
|
@@ -643,17 +643,27 @@ class FirewallVpcFirewallLocalVpcLocalVpcCidrTableList(dict):
|
|
|
643
643
|
def __init__(__self__, *,
|
|
644
644
|
local_route_entry_lists: Sequence['outputs.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList'],
|
|
645
645
|
local_route_table_id: str):
|
|
646
|
+
"""
|
|
647
|
+
:param Sequence['FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs'] local_route_entry_lists: The list of route entries of the local VPC. See `local_route_entry_list` below.
|
|
648
|
+
:param str local_route_table_id: The ID of the route table of the local VPC.
|
|
649
|
+
"""
|
|
646
650
|
pulumi.set(__self__, "local_route_entry_lists", local_route_entry_lists)
|
|
647
651
|
pulumi.set(__self__, "local_route_table_id", local_route_table_id)
|
|
648
652
|
|
|
649
653
|
@property
|
|
650
654
|
@pulumi.getter(name="localRouteEntryLists")
|
|
651
655
|
def local_route_entry_lists(self) -> Sequence['outputs.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList']:
|
|
656
|
+
"""
|
|
657
|
+
The list of route entries of the local VPC. See `local_route_entry_list` below.
|
|
658
|
+
"""
|
|
652
659
|
return pulumi.get(self, "local_route_entry_lists")
|
|
653
660
|
|
|
654
661
|
@property
|
|
655
662
|
@pulumi.getter(name="localRouteTableId")
|
|
656
663
|
def local_route_table_id(self) -> str:
|
|
664
|
+
"""
|
|
665
|
+
The ID of the route table of the local VPC.
|
|
666
|
+
"""
|
|
657
667
|
return pulumi.get(self, "local_route_table_id")
|
|
658
668
|
|
|
659
669
|
|
|
@@ -681,17 +691,27 @@ class FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList(dict):
|
|
|
681
691
|
def __init__(__self__, *,
|
|
682
692
|
local_destination_cidr: str,
|
|
683
693
|
local_next_hop_instance_id: str):
|
|
694
|
+
"""
|
|
695
|
+
:param str local_destination_cidr: The target network segment of the local VPC.
|
|
696
|
+
:param str local_next_hop_instance_id: The ID of the next-hop instance in the local VPC.
|
|
697
|
+
"""
|
|
684
698
|
pulumi.set(__self__, "local_destination_cidr", local_destination_cidr)
|
|
685
699
|
pulumi.set(__self__, "local_next_hop_instance_id", local_next_hop_instance_id)
|
|
686
700
|
|
|
687
701
|
@property
|
|
688
702
|
@pulumi.getter(name="localDestinationCidr")
|
|
689
703
|
def local_destination_cidr(self) -> str:
|
|
704
|
+
"""
|
|
705
|
+
The target network segment of the local VPC.
|
|
706
|
+
"""
|
|
690
707
|
return pulumi.get(self, "local_destination_cidr")
|
|
691
708
|
|
|
692
709
|
@property
|
|
693
710
|
@pulumi.getter(name="localNextHopInstanceId")
|
|
694
711
|
def local_next_hop_instance_id(self) -> str:
|
|
712
|
+
"""
|
|
713
|
+
The ID of the next-hop instance in the local VPC.
|
|
714
|
+
"""
|
|
695
715
|
return pulumi.get(self, "local_next_hop_instance_id")
|
|
696
716
|
|
|
697
717
|
|
|
@@ -836,17 +856,27 @@ class FirewallVpcFirewallPeerVpcPeerVpcCidrTableList(dict):
|
|
|
836
856
|
def __init__(__self__, *,
|
|
837
857
|
peer_route_entry_lists: Sequence['outputs.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList'],
|
|
838
858
|
peer_route_table_id: str):
|
|
859
|
+
"""
|
|
860
|
+
:param Sequence['FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs'] peer_route_entry_lists: Peer VPC route entry list information. See `peer_route_entry_list` below.
|
|
861
|
+
:param str peer_route_table_id: The ID of the route table of the peer VPC.
|
|
862
|
+
"""
|
|
839
863
|
pulumi.set(__self__, "peer_route_entry_lists", peer_route_entry_lists)
|
|
840
864
|
pulumi.set(__self__, "peer_route_table_id", peer_route_table_id)
|
|
841
865
|
|
|
842
866
|
@property
|
|
843
867
|
@pulumi.getter(name="peerRouteEntryLists")
|
|
844
868
|
def peer_route_entry_lists(self) -> Sequence['outputs.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList']:
|
|
869
|
+
"""
|
|
870
|
+
Peer VPC route entry list information. See `peer_route_entry_list` below.
|
|
871
|
+
"""
|
|
845
872
|
return pulumi.get(self, "peer_route_entry_lists")
|
|
846
873
|
|
|
847
874
|
@property
|
|
848
875
|
@pulumi.getter(name="peerRouteTableId")
|
|
849
876
|
def peer_route_table_id(self) -> str:
|
|
877
|
+
"""
|
|
878
|
+
The ID of the route table of the peer VPC.
|
|
879
|
+
"""
|
|
850
880
|
return pulumi.get(self, "peer_route_table_id")
|
|
851
881
|
|
|
852
882
|
|
|
@@ -874,17 +904,27 @@ class FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList(dict):
|
|
|
874
904
|
def __init__(__self__, *,
|
|
875
905
|
peer_destination_cidr: str,
|
|
876
906
|
peer_next_hop_instance_id: str):
|
|
907
|
+
"""
|
|
908
|
+
:param str peer_destination_cidr: The target network segment of the peer VPC.
|
|
909
|
+
:param str peer_next_hop_instance_id: The ID of the next-hop instance in the peer VPC.
|
|
910
|
+
"""
|
|
877
911
|
pulumi.set(__self__, "peer_destination_cidr", peer_destination_cidr)
|
|
878
912
|
pulumi.set(__self__, "peer_next_hop_instance_id", peer_next_hop_instance_id)
|
|
879
913
|
|
|
880
914
|
@property
|
|
881
915
|
@pulumi.getter(name="peerDestinationCidr")
|
|
882
916
|
def peer_destination_cidr(self) -> str:
|
|
917
|
+
"""
|
|
918
|
+
The target network segment of the peer VPC.
|
|
919
|
+
"""
|
|
883
920
|
return pulumi.get(self, "peer_destination_cidr")
|
|
884
921
|
|
|
885
922
|
@property
|
|
886
923
|
@pulumi.getter(name="peerNextHopInstanceId")
|
|
887
924
|
def peer_next_hop_instance_id(self) -> str:
|
|
925
|
+
"""
|
|
926
|
+
The ID of the next-hop instance in the peer VPC.
|
|
927
|
+
"""
|
|
888
928
|
return pulumi.get(self, "peer_next_hop_instance_id")
|
|
889
929
|
|
|
890
930
|
|
|
@@ -168,6 +168,12 @@ class ServiceGroupMonitoringAgentProcessAlertConfigTargetListArgs:
|
|
|
168
168
|
json_params: Optional[pulumi.Input[str]] = None,
|
|
169
169
|
level: Optional[pulumi.Input[str]] = None,
|
|
170
170
|
target_list_id: Optional[pulumi.Input[str]] = None):
|
|
171
|
+
"""
|
|
172
|
+
:param pulumi.Input[str] arn: The Alibaba Cloud Resource Name (ARN) of the resource.
|
|
173
|
+
:param pulumi.Input[str] json_params: The parameters of the alert callback. Specify the parameters in the JSON format.
|
|
174
|
+
:param pulumi.Input[str] level: The alert level. Valid values: `CRITICAL`, `WARN`, `INFO`.
|
|
175
|
+
:param pulumi.Input[str] target_list_id: The ID of the resource for which alerts are triggered.
|
|
176
|
+
"""
|
|
171
177
|
if arn is not None:
|
|
172
178
|
pulumi.set(__self__, "arn", arn)
|
|
173
179
|
if json_params is not None:
|
|
@@ -180,6 +186,9 @@ class ServiceGroupMonitoringAgentProcessAlertConfigTargetListArgs:
|
|
|
180
186
|
@property
|
|
181
187
|
@pulumi.getter
|
|
182
188
|
def arn(self) -> Optional[pulumi.Input[str]]:
|
|
189
|
+
"""
|
|
190
|
+
The Alibaba Cloud Resource Name (ARN) of the resource.
|
|
191
|
+
"""
|
|
183
192
|
return pulumi.get(self, "arn")
|
|
184
193
|
|
|
185
194
|
@arn.setter
|
|
@@ -189,6 +198,9 @@ class ServiceGroupMonitoringAgentProcessAlertConfigTargetListArgs:
|
|
|
189
198
|
@property
|
|
190
199
|
@pulumi.getter(name="jsonParams")
|
|
191
200
|
def json_params(self) -> Optional[pulumi.Input[str]]:
|
|
201
|
+
"""
|
|
202
|
+
The parameters of the alert callback. Specify the parameters in the JSON format.
|
|
203
|
+
"""
|
|
192
204
|
return pulumi.get(self, "json_params")
|
|
193
205
|
|
|
194
206
|
@json_params.setter
|
|
@@ -198,6 +210,9 @@ class ServiceGroupMonitoringAgentProcessAlertConfigTargetListArgs:
|
|
|
198
210
|
@property
|
|
199
211
|
@pulumi.getter
|
|
200
212
|
def level(self) -> Optional[pulumi.Input[str]]:
|
|
213
|
+
"""
|
|
214
|
+
The alert level. Valid values: `CRITICAL`, `WARN`, `INFO`.
|
|
215
|
+
"""
|
|
201
216
|
return pulumi.get(self, "level")
|
|
202
217
|
|
|
203
218
|
@level.setter
|
|
@@ -207,6 +222,9 @@ class ServiceGroupMonitoringAgentProcessAlertConfigTargetListArgs:
|
|
|
207
222
|
@property
|
|
208
223
|
@pulumi.getter(name="targetListId")
|
|
209
224
|
def target_list_id(self) -> Optional[pulumi.Input[str]]:
|
|
225
|
+
"""
|
|
226
|
+
The ID of the resource for which alerts are triggered.
|
|
227
|
+
"""
|
|
210
228
|
return pulumi.get(self, "target_list_id")
|
|
211
229
|
|
|
212
230
|
@target_list_id.setter
|
|
@@ -178,6 +178,12 @@ class ServiceGroupMonitoringAgentProcessAlertConfigTargetList(dict):
|
|
|
178
178
|
json_params: Optional[str] = None,
|
|
179
179
|
level: Optional[str] = None,
|
|
180
180
|
target_list_id: Optional[str] = None):
|
|
181
|
+
"""
|
|
182
|
+
:param str arn: The Alibaba Cloud Resource Name (ARN) of the resource.
|
|
183
|
+
:param str json_params: The parameters of the alert callback. Specify the parameters in the JSON format.
|
|
184
|
+
:param str level: The alert level. Valid values: `CRITICAL`, `WARN`, `INFO`.
|
|
185
|
+
:param str target_list_id: The ID of the resource for which alerts are triggered.
|
|
186
|
+
"""
|
|
181
187
|
if arn is not None:
|
|
182
188
|
pulumi.set(__self__, "arn", arn)
|
|
183
189
|
if json_params is not None:
|
|
@@ -190,21 +196,33 @@ class ServiceGroupMonitoringAgentProcessAlertConfigTargetList(dict):
|
|
|
190
196
|
@property
|
|
191
197
|
@pulumi.getter
|
|
192
198
|
def arn(self) -> Optional[str]:
|
|
199
|
+
"""
|
|
200
|
+
The Alibaba Cloud Resource Name (ARN) of the resource.
|
|
201
|
+
"""
|
|
193
202
|
return pulumi.get(self, "arn")
|
|
194
203
|
|
|
195
204
|
@property
|
|
196
205
|
@pulumi.getter(name="jsonParams")
|
|
197
206
|
def json_params(self) -> Optional[str]:
|
|
207
|
+
"""
|
|
208
|
+
The parameters of the alert callback. Specify the parameters in the JSON format.
|
|
209
|
+
"""
|
|
198
210
|
return pulumi.get(self, "json_params")
|
|
199
211
|
|
|
200
212
|
@property
|
|
201
213
|
@pulumi.getter
|
|
202
214
|
def level(self) -> Optional[str]:
|
|
215
|
+
"""
|
|
216
|
+
The alert level. Valid values: `CRITICAL`, `WARN`, `INFO`.
|
|
217
|
+
"""
|
|
203
218
|
return pulumi.get(self, "level")
|
|
204
219
|
|
|
205
220
|
@property
|
|
206
221
|
@pulumi.getter(name="targetListId")
|
|
207
222
|
def target_list_id(self) -> Optional[str]:
|
|
223
|
+
"""
|
|
224
|
+
The ID of the resource for which alerts are triggered.
|
|
225
|
+
"""
|
|
208
226
|
return pulumi.get(self, "target_list_id")
|
|
209
227
|
|
|
210
228
|
|
|
@@ -16,23 +16,27 @@ class GatewayCacheDiskArgs:
|
|
|
16
16
|
def __init__(__self__, *,
|
|
17
17
|
cache_disk_size_in_gb: pulumi.Input[int],
|
|
18
18
|
gateway_id: pulumi.Input[str],
|
|
19
|
-
cache_disk_category: Optional[pulumi.Input[str]] = None
|
|
19
|
+
cache_disk_category: Optional[pulumi.Input[str]] = None,
|
|
20
|
+
performance_level: Optional[pulumi.Input[str]] = None):
|
|
20
21
|
"""
|
|
21
22
|
The set of arguments for constructing a GatewayCacheDisk resource.
|
|
22
|
-
:param pulumi.Input[int] cache_disk_size_in_gb:
|
|
23
|
+
:param pulumi.Input[int] cache_disk_size_in_gb: The capacity of the cache disk.
|
|
23
24
|
:param pulumi.Input[str] gateway_id: The ID of the gateway.
|
|
24
|
-
:param pulumi.Input[str] cache_disk_category: The cache disk
|
|
25
|
+
:param pulumi.Input[str] cache_disk_category: The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
|
|
26
|
+
:param pulumi.Input[str] performance_level: The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
|
|
25
27
|
"""
|
|
26
28
|
pulumi.set(__self__, "cache_disk_size_in_gb", cache_disk_size_in_gb)
|
|
27
29
|
pulumi.set(__self__, "gateway_id", gateway_id)
|
|
28
30
|
if cache_disk_category is not None:
|
|
29
31
|
pulumi.set(__self__, "cache_disk_category", cache_disk_category)
|
|
32
|
+
if performance_level is not None:
|
|
33
|
+
pulumi.set(__self__, "performance_level", performance_level)
|
|
30
34
|
|
|
31
35
|
@property
|
|
32
36
|
@pulumi.getter(name="cacheDiskSizeInGb")
|
|
33
37
|
def cache_disk_size_in_gb(self) -> pulumi.Input[int]:
|
|
34
38
|
"""
|
|
35
|
-
|
|
39
|
+
The capacity of the cache disk.
|
|
36
40
|
"""
|
|
37
41
|
return pulumi.get(self, "cache_disk_size_in_gb")
|
|
38
42
|
|
|
@@ -56,7 +60,7 @@ class GatewayCacheDiskArgs:
|
|
|
56
60
|
@pulumi.getter(name="cacheDiskCategory")
|
|
57
61
|
def cache_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
58
62
|
"""
|
|
59
|
-
The cache disk
|
|
63
|
+
The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
|
|
60
64
|
"""
|
|
61
65
|
return pulumi.get(self, "cache_disk_category")
|
|
62
66
|
|
|
@@ -64,6 +68,18 @@ class GatewayCacheDiskArgs:
|
|
|
64
68
|
def cache_disk_category(self, value: Optional[pulumi.Input[str]]):
|
|
65
69
|
pulumi.set(self, "cache_disk_category", value)
|
|
66
70
|
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter(name="performanceLevel")
|
|
73
|
+
def performance_level(self) -> Optional[pulumi.Input[str]]:
|
|
74
|
+
"""
|
|
75
|
+
The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
|
|
76
|
+
"""
|
|
77
|
+
return pulumi.get(self, "performance_level")
|
|
78
|
+
|
|
79
|
+
@performance_level.setter
|
|
80
|
+
def performance_level(self, value: Optional[pulumi.Input[str]]):
|
|
81
|
+
pulumi.set(self, "performance_level", value)
|
|
82
|
+
|
|
67
83
|
|
|
68
84
|
@pulumi.input_type
|
|
69
85
|
class _GatewayCacheDiskState:
|
|
@@ -73,15 +89,17 @@ class _GatewayCacheDiskState:
|
|
|
73
89
|
cache_id: Optional[pulumi.Input[str]] = None,
|
|
74
90
|
gateway_id: Optional[pulumi.Input[str]] = None,
|
|
75
91
|
local_file_path: Optional[pulumi.Input[str]] = None,
|
|
92
|
+
performance_level: Optional[pulumi.Input[str]] = None,
|
|
76
93
|
status: Optional[pulumi.Input[int]] = None):
|
|
77
94
|
"""
|
|
78
95
|
Input properties used for looking up and filtering GatewayCacheDisk resources.
|
|
79
|
-
:param pulumi.Input[str] cache_disk_category: The cache disk
|
|
80
|
-
:param pulumi.Input[int] cache_disk_size_in_gb:
|
|
81
|
-
:param pulumi.Input[str] cache_id: The ID of the cache.
|
|
96
|
+
:param pulumi.Input[str] cache_disk_category: The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
|
|
97
|
+
:param pulumi.Input[int] cache_disk_size_in_gb: The capacity of the cache disk.
|
|
98
|
+
:param pulumi.Input[str] cache_id: The ID of the cache disk.
|
|
82
99
|
:param pulumi.Input[str] gateway_id: The ID of the gateway.
|
|
83
|
-
:param pulumi.Input[str] local_file_path: The
|
|
84
|
-
:param pulumi.Input[
|
|
100
|
+
:param pulumi.Input[str] local_file_path: The path of the cache disk.
|
|
101
|
+
:param pulumi.Input[str] performance_level: The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
|
|
102
|
+
:param pulumi.Input[int] status: The status of the Gateway Cache Disk.
|
|
85
103
|
"""
|
|
86
104
|
if cache_disk_category is not None:
|
|
87
105
|
pulumi.set(__self__, "cache_disk_category", cache_disk_category)
|
|
@@ -93,6 +111,8 @@ class _GatewayCacheDiskState:
|
|
|
93
111
|
pulumi.set(__self__, "gateway_id", gateway_id)
|
|
94
112
|
if local_file_path is not None:
|
|
95
113
|
pulumi.set(__self__, "local_file_path", local_file_path)
|
|
114
|
+
if performance_level is not None:
|
|
115
|
+
pulumi.set(__self__, "performance_level", performance_level)
|
|
96
116
|
if status is not None:
|
|
97
117
|
pulumi.set(__self__, "status", status)
|
|
98
118
|
|
|
@@ -100,7 +120,7 @@ class _GatewayCacheDiskState:
|
|
|
100
120
|
@pulumi.getter(name="cacheDiskCategory")
|
|
101
121
|
def cache_disk_category(self) -> Optional[pulumi.Input[str]]:
|
|
102
122
|
"""
|
|
103
|
-
The cache disk
|
|
123
|
+
The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
|
|
104
124
|
"""
|
|
105
125
|
return pulumi.get(self, "cache_disk_category")
|
|
106
126
|
|
|
@@ -112,7 +132,7 @@ class _GatewayCacheDiskState:
|
|
|
112
132
|
@pulumi.getter(name="cacheDiskSizeInGb")
|
|
113
133
|
def cache_disk_size_in_gb(self) -> Optional[pulumi.Input[int]]:
|
|
114
134
|
"""
|
|
115
|
-
|
|
135
|
+
The capacity of the cache disk.
|
|
116
136
|
"""
|
|
117
137
|
return pulumi.get(self, "cache_disk_size_in_gb")
|
|
118
138
|
|
|
@@ -124,7 +144,7 @@ class _GatewayCacheDiskState:
|
|
|
124
144
|
@pulumi.getter(name="cacheId")
|
|
125
145
|
def cache_id(self) -> Optional[pulumi.Input[str]]:
|
|
126
146
|
"""
|
|
127
|
-
The ID of the cache.
|
|
147
|
+
The ID of the cache disk.
|
|
128
148
|
"""
|
|
129
149
|
return pulumi.get(self, "cache_id")
|
|
130
150
|
|
|
@@ -148,7 +168,7 @@ class _GatewayCacheDiskState:
|
|
|
148
168
|
@pulumi.getter(name="localFilePath")
|
|
149
169
|
def local_file_path(self) -> Optional[pulumi.Input[str]]:
|
|
150
170
|
"""
|
|
151
|
-
The
|
|
171
|
+
The path of the cache disk.
|
|
152
172
|
"""
|
|
153
173
|
return pulumi.get(self, "local_file_path")
|
|
154
174
|
|
|
@@ -156,11 +176,23 @@ class _GatewayCacheDiskState:
|
|
|
156
176
|
def local_file_path(self, value: Optional[pulumi.Input[str]]):
|
|
157
177
|
pulumi.set(self, "local_file_path", value)
|
|
158
178
|
|
|
179
|
+
@property
|
|
180
|
+
@pulumi.getter(name="performanceLevel")
|
|
181
|
+
def performance_level(self) -> Optional[pulumi.Input[str]]:
|
|
182
|
+
"""
|
|
183
|
+
The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
|
|
184
|
+
"""
|
|
185
|
+
return pulumi.get(self, "performance_level")
|
|
186
|
+
|
|
187
|
+
@performance_level.setter
|
|
188
|
+
def performance_level(self, value: Optional[pulumi.Input[str]]):
|
|
189
|
+
pulumi.set(self, "performance_level", value)
|
|
190
|
+
|
|
159
191
|
@property
|
|
160
192
|
@pulumi.getter
|
|
161
193
|
def status(self) -> Optional[pulumi.Input[int]]:
|
|
162
194
|
"""
|
|
163
|
-
The status of the
|
|
195
|
+
The status of the Gateway Cache Disk.
|
|
164
196
|
"""
|
|
165
197
|
return pulumi.get(self, "status")
|
|
166
198
|
|
|
@@ -177,6 +209,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
177
209
|
cache_disk_category: Optional[pulumi.Input[str]] = None,
|
|
178
210
|
cache_disk_size_in_gb: Optional[pulumi.Input[int]] = None,
|
|
179
211
|
gateway_id: Optional[pulumi.Input[str]] = None,
|
|
212
|
+
performance_level: Optional[pulumi.Input[str]] = None,
|
|
180
213
|
__props__=None):
|
|
181
214
|
"""
|
|
182
215
|
Provides a Cloud Storage Gateway Gateway Cache Disk resource.
|
|
@@ -185,6 +218,44 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
185
218
|
|
|
186
219
|
> **NOTE:** Available since v1.144.0.
|
|
187
220
|
|
|
221
|
+
## Example Usage
|
|
222
|
+
|
|
223
|
+
Basic Usage
|
|
224
|
+
|
|
225
|
+
```python
|
|
226
|
+
import pulumi
|
|
227
|
+
import pulumi_alicloud as alicloud
|
|
228
|
+
|
|
229
|
+
config = pulumi.Config()
|
|
230
|
+
name = config.get("name")
|
|
231
|
+
if name is None:
|
|
232
|
+
name = "tf-example"
|
|
233
|
+
default = alicloud.cloudstoragegateway.get_stocks(gateway_class="Standard")
|
|
234
|
+
default_network = alicloud.vpc.Network("default",
|
|
235
|
+
vpc_name=name,
|
|
236
|
+
cidr_block="172.16.0.0/16")
|
|
237
|
+
default_switch = alicloud.vpc.Switch("default",
|
|
238
|
+
vpc_id=default_network.id,
|
|
239
|
+
cidr_block="172.16.0.0/24",
|
|
240
|
+
zone_id=default.stocks[0].zone_id,
|
|
241
|
+
vswitch_name=name)
|
|
242
|
+
default_storage_bundle = alicloud.cloudstoragegateway.StorageBundle("default", storage_bundle_name=name)
|
|
243
|
+
default_gateway = alicloud.cloudstoragegateway.Gateway("default",
|
|
244
|
+
description=name,
|
|
245
|
+
gateway_class="Standard",
|
|
246
|
+
type="File",
|
|
247
|
+
payment_type="PayAsYouGo",
|
|
248
|
+
vswitch_id=default_switch.id,
|
|
249
|
+
release_after_expiration=True,
|
|
250
|
+
storage_bundle_id=default_storage_bundle.id,
|
|
251
|
+
location="Cloud",
|
|
252
|
+
gateway_name=name)
|
|
253
|
+
default_gateway_cache_disk = alicloud.cloudstoragegateway.GatewayCacheDisk("default",
|
|
254
|
+
gateway_id=default_gateway.id,
|
|
255
|
+
cache_disk_size_in_gb=50,
|
|
256
|
+
cache_disk_category="cloud_efficiency")
|
|
257
|
+
```
|
|
258
|
+
|
|
188
259
|
## Import
|
|
189
260
|
|
|
190
261
|
Cloud Storage Gateway Gateway Cache Disk can be imported using the id, e.g.
|
|
@@ -195,9 +266,10 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
195
266
|
|
|
196
267
|
:param str resource_name: The name of the resource.
|
|
197
268
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
198
|
-
:param pulumi.Input[str] cache_disk_category: The cache disk
|
|
199
|
-
:param pulumi.Input[int] cache_disk_size_in_gb:
|
|
269
|
+
:param pulumi.Input[str] cache_disk_category: The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
|
|
270
|
+
:param pulumi.Input[int] cache_disk_size_in_gb: The capacity of the cache disk.
|
|
200
271
|
:param pulumi.Input[str] gateway_id: The ID of the gateway.
|
|
272
|
+
:param pulumi.Input[str] performance_level: The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
|
|
201
273
|
"""
|
|
202
274
|
...
|
|
203
275
|
@overload
|
|
@@ -212,6 +284,44 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
212
284
|
|
|
213
285
|
> **NOTE:** Available since v1.144.0.
|
|
214
286
|
|
|
287
|
+
## Example Usage
|
|
288
|
+
|
|
289
|
+
Basic Usage
|
|
290
|
+
|
|
291
|
+
```python
|
|
292
|
+
import pulumi
|
|
293
|
+
import pulumi_alicloud as alicloud
|
|
294
|
+
|
|
295
|
+
config = pulumi.Config()
|
|
296
|
+
name = config.get("name")
|
|
297
|
+
if name is None:
|
|
298
|
+
name = "tf-example"
|
|
299
|
+
default = alicloud.cloudstoragegateway.get_stocks(gateway_class="Standard")
|
|
300
|
+
default_network = alicloud.vpc.Network("default",
|
|
301
|
+
vpc_name=name,
|
|
302
|
+
cidr_block="172.16.0.0/16")
|
|
303
|
+
default_switch = alicloud.vpc.Switch("default",
|
|
304
|
+
vpc_id=default_network.id,
|
|
305
|
+
cidr_block="172.16.0.0/24",
|
|
306
|
+
zone_id=default.stocks[0].zone_id,
|
|
307
|
+
vswitch_name=name)
|
|
308
|
+
default_storage_bundle = alicloud.cloudstoragegateway.StorageBundle("default", storage_bundle_name=name)
|
|
309
|
+
default_gateway = alicloud.cloudstoragegateway.Gateway("default",
|
|
310
|
+
description=name,
|
|
311
|
+
gateway_class="Standard",
|
|
312
|
+
type="File",
|
|
313
|
+
payment_type="PayAsYouGo",
|
|
314
|
+
vswitch_id=default_switch.id,
|
|
315
|
+
release_after_expiration=True,
|
|
316
|
+
storage_bundle_id=default_storage_bundle.id,
|
|
317
|
+
location="Cloud",
|
|
318
|
+
gateway_name=name)
|
|
319
|
+
default_gateway_cache_disk = alicloud.cloudstoragegateway.GatewayCacheDisk("default",
|
|
320
|
+
gateway_id=default_gateway.id,
|
|
321
|
+
cache_disk_size_in_gb=50,
|
|
322
|
+
cache_disk_category="cloud_efficiency")
|
|
323
|
+
```
|
|
324
|
+
|
|
215
325
|
## Import
|
|
216
326
|
|
|
217
327
|
Cloud Storage Gateway Gateway Cache Disk can be imported using the id, e.g.
|
|
@@ -238,6 +348,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
238
348
|
cache_disk_category: Optional[pulumi.Input[str]] = None,
|
|
239
349
|
cache_disk_size_in_gb: Optional[pulumi.Input[int]] = None,
|
|
240
350
|
gateway_id: Optional[pulumi.Input[str]] = None,
|
|
351
|
+
performance_level: Optional[pulumi.Input[str]] = None,
|
|
241
352
|
__props__=None):
|
|
242
353
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
243
354
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -254,6 +365,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
254
365
|
if gateway_id is None and not opts.urn:
|
|
255
366
|
raise TypeError("Missing required property 'gateway_id'")
|
|
256
367
|
__props__.__dict__["gateway_id"] = gateway_id
|
|
368
|
+
__props__.__dict__["performance_level"] = performance_level
|
|
257
369
|
__props__.__dict__["cache_id"] = None
|
|
258
370
|
__props__.__dict__["local_file_path"] = None
|
|
259
371
|
__props__.__dict__["status"] = None
|
|
@@ -272,6 +384,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
272
384
|
cache_id: Optional[pulumi.Input[str]] = None,
|
|
273
385
|
gateway_id: Optional[pulumi.Input[str]] = None,
|
|
274
386
|
local_file_path: Optional[pulumi.Input[str]] = None,
|
|
387
|
+
performance_level: Optional[pulumi.Input[str]] = None,
|
|
275
388
|
status: Optional[pulumi.Input[int]] = None) -> 'GatewayCacheDisk':
|
|
276
389
|
"""
|
|
277
390
|
Get an existing GatewayCacheDisk resource's state with the given name, id, and optional extra
|
|
@@ -280,12 +393,13 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
280
393
|
:param str resource_name: The unique name of the resulting resource.
|
|
281
394
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
282
395
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
283
|
-
:param pulumi.Input[str] cache_disk_category: The cache disk
|
|
284
|
-
:param pulumi.Input[int] cache_disk_size_in_gb:
|
|
285
|
-
:param pulumi.Input[str] cache_id: The ID of the cache.
|
|
396
|
+
:param pulumi.Input[str] cache_disk_category: The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
|
|
397
|
+
:param pulumi.Input[int] cache_disk_size_in_gb: The capacity of the cache disk.
|
|
398
|
+
:param pulumi.Input[str] cache_id: The ID of the cache disk.
|
|
286
399
|
:param pulumi.Input[str] gateway_id: The ID of the gateway.
|
|
287
|
-
:param pulumi.Input[str] local_file_path: The
|
|
288
|
-
:param pulumi.Input[
|
|
400
|
+
:param pulumi.Input[str] local_file_path: The path of the cache disk.
|
|
401
|
+
:param pulumi.Input[str] performance_level: The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
|
|
402
|
+
:param pulumi.Input[int] status: The status of the Gateway Cache Disk.
|
|
289
403
|
"""
|
|
290
404
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
291
405
|
|
|
@@ -296,6 +410,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
296
410
|
__props__.__dict__["cache_id"] = cache_id
|
|
297
411
|
__props__.__dict__["gateway_id"] = gateway_id
|
|
298
412
|
__props__.__dict__["local_file_path"] = local_file_path
|
|
413
|
+
__props__.__dict__["performance_level"] = performance_level
|
|
299
414
|
__props__.__dict__["status"] = status
|
|
300
415
|
return GatewayCacheDisk(resource_name, opts=opts, __props__=__props__)
|
|
301
416
|
|
|
@@ -303,7 +418,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
303
418
|
@pulumi.getter(name="cacheDiskCategory")
|
|
304
419
|
def cache_disk_category(self) -> pulumi.Output[str]:
|
|
305
420
|
"""
|
|
306
|
-
The cache disk
|
|
421
|
+
The type of the cache disk. Valid values: `cloud_efficiency`, `cloud_ssd`, `cloud_essd`. **NOTE:** From version 1.227.0, `cache_disk_category` can be set to `cloud_essd`.
|
|
307
422
|
"""
|
|
308
423
|
return pulumi.get(self, "cache_disk_category")
|
|
309
424
|
|
|
@@ -311,7 +426,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
311
426
|
@pulumi.getter(name="cacheDiskSizeInGb")
|
|
312
427
|
def cache_disk_size_in_gb(self) -> pulumi.Output[int]:
|
|
313
428
|
"""
|
|
314
|
-
|
|
429
|
+
The capacity of the cache disk.
|
|
315
430
|
"""
|
|
316
431
|
return pulumi.get(self, "cache_disk_size_in_gb")
|
|
317
432
|
|
|
@@ -319,7 +434,7 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
319
434
|
@pulumi.getter(name="cacheId")
|
|
320
435
|
def cache_id(self) -> pulumi.Output[str]:
|
|
321
436
|
"""
|
|
322
|
-
The ID of the cache.
|
|
437
|
+
The ID of the cache disk.
|
|
323
438
|
"""
|
|
324
439
|
return pulumi.get(self, "cache_id")
|
|
325
440
|
|
|
@@ -335,15 +450,23 @@ class GatewayCacheDisk(pulumi.CustomResource):
|
|
|
335
450
|
@pulumi.getter(name="localFilePath")
|
|
336
451
|
def local_file_path(self) -> pulumi.Output[str]:
|
|
337
452
|
"""
|
|
338
|
-
The
|
|
453
|
+
The path of the cache disk.
|
|
339
454
|
"""
|
|
340
455
|
return pulumi.get(self, "local_file_path")
|
|
341
456
|
|
|
457
|
+
@property
|
|
458
|
+
@pulumi.getter(name="performanceLevel")
|
|
459
|
+
def performance_level(self) -> pulumi.Output[Optional[str]]:
|
|
460
|
+
"""
|
|
461
|
+
The performance level (PL) of the Enterprise SSD (ESSD). Valid values: `PL1`, `PL2`, `PL3`. **NOTE:** If `cache_disk_category` is set to `cloud_essd`, `performance_level` is required.
|
|
462
|
+
"""
|
|
463
|
+
return pulumi.get(self, "performance_level")
|
|
464
|
+
|
|
342
465
|
@property
|
|
343
466
|
@pulumi.getter
|
|
344
467
|
def status(self) -> pulumi.Output[int]:
|
|
345
468
|
"""
|
|
346
|
-
The status of the
|
|
469
|
+
The status of the Gateway Cache Disk.
|
|
347
470
|
"""
|
|
348
471
|
return pulumi.get(self, "status")
|
|
349
472
|
|