pulumi-alicloud 3.73.0a1736850863__py3-none-any.whl → 3.74.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 +139 -0
- pulumi_alicloud/alb/__init__.py +2 -0
- pulumi_alicloud/alb/_inputs.py +913 -250
- pulumi_alicloud/alb/a_script.py +116 -98
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +239 -118
- pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +303 -0
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +720 -222
- pulumi_alicloud/alb/server_group.py +532 -122
- pulumi_alicloud/alikafka/instance.py +188 -70
- pulumi_alicloud/amqp/instance.py +77 -28
- pulumi_alicloud/bastionhost/_inputs.py +40 -38
- pulumi_alicloud/bastionhost/get_instances.py +6 -22
- pulumi_alicloud/bastionhost/outputs.py +60 -49
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/instance_grant.py +4 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cloudcontrol/__init__.py +12 -0
- pulumi_alicloud/cloudcontrol/get_prices.py +199 -0
- pulumi_alicloud/cloudcontrol/get_products.py +187 -0
- pulumi_alicloud/cloudcontrol/get_resource_types.py +178 -0
- pulumi_alicloud/cloudcontrol/outputs.py +688 -0
- pulumi_alicloud/cloudcontrol/resource.py +407 -0
- pulumi_alicloud/cms/_inputs.py +21 -15
- pulumi_alicloud/cms/alarm.py +7 -7
- pulumi_alicloud/cms/outputs.py +14 -10
- pulumi_alicloud/cs/_inputs.py +349 -1
- pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +4 -2
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +29 -29
- pulumi_alicloud/cs/managed_kubernetes.py +137 -47
- pulumi_alicloud/cs/node_pool.py +77 -2
- pulumi_alicloud/cs/outputs.py +265 -1
- pulumi_alicloud/dataworks/__init__.py +4 -0
- pulumi_alicloud/dataworks/_inputs.py +1534 -0
- pulumi_alicloud/dataworks/di_alarm_rule.py +708 -0
- pulumi_alicloud/dataworks/di_job.py +1005 -0
- pulumi_alicloud/dataworks/dw_resource_group.py +703 -0
- pulumi_alicloud/dataworks/network.py +331 -0
- pulumi_alicloud/dataworks/outputs.py +1247 -0
- pulumi_alicloud/dcdn/waf_rule.py +14 -14
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/dns/get_alidns_domains.py +7 -2
- pulumi_alicloud/dns/outputs.py +8 -0
- pulumi_alicloud/ecs/ecs_launch_template.py +122 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
- pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/launch_template.py +88 -0
- pulumi_alicloud/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +81 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/outputs.py +48 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/custom_domain.py +2 -2
- pulumi_alicloud/fc/function.py +32 -4
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v2_function.py +20 -0
- pulumi_alicloud/fc/v3_function.py +53 -6
- pulumi_alicloud/hbr/__init__.py +1 -0
- pulumi_alicloud/hbr/cross_account.py +338 -0
- pulumi_alicloud/ims/oidc_provider.py +28 -0
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/log/resource_record.py +42 -26
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
- pulumi_alicloud/message/service_queue.py +106 -59
- pulumi_alicloud/message/service_topic.py +182 -37
- pulumi_alicloud/mongodb/account.py +138 -163
- pulumi_alicloud/oos/secret_parameter.py +84 -9
- pulumi_alicloud/oss/bucket.py +1 -1
- pulumi_alicloud/oss/bucket_policy.py +2 -4
- pulumi_alicloud/oss/bucket_referer.py +2 -4
- pulumi_alicloud/oss/get_buckets.py +16 -2
- pulumi_alicloud/oss/outputs.py +18 -17
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +68 -0
- pulumi_alicloud/sae/application.py +84 -7
- pulumi_alicloud/sls/collection_policy.py +2 -2
- pulumi_alicloud/vpc/__init__.py +6 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +295 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +196 -0
- pulumi_alicloud/vpc/get_ipam_ipam_pools.py +353 -0
- pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +333 -0
- pulumi_alicloud/vpc/get_ipam_ipams.py +291 -0
- pulumi_alicloud/vpc/get_networks.py +3 -0
- pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- pulumi_alicloud/vpc/nat_gateway.py +145 -7
- pulumi_alicloud/vpc/outputs.py +777 -0
- pulumi_alicloud/vpc/snat_entry.py +107 -48
- pulumi_alicloud/vpn/_inputs.py +96 -72
- pulumi_alicloud/vpn/connection.py +24 -28
- pulumi_alicloud/vpn/outputs.py +64 -48
- pulumi_alicloud/yundun/_inputs.py +26 -24
- pulumi_alicloud/yundun/outputs.py +37 -22
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/RECORD +123 -95
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0.dist-info}/top_level.txt +0 -0
|
@@ -27,6 +27,22 @@ __all__ = [
|
|
|
27
27
|
'ProjectSecurityPropertiesArgsDict',
|
|
28
28
|
'ProjectSecurityPropertiesProjectProtectionArgs',
|
|
29
29
|
'ProjectSecurityPropertiesProjectProtectionArgsDict',
|
|
30
|
+
'QuotaPlanQuotaArgs',
|
|
31
|
+
'QuotaPlanQuotaArgsDict',
|
|
32
|
+
'QuotaPlanQuotaParameterArgs',
|
|
33
|
+
'QuotaPlanQuotaParameterArgsDict',
|
|
34
|
+
'QuotaPlanQuotaSubQuotaInfoListArgs',
|
|
35
|
+
'QuotaPlanQuotaSubQuotaInfoListArgsDict',
|
|
36
|
+
'QuotaPlanQuotaSubQuotaInfoListParameterArgs',
|
|
37
|
+
'QuotaPlanQuotaSubQuotaInfoListParameterArgsDict',
|
|
38
|
+
'QuotaScheduleScheduleListArgs',
|
|
39
|
+
'QuotaScheduleScheduleListArgsDict',
|
|
40
|
+
'QuotaScheduleScheduleListConditionArgs',
|
|
41
|
+
'QuotaScheduleScheduleListConditionArgsDict',
|
|
42
|
+
'TunnelQuotaTimerQuotaTimerArgs',
|
|
43
|
+
'TunnelQuotaTimerQuotaTimerArgsDict',
|
|
44
|
+
'TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgs',
|
|
45
|
+
'TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgsDict',
|
|
30
46
|
]
|
|
31
47
|
|
|
32
48
|
MYPY = False
|
|
@@ -35,11 +51,15 @@ if not MYPY:
|
|
|
35
51
|
class ProjectIpWhiteListArgsDict(TypedDict):
|
|
36
52
|
ip_list: NotRequired[pulumi.Input[str]]
|
|
37
53
|
"""
|
|
38
|
-
Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project
|
|
54
|
+
Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.
|
|
55
|
+
|
|
56
|
+
> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
|
|
39
57
|
"""
|
|
40
58
|
vpc_ip_list: NotRequired[pulumi.Input[str]]
|
|
41
59
|
"""
|
|
42
|
-
Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space
|
|
60
|
+
Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.
|
|
61
|
+
|
|
62
|
+
> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
|
|
43
63
|
"""
|
|
44
64
|
elif False:
|
|
45
65
|
ProjectIpWhiteListArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -50,8 +70,12 @@ class ProjectIpWhiteListArgs:
|
|
|
50
70
|
ip_list: Optional[pulumi.Input[str]] = None,
|
|
51
71
|
vpc_ip_list: Optional[pulumi.Input[str]] = None):
|
|
52
72
|
"""
|
|
53
|
-
:param pulumi.Input[str] ip_list: Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project
|
|
54
|
-
|
|
73
|
+
:param pulumi.Input[str] ip_list: Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.
|
|
74
|
+
|
|
75
|
+
> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
|
|
76
|
+
:param pulumi.Input[str] vpc_ip_list: Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.
|
|
77
|
+
|
|
78
|
+
> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
|
|
55
79
|
"""
|
|
56
80
|
if ip_list is not None:
|
|
57
81
|
pulumi.set(__self__, "ip_list", ip_list)
|
|
@@ -62,7 +86,9 @@ class ProjectIpWhiteListArgs:
|
|
|
62
86
|
@pulumi.getter(name="ipList")
|
|
63
87
|
def ip_list(self) -> Optional[pulumi.Input[str]]:
|
|
64
88
|
"""
|
|
65
|
-
Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project
|
|
89
|
+
Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.
|
|
90
|
+
|
|
91
|
+
> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
|
|
66
92
|
"""
|
|
67
93
|
return pulumi.get(self, "ip_list")
|
|
68
94
|
|
|
@@ -74,7 +100,9 @@ class ProjectIpWhiteListArgs:
|
|
|
74
100
|
@pulumi.getter(name="vpcIpList")
|
|
75
101
|
def vpc_ip_list(self) -> Optional[pulumi.Input[str]]:
|
|
76
102
|
"""
|
|
77
|
-
Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space
|
|
103
|
+
Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.
|
|
104
|
+
|
|
105
|
+
> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
|
|
78
106
|
"""
|
|
79
107
|
return pulumi.get(self, "vpc_ip_list")
|
|
80
108
|
|
|
@@ -87,36 +115,48 @@ if not MYPY:
|
|
|
87
115
|
class ProjectPropertiesArgsDict(TypedDict):
|
|
88
116
|
allow_full_scan: NotRequired[pulumi.Input[bool]]
|
|
89
117
|
"""
|
|
90
|
-
Whether to allow full table scan. Default: false
|
|
118
|
+
Whether to allow full table scan. Default: false
|
|
91
119
|
"""
|
|
92
120
|
enable_decimal2: NotRequired[pulumi.Input[bool]]
|
|
93
121
|
"""
|
|
94
|
-
Whether to turn on Decimal2.0
|
|
122
|
+
Whether to turn on Decimal2.0
|
|
95
123
|
"""
|
|
96
124
|
encryption: NotRequired[pulumi.Input['ProjectPropertiesEncryptionArgsDict']]
|
|
97
125
|
"""
|
|
98
126
|
Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
|
|
99
|
-
> **NOTE :**:
|
|
127
|
+
> **NOTE :**:
|
|
128
|
+
To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.
|
|
129
|
+
|
|
130
|
+
To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.
|
|
131
|
+
|
|
132
|
+
You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.
|
|
100
133
|
"""
|
|
101
134
|
retention_days: NotRequired[pulumi.Input[int]]
|
|
102
135
|
"""
|
|
103
|
-
Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.
|
|
136
|
+
Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.
|
|
137
|
+
The effective policy after adjusting the backup cycle is:
|
|
138
|
+
Extend the backup cycle: The new backup cycle takes effect on the same day.
|
|
139
|
+
Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
|
|
104
140
|
"""
|
|
105
141
|
sql_metering_max: NotRequired[pulumi.Input[str]]
|
|
106
142
|
"""
|
|
107
|
-
Set the maximum threshold
|
|
143
|
+
Set the maximum threshold for single SQL Consumption, that is, set the ODPS. SQL. metering.value.max attribute. For more information, see [Consumption control](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-controll).
|
|
144
|
+
Unit: scan volume (GB)* complexity.
|
|
108
145
|
"""
|
|
109
146
|
table_lifecycle: NotRequired[pulumi.Input['ProjectPropertiesTableLifecycleArgsDict']]
|
|
110
147
|
"""
|
|
111
|
-
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property
|
|
148
|
+
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property, See `table_lifecycle` below.
|
|
112
149
|
"""
|
|
113
150
|
timezone: NotRequired[pulumi.Input[str]]
|
|
114
151
|
"""
|
|
115
|
-
Project time zone, example value: Asia/Shanghai
|
|
152
|
+
Project time zone, example value: Asia/Shanghai
|
|
116
153
|
"""
|
|
117
154
|
type_system: NotRequired[pulumi.Input[str]]
|
|
118
155
|
"""
|
|
119
|
-
Data type version. Value:(1/2/hive)
|
|
156
|
+
Data type version. Value:(1/2/hive)
|
|
157
|
+
1: The original MaxCompute type system.
|
|
158
|
+
2: New type system introduced by MaxCompute 2.0.
|
|
159
|
+
hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
|
|
120
160
|
"""
|
|
121
161
|
elif False:
|
|
122
162
|
ProjectPropertiesArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -133,15 +173,27 @@ class ProjectPropertiesArgs:
|
|
|
133
173
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
134
174
|
type_system: Optional[pulumi.Input[str]] = None):
|
|
135
175
|
"""
|
|
136
|
-
:param pulumi.Input[bool] allow_full_scan: Whether to allow full table scan. Default: false
|
|
137
|
-
:param pulumi.Input[bool] enable_decimal2: Whether to turn on Decimal2.0
|
|
176
|
+
:param pulumi.Input[bool] allow_full_scan: Whether to allow full table scan. Default: false
|
|
177
|
+
:param pulumi.Input[bool] enable_decimal2: Whether to turn on Decimal2.0
|
|
138
178
|
:param pulumi.Input['ProjectPropertiesEncryptionArgs'] encryption: Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
|
|
139
|
-
> **NOTE :**:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
179
|
+
> **NOTE :**:
|
|
180
|
+
To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.
|
|
181
|
+
|
|
182
|
+
To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.
|
|
183
|
+
|
|
184
|
+
You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.
|
|
185
|
+
:param pulumi.Input[int] retention_days: Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.
|
|
186
|
+
The effective policy after adjusting the backup cycle is:
|
|
187
|
+
Extend the backup cycle: The new backup cycle takes effect on the same day.
|
|
188
|
+
Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
|
|
189
|
+
:param pulumi.Input[str] sql_metering_max: Set the maximum threshold for single SQL Consumption, that is, set the ODPS. SQL. metering.value.max attribute. For more information, see [Consumption control](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-controll).
|
|
190
|
+
Unit: scan volume (GB)* complexity.
|
|
191
|
+
:param pulumi.Input['ProjectPropertiesTableLifecycleArgs'] table_lifecycle: Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property, See `table_lifecycle` below.
|
|
192
|
+
:param pulumi.Input[str] timezone: Project time zone, example value: Asia/Shanghai
|
|
193
|
+
:param pulumi.Input[str] type_system: Data type version. Value:(1/2/hive)
|
|
194
|
+
1: The original MaxCompute type system.
|
|
195
|
+
2: New type system introduced by MaxCompute 2.0.
|
|
196
|
+
hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
|
|
145
197
|
"""
|
|
146
198
|
if allow_full_scan is not None:
|
|
147
199
|
pulumi.set(__self__, "allow_full_scan", allow_full_scan)
|
|
@@ -164,7 +216,7 @@ class ProjectPropertiesArgs:
|
|
|
164
216
|
@pulumi.getter(name="allowFullScan")
|
|
165
217
|
def allow_full_scan(self) -> Optional[pulumi.Input[bool]]:
|
|
166
218
|
"""
|
|
167
|
-
Whether to allow full table scan. Default: false
|
|
219
|
+
Whether to allow full table scan. Default: false
|
|
168
220
|
"""
|
|
169
221
|
return pulumi.get(self, "allow_full_scan")
|
|
170
222
|
|
|
@@ -176,7 +228,7 @@ class ProjectPropertiesArgs:
|
|
|
176
228
|
@pulumi.getter(name="enableDecimal2")
|
|
177
229
|
def enable_decimal2(self) -> Optional[pulumi.Input[bool]]:
|
|
178
230
|
"""
|
|
179
|
-
Whether to turn on Decimal2.0
|
|
231
|
+
Whether to turn on Decimal2.0
|
|
180
232
|
"""
|
|
181
233
|
return pulumi.get(self, "enable_decimal2")
|
|
182
234
|
|
|
@@ -189,7 +241,12 @@ class ProjectPropertiesArgs:
|
|
|
189
241
|
def encryption(self) -> Optional[pulumi.Input['ProjectPropertiesEncryptionArgs']]:
|
|
190
242
|
"""
|
|
191
243
|
Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
|
|
192
|
-
> **NOTE :**:
|
|
244
|
+
> **NOTE :**:
|
|
245
|
+
To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.
|
|
246
|
+
|
|
247
|
+
To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.
|
|
248
|
+
|
|
249
|
+
You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.
|
|
193
250
|
"""
|
|
194
251
|
return pulumi.get(self, "encryption")
|
|
195
252
|
|
|
@@ -201,7 +258,10 @@ class ProjectPropertiesArgs:
|
|
|
201
258
|
@pulumi.getter(name="retentionDays")
|
|
202
259
|
def retention_days(self) -> Optional[pulumi.Input[int]]:
|
|
203
260
|
"""
|
|
204
|
-
Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.
|
|
261
|
+
Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.
|
|
262
|
+
The effective policy after adjusting the backup cycle is:
|
|
263
|
+
Extend the backup cycle: The new backup cycle takes effect on the same day.
|
|
264
|
+
Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
|
|
205
265
|
"""
|
|
206
266
|
return pulumi.get(self, "retention_days")
|
|
207
267
|
|
|
@@ -213,7 +273,8 @@ class ProjectPropertiesArgs:
|
|
|
213
273
|
@pulumi.getter(name="sqlMeteringMax")
|
|
214
274
|
def sql_metering_max(self) -> Optional[pulumi.Input[str]]:
|
|
215
275
|
"""
|
|
216
|
-
Set the maximum threshold
|
|
276
|
+
Set the maximum threshold for single SQL Consumption, that is, set the ODPS. SQL. metering.value.max attribute. For more information, see [Consumption control](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-controll).
|
|
277
|
+
Unit: scan volume (GB)* complexity.
|
|
217
278
|
"""
|
|
218
279
|
return pulumi.get(self, "sql_metering_max")
|
|
219
280
|
|
|
@@ -225,7 +286,7 @@ class ProjectPropertiesArgs:
|
|
|
225
286
|
@pulumi.getter(name="tableLifecycle")
|
|
226
287
|
def table_lifecycle(self) -> Optional[pulumi.Input['ProjectPropertiesTableLifecycleArgs']]:
|
|
227
288
|
"""
|
|
228
|
-
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property
|
|
289
|
+
Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property, See `table_lifecycle` below.
|
|
229
290
|
"""
|
|
230
291
|
return pulumi.get(self, "table_lifecycle")
|
|
231
292
|
|
|
@@ -237,7 +298,7 @@ class ProjectPropertiesArgs:
|
|
|
237
298
|
@pulumi.getter
|
|
238
299
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
239
300
|
"""
|
|
240
|
-
Project time zone, example value: Asia/Shanghai
|
|
301
|
+
Project time zone, example value: Asia/Shanghai
|
|
241
302
|
"""
|
|
242
303
|
return pulumi.get(self, "timezone")
|
|
243
304
|
|
|
@@ -249,7 +310,10 @@ class ProjectPropertiesArgs:
|
|
|
249
310
|
@pulumi.getter(name="typeSystem")
|
|
250
311
|
def type_system(self) -> Optional[pulumi.Input[str]]:
|
|
251
312
|
"""
|
|
252
|
-
Data type version. Value:(1/2/hive)
|
|
313
|
+
Data type version. Value:(1/2/hive)
|
|
314
|
+
1: The original MaxCompute type system.
|
|
315
|
+
2: New type system introduced by MaxCompute 2.0.
|
|
316
|
+
hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
|
|
253
317
|
"""
|
|
254
318
|
return pulumi.get(self, "type_system")
|
|
255
319
|
|
|
@@ -266,7 +330,9 @@ if not MYPY:
|
|
|
266
330
|
"""
|
|
267
331
|
enable: NotRequired[pulumi.Input[bool]]
|
|
268
332
|
"""
|
|
269
|
-
Only enable function is supported. Value: (true)
|
|
333
|
+
Only enable function is supported. Value: (true)
|
|
334
|
+
|
|
335
|
+
> **NOTE:** cannot be turned off after the function is turned on
|
|
270
336
|
"""
|
|
271
337
|
key: NotRequired[pulumi.Input[str]]
|
|
272
338
|
"""
|
|
@@ -283,7 +349,9 @@ class ProjectPropertiesEncryptionArgs:
|
|
|
283
349
|
key: Optional[pulumi.Input[str]] = None):
|
|
284
350
|
"""
|
|
285
351
|
:param pulumi.Input[str] algorithm: The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
|
|
286
|
-
:param pulumi.Input[bool] enable: Only enable function is supported. Value: (true)
|
|
352
|
+
:param pulumi.Input[bool] enable: Only enable function is supported. Value: (true)
|
|
353
|
+
|
|
354
|
+
> **NOTE:** cannot be turned off after the function is turned on
|
|
287
355
|
:param pulumi.Input[str] key: The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.
|
|
288
356
|
"""
|
|
289
357
|
if algorithm is not None:
|
|
@@ -309,7 +377,9 @@ class ProjectPropertiesEncryptionArgs:
|
|
|
309
377
|
@pulumi.getter
|
|
310
378
|
def enable(self) -> Optional[pulumi.Input[bool]]:
|
|
311
379
|
"""
|
|
312
|
-
Only enable function is supported. Value: (true)
|
|
380
|
+
Only enable function is supported. Value: (true)
|
|
381
|
+
|
|
382
|
+
> **NOTE:** cannot be turned off after the function is turned on
|
|
313
383
|
"""
|
|
314
384
|
return pulumi.get(self, "enable")
|
|
315
385
|
|
|
@@ -402,7 +472,7 @@ if not MYPY:
|
|
|
402
472
|
"""
|
|
403
473
|
project_protection: NotRequired[pulumi.Input['ProjectSecurityPropertiesProjectProtectionArgsDict']]
|
|
404
474
|
"""
|
|
405
|
-
Project protection
|
|
475
|
+
Project protection See `project_protection` below.
|
|
406
476
|
"""
|
|
407
477
|
using_acl: NotRequired[pulumi.Input[bool]]
|
|
408
478
|
"""
|
|
@@ -430,7 +500,7 @@ class ProjectSecurityPropertiesArgs:
|
|
|
430
500
|
:param pulumi.Input[bool] label_security: Set whether to use the [Label permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/label-based-access-control), that is, set the LabelSecurity attribute, which is not used by default.
|
|
431
501
|
:param pulumi.Input[bool] object_creator_has_access_permission: Sets whether to allow the creator of the object to have access to the object, I .e. sets the attribute. The default is the allowed state.
|
|
432
502
|
:param pulumi.Input[bool] object_creator_has_grant_permission: The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
|
|
433
|
-
:param pulumi.Input['ProjectSecurityPropertiesProjectProtectionArgs'] project_protection: Project protection
|
|
503
|
+
:param pulumi.Input['ProjectSecurityPropertiesProjectProtectionArgs'] project_protection: Project protection See `project_protection` below.
|
|
434
504
|
:param pulumi.Input[bool] using_acl: Set whether to use the [ACL permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-permissions), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
|
|
435
505
|
:param pulumi.Input[bool] using_policy: Set whether to use the Policy permission control function (https://www.alibabacloud.com/help/en/maxcompute/user-guide/policy-based-access-control-1), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
|
|
436
506
|
"""
|
|
@@ -501,7 +571,7 @@ class ProjectSecurityPropertiesArgs:
|
|
|
501
571
|
@pulumi.getter(name="projectProtection")
|
|
502
572
|
def project_protection(self) -> Optional[pulumi.Input['ProjectSecurityPropertiesProjectProtectionArgs']]:
|
|
503
573
|
"""
|
|
504
|
-
Project protection
|
|
574
|
+
Project protection See `project_protection` below.
|
|
505
575
|
"""
|
|
506
576
|
return pulumi.get(self, "project_protection")
|
|
507
577
|
|
|
@@ -538,11 +608,11 @@ if not MYPY:
|
|
|
538
608
|
class ProjectSecurityPropertiesProjectProtectionArgsDict(TypedDict):
|
|
539
609
|
exception_policy: NotRequired[pulumi.Input[str]]
|
|
540
610
|
"""
|
|
541
|
-
Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection)
|
|
611
|
+
Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection)
|
|
542
612
|
"""
|
|
543
613
|
protected: NotRequired[pulumi.Input[bool]]
|
|
544
614
|
"""
|
|
545
|
-
Whether enabled, value:(true/false)
|
|
615
|
+
Whether enabled, value:(true/false)
|
|
546
616
|
"""
|
|
547
617
|
elif False:
|
|
548
618
|
ProjectSecurityPropertiesProjectProtectionArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -553,8 +623,8 @@ class ProjectSecurityPropertiesProjectProtectionArgs:
|
|
|
553
623
|
exception_policy: Optional[pulumi.Input[str]] = None,
|
|
554
624
|
protected: Optional[pulumi.Input[bool]] = None):
|
|
555
625
|
"""
|
|
556
|
-
:param pulumi.Input[str] exception_policy: Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection)
|
|
557
|
-
:param pulumi.Input[bool] protected: Whether enabled, value:(true/false)
|
|
626
|
+
:param pulumi.Input[str] exception_policy: Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection)
|
|
627
|
+
:param pulumi.Input[bool] protected: Whether enabled, value:(true/false)
|
|
558
628
|
"""
|
|
559
629
|
if exception_policy is not None:
|
|
560
630
|
pulumi.set(__self__, "exception_policy", exception_policy)
|
|
@@ -565,7 +635,7 @@ class ProjectSecurityPropertiesProjectProtectionArgs:
|
|
|
565
635
|
@pulumi.getter(name="exceptionPolicy")
|
|
566
636
|
def exception_policy(self) -> Optional[pulumi.Input[str]]:
|
|
567
637
|
"""
|
|
568
|
-
Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection)
|
|
638
|
+
Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection)
|
|
569
639
|
"""
|
|
570
640
|
return pulumi.get(self, "exception_policy")
|
|
571
641
|
|
|
@@ -577,7 +647,7 @@ class ProjectSecurityPropertiesProjectProtectionArgs:
|
|
|
577
647
|
@pulumi.getter
|
|
578
648
|
def protected(self) -> Optional[pulumi.Input[bool]]:
|
|
579
649
|
"""
|
|
580
|
-
Whether enabled, value:(true/false)
|
|
650
|
+
Whether enabled, value:(true/false)
|
|
581
651
|
"""
|
|
582
652
|
return pulumi.get(self, "protected")
|
|
583
653
|
|
|
@@ -586,3 +656,506 @@ class ProjectSecurityPropertiesProjectProtectionArgs:
|
|
|
586
656
|
pulumi.set(self, "protected", value)
|
|
587
657
|
|
|
588
658
|
|
|
659
|
+
if not MYPY:
|
|
660
|
+
class QuotaPlanQuotaArgsDict(TypedDict):
|
|
661
|
+
parameter: NotRequired[pulumi.Input['QuotaPlanQuotaParameterArgsDict']]
|
|
662
|
+
"""
|
|
663
|
+
Level 2 Quota CU configuration See `parameter` below.
|
|
664
|
+
"""
|
|
665
|
+
sub_quota_info_lists: NotRequired[pulumi.Input[Sequence[pulumi.Input['QuotaPlanQuotaSubQuotaInfoListArgsDict']]]]
|
|
666
|
+
"""
|
|
667
|
+
Secondary Quota list
|
|
668
|
+
|
|
669
|
+
> **NOTE:** need to list all secondary Quota
|
|
670
|
+
See `sub_quota_info_list` below.
|
|
671
|
+
"""
|
|
672
|
+
elif False:
|
|
673
|
+
QuotaPlanQuotaArgsDict: TypeAlias = Mapping[str, Any]
|
|
674
|
+
|
|
675
|
+
@pulumi.input_type
|
|
676
|
+
class QuotaPlanQuotaArgs:
|
|
677
|
+
def __init__(__self__, *,
|
|
678
|
+
parameter: Optional[pulumi.Input['QuotaPlanQuotaParameterArgs']] = None,
|
|
679
|
+
sub_quota_info_lists: Optional[pulumi.Input[Sequence[pulumi.Input['QuotaPlanQuotaSubQuotaInfoListArgs']]]] = None):
|
|
680
|
+
"""
|
|
681
|
+
:param pulumi.Input['QuotaPlanQuotaParameterArgs'] parameter: Level 2 Quota CU configuration See `parameter` below.
|
|
682
|
+
:param pulumi.Input[Sequence[pulumi.Input['QuotaPlanQuotaSubQuotaInfoListArgs']]] sub_quota_info_lists: Secondary Quota list
|
|
683
|
+
|
|
684
|
+
> **NOTE:** need to list all secondary Quota
|
|
685
|
+
See `sub_quota_info_list` below.
|
|
686
|
+
"""
|
|
687
|
+
if parameter is not None:
|
|
688
|
+
pulumi.set(__self__, "parameter", parameter)
|
|
689
|
+
if sub_quota_info_lists is not None:
|
|
690
|
+
pulumi.set(__self__, "sub_quota_info_lists", sub_quota_info_lists)
|
|
691
|
+
|
|
692
|
+
@property
|
|
693
|
+
@pulumi.getter
|
|
694
|
+
def parameter(self) -> Optional[pulumi.Input['QuotaPlanQuotaParameterArgs']]:
|
|
695
|
+
"""
|
|
696
|
+
Level 2 Quota CU configuration See `parameter` below.
|
|
697
|
+
"""
|
|
698
|
+
return pulumi.get(self, "parameter")
|
|
699
|
+
|
|
700
|
+
@parameter.setter
|
|
701
|
+
def parameter(self, value: Optional[pulumi.Input['QuotaPlanQuotaParameterArgs']]):
|
|
702
|
+
pulumi.set(self, "parameter", value)
|
|
703
|
+
|
|
704
|
+
@property
|
|
705
|
+
@pulumi.getter(name="subQuotaInfoLists")
|
|
706
|
+
def sub_quota_info_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['QuotaPlanQuotaSubQuotaInfoListArgs']]]]:
|
|
707
|
+
"""
|
|
708
|
+
Secondary Quota list
|
|
709
|
+
|
|
710
|
+
> **NOTE:** need to list all secondary Quota
|
|
711
|
+
See `sub_quota_info_list` below.
|
|
712
|
+
"""
|
|
713
|
+
return pulumi.get(self, "sub_quota_info_lists")
|
|
714
|
+
|
|
715
|
+
@sub_quota_info_lists.setter
|
|
716
|
+
def sub_quota_info_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['QuotaPlanQuotaSubQuotaInfoListArgs']]]]):
|
|
717
|
+
pulumi.set(self, "sub_quota_info_lists", value)
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
if not MYPY:
|
|
721
|
+
class QuotaPlanQuotaParameterArgsDict(TypedDict):
|
|
722
|
+
elastic_reserved_cu: pulumi.Input[int]
|
|
723
|
+
"""
|
|
724
|
+
The value of elastic Reserved CUs.
|
|
725
|
+
|
|
726
|
+
> **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
|
|
727
|
+
"""
|
|
728
|
+
max_cu: NotRequired[pulumi.Input[int]]
|
|
729
|
+
"""
|
|
730
|
+
The value of maxCU in Reserved CUs.
|
|
731
|
+
"""
|
|
732
|
+
min_cu: NotRequired[pulumi.Input[int]]
|
|
733
|
+
"""
|
|
734
|
+
The value of minCU in Reserved CUs.
|
|
735
|
+
"""
|
|
736
|
+
elif False:
|
|
737
|
+
QuotaPlanQuotaParameterArgsDict: TypeAlias = Mapping[str, Any]
|
|
738
|
+
|
|
739
|
+
@pulumi.input_type
|
|
740
|
+
class QuotaPlanQuotaParameterArgs:
|
|
741
|
+
def __init__(__self__, *,
|
|
742
|
+
elastic_reserved_cu: pulumi.Input[int],
|
|
743
|
+
max_cu: Optional[pulumi.Input[int]] = None,
|
|
744
|
+
min_cu: Optional[pulumi.Input[int]] = None):
|
|
745
|
+
"""
|
|
746
|
+
:param pulumi.Input[int] elastic_reserved_cu: The value of elastic Reserved CUs.
|
|
747
|
+
|
|
748
|
+
> **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
|
|
749
|
+
:param pulumi.Input[int] max_cu: The value of maxCU in Reserved CUs.
|
|
750
|
+
:param pulumi.Input[int] min_cu: The value of minCU in Reserved CUs.
|
|
751
|
+
"""
|
|
752
|
+
pulumi.set(__self__, "elastic_reserved_cu", elastic_reserved_cu)
|
|
753
|
+
if max_cu is not None:
|
|
754
|
+
pulumi.set(__self__, "max_cu", max_cu)
|
|
755
|
+
if min_cu is not None:
|
|
756
|
+
pulumi.set(__self__, "min_cu", min_cu)
|
|
757
|
+
|
|
758
|
+
@property
|
|
759
|
+
@pulumi.getter(name="elasticReservedCu")
|
|
760
|
+
def elastic_reserved_cu(self) -> pulumi.Input[int]:
|
|
761
|
+
"""
|
|
762
|
+
The value of elastic Reserved CUs.
|
|
763
|
+
|
|
764
|
+
> **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
|
|
765
|
+
"""
|
|
766
|
+
return pulumi.get(self, "elastic_reserved_cu")
|
|
767
|
+
|
|
768
|
+
@elastic_reserved_cu.setter
|
|
769
|
+
def elastic_reserved_cu(self, value: pulumi.Input[int]):
|
|
770
|
+
pulumi.set(self, "elastic_reserved_cu", value)
|
|
771
|
+
|
|
772
|
+
@property
|
|
773
|
+
@pulumi.getter(name="maxCu")
|
|
774
|
+
def max_cu(self) -> Optional[pulumi.Input[int]]:
|
|
775
|
+
"""
|
|
776
|
+
The value of maxCU in Reserved CUs.
|
|
777
|
+
"""
|
|
778
|
+
return pulumi.get(self, "max_cu")
|
|
779
|
+
|
|
780
|
+
@max_cu.setter
|
|
781
|
+
def max_cu(self, value: Optional[pulumi.Input[int]]):
|
|
782
|
+
pulumi.set(self, "max_cu", value)
|
|
783
|
+
|
|
784
|
+
@property
|
|
785
|
+
@pulumi.getter(name="minCu")
|
|
786
|
+
def min_cu(self) -> Optional[pulumi.Input[int]]:
|
|
787
|
+
"""
|
|
788
|
+
The value of minCU in Reserved CUs.
|
|
789
|
+
"""
|
|
790
|
+
return pulumi.get(self, "min_cu")
|
|
791
|
+
|
|
792
|
+
@min_cu.setter
|
|
793
|
+
def min_cu(self, value: Optional[pulumi.Input[int]]):
|
|
794
|
+
pulumi.set(self, "min_cu", value)
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
if not MYPY:
|
|
798
|
+
class QuotaPlanQuotaSubQuotaInfoListArgsDict(TypedDict):
|
|
799
|
+
nick_name: pulumi.Input[str]
|
|
800
|
+
"""
|
|
801
|
+
The nickname of the level-2 quota.
|
|
802
|
+
"""
|
|
803
|
+
parameter: NotRequired[pulumi.Input['QuotaPlanQuotaSubQuotaInfoListParameterArgsDict']]
|
|
804
|
+
"""
|
|
805
|
+
The parameters of level-1 quota.
|
|
806
|
+
"""
|
|
807
|
+
elif False:
|
|
808
|
+
QuotaPlanQuotaSubQuotaInfoListArgsDict: TypeAlias = Mapping[str, Any]
|
|
809
|
+
|
|
810
|
+
@pulumi.input_type
|
|
811
|
+
class QuotaPlanQuotaSubQuotaInfoListArgs:
|
|
812
|
+
def __init__(__self__, *,
|
|
813
|
+
nick_name: pulumi.Input[str],
|
|
814
|
+
parameter: Optional[pulumi.Input['QuotaPlanQuotaSubQuotaInfoListParameterArgs']] = None):
|
|
815
|
+
"""
|
|
816
|
+
:param pulumi.Input[str] nick_name: The nickname of the level-2 quota.
|
|
817
|
+
:param pulumi.Input['QuotaPlanQuotaSubQuotaInfoListParameterArgs'] parameter: The parameters of level-1 quota.
|
|
818
|
+
"""
|
|
819
|
+
pulumi.set(__self__, "nick_name", nick_name)
|
|
820
|
+
if parameter is not None:
|
|
821
|
+
pulumi.set(__self__, "parameter", parameter)
|
|
822
|
+
|
|
823
|
+
@property
|
|
824
|
+
@pulumi.getter(name="nickName")
|
|
825
|
+
def nick_name(self) -> pulumi.Input[str]:
|
|
826
|
+
"""
|
|
827
|
+
The nickname of the level-2 quota.
|
|
828
|
+
"""
|
|
829
|
+
return pulumi.get(self, "nick_name")
|
|
830
|
+
|
|
831
|
+
@nick_name.setter
|
|
832
|
+
def nick_name(self, value: pulumi.Input[str]):
|
|
833
|
+
pulumi.set(self, "nick_name", value)
|
|
834
|
+
|
|
835
|
+
@property
|
|
836
|
+
@pulumi.getter
|
|
837
|
+
def parameter(self) -> Optional[pulumi.Input['QuotaPlanQuotaSubQuotaInfoListParameterArgs']]:
|
|
838
|
+
"""
|
|
839
|
+
The parameters of level-1 quota.
|
|
840
|
+
"""
|
|
841
|
+
return pulumi.get(self, "parameter")
|
|
842
|
+
|
|
843
|
+
@parameter.setter
|
|
844
|
+
def parameter(self, value: Optional[pulumi.Input['QuotaPlanQuotaSubQuotaInfoListParameterArgs']]):
|
|
845
|
+
pulumi.set(self, "parameter", value)
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
if not MYPY:
|
|
849
|
+
class QuotaPlanQuotaSubQuotaInfoListParameterArgsDict(TypedDict):
|
|
850
|
+
elastic_reserved_cu: pulumi.Input[int]
|
|
851
|
+
"""
|
|
852
|
+
The value of elastic Reserved CUs.
|
|
853
|
+
|
|
854
|
+
> **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
|
|
855
|
+
"""
|
|
856
|
+
max_cu: pulumi.Input[int]
|
|
857
|
+
"""
|
|
858
|
+
The value of maxCU in Reserved CUs.
|
|
859
|
+
"""
|
|
860
|
+
min_cu: pulumi.Input[int]
|
|
861
|
+
"""
|
|
862
|
+
The value of minCU in Reserved CUs.
|
|
863
|
+
"""
|
|
864
|
+
elif False:
|
|
865
|
+
QuotaPlanQuotaSubQuotaInfoListParameterArgsDict: TypeAlias = Mapping[str, Any]
|
|
866
|
+
|
|
867
|
+
@pulumi.input_type
|
|
868
|
+
class QuotaPlanQuotaSubQuotaInfoListParameterArgs:
|
|
869
|
+
def __init__(__self__, *,
|
|
870
|
+
elastic_reserved_cu: pulumi.Input[int],
|
|
871
|
+
max_cu: pulumi.Input[int],
|
|
872
|
+
min_cu: pulumi.Input[int]):
|
|
873
|
+
"""
|
|
874
|
+
:param pulumi.Input[int] elastic_reserved_cu: The value of elastic Reserved CUs.
|
|
875
|
+
|
|
876
|
+
> **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
|
|
877
|
+
:param pulumi.Input[int] max_cu: The value of maxCU in Reserved CUs.
|
|
878
|
+
:param pulumi.Input[int] min_cu: The value of minCU in Reserved CUs.
|
|
879
|
+
"""
|
|
880
|
+
pulumi.set(__self__, "elastic_reserved_cu", elastic_reserved_cu)
|
|
881
|
+
pulumi.set(__self__, "max_cu", max_cu)
|
|
882
|
+
pulumi.set(__self__, "min_cu", min_cu)
|
|
883
|
+
|
|
884
|
+
@property
|
|
885
|
+
@pulumi.getter(name="elasticReservedCu")
|
|
886
|
+
def elastic_reserved_cu(self) -> pulumi.Input[int]:
|
|
887
|
+
"""
|
|
888
|
+
The value of elastic Reserved CUs.
|
|
889
|
+
|
|
890
|
+
> **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
|
|
891
|
+
"""
|
|
892
|
+
return pulumi.get(self, "elastic_reserved_cu")
|
|
893
|
+
|
|
894
|
+
@elastic_reserved_cu.setter
|
|
895
|
+
def elastic_reserved_cu(self, value: pulumi.Input[int]):
|
|
896
|
+
pulumi.set(self, "elastic_reserved_cu", value)
|
|
897
|
+
|
|
898
|
+
@property
|
|
899
|
+
@pulumi.getter(name="maxCu")
|
|
900
|
+
def max_cu(self) -> pulumi.Input[int]:
|
|
901
|
+
"""
|
|
902
|
+
The value of maxCU in Reserved CUs.
|
|
903
|
+
"""
|
|
904
|
+
return pulumi.get(self, "max_cu")
|
|
905
|
+
|
|
906
|
+
@max_cu.setter
|
|
907
|
+
def max_cu(self, value: pulumi.Input[int]):
|
|
908
|
+
pulumi.set(self, "max_cu", value)
|
|
909
|
+
|
|
910
|
+
@property
|
|
911
|
+
@pulumi.getter(name="minCu")
|
|
912
|
+
def min_cu(self) -> pulumi.Input[int]:
|
|
913
|
+
"""
|
|
914
|
+
The value of minCU in Reserved CUs.
|
|
915
|
+
"""
|
|
916
|
+
return pulumi.get(self, "min_cu")
|
|
917
|
+
|
|
918
|
+
@min_cu.setter
|
|
919
|
+
def min_cu(self, value: pulumi.Input[int]):
|
|
920
|
+
pulumi.set(self, "min_cu", value)
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
if not MYPY:
|
|
924
|
+
class QuotaScheduleScheduleListArgsDict(TypedDict):
|
|
925
|
+
plan: pulumi.Input[str]
|
|
926
|
+
"""
|
|
927
|
+
The name of the quota plan.
|
|
928
|
+
"""
|
|
929
|
+
type: pulumi.Input[str]
|
|
930
|
+
"""
|
|
931
|
+
The type of the quota plan. Valid values: daily
|
|
932
|
+
|
|
933
|
+
> **NOTE:** Currently, only daily is supported.
|
|
934
|
+
"""
|
|
935
|
+
condition: NotRequired[pulumi.Input['QuotaScheduleScheduleListConditionArgsDict']]
|
|
936
|
+
"""
|
|
937
|
+
The value of effective condition. See `condition` below.
|
|
938
|
+
"""
|
|
939
|
+
elif False:
|
|
940
|
+
QuotaScheduleScheduleListArgsDict: TypeAlias = Mapping[str, Any]
|
|
941
|
+
|
|
942
|
+
@pulumi.input_type
|
|
943
|
+
class QuotaScheduleScheduleListArgs:
|
|
944
|
+
def __init__(__self__, *,
|
|
945
|
+
plan: pulumi.Input[str],
|
|
946
|
+
type: pulumi.Input[str],
|
|
947
|
+
condition: Optional[pulumi.Input['QuotaScheduleScheduleListConditionArgs']] = None):
|
|
948
|
+
"""
|
|
949
|
+
:param pulumi.Input[str] plan: The name of the quota plan.
|
|
950
|
+
:param pulumi.Input[str] type: The type of the quota plan. Valid values: daily
|
|
951
|
+
|
|
952
|
+
> **NOTE:** Currently, only daily is supported.
|
|
953
|
+
:param pulumi.Input['QuotaScheduleScheduleListConditionArgs'] condition: The value of effective condition. See `condition` below.
|
|
954
|
+
"""
|
|
955
|
+
pulumi.set(__self__, "plan", plan)
|
|
956
|
+
pulumi.set(__self__, "type", type)
|
|
957
|
+
if condition is not None:
|
|
958
|
+
pulumi.set(__self__, "condition", condition)
|
|
959
|
+
|
|
960
|
+
@property
|
|
961
|
+
@pulumi.getter
|
|
962
|
+
def plan(self) -> pulumi.Input[str]:
|
|
963
|
+
"""
|
|
964
|
+
The name of the quota plan.
|
|
965
|
+
"""
|
|
966
|
+
return pulumi.get(self, "plan")
|
|
967
|
+
|
|
968
|
+
@plan.setter
|
|
969
|
+
def plan(self, value: pulumi.Input[str]):
|
|
970
|
+
pulumi.set(self, "plan", value)
|
|
971
|
+
|
|
972
|
+
@property
|
|
973
|
+
@pulumi.getter
|
|
974
|
+
def type(self) -> pulumi.Input[str]:
|
|
975
|
+
"""
|
|
976
|
+
The type of the quota plan. Valid values: daily
|
|
977
|
+
|
|
978
|
+
> **NOTE:** Currently, only daily is supported.
|
|
979
|
+
"""
|
|
980
|
+
return pulumi.get(self, "type")
|
|
981
|
+
|
|
982
|
+
@type.setter
|
|
983
|
+
def type(self, value: pulumi.Input[str]):
|
|
984
|
+
pulumi.set(self, "type", value)
|
|
985
|
+
|
|
986
|
+
@property
|
|
987
|
+
@pulumi.getter
|
|
988
|
+
def condition(self) -> Optional[pulumi.Input['QuotaScheduleScheduleListConditionArgs']]:
|
|
989
|
+
"""
|
|
990
|
+
The value of effective condition. See `condition` below.
|
|
991
|
+
"""
|
|
992
|
+
return pulumi.get(self, "condition")
|
|
993
|
+
|
|
994
|
+
@condition.setter
|
|
995
|
+
def condition(self, value: Optional[pulumi.Input['QuotaScheduleScheduleListConditionArgs']]):
|
|
996
|
+
pulumi.set(self, "condition", value)
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
if not MYPY:
|
|
1000
|
+
class QuotaScheduleScheduleListConditionArgsDict(TypedDict):
|
|
1001
|
+
at: pulumi.Input[str]
|
|
1002
|
+
"""
|
|
1003
|
+
Effective time. The format is HH:mm, sample value: 00:00
|
|
1004
|
+
|
|
1005
|
+
> **NOTE:** The configuration must start from the effective time of 00:00. The input time must be either a whole hour or a half hour, and the minimum interval between each schedule is 30 minutes.
|
|
1006
|
+
"""
|
|
1007
|
+
elif False:
|
|
1008
|
+
QuotaScheduleScheduleListConditionArgsDict: TypeAlias = Mapping[str, Any]
|
|
1009
|
+
|
|
1010
|
+
@pulumi.input_type
|
|
1011
|
+
class QuotaScheduleScheduleListConditionArgs:
|
|
1012
|
+
def __init__(__self__, *,
|
|
1013
|
+
at: pulumi.Input[str]):
|
|
1014
|
+
"""
|
|
1015
|
+
:param pulumi.Input[str] at: Effective time. The format is HH:mm, sample value: 00:00
|
|
1016
|
+
|
|
1017
|
+
> **NOTE:** The configuration must start from the effective time of 00:00. The input time must be either a whole hour or a half hour, and the minimum interval between each schedule is 30 minutes.
|
|
1018
|
+
"""
|
|
1019
|
+
pulumi.set(__self__, "at", at)
|
|
1020
|
+
|
|
1021
|
+
@property
|
|
1022
|
+
@pulumi.getter
|
|
1023
|
+
def at(self) -> pulumi.Input[str]:
|
|
1024
|
+
"""
|
|
1025
|
+
Effective time. The format is HH:mm, sample value: 00:00
|
|
1026
|
+
|
|
1027
|
+
> **NOTE:** The configuration must start from the effective time of 00:00. The input time must be either a whole hour or a half hour, and the minimum interval between each schedule is 30 minutes.
|
|
1028
|
+
"""
|
|
1029
|
+
return pulumi.get(self, "at")
|
|
1030
|
+
|
|
1031
|
+
@at.setter
|
|
1032
|
+
def at(self, value: pulumi.Input[str]):
|
|
1033
|
+
pulumi.set(self, "at", value)
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
if not MYPY:
|
|
1037
|
+
class TunnelQuotaTimerQuotaTimerArgsDict(TypedDict):
|
|
1038
|
+
begin_time: pulumi.Input[str]
|
|
1039
|
+
"""
|
|
1040
|
+
The time-sharing configuration start time. Reference value: 00:00
|
|
1041
|
+
"""
|
|
1042
|
+
end_time: pulumi.Input[str]
|
|
1043
|
+
"""
|
|
1044
|
+
The end time of the timesharing configuration. Reference value: 24:00
|
|
1045
|
+
"""
|
|
1046
|
+
tunnel_quota_parameter: NotRequired[pulumi.Input['TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgsDict']]
|
|
1047
|
+
"""
|
|
1048
|
+
Time-sharing configuration parameters. See `tunnel_quota_parameter` below.
|
|
1049
|
+
"""
|
|
1050
|
+
elif False:
|
|
1051
|
+
TunnelQuotaTimerQuotaTimerArgsDict: TypeAlias = Mapping[str, Any]
|
|
1052
|
+
|
|
1053
|
+
@pulumi.input_type
|
|
1054
|
+
class TunnelQuotaTimerQuotaTimerArgs:
|
|
1055
|
+
def __init__(__self__, *,
|
|
1056
|
+
begin_time: pulumi.Input[str],
|
|
1057
|
+
end_time: pulumi.Input[str],
|
|
1058
|
+
tunnel_quota_parameter: Optional[pulumi.Input['TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgs']] = None):
|
|
1059
|
+
"""
|
|
1060
|
+
:param pulumi.Input[str] begin_time: The time-sharing configuration start time. Reference value: 00:00
|
|
1061
|
+
:param pulumi.Input[str] end_time: The end time of the timesharing configuration. Reference value: 24:00
|
|
1062
|
+
:param pulumi.Input['TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgs'] tunnel_quota_parameter: Time-sharing configuration parameters. See `tunnel_quota_parameter` below.
|
|
1063
|
+
"""
|
|
1064
|
+
pulumi.set(__self__, "begin_time", begin_time)
|
|
1065
|
+
pulumi.set(__self__, "end_time", end_time)
|
|
1066
|
+
if tunnel_quota_parameter is not None:
|
|
1067
|
+
pulumi.set(__self__, "tunnel_quota_parameter", tunnel_quota_parameter)
|
|
1068
|
+
|
|
1069
|
+
@property
|
|
1070
|
+
@pulumi.getter(name="beginTime")
|
|
1071
|
+
def begin_time(self) -> pulumi.Input[str]:
|
|
1072
|
+
"""
|
|
1073
|
+
The time-sharing configuration start time. Reference value: 00:00
|
|
1074
|
+
"""
|
|
1075
|
+
return pulumi.get(self, "begin_time")
|
|
1076
|
+
|
|
1077
|
+
@begin_time.setter
|
|
1078
|
+
def begin_time(self, value: pulumi.Input[str]):
|
|
1079
|
+
pulumi.set(self, "begin_time", value)
|
|
1080
|
+
|
|
1081
|
+
@property
|
|
1082
|
+
@pulumi.getter(name="endTime")
|
|
1083
|
+
def end_time(self) -> pulumi.Input[str]:
|
|
1084
|
+
"""
|
|
1085
|
+
The end time of the timesharing configuration. Reference value: 24:00
|
|
1086
|
+
"""
|
|
1087
|
+
return pulumi.get(self, "end_time")
|
|
1088
|
+
|
|
1089
|
+
@end_time.setter
|
|
1090
|
+
def end_time(self, value: pulumi.Input[str]):
|
|
1091
|
+
pulumi.set(self, "end_time", value)
|
|
1092
|
+
|
|
1093
|
+
@property
|
|
1094
|
+
@pulumi.getter(name="tunnelQuotaParameter")
|
|
1095
|
+
def tunnel_quota_parameter(self) -> Optional[pulumi.Input['TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgs']]:
|
|
1096
|
+
"""
|
|
1097
|
+
Time-sharing configuration parameters. See `tunnel_quota_parameter` below.
|
|
1098
|
+
"""
|
|
1099
|
+
return pulumi.get(self, "tunnel_quota_parameter")
|
|
1100
|
+
|
|
1101
|
+
@tunnel_quota_parameter.setter
|
|
1102
|
+
def tunnel_quota_parameter(self, value: Optional[pulumi.Input['TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgs']]):
|
|
1103
|
+
pulumi.set(self, "tunnel_quota_parameter", value)
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
if not MYPY:
|
|
1107
|
+
class TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgsDict(TypedDict):
|
|
1108
|
+
elastic_reserved_slot_num: pulumi.Input[int]
|
|
1109
|
+
"""
|
|
1110
|
+
The number of elastic reserved concurrency (Slot).
|
|
1111
|
+
"""
|
|
1112
|
+
slot_num: pulumi.Input[int]
|
|
1113
|
+
"""
|
|
1114
|
+
The number of reserved concurrency (Slot).
|
|
1115
|
+
|
|
1116
|
+
> **NOTE:** The reserved concurrency (Slot) cannot be modified. The number of concurrency slots must be the same as that of the purchased tunnel quota.
|
|
1117
|
+
"""
|
|
1118
|
+
elif False:
|
|
1119
|
+
TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgsDict: TypeAlias = Mapping[str, Any]
|
|
1120
|
+
|
|
1121
|
+
@pulumi.input_type
|
|
1122
|
+
class TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgs:
|
|
1123
|
+
def __init__(__self__, *,
|
|
1124
|
+
elastic_reserved_slot_num: pulumi.Input[int],
|
|
1125
|
+
slot_num: pulumi.Input[int]):
|
|
1126
|
+
"""
|
|
1127
|
+
:param pulumi.Input[int] elastic_reserved_slot_num: The number of elastic reserved concurrency (Slot).
|
|
1128
|
+
:param pulumi.Input[int] slot_num: The number of reserved concurrency (Slot).
|
|
1129
|
+
|
|
1130
|
+
> **NOTE:** The reserved concurrency (Slot) cannot be modified. The number of concurrency slots must be the same as that of the purchased tunnel quota.
|
|
1131
|
+
"""
|
|
1132
|
+
pulumi.set(__self__, "elastic_reserved_slot_num", elastic_reserved_slot_num)
|
|
1133
|
+
pulumi.set(__self__, "slot_num", slot_num)
|
|
1134
|
+
|
|
1135
|
+
@property
|
|
1136
|
+
@pulumi.getter(name="elasticReservedSlotNum")
|
|
1137
|
+
def elastic_reserved_slot_num(self) -> pulumi.Input[int]:
|
|
1138
|
+
"""
|
|
1139
|
+
The number of elastic reserved concurrency (Slot).
|
|
1140
|
+
"""
|
|
1141
|
+
return pulumi.get(self, "elastic_reserved_slot_num")
|
|
1142
|
+
|
|
1143
|
+
@elastic_reserved_slot_num.setter
|
|
1144
|
+
def elastic_reserved_slot_num(self, value: pulumi.Input[int]):
|
|
1145
|
+
pulumi.set(self, "elastic_reserved_slot_num", value)
|
|
1146
|
+
|
|
1147
|
+
@property
|
|
1148
|
+
@pulumi.getter(name="slotNum")
|
|
1149
|
+
def slot_num(self) -> pulumi.Input[int]:
|
|
1150
|
+
"""
|
|
1151
|
+
The number of reserved concurrency (Slot).
|
|
1152
|
+
|
|
1153
|
+
> **NOTE:** The reserved concurrency (Slot) cannot be modified. The number of concurrency slots must be the same as that of the purchased tunnel quota.
|
|
1154
|
+
"""
|
|
1155
|
+
return pulumi.get(self, "slot_num")
|
|
1156
|
+
|
|
1157
|
+
@slot_num.setter
|
|
1158
|
+
def slot_num(self, value: pulumi.Input[int]):
|
|
1159
|
+
pulumi.set(self, "slot_num", value)
|
|
1160
|
+
|
|
1161
|
+
|