pulumi-alicloud 3.60.0a1721884766__py3-none-any.whl → 3.60.0a1721952598__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/_utilities.py +2 -0
- pulumi_alicloud/cen/get_transit_router_service.py +2 -2
- pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/dcdn/_inputs.py +23 -27
- pulumi_alicloud/dcdn/domain.py +366 -217
- pulumi_alicloud/dcdn/outputs.py +18 -22
- pulumi_alicloud/directmail/get_domains.py +31 -24
- pulumi_alicloud/directmail/outputs.py +131 -32
- pulumi_alicloud/eci/_inputs.py +8 -0
- pulumi_alicloud/eci/outputs.py +8 -0
- pulumi_alicloud/ecs/_inputs.py +40 -8
- pulumi_alicloud/ecs/ecs_disk.py +7 -0
- pulumi_alicloud/ecs/instance.py +304 -102
- pulumi_alicloud/ecs/outputs.py +37 -9
- pulumi_alicloud/maxcompute/_inputs.py +44 -42
- pulumi_alicloud/maxcompute/outputs.py +44 -42
- pulumi_alicloud/maxcompute/project.py +230 -66
- pulumi_alicloud/polardb/cluster.py +28 -28
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/slb/_inputs.py +8 -8
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group.py +140 -84
- pulumi_alicloud/vpc/_inputs.py +18 -12
- pulumi_alicloud/vpc/network.py +332 -134
- pulumi_alicloud/vpc/outputs.py +18 -12
- pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/RECORD +32 -32
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ecs/outputs.py
CHANGED
|
@@ -1405,10 +1405,14 @@ class InstanceNetworkInterfaces(dict):
|
|
|
1405
1405
|
@staticmethod
|
|
1406
1406
|
def __key_warning(key: str):
|
|
1407
1407
|
suggest = None
|
|
1408
|
-
if key == "
|
|
1408
|
+
if key == "networkCardIndex":
|
|
1409
|
+
suggest = "network_card_index"
|
|
1410
|
+
elif key == "networkInterfaceId":
|
|
1409
1411
|
suggest = "network_interface_id"
|
|
1410
1412
|
elif key == "networkInterfaceTrafficMode":
|
|
1411
1413
|
suggest = "network_interface_traffic_mode"
|
|
1414
|
+
elif key == "queuePairNumber":
|
|
1415
|
+
suggest = "queue_pair_number"
|
|
1412
1416
|
elif key == "securityGroupIds":
|
|
1413
1417
|
suggest = "security_group_ids"
|
|
1414
1418
|
elif key == "vswitchId":
|
|
@@ -1426,32 +1430,48 @@ class InstanceNetworkInterfaces(dict):
|
|
|
1426
1430
|
return super().get(key, default)
|
|
1427
1431
|
|
|
1428
1432
|
def __init__(__self__, *,
|
|
1433
|
+
network_card_index: Optional[int] = None,
|
|
1429
1434
|
network_interface_id: Optional[str] = None,
|
|
1430
1435
|
network_interface_traffic_mode: Optional[str] = None,
|
|
1436
|
+
queue_pair_number: Optional[int] = None,
|
|
1431
1437
|
security_group_ids: Optional[Sequence[str]] = None,
|
|
1432
1438
|
vswitch_id: Optional[str] = None):
|
|
1433
1439
|
"""
|
|
1434
|
-
:param
|
|
1435
|
-
:param str
|
|
1440
|
+
:param int network_card_index: The index of the network card for Secondary ENI.
|
|
1441
|
+
:param str network_interface_id: The ID of the Secondary ENI.
|
|
1442
|
+
:param str network_interface_traffic_mode: The communication mode of the Secondary ENI. Default value: `Standard`. Valid values:
|
|
1436
1443
|
- `Standard`: Uses the TCP communication mode.
|
|
1437
1444
|
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
1438
|
-
:param
|
|
1439
|
-
:param str
|
|
1445
|
+
:param int queue_pair_number: The number of queues supported by the ERI.
|
|
1446
|
+
:param Sequence[str] security_group_ids: The ID of security group N to which to assign Secondary ENI N.
|
|
1447
|
+
:param str vswitch_id: The ID of the vSwitch to which to connect Secondary ENI N.
|
|
1440
1448
|
"""
|
|
1449
|
+
if network_card_index is not None:
|
|
1450
|
+
pulumi.set(__self__, "network_card_index", network_card_index)
|
|
1441
1451
|
if network_interface_id is not None:
|
|
1442
1452
|
pulumi.set(__self__, "network_interface_id", network_interface_id)
|
|
1443
1453
|
if network_interface_traffic_mode is not None:
|
|
1444
1454
|
pulumi.set(__self__, "network_interface_traffic_mode", network_interface_traffic_mode)
|
|
1455
|
+
if queue_pair_number is not None:
|
|
1456
|
+
pulumi.set(__self__, "queue_pair_number", queue_pair_number)
|
|
1445
1457
|
if security_group_ids is not None:
|
|
1446
1458
|
pulumi.set(__self__, "security_group_ids", security_group_ids)
|
|
1447
1459
|
if vswitch_id is not None:
|
|
1448
1460
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
1449
1461
|
|
|
1462
|
+
@property
|
|
1463
|
+
@pulumi.getter(name="networkCardIndex")
|
|
1464
|
+
def network_card_index(self) -> Optional[int]:
|
|
1465
|
+
"""
|
|
1466
|
+
The index of the network card for Secondary ENI.
|
|
1467
|
+
"""
|
|
1468
|
+
return pulumi.get(self, "network_card_index")
|
|
1469
|
+
|
|
1450
1470
|
@property
|
|
1451
1471
|
@pulumi.getter(name="networkInterfaceId")
|
|
1452
1472
|
def network_interface_id(self) -> Optional[str]:
|
|
1453
1473
|
"""
|
|
1454
|
-
The ID of the
|
|
1474
|
+
The ID of the Secondary ENI.
|
|
1455
1475
|
"""
|
|
1456
1476
|
return pulumi.get(self, "network_interface_id")
|
|
1457
1477
|
|
|
@@ -1459,17 +1479,25 @@ class InstanceNetworkInterfaces(dict):
|
|
|
1459
1479
|
@pulumi.getter(name="networkInterfaceTrafficMode")
|
|
1460
1480
|
def network_interface_traffic_mode(self) -> Optional[str]:
|
|
1461
1481
|
"""
|
|
1462
|
-
The communication mode of the ENI. Default value: `Standard`. Valid values:
|
|
1482
|
+
The communication mode of the Secondary ENI. Default value: `Standard`. Valid values:
|
|
1463
1483
|
- `Standard`: Uses the TCP communication mode.
|
|
1464
1484
|
- `HighPerformance`: Uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled.
|
|
1465
1485
|
"""
|
|
1466
1486
|
return pulumi.get(self, "network_interface_traffic_mode")
|
|
1467
1487
|
|
|
1488
|
+
@property
|
|
1489
|
+
@pulumi.getter(name="queuePairNumber")
|
|
1490
|
+
def queue_pair_number(self) -> Optional[int]:
|
|
1491
|
+
"""
|
|
1492
|
+
The number of queues supported by the ERI.
|
|
1493
|
+
"""
|
|
1494
|
+
return pulumi.get(self, "queue_pair_number")
|
|
1495
|
+
|
|
1468
1496
|
@property
|
|
1469
1497
|
@pulumi.getter(name="securityGroupIds")
|
|
1470
1498
|
def security_group_ids(self) -> Optional[Sequence[str]]:
|
|
1471
1499
|
"""
|
|
1472
|
-
The ID of security group N to which to assign ENI N.
|
|
1500
|
+
The ID of security group N to which to assign Secondary ENI N.
|
|
1473
1501
|
"""
|
|
1474
1502
|
return pulumi.get(self, "security_group_ids")
|
|
1475
1503
|
|
|
@@ -1477,7 +1505,7 @@ class InstanceNetworkInterfaces(dict):
|
|
|
1477
1505
|
@pulumi.getter(name="vswitchId")
|
|
1478
1506
|
def vswitch_id(self) -> Optional[str]:
|
|
1479
1507
|
"""
|
|
1480
|
-
The ID of the vSwitch to which to connect ENI N.
|
|
1508
|
+
The ID of the vSwitch to which to connect Secondary ENI N.
|
|
1481
1509
|
"""
|
|
1482
1510
|
return pulumi.get(self, "vswitch_id")
|
|
1483
1511
|
|
|
@@ -24,8 +24,8 @@ class ProjectIpWhiteListArgs:
|
|
|
24
24
|
ip_list: Optional[pulumi.Input[str]] = None,
|
|
25
25
|
vpc_ip_list: Optional[pulumi.Input[str]] = None):
|
|
26
26
|
"""
|
|
27
|
-
:param pulumi.Input[str] ip_list:
|
|
28
|
-
:param pulumi.Input[str] vpc_ip_list: VPC network whitelist.
|
|
27
|
+
: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.> **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.
|
|
28
|
+
: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.> **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.
|
|
29
29
|
"""
|
|
30
30
|
if ip_list is not None:
|
|
31
31
|
pulumi.set(__self__, "ip_list", ip_list)
|
|
@@ -36,7 +36,7 @@ class ProjectIpWhiteListArgs:
|
|
|
36
36
|
@pulumi.getter(name="ipList")
|
|
37
37
|
def ip_list(self) -> Optional[pulumi.Input[str]]:
|
|
38
38
|
"""
|
|
39
|
-
|
|
39
|
+
Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **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.
|
|
40
40
|
"""
|
|
41
41
|
return pulumi.get(self, "ip_list")
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ class ProjectIpWhiteListArgs:
|
|
|
48
48
|
@pulumi.getter(name="vpcIpList")
|
|
49
49
|
def vpc_ip_list(self) -> Optional[pulumi.Input[str]]:
|
|
50
50
|
"""
|
|
51
|
-
VPC network whitelist.
|
|
51
|
+
Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **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.
|
|
52
52
|
"""
|
|
53
53
|
return pulumi.get(self, "vpc_ip_list")
|
|
54
54
|
|
|
@@ -69,14 +69,15 @@ class ProjectPropertiesArgs:
|
|
|
69
69
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
70
70
|
type_system: Optional[pulumi.Input[str]] = None):
|
|
71
71
|
"""
|
|
72
|
-
:param pulumi.Input[bool] allow_full_scan: Whether to allow full table scan.
|
|
72
|
+
:param pulumi.Input[bool] allow_full_scan: Whether to allow full table scan. Default: false.
|
|
73
73
|
:param pulumi.Input[bool] enable_decimal2: Whether to turn on Decimal2.0.
|
|
74
|
-
:param pulumi.Input['ProjectPropertiesEncryptionArgs'] encryption:
|
|
75
|
-
|
|
76
|
-
:param pulumi.Input[
|
|
77
|
-
:param pulumi.Input[
|
|
78
|
-
:param pulumi.Input[
|
|
79
|
-
:param pulumi.Input[str]
|
|
74
|
+
:param pulumi.Input['ProjectPropertiesEncryptionArgs'] encryption: Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
|
|
75
|
+
> **NOTE :**: 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. 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. 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.
|
|
76
|
+
: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. The effective policy after adjusting the backup cycle is: Extend the backup cycle: The new backup cycle takes effect on the same day. Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
|
|
77
|
+
:param pulumi.Input[str] sql_metering_max: Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control). Unit: scan volume (GB)* complexity. .
|
|
78
|
+
: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.
|
|
79
|
+
:param pulumi.Input[str] timezone: Project time zone, example value: Asia/Shanghai.
|
|
80
|
+
:param pulumi.Input[str] type_system: Data type version. Value:(1/2/hive) 1: The original MaxCompute type system. 2: New type system introduced by MaxCompute 2.0. hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
|
|
80
81
|
"""
|
|
81
82
|
if allow_full_scan is not None:
|
|
82
83
|
pulumi.set(__self__, "allow_full_scan", allow_full_scan)
|
|
@@ -99,7 +100,7 @@ class ProjectPropertiesArgs:
|
|
|
99
100
|
@pulumi.getter(name="allowFullScan")
|
|
100
101
|
def allow_full_scan(self) -> Optional[pulumi.Input[bool]]:
|
|
101
102
|
"""
|
|
102
|
-
Whether to allow full table scan.
|
|
103
|
+
Whether to allow full table scan. Default: false.
|
|
103
104
|
"""
|
|
104
105
|
return pulumi.get(self, "allow_full_scan")
|
|
105
106
|
|
|
@@ -123,7 +124,8 @@ class ProjectPropertiesArgs:
|
|
|
123
124
|
@pulumi.getter
|
|
124
125
|
def encryption(self) -> Optional[pulumi.Input['ProjectPropertiesEncryptionArgs']]:
|
|
125
126
|
"""
|
|
126
|
-
|
|
127
|
+
Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
|
|
128
|
+
> **NOTE :**: 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. 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. 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.
|
|
127
129
|
"""
|
|
128
130
|
return pulumi.get(self, "encryption")
|
|
129
131
|
|
|
@@ -135,7 +137,7 @@ class ProjectPropertiesArgs:
|
|
|
135
137
|
@pulumi.getter(name="retentionDays")
|
|
136
138
|
def retention_days(self) -> Optional[pulumi.Input[int]]:
|
|
137
139
|
"""
|
|
138
|
-
|
|
140
|
+
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. The effective policy after adjusting the backup cycle is: Extend the backup cycle: The new backup cycle takes effect on the same day. Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
|
|
139
141
|
"""
|
|
140
142
|
return pulumi.get(self, "retention_days")
|
|
141
143
|
|
|
@@ -147,7 +149,7 @@ class ProjectPropertiesArgs:
|
|
|
147
149
|
@pulumi.getter(name="sqlMeteringMax")
|
|
148
150
|
def sql_metering_max(self) -> Optional[pulumi.Input[str]]:
|
|
149
151
|
"""
|
|
150
|
-
SQL
|
|
152
|
+
Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control). Unit: scan volume (GB)* complexity. .
|
|
151
153
|
"""
|
|
152
154
|
return pulumi.get(self, "sql_metering_max")
|
|
153
155
|
|
|
@@ -159,7 +161,7 @@ class ProjectPropertiesArgs:
|
|
|
159
161
|
@pulumi.getter(name="tableLifecycle")
|
|
160
162
|
def table_lifecycle(self) -> Optional[pulumi.Input['ProjectPropertiesTableLifecycleArgs']]:
|
|
161
163
|
"""
|
|
162
|
-
|
|
164
|
+
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.
|
|
163
165
|
"""
|
|
164
166
|
return pulumi.get(self, "table_lifecycle")
|
|
165
167
|
|
|
@@ -171,7 +173,7 @@ class ProjectPropertiesArgs:
|
|
|
171
173
|
@pulumi.getter
|
|
172
174
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
173
175
|
"""
|
|
174
|
-
Project time zone.
|
|
176
|
+
Project time zone, example value: Asia/Shanghai.
|
|
175
177
|
"""
|
|
176
178
|
return pulumi.get(self, "timezone")
|
|
177
179
|
|
|
@@ -183,7 +185,7 @@ class ProjectPropertiesArgs:
|
|
|
183
185
|
@pulumi.getter(name="typeSystem")
|
|
184
186
|
def type_system(self) -> Optional[pulumi.Input[str]]:
|
|
185
187
|
"""
|
|
186
|
-
|
|
188
|
+
Data type version. Value:(1/2/hive) 1: The original MaxCompute type system. 2: New type system introduced by MaxCompute 2.0. hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
|
|
187
189
|
"""
|
|
188
190
|
return pulumi.get(self, "type_system")
|
|
189
191
|
|
|
@@ -199,9 +201,9 @@ class ProjectPropertiesEncryptionArgs:
|
|
|
199
201
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
200
202
|
key: Optional[pulumi.Input[str]] = None):
|
|
201
203
|
"""
|
|
202
|
-
:param pulumi.Input[str] algorithm:
|
|
203
|
-
:param pulumi.Input[bool] enable:
|
|
204
|
-
:param pulumi.Input[str] key:
|
|
204
|
+
:param pulumi.Input[str] algorithm: The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
|
|
205
|
+
:param pulumi.Input[bool] enable: Only enable function is supported. Value: (true).
|
|
206
|
+
: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.
|
|
205
207
|
"""
|
|
206
208
|
if algorithm is not None:
|
|
207
209
|
pulumi.set(__self__, "algorithm", algorithm)
|
|
@@ -214,7 +216,7 @@ class ProjectPropertiesEncryptionArgs:
|
|
|
214
216
|
@pulumi.getter
|
|
215
217
|
def algorithm(self) -> Optional[pulumi.Input[str]]:
|
|
216
218
|
"""
|
|
217
|
-
|
|
219
|
+
The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
|
|
218
220
|
"""
|
|
219
221
|
return pulumi.get(self, "algorithm")
|
|
220
222
|
|
|
@@ -226,7 +228,7 @@ class ProjectPropertiesEncryptionArgs:
|
|
|
226
228
|
@pulumi.getter
|
|
227
229
|
def enable(self) -> Optional[pulumi.Input[bool]]:
|
|
228
230
|
"""
|
|
229
|
-
|
|
231
|
+
Only enable function is supported. Value: (true).
|
|
230
232
|
"""
|
|
231
233
|
return pulumi.get(self, "enable")
|
|
232
234
|
|
|
@@ -238,7 +240,7 @@ class ProjectPropertiesEncryptionArgs:
|
|
|
238
240
|
@pulumi.getter
|
|
239
241
|
def key(self) -> Optional[pulumi.Input[str]]:
|
|
240
242
|
"""
|
|
241
|
-
|
|
243
|
+
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.
|
|
242
244
|
"""
|
|
243
245
|
return pulumi.get(self, "key")
|
|
244
246
|
|
|
@@ -254,7 +256,7 @@ class ProjectPropertiesTableLifecycleArgs:
|
|
|
254
256
|
value: Optional[pulumi.Input[str]] = None):
|
|
255
257
|
"""
|
|
256
258
|
:param pulumi.Input[str] type: Project type
|
|
257
|
-
:param pulumi.Input[str] value: The value of the life cycle.
|
|
259
|
+
:param pulumi.Input[str] value: The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
|
|
258
260
|
"""
|
|
259
261
|
if type is not None:
|
|
260
262
|
pulumi.set(__self__, "type", type)
|
|
@@ -277,7 +279,7 @@ class ProjectPropertiesTableLifecycleArgs:
|
|
|
277
279
|
@pulumi.getter
|
|
278
280
|
def value(self) -> Optional[pulumi.Input[str]]:
|
|
279
281
|
"""
|
|
280
|
-
The value of the life cycle.
|
|
282
|
+
The value of the life cycle, in days. The value range is 1~37231, and the default value is 37231.
|
|
281
283
|
"""
|
|
282
284
|
return pulumi.get(self, "value")
|
|
283
285
|
|
|
@@ -297,13 +299,13 @@ class ProjectSecurityPropertiesArgs:
|
|
|
297
299
|
using_acl: Optional[pulumi.Input[bool]] = None,
|
|
298
300
|
using_policy: Optional[pulumi.Input[bool]] = None):
|
|
299
301
|
"""
|
|
300
|
-
:param pulumi.Input[bool] enable_download_privilege:
|
|
301
|
-
:param pulumi.Input[bool] label_security: Label
|
|
302
|
-
:param pulumi.Input[bool] object_creator_has_access_permission:
|
|
303
|
-
:param pulumi.Input[bool] object_creator_has_grant_permission:
|
|
302
|
+
:param pulumi.Input[bool] enable_download_privilege: Set whether to enable the [Download permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/download-control), that is, set the ODPS. security.enabledownloadprivilege property.
|
|
303
|
+
: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.
|
|
304
|
+
: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.
|
|
305
|
+
: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.
|
|
304
306
|
:param pulumi.Input['ProjectSecurityPropertiesProjectProtectionArgs'] project_protection: Project protection. See `project_protection` below.
|
|
305
|
-
:param pulumi.Input[bool] using_acl:
|
|
306
|
-
:param pulumi.Input[bool] using_policy:
|
|
307
|
+
: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.
|
|
308
|
+
: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.
|
|
307
309
|
"""
|
|
308
310
|
if enable_download_privilege is not None:
|
|
309
311
|
pulumi.set(__self__, "enable_download_privilege", enable_download_privilege)
|
|
@@ -324,7 +326,7 @@ class ProjectSecurityPropertiesArgs:
|
|
|
324
326
|
@pulumi.getter(name="enableDownloadPrivilege")
|
|
325
327
|
def enable_download_privilege(self) -> Optional[pulumi.Input[bool]]:
|
|
326
328
|
"""
|
|
327
|
-
|
|
329
|
+
Set whether to enable the [Download permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/download-control), that is, set the ODPS. security.enabledownloadprivilege property.
|
|
328
330
|
"""
|
|
329
331
|
return pulumi.get(self, "enable_download_privilege")
|
|
330
332
|
|
|
@@ -336,7 +338,7 @@ class ProjectSecurityPropertiesArgs:
|
|
|
336
338
|
@pulumi.getter(name="labelSecurity")
|
|
337
339
|
def label_security(self) -> Optional[pulumi.Input[bool]]:
|
|
338
340
|
"""
|
|
339
|
-
Label
|
|
341
|
+
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.
|
|
340
342
|
"""
|
|
341
343
|
return pulumi.get(self, "label_security")
|
|
342
344
|
|
|
@@ -348,7 +350,7 @@ class ProjectSecurityPropertiesArgs:
|
|
|
348
350
|
@pulumi.getter(name="objectCreatorHasAccessPermission")
|
|
349
351
|
def object_creator_has_access_permission(self) -> Optional[pulumi.Input[bool]]:
|
|
350
352
|
"""
|
|
351
|
-
|
|
353
|
+
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.
|
|
352
354
|
"""
|
|
353
355
|
return pulumi.get(self, "object_creator_has_access_permission")
|
|
354
356
|
|
|
@@ -360,7 +362,7 @@ class ProjectSecurityPropertiesArgs:
|
|
|
360
362
|
@pulumi.getter(name="objectCreatorHasGrantPermission")
|
|
361
363
|
def object_creator_has_grant_permission(self) -> Optional[pulumi.Input[bool]]:
|
|
362
364
|
"""
|
|
363
|
-
|
|
365
|
+
The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
|
|
364
366
|
"""
|
|
365
367
|
return pulumi.get(self, "object_creator_has_grant_permission")
|
|
366
368
|
|
|
@@ -384,7 +386,7 @@ class ProjectSecurityPropertiesArgs:
|
|
|
384
386
|
@pulumi.getter(name="usingAcl")
|
|
385
387
|
def using_acl(self) -> Optional[pulumi.Input[bool]]:
|
|
386
388
|
"""
|
|
387
|
-
|
|
389
|
+
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.
|
|
388
390
|
"""
|
|
389
391
|
return pulumi.get(self, "using_acl")
|
|
390
392
|
|
|
@@ -396,7 +398,7 @@ class ProjectSecurityPropertiesArgs:
|
|
|
396
398
|
@pulumi.getter(name="usingPolicy")
|
|
397
399
|
def using_policy(self) -> Optional[pulumi.Input[bool]]:
|
|
398
400
|
"""
|
|
399
|
-
|
|
401
|
+
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.
|
|
400
402
|
"""
|
|
401
403
|
return pulumi.get(self, "using_policy")
|
|
402
404
|
|
|
@@ -411,8 +413,8 @@ class ProjectSecurityPropertiesProjectProtectionArgs:
|
|
|
411
413
|
exception_policy: Optional[pulumi.Input[str]] = None,
|
|
412
414
|
protected: Optional[pulumi.Input[bool]] = None):
|
|
413
415
|
"""
|
|
414
|
-
:param pulumi.Input[str] exception_policy:
|
|
415
|
-
:param pulumi.Input[bool] protected:
|
|
416
|
+
:param pulumi.Input[str] exception_policy: Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).
|
|
417
|
+
:param pulumi.Input[bool] protected: Whether enabled, value:(true/false).
|
|
416
418
|
"""
|
|
417
419
|
if exception_policy is not None:
|
|
418
420
|
pulumi.set(__self__, "exception_policy", exception_policy)
|
|
@@ -423,7 +425,7 @@ class ProjectSecurityPropertiesProjectProtectionArgs:
|
|
|
423
425
|
@pulumi.getter(name="exceptionPolicy")
|
|
424
426
|
def exception_policy(self) -> Optional[pulumi.Input[str]]:
|
|
425
427
|
"""
|
|
426
|
-
|
|
428
|
+
Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).
|
|
427
429
|
"""
|
|
428
430
|
return pulumi.get(self, "exception_policy")
|
|
429
431
|
|
|
@@ -435,7 +437,7 @@ class ProjectSecurityPropertiesProjectProtectionArgs:
|
|
|
435
437
|
@pulumi.getter
|
|
436
438
|
def protected(self) -> Optional[pulumi.Input[bool]]:
|
|
437
439
|
"""
|
|
438
|
-
|
|
440
|
+
Whether enabled, value:(true/false).
|
|
439
441
|
"""
|
|
440
442
|
return pulumi.get(self, "protected")
|
|
441
443
|
|