pulumi-alicloud 3.86.0a1758340042__py3-none-any.whl → 3.89.0a1763702747__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_alicloud/__init__.py +83 -0
- pulumi_alicloud/actiontrail/get_trails_deprecated.py +20 -0
- pulumi_alicloud/adb/resource_group.py +463 -3
- pulumi_alicloud/alikafka/topic.py +278 -85
- pulumi_alicloud/apig/_inputs.py +80 -6
- pulumi_alicloud/apig/gateway.py +111 -3
- pulumi_alicloud/apig/outputs.py +67 -4
- pulumi_alicloud/cas/certificate.py +248 -35
- pulumi_alicloud/cas/service_certificate.py +454 -168
- pulumi_alicloud/cen/get_transit_router_peer_attachments.py +20 -0
- pulumi_alicloud/cen/get_transit_router_vbr_attachments.py +20 -0
- pulumi_alicloud/cfg/_inputs.py +27 -24
- pulumi_alicloud/cfg/aggregator.py +142 -53
- pulumi_alicloud/cfg/outputs.py +18 -15
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +132 -0
- pulumi_alicloud/cloudfirewall/get_tls_inspect_ca_certificates.py +214 -0
- pulumi_alicloud/cloudfirewall/outputs.py +30 -0
- pulumi_alicloud/cloudsso/__init__.py +1 -0
- pulumi_alicloud/cloudsso/get_user_provisioning_events.py +226 -0
- pulumi_alicloud/cloudsso/outputs.py +228 -0
- pulumi_alicloud/cloudsso/user.py +247 -80
- pulumi_alicloud/cms/_inputs.py +870 -10
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/cms/outputs.py +606 -6
- pulumi_alicloud/cms/site_monitor.py +360 -89
- pulumi_alicloud/cr/registry_enterprise_instance.py +63 -0
- pulumi_alicloud/cs/managed_kubernetes.py +6 -2
- pulumi_alicloud/ddos/domain_resource.py +89 -0
- pulumi_alicloud/dms/get_enterprise_logic_databases.py +8 -0
- pulumi_alicloud/dts/instance.py +14 -14
- pulumi_alicloud/eais/get_instances.py +8 -0
- pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +32 -0
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/elasticity_assurance.py +279 -20
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/security_group_rule.py +7 -7
- pulumi_alicloud/edas/get_deploy_groups.py +4 -0
- pulumi_alicloud/eflo/node.py +153 -15
- pulumi_alicloud/emrv2/get_clusters.py +260 -0
- pulumi_alicloud/ens/load_balancer.py +8 -4
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/_inputs.py +3774 -991
- pulumi_alicloud/esa/cache_rule.py +47 -0
- pulumi_alicloud/esa/certificate.py +21 -54
- pulumi_alicloud/esa/compression_rule.py +47 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +89 -28
- pulumi_alicloud/esa/https_application_configuration.py +188 -0
- pulumi_alicloud/esa/https_basic_configuration.py +54 -7
- pulumi_alicloud/esa/image_transform.py +47 -0
- pulumi_alicloud/esa/load_balancer.py +999 -0
- pulumi_alicloud/esa/network_optimization.py +82 -21
- pulumi_alicloud/esa/origin_rule.py +470 -14
- pulumi_alicloud/esa/outputs.py +2080 -0
- pulumi_alicloud/esa/rate_plan_instance.py +64 -39
- pulumi_alicloud/esa/redirect_rule.py +68 -21
- pulumi_alicloud/esa/rewrite_url_rule.py +82 -56
- pulumi_alicloud/esa/waf_rule.py +510 -0
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/_inputs.py +256 -0
- pulumi_alicloud/ess/alb_server_group_attachment.py +2 -2
- pulumi_alicloud/ess/attachment.py +10 -6
- pulumi_alicloud/ess/instance_refresh.py +760 -0
- pulumi_alicloud/ess/outputs.py +203 -0
- pulumi_alicloud/ess/scaling_configuration.py +2 -2
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/ess/server_group_attachment.py +2 -2
- pulumi_alicloud/ess/suspend_process.py +2 -2
- pulumi_alicloud/eventbridge/event_source.py +57 -57
- pulumi_alicloud/expressconnect/get_virtual_physical_connections.py +4 -0
- pulumi_alicloud/expressconnect/traffic_qos.py +137 -31
- pulumi_alicloud/expressconnect/traffic_qos_queue.py +91 -66
- pulumi_alicloud/expressconnect/traffic_qos_rule.py +307 -261
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +105 -59
- pulumi_alicloud/ga/_inputs.py +56 -16
- pulumi_alicloud/ga/outputs.py +39 -11
- pulumi_alicloud/gpdb/get_zones.py +24 -0
- pulumi_alicloud/hbase/get_instance_types.py +32 -0
- pulumi_alicloud/hbr/policy_binding.py +7 -0
- pulumi_alicloud/kvstore/account.py +18 -18
- pulumi_alicloud/lindorm/instance_v2.py +358 -70
- pulumi_alicloud/log/_inputs.py +29 -9
- pulumi_alicloud/log/etl.py +56 -9
- pulumi_alicloud/log/get_projects.py +24 -0
- pulumi_alicloud/log/outputs.py +18 -6
- pulumi_alicloud/marketplace/get_products.py +26 -0
- pulumi_alicloud/mongodb/get_sharding_network_private_addresses.py +28 -0
- pulumi_alicloud/nas/get_access_rules.py +26 -0
- pulumi_alicloud/oss/_inputs.py +53 -0
- pulumi_alicloud/oss/bucket_logging.py +80 -29
- pulumi_alicloud/oss/bucket_replication.py +55 -8
- pulumi_alicloud/oss/outputs.py +31 -0
- pulumi_alicloud/ots/get_search_indexes.py +26 -0
- pulumi_alicloud/ots/get_secondary_indexes.py +26 -0
- pulumi_alicloud/polardb/__init__.py +3 -0
- pulumi_alicloud/polardb/cluster.py +14 -14
- pulumi_alicloud/polardb/zonal_account.py +449 -0
- pulumi_alicloud/polardb/zonal_db_cluster.py +1255 -0
- pulumi_alicloud/polardb/zonal_endpoint.py +865 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_service.py +12 -8
- pulumi_alicloud/ram/get_policies.py +95 -81
- pulumi_alicloud/ram/get_roles.py +108 -31
- pulumi_alicloud/ram/outputs.py +64 -42
- pulumi_alicloud/ram/policy.py +2 -2
- pulumi_alicloud/resourcemanager/__init__.py +2 -0
- pulumi_alicloud/resourcemanager/_inputs.py +799 -0
- pulumi_alicloud/resourcemanager/control_policy.py +169 -31
- pulumi_alicloud/resourcemanager/delivery_channel.py +449 -0
- pulumi_alicloud/resourcemanager/get_policies.py +4 -0
- pulumi_alicloud/resourcemanager/multi_account_delivery_channel.py +470 -0
- pulumi_alicloud/resourcemanager/outputs.py +694 -0
- pulumi_alicloud/resourcemanager/resource_share.py +341 -11
- pulumi_alicloud/sae/_inputs.py +60 -0
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/sae/get_ingresses.py +122 -0
- pulumi_alicloud/sae/outputs.py +42 -0
- pulumi_alicloud/scdn/domain_config.py +56 -0
- pulumi_alicloud/servicemesh/extension_provider.py +138 -0
- pulumi_alicloud/servicemesh/user_permission.py +90 -0
- pulumi_alicloud/simpleapplicationserver/get_images.py +24 -0
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_indexs.py +304 -0
- pulumi_alicloud/sls/outputs.py +148 -0
- pulumi_alicloud/star_rocks_instance.py +8 -2
- pulumi_alicloud/starrocks/__init__.py +12 -0
- pulumi_alicloud/starrocks/_inputs.py +656 -0
- pulumi_alicloud/starrocks/instance.py +1427 -0
- pulumi_alicloud/starrocks/node_group.py +1298 -0
- pulumi_alicloud/starrocks/outputs.py +508 -0
- pulumi_alicloud/vpc/_inputs.py +84 -0
- pulumi_alicloud/vpc/bgp_group.py +250 -53
- pulumi_alicloud/vpc/bgp_network.py +83 -36
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +30 -14
- pulumi_alicloud/vpc/gateway_endpoint.py +8 -8
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +3 -3
- pulumi_alicloud/vpc/network_acl_entries.py +16 -20
- pulumi_alicloud/vpc/outputs.py +48 -0
- pulumi_alicloud/vpc/vbr_ha.py +127 -46
- pulumi_alicloud/wafv3/_inputs.py +396 -0
- pulumi_alicloud/wafv3/defense_rule.py +40 -110
- pulumi_alicloud/wafv3/outputs.py +303 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/RECORD +146 -130
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'InstanceBackendNodeGroup',
|
|
19
|
+
'InstanceFrontendNodeGroup',
|
|
20
|
+
'InstanceObserverNodeGroup',
|
|
21
|
+
'InstanceVswitch',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class InstanceBackendNodeGroup(dict):
|
|
26
|
+
@staticmethod
|
|
27
|
+
def __key_warning(key: str):
|
|
28
|
+
suggest = None
|
|
29
|
+
if key == "diskNumber":
|
|
30
|
+
suggest = "disk_number"
|
|
31
|
+
elif key == "localStorageInstanceType":
|
|
32
|
+
suggest = "local_storage_instance_type"
|
|
33
|
+
elif key == "residentNodeNumber":
|
|
34
|
+
suggest = "resident_node_number"
|
|
35
|
+
elif key == "specType":
|
|
36
|
+
suggest = "spec_type"
|
|
37
|
+
elif key == "storagePerformanceLevel":
|
|
38
|
+
suggest = "storage_performance_level"
|
|
39
|
+
elif key == "storageSize":
|
|
40
|
+
suggest = "storage_size"
|
|
41
|
+
elif key == "zoneId":
|
|
42
|
+
suggest = "zone_id"
|
|
43
|
+
|
|
44
|
+
if suggest:
|
|
45
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceBackendNodeGroup. Access the value via the '{suggest}' property getter instead.")
|
|
46
|
+
|
|
47
|
+
def __getitem__(self, key: str) -> Any:
|
|
48
|
+
InstanceBackendNodeGroup.__key_warning(key)
|
|
49
|
+
return super().__getitem__(key)
|
|
50
|
+
|
|
51
|
+
def get(self, key: str, default = None) -> Any:
|
|
52
|
+
InstanceBackendNodeGroup.__key_warning(key)
|
|
53
|
+
return super().get(key, default)
|
|
54
|
+
|
|
55
|
+
def __init__(__self__, *,
|
|
56
|
+
cu: Optional[_builtins.int] = None,
|
|
57
|
+
disk_number: Optional[_builtins.int] = None,
|
|
58
|
+
local_storage_instance_type: Optional[_builtins.str] = None,
|
|
59
|
+
resident_node_number: Optional[_builtins.int] = None,
|
|
60
|
+
spec_type: Optional[_builtins.str] = None,
|
|
61
|
+
storage_performance_level: Optional[_builtins.str] = None,
|
|
62
|
+
storage_size: Optional[_builtins.int] = None,
|
|
63
|
+
zone_id: Optional[_builtins.str] = None):
|
|
64
|
+
"""
|
|
65
|
+
:param _builtins.int cu: Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
|
|
66
|
+
:param _builtins.int disk_number: The number of disks.
|
|
67
|
+
:param _builtins.str local_storage_instance_type: Local SSD instance specifications.
|
|
68
|
+
:param _builtins.int resident_node_number: Resident node number of node group.
|
|
69
|
+
:param _builtins.str spec_type: Compute group specification types include the following:
|
|
70
|
+
- standard
|
|
71
|
+
- localSSD
|
|
72
|
+
- bigData
|
|
73
|
+
- ramEnhanced
|
|
74
|
+
- networkEnhanced
|
|
75
|
+
:param _builtins.str storage_performance_level: Performance levels of cloud disks include the following values:
|
|
76
|
+
- pl0: Maximum random read/write IOPS per disk is 10,000.
|
|
77
|
+
- pl1: Maximum random read/write IOPS per disk is 50,000.
|
|
78
|
+
- pl2: Maximum random read/write IOPS per disk is 100,000.
|
|
79
|
+
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
|
|
80
|
+
:param _builtins.int storage_size: Storage size, measured in GiB.
|
|
81
|
+
:param _builtins.str zone_id: Zone ID.
|
|
82
|
+
"""
|
|
83
|
+
if cu is not None:
|
|
84
|
+
pulumi.set(__self__, "cu", cu)
|
|
85
|
+
if disk_number is not None:
|
|
86
|
+
pulumi.set(__self__, "disk_number", disk_number)
|
|
87
|
+
if local_storage_instance_type is not None:
|
|
88
|
+
pulumi.set(__self__, "local_storage_instance_type", local_storage_instance_type)
|
|
89
|
+
if resident_node_number is not None:
|
|
90
|
+
pulumi.set(__self__, "resident_node_number", resident_node_number)
|
|
91
|
+
if spec_type is not None:
|
|
92
|
+
pulumi.set(__self__, "spec_type", spec_type)
|
|
93
|
+
if storage_performance_level is not None:
|
|
94
|
+
pulumi.set(__self__, "storage_performance_level", storage_performance_level)
|
|
95
|
+
if storage_size is not None:
|
|
96
|
+
pulumi.set(__self__, "storage_size", storage_size)
|
|
97
|
+
if zone_id is not None:
|
|
98
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
99
|
+
|
|
100
|
+
@_builtins.property
|
|
101
|
+
@pulumi.getter
|
|
102
|
+
def cu(self) -> Optional[_builtins.int]:
|
|
103
|
+
"""
|
|
104
|
+
Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "cu")
|
|
107
|
+
|
|
108
|
+
@_builtins.property
|
|
109
|
+
@pulumi.getter(name="diskNumber")
|
|
110
|
+
def disk_number(self) -> Optional[_builtins.int]:
|
|
111
|
+
"""
|
|
112
|
+
The number of disks.
|
|
113
|
+
"""
|
|
114
|
+
return pulumi.get(self, "disk_number")
|
|
115
|
+
|
|
116
|
+
@_builtins.property
|
|
117
|
+
@pulumi.getter(name="localStorageInstanceType")
|
|
118
|
+
def local_storage_instance_type(self) -> Optional[_builtins.str]:
|
|
119
|
+
"""
|
|
120
|
+
Local SSD instance specifications.
|
|
121
|
+
"""
|
|
122
|
+
return pulumi.get(self, "local_storage_instance_type")
|
|
123
|
+
|
|
124
|
+
@_builtins.property
|
|
125
|
+
@pulumi.getter(name="residentNodeNumber")
|
|
126
|
+
def resident_node_number(self) -> Optional[_builtins.int]:
|
|
127
|
+
"""
|
|
128
|
+
Resident node number of node group.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "resident_node_number")
|
|
131
|
+
|
|
132
|
+
@_builtins.property
|
|
133
|
+
@pulumi.getter(name="specType")
|
|
134
|
+
def spec_type(self) -> Optional[_builtins.str]:
|
|
135
|
+
"""
|
|
136
|
+
Compute group specification types include the following:
|
|
137
|
+
- standard
|
|
138
|
+
- localSSD
|
|
139
|
+
- bigData
|
|
140
|
+
- ramEnhanced
|
|
141
|
+
- networkEnhanced
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "spec_type")
|
|
144
|
+
|
|
145
|
+
@_builtins.property
|
|
146
|
+
@pulumi.getter(name="storagePerformanceLevel")
|
|
147
|
+
def storage_performance_level(self) -> Optional[_builtins.str]:
|
|
148
|
+
"""
|
|
149
|
+
Performance levels of cloud disks include the following values:
|
|
150
|
+
- pl0: Maximum random read/write IOPS per disk is 10,000.
|
|
151
|
+
- pl1: Maximum random read/write IOPS per disk is 50,000.
|
|
152
|
+
- pl2: Maximum random read/write IOPS per disk is 100,000.
|
|
153
|
+
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
|
|
154
|
+
"""
|
|
155
|
+
return pulumi.get(self, "storage_performance_level")
|
|
156
|
+
|
|
157
|
+
@_builtins.property
|
|
158
|
+
@pulumi.getter(name="storageSize")
|
|
159
|
+
def storage_size(self) -> Optional[_builtins.int]:
|
|
160
|
+
"""
|
|
161
|
+
Storage size, measured in GiB.
|
|
162
|
+
"""
|
|
163
|
+
return pulumi.get(self, "storage_size")
|
|
164
|
+
|
|
165
|
+
@_builtins.property
|
|
166
|
+
@pulumi.getter(name="zoneId")
|
|
167
|
+
def zone_id(self) -> Optional[_builtins.str]:
|
|
168
|
+
"""
|
|
169
|
+
Zone ID.
|
|
170
|
+
"""
|
|
171
|
+
return pulumi.get(self, "zone_id")
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
@pulumi.output_type
|
|
175
|
+
class InstanceFrontendNodeGroup(dict):
|
|
176
|
+
@staticmethod
|
|
177
|
+
def __key_warning(key: str):
|
|
178
|
+
suggest = None
|
|
179
|
+
if key == "diskNumber":
|
|
180
|
+
suggest = "disk_number"
|
|
181
|
+
elif key == "localStorageInstanceType":
|
|
182
|
+
suggest = "local_storage_instance_type"
|
|
183
|
+
elif key == "residentNodeNumber":
|
|
184
|
+
suggest = "resident_node_number"
|
|
185
|
+
elif key == "specType":
|
|
186
|
+
suggest = "spec_type"
|
|
187
|
+
elif key == "storagePerformanceLevel":
|
|
188
|
+
suggest = "storage_performance_level"
|
|
189
|
+
elif key == "storageSize":
|
|
190
|
+
suggest = "storage_size"
|
|
191
|
+
elif key == "zoneId":
|
|
192
|
+
suggest = "zone_id"
|
|
193
|
+
|
|
194
|
+
if suggest:
|
|
195
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceFrontendNodeGroup. Access the value via the '{suggest}' property getter instead.")
|
|
196
|
+
|
|
197
|
+
def __getitem__(self, key: str) -> Any:
|
|
198
|
+
InstanceFrontendNodeGroup.__key_warning(key)
|
|
199
|
+
return super().__getitem__(key)
|
|
200
|
+
|
|
201
|
+
def get(self, key: str, default = None) -> Any:
|
|
202
|
+
InstanceFrontendNodeGroup.__key_warning(key)
|
|
203
|
+
return super().get(key, default)
|
|
204
|
+
|
|
205
|
+
def __init__(__self__, *,
|
|
206
|
+
cu: Optional[_builtins.int] = None,
|
|
207
|
+
disk_number: Optional[_builtins.int] = None,
|
|
208
|
+
local_storage_instance_type: Optional[_builtins.str] = None,
|
|
209
|
+
resident_node_number: Optional[_builtins.int] = None,
|
|
210
|
+
spec_type: Optional[_builtins.str] = None,
|
|
211
|
+
storage_performance_level: Optional[_builtins.str] = None,
|
|
212
|
+
storage_size: Optional[_builtins.int] = None,
|
|
213
|
+
zone_id: Optional[_builtins.str] = None):
|
|
214
|
+
"""
|
|
215
|
+
:param _builtins.int cu: Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
|
|
216
|
+
:param _builtins.int disk_number: DiskNumber
|
|
217
|
+
:param _builtins.str local_storage_instance_type: Local SSD instance specifications.
|
|
218
|
+
:param _builtins.int resident_node_number: Resident node number of node group.
|
|
219
|
+
:param _builtins.str spec_type: Compute group specification types include the following:
|
|
220
|
+
- standard
|
|
221
|
+
- ramEnhanced
|
|
222
|
+
:param _builtins.str storage_performance_level: Performance levels of cloud disks include the following values:
|
|
223
|
+
- pl0: Maximum random read/write IOPS per disk is 10,000.
|
|
224
|
+
- pl1: Maximum random read/write IOPS per disk is 50,000.
|
|
225
|
+
- pl2: Maximum random read/write IOPS per disk is 100,000.
|
|
226
|
+
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
|
|
227
|
+
:param _builtins.int storage_size: Storage size, measured in GiB.
|
|
228
|
+
:param _builtins.str zone_id: Zone ID.
|
|
229
|
+
"""
|
|
230
|
+
if cu is not None:
|
|
231
|
+
pulumi.set(__self__, "cu", cu)
|
|
232
|
+
if disk_number is not None:
|
|
233
|
+
pulumi.set(__self__, "disk_number", disk_number)
|
|
234
|
+
if local_storage_instance_type is not None:
|
|
235
|
+
pulumi.set(__self__, "local_storage_instance_type", local_storage_instance_type)
|
|
236
|
+
if resident_node_number is not None:
|
|
237
|
+
pulumi.set(__self__, "resident_node_number", resident_node_number)
|
|
238
|
+
if spec_type is not None:
|
|
239
|
+
pulumi.set(__self__, "spec_type", spec_type)
|
|
240
|
+
if storage_performance_level is not None:
|
|
241
|
+
pulumi.set(__self__, "storage_performance_level", storage_performance_level)
|
|
242
|
+
if storage_size is not None:
|
|
243
|
+
pulumi.set(__self__, "storage_size", storage_size)
|
|
244
|
+
if zone_id is not None:
|
|
245
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
246
|
+
|
|
247
|
+
@_builtins.property
|
|
248
|
+
@pulumi.getter
|
|
249
|
+
def cu(self) -> Optional[_builtins.int]:
|
|
250
|
+
"""
|
|
251
|
+
Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
|
|
252
|
+
"""
|
|
253
|
+
return pulumi.get(self, "cu")
|
|
254
|
+
|
|
255
|
+
@_builtins.property
|
|
256
|
+
@pulumi.getter(name="diskNumber")
|
|
257
|
+
def disk_number(self) -> Optional[_builtins.int]:
|
|
258
|
+
"""
|
|
259
|
+
DiskNumber
|
|
260
|
+
"""
|
|
261
|
+
return pulumi.get(self, "disk_number")
|
|
262
|
+
|
|
263
|
+
@_builtins.property
|
|
264
|
+
@pulumi.getter(name="localStorageInstanceType")
|
|
265
|
+
def local_storage_instance_type(self) -> Optional[_builtins.str]:
|
|
266
|
+
"""
|
|
267
|
+
Local SSD instance specifications.
|
|
268
|
+
"""
|
|
269
|
+
return pulumi.get(self, "local_storage_instance_type")
|
|
270
|
+
|
|
271
|
+
@_builtins.property
|
|
272
|
+
@pulumi.getter(name="residentNodeNumber")
|
|
273
|
+
def resident_node_number(self) -> Optional[_builtins.int]:
|
|
274
|
+
"""
|
|
275
|
+
Resident node number of node group.
|
|
276
|
+
"""
|
|
277
|
+
return pulumi.get(self, "resident_node_number")
|
|
278
|
+
|
|
279
|
+
@_builtins.property
|
|
280
|
+
@pulumi.getter(name="specType")
|
|
281
|
+
def spec_type(self) -> Optional[_builtins.str]:
|
|
282
|
+
"""
|
|
283
|
+
Compute group specification types include the following:
|
|
284
|
+
- standard
|
|
285
|
+
- ramEnhanced
|
|
286
|
+
"""
|
|
287
|
+
return pulumi.get(self, "spec_type")
|
|
288
|
+
|
|
289
|
+
@_builtins.property
|
|
290
|
+
@pulumi.getter(name="storagePerformanceLevel")
|
|
291
|
+
def storage_performance_level(self) -> Optional[_builtins.str]:
|
|
292
|
+
"""
|
|
293
|
+
Performance levels of cloud disks include the following values:
|
|
294
|
+
- pl0: Maximum random read/write IOPS per disk is 10,000.
|
|
295
|
+
- pl1: Maximum random read/write IOPS per disk is 50,000.
|
|
296
|
+
- pl2: Maximum random read/write IOPS per disk is 100,000.
|
|
297
|
+
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
|
|
298
|
+
"""
|
|
299
|
+
return pulumi.get(self, "storage_performance_level")
|
|
300
|
+
|
|
301
|
+
@_builtins.property
|
|
302
|
+
@pulumi.getter(name="storageSize")
|
|
303
|
+
def storage_size(self) -> Optional[_builtins.int]:
|
|
304
|
+
"""
|
|
305
|
+
Storage size, measured in GiB.
|
|
306
|
+
"""
|
|
307
|
+
return pulumi.get(self, "storage_size")
|
|
308
|
+
|
|
309
|
+
@_builtins.property
|
|
310
|
+
@pulumi.getter(name="zoneId")
|
|
311
|
+
def zone_id(self) -> Optional[_builtins.str]:
|
|
312
|
+
"""
|
|
313
|
+
Zone ID.
|
|
314
|
+
"""
|
|
315
|
+
return pulumi.get(self, "zone_id")
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
@pulumi.output_type
|
|
319
|
+
class InstanceObserverNodeGroup(dict):
|
|
320
|
+
@staticmethod
|
|
321
|
+
def __key_warning(key: str):
|
|
322
|
+
suggest = None
|
|
323
|
+
if key == "diskNumber":
|
|
324
|
+
suggest = "disk_number"
|
|
325
|
+
elif key == "localStorageInstanceType":
|
|
326
|
+
suggest = "local_storage_instance_type"
|
|
327
|
+
elif key == "residentNodeNumber":
|
|
328
|
+
suggest = "resident_node_number"
|
|
329
|
+
elif key == "specType":
|
|
330
|
+
suggest = "spec_type"
|
|
331
|
+
elif key == "storagePerformanceLevel":
|
|
332
|
+
suggest = "storage_performance_level"
|
|
333
|
+
elif key == "storageSize":
|
|
334
|
+
suggest = "storage_size"
|
|
335
|
+
elif key == "zoneId":
|
|
336
|
+
suggest = "zone_id"
|
|
337
|
+
|
|
338
|
+
if suggest:
|
|
339
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceObserverNodeGroup. Access the value via the '{suggest}' property getter instead.")
|
|
340
|
+
|
|
341
|
+
def __getitem__(self, key: str) -> Any:
|
|
342
|
+
InstanceObserverNodeGroup.__key_warning(key)
|
|
343
|
+
return super().__getitem__(key)
|
|
344
|
+
|
|
345
|
+
def get(self, key: str, default = None) -> Any:
|
|
346
|
+
InstanceObserverNodeGroup.__key_warning(key)
|
|
347
|
+
return super().get(key, default)
|
|
348
|
+
|
|
349
|
+
def __init__(__self__, *,
|
|
350
|
+
cu: Optional[_builtins.int] = None,
|
|
351
|
+
disk_number: Optional[_builtins.int] = None,
|
|
352
|
+
local_storage_instance_type: Optional[_builtins.str] = None,
|
|
353
|
+
resident_node_number: Optional[_builtins.int] = None,
|
|
354
|
+
spec_type: Optional[_builtins.str] = None,
|
|
355
|
+
storage_performance_level: Optional[_builtins.str] = None,
|
|
356
|
+
storage_size: Optional[_builtins.int] = None,
|
|
357
|
+
zone_id: Optional[_builtins.str] = None):
|
|
358
|
+
"""
|
|
359
|
+
:param _builtins.int cu: Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
|
|
360
|
+
:param _builtins.int disk_number: DiskNumber
|
|
361
|
+
:param _builtins.str local_storage_instance_type: Local SSD instance specifications.
|
|
362
|
+
:param _builtins.int resident_node_number: Resident node number of node group.
|
|
363
|
+
:param _builtins.str spec_type: Compute group specification types include the following:
|
|
364
|
+
- standard
|
|
365
|
+
:param _builtins.str storage_performance_level: Performance levels of cloud disks include the following values:
|
|
366
|
+
- pl0: Maximum random read/write IOPS per disk is 10,000.
|
|
367
|
+
- pl1: Maximum random read/write IOPS per disk is 50,000.
|
|
368
|
+
- pl2: Maximum random read/write IOPS per disk is 100,000.
|
|
369
|
+
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
|
|
370
|
+
:param _builtins.int storage_size: Storage size, measured in GiB.
|
|
371
|
+
:param _builtins.str zone_id: Zone ID.
|
|
372
|
+
"""
|
|
373
|
+
if cu is not None:
|
|
374
|
+
pulumi.set(__self__, "cu", cu)
|
|
375
|
+
if disk_number is not None:
|
|
376
|
+
pulumi.set(__self__, "disk_number", disk_number)
|
|
377
|
+
if local_storage_instance_type is not None:
|
|
378
|
+
pulumi.set(__self__, "local_storage_instance_type", local_storage_instance_type)
|
|
379
|
+
if resident_node_number is not None:
|
|
380
|
+
pulumi.set(__self__, "resident_node_number", resident_node_number)
|
|
381
|
+
if spec_type is not None:
|
|
382
|
+
pulumi.set(__self__, "spec_type", spec_type)
|
|
383
|
+
if storage_performance_level is not None:
|
|
384
|
+
pulumi.set(__self__, "storage_performance_level", storage_performance_level)
|
|
385
|
+
if storage_size is not None:
|
|
386
|
+
pulumi.set(__self__, "storage_size", storage_size)
|
|
387
|
+
if zone_id is not None:
|
|
388
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
389
|
+
|
|
390
|
+
@_builtins.property
|
|
391
|
+
@pulumi.getter
|
|
392
|
+
def cu(self) -> Optional[_builtins.int]:
|
|
393
|
+
"""
|
|
394
|
+
Number of CUs. CU (Compute Unit) is the basic measurement unit of the service, where 1 CU = 1 CPU core + 4 GiB memory.
|
|
395
|
+
"""
|
|
396
|
+
return pulumi.get(self, "cu")
|
|
397
|
+
|
|
398
|
+
@_builtins.property
|
|
399
|
+
@pulumi.getter(name="diskNumber")
|
|
400
|
+
def disk_number(self) -> Optional[_builtins.int]:
|
|
401
|
+
"""
|
|
402
|
+
DiskNumber
|
|
403
|
+
"""
|
|
404
|
+
return pulumi.get(self, "disk_number")
|
|
405
|
+
|
|
406
|
+
@_builtins.property
|
|
407
|
+
@pulumi.getter(name="localStorageInstanceType")
|
|
408
|
+
def local_storage_instance_type(self) -> Optional[_builtins.str]:
|
|
409
|
+
"""
|
|
410
|
+
Local SSD instance specifications.
|
|
411
|
+
"""
|
|
412
|
+
return pulumi.get(self, "local_storage_instance_type")
|
|
413
|
+
|
|
414
|
+
@_builtins.property
|
|
415
|
+
@pulumi.getter(name="residentNodeNumber")
|
|
416
|
+
def resident_node_number(self) -> Optional[_builtins.int]:
|
|
417
|
+
"""
|
|
418
|
+
Resident node number of node group.
|
|
419
|
+
"""
|
|
420
|
+
return pulumi.get(self, "resident_node_number")
|
|
421
|
+
|
|
422
|
+
@_builtins.property
|
|
423
|
+
@pulumi.getter(name="specType")
|
|
424
|
+
def spec_type(self) -> Optional[_builtins.str]:
|
|
425
|
+
"""
|
|
426
|
+
Compute group specification types include the following:
|
|
427
|
+
- standard
|
|
428
|
+
"""
|
|
429
|
+
return pulumi.get(self, "spec_type")
|
|
430
|
+
|
|
431
|
+
@_builtins.property
|
|
432
|
+
@pulumi.getter(name="storagePerformanceLevel")
|
|
433
|
+
def storage_performance_level(self) -> Optional[_builtins.str]:
|
|
434
|
+
"""
|
|
435
|
+
Performance levels of cloud disks include the following values:
|
|
436
|
+
- pl0: Maximum random read/write IOPS per disk is 10,000.
|
|
437
|
+
- pl1: Maximum random read/write IOPS per disk is 50,000.
|
|
438
|
+
- pl2: Maximum random read/write IOPS per disk is 100,000.
|
|
439
|
+
- pl3: Maximum random read/write IOPS per disk is 1,000,000.
|
|
440
|
+
"""
|
|
441
|
+
return pulumi.get(self, "storage_performance_level")
|
|
442
|
+
|
|
443
|
+
@_builtins.property
|
|
444
|
+
@pulumi.getter(name="storageSize")
|
|
445
|
+
def storage_size(self) -> Optional[_builtins.int]:
|
|
446
|
+
"""
|
|
447
|
+
Storage size, measured in GiB.
|
|
448
|
+
"""
|
|
449
|
+
return pulumi.get(self, "storage_size")
|
|
450
|
+
|
|
451
|
+
@_builtins.property
|
|
452
|
+
@pulumi.getter(name="zoneId")
|
|
453
|
+
def zone_id(self) -> Optional[_builtins.str]:
|
|
454
|
+
"""
|
|
455
|
+
Zone ID.
|
|
456
|
+
"""
|
|
457
|
+
return pulumi.get(self, "zone_id")
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
@pulumi.output_type
|
|
461
|
+
class InstanceVswitch(dict):
|
|
462
|
+
@staticmethod
|
|
463
|
+
def __key_warning(key: str):
|
|
464
|
+
suggest = None
|
|
465
|
+
if key == "vswitchId":
|
|
466
|
+
suggest = "vswitch_id"
|
|
467
|
+
elif key == "zoneId":
|
|
468
|
+
suggest = "zone_id"
|
|
469
|
+
|
|
470
|
+
if suggest:
|
|
471
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceVswitch. Access the value via the '{suggest}' property getter instead.")
|
|
472
|
+
|
|
473
|
+
def __getitem__(self, key: str) -> Any:
|
|
474
|
+
InstanceVswitch.__key_warning(key)
|
|
475
|
+
return super().__getitem__(key)
|
|
476
|
+
|
|
477
|
+
def get(self, key: str, default = None) -> Any:
|
|
478
|
+
InstanceVswitch.__key_warning(key)
|
|
479
|
+
return super().get(key, default)
|
|
480
|
+
|
|
481
|
+
def __init__(__self__, *,
|
|
482
|
+
vswitch_id: _builtins.str,
|
|
483
|
+
zone_id: Optional[_builtins.str] = None):
|
|
484
|
+
"""
|
|
485
|
+
:param _builtins.str vswitch_id: ID of VSwitch.
|
|
486
|
+
:param _builtins.str zone_id: Zone ID of VSwitch.
|
|
487
|
+
"""
|
|
488
|
+
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
489
|
+
if zone_id is not None:
|
|
490
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
491
|
+
|
|
492
|
+
@_builtins.property
|
|
493
|
+
@pulumi.getter(name="vswitchId")
|
|
494
|
+
def vswitch_id(self) -> _builtins.str:
|
|
495
|
+
"""
|
|
496
|
+
ID of VSwitch.
|
|
497
|
+
"""
|
|
498
|
+
return pulumi.get(self, "vswitch_id")
|
|
499
|
+
|
|
500
|
+
@_builtins.property
|
|
501
|
+
@pulumi.getter(name="zoneId")
|
|
502
|
+
def zone_id(self) -> Optional[_builtins.str]:
|
|
503
|
+
"""
|
|
504
|
+
Zone ID of VSwitch.
|
|
505
|
+
"""
|
|
506
|
+
return pulumi.get(self, "zone_id")
|
|
507
|
+
|
|
508
|
+
|