baiducloud-python-sdk-pfs 0.0.11__py3-none-any.whl → 0.0.13__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.
- baiducloud_python_sdk_pfs/__init__.py +1 -1
- baiducloud_python_sdk_pfs/api/pfs_client.py +0 -13
- baiducloud_python_sdk_pfs/models/__init__.py +6 -5
- baiducloud_python_sdk_pfs/models/{l3_access_group.py → access_group_info.py} +8 -8
- baiducloud_python_sdk_pfs/models/{l3_access_rule.py → access_rule_info.py} +7 -15
- baiducloud_python_sdk_pfs/models/{l3_access_rule_create_info.py → access_rule_model.py} +17 -17
- baiducloud_python_sdk_pfs/models/{l3_attached_mount_target.py → attached_mount_target_info.py} +8 -14
- baiducloud_python_sdk_pfs/models/bucket_link_info.py +11 -0
- baiducloud_python_sdk_pfs/models/{l3_access_rule_create_result.py → create_access_rule_result.py} +10 -10
- baiducloud_python_sdk_pfs/models/create_l2_bucket_link_request.py +10 -0
- baiducloud_python_sdk_pfs/models/create_l2_policy_request.py +10 -0
- baiducloud_python_sdk_pfs/models/create_l3_access_rule_request.py +5 -6
- baiducloud_python_sdk_pfs/models/create_l3_access_rule_response.py +6 -6
- baiducloud_python_sdk_pfs/models/create_l3_mount_target_request.py +35 -1
- baiducloud_python_sdk_pfs/models/desc_l2_bucket_link_response.py +10 -0
- baiducloud_python_sdk_pfs/models/desc_l2_policy_response.py +10 -0
- baiducloud_python_sdk_pfs/models/describe_l3_access_group_response.py +6 -6
- baiducloud_python_sdk_pfs/models/describe_l3_mount_target_response.py +54 -1
- baiducloud_python_sdk_pfs/models/list_l2_bucket_link_request.py +1 -1
- baiducloud_python_sdk_pfs/models/list_l3_access_group_response.py +5 -5
- baiducloud_python_sdk_pfs/models/list_l3_access_rule_response.py +5 -5
- baiducloud_python_sdk_pfs/models/path_filter.py +66 -0
- baiducloud_python_sdk_pfs/models/policy_info.py +11 -0
- baiducloud_python_sdk_pfs/models/update_l3_mount_target_request.py +1 -1
- {baiducloud_python_sdk_pfs-0.0.11.dist-info → baiducloud_python_sdk_pfs-0.0.13.dist-info}/METADATA +1 -1
- {baiducloud_python_sdk_pfs-0.0.11.dist-info → baiducloud_python_sdk_pfs-0.0.13.dist-info}/RECORD +29 -28
- {baiducloud_python_sdk_pfs-0.0.11.dist-info → baiducloud_python_sdk_pfs-0.0.13.dist-info}/LICENSE +0 -0
- {baiducloud_python_sdk_pfs-0.0.11.dist-info → baiducloud_python_sdk_pfs-0.0.13.dist-info}/WHEEL +0 -0
- {baiducloud_python_sdk_pfs-0.0.11.dist-info → baiducloud_python_sdk_pfs-0.0.13.dist-info}/top_level.txt +0 -0
|
@@ -61,8 +61,6 @@ class PfsClient(BceBaseClient):
|
|
|
61
61
|
pfs base sdk client
|
|
62
62
|
"""
|
|
63
63
|
|
|
64
|
-
VERSION_V2 = b'/v2'
|
|
65
|
-
|
|
66
64
|
CONSTANT_V1 = b'v1'
|
|
67
65
|
|
|
68
66
|
CONSTANT_PFS = b'pfs'
|
|
@@ -221,7 +219,6 @@ class PfsClient(BceBaseClient):
|
|
|
221
219
|
"""
|
|
222
220
|
path = b'/'
|
|
223
221
|
headers = {}
|
|
224
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
225
222
|
headers[b'Version'] = b'v2'
|
|
226
223
|
params = {}
|
|
227
224
|
params['action'] = 'CreateL3AccessGroup'
|
|
@@ -253,7 +250,6 @@ class PfsClient(BceBaseClient):
|
|
|
253
250
|
"""
|
|
254
251
|
path = b'/'
|
|
255
252
|
headers = {}
|
|
256
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
257
253
|
headers[b'Version'] = b'v2'
|
|
258
254
|
params = {}
|
|
259
255
|
params['action'] = 'CreateL3AccessRule'
|
|
@@ -431,7 +427,6 @@ class PfsClient(BceBaseClient):
|
|
|
431
427
|
"""
|
|
432
428
|
path = b'/'
|
|
433
429
|
headers = {}
|
|
434
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
435
430
|
headers[b'Version'] = b'v2'
|
|
436
431
|
params = {}
|
|
437
432
|
params['action'] = 'DeleteL3AccessGroup'
|
|
@@ -463,7 +458,6 @@ class PfsClient(BceBaseClient):
|
|
|
463
458
|
"""
|
|
464
459
|
path = b'/'
|
|
465
460
|
headers = {}
|
|
466
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
467
461
|
headers[b'Version'] = b'v2'
|
|
468
462
|
params = {}
|
|
469
463
|
params['action'] = 'DeleteL3AccessRule'
|
|
@@ -667,7 +661,6 @@ class PfsClient(BceBaseClient):
|
|
|
667
661
|
"""
|
|
668
662
|
path = b'/'
|
|
669
663
|
headers = {}
|
|
670
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
671
664
|
headers[b'Version'] = b'v2'
|
|
672
665
|
params = {}
|
|
673
666
|
params['action'] = 'DescribeL3AccessGroup'
|
|
@@ -854,7 +847,6 @@ class PfsClient(BceBaseClient):
|
|
|
854
847
|
"""
|
|
855
848
|
path = b'/'
|
|
856
849
|
headers = {}
|
|
857
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
858
850
|
headers[b'Version'] = b'v2'
|
|
859
851
|
params = {}
|
|
860
852
|
params['action'] = 'ListL3AccessGroup'
|
|
@@ -886,7 +878,6 @@ class PfsClient(BceBaseClient):
|
|
|
886
878
|
"""
|
|
887
879
|
path = b'/'
|
|
888
880
|
headers = {}
|
|
889
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
890
881
|
headers[b'Version'] = b'v2'
|
|
891
882
|
params = {}
|
|
892
883
|
params['action'] = 'ListL3AccessRule'
|
|
@@ -918,7 +909,6 @@ class PfsClient(BceBaseClient):
|
|
|
918
909
|
"""
|
|
919
910
|
path = b'/'
|
|
920
911
|
headers = {}
|
|
921
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
922
912
|
headers[b'Version'] = b'v2'
|
|
923
913
|
params = {}
|
|
924
914
|
params['action'] = 'ListL3Clients'
|
|
@@ -1290,7 +1280,6 @@ class PfsClient(BceBaseClient):
|
|
|
1290
1280
|
"""
|
|
1291
1281
|
path = b'/'
|
|
1292
1282
|
headers = {}
|
|
1293
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
1294
1283
|
headers[b'Version'] = b'v2'
|
|
1295
1284
|
params = {}
|
|
1296
1285
|
params['action'] = 'UpdateL3AccessGroup'
|
|
@@ -1322,7 +1311,6 @@ class PfsClient(BceBaseClient):
|
|
|
1322
1311
|
"""
|
|
1323
1312
|
path = b'/'
|
|
1324
1313
|
headers = {}
|
|
1325
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
1326
1314
|
headers[b'Version'] = b'v2'
|
|
1327
1315
|
params = {}
|
|
1328
1316
|
params['action'] = 'UpdateL3AccessRule'
|
|
@@ -1354,7 +1342,6 @@ class PfsClient(BceBaseClient):
|
|
|
1354
1342
|
"""
|
|
1355
1343
|
path = b'/'
|
|
1356
1344
|
headers = {}
|
|
1357
|
-
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
1358
1345
|
headers[b'Version'] = b'v2'
|
|
1359
1346
|
params = {}
|
|
1360
1347
|
params['action'] = 'UpdateL3MountTarget'
|
|
@@ -2,9 +2,14 @@
|
|
|
2
2
|
Models for pfs SDK.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
from .access_group_info import AccessGroupInfo
|
|
6
|
+
from .access_rule_info import AccessRuleInfo
|
|
7
|
+
from .access_rule_model import AccessRuleModel
|
|
8
|
+
from .attached_mount_target_info import AttachedMountTargetInfo
|
|
5
9
|
from .bucket_link_info import BucketLinkInfo
|
|
6
10
|
from .cancel_l2_bucket_link_request import CancelL2BucketLinkRequest
|
|
7
11
|
from .cancel_l2_bucket_link_response import CancelL2BucketLinkResponse
|
|
12
|
+
from .create_access_rule_result import CreateAccessRuleResult
|
|
8
13
|
from .create_fileset_request import CreateFilesetRequest
|
|
9
14
|
from .create_fileset_response import CreateFilesetResponse
|
|
10
15
|
from .create_l2_bucket_link_request import CreateL2BucketLinkRequest
|
|
@@ -47,11 +52,6 @@ from .fileset_model import FilesetModel
|
|
|
47
52
|
from .instance_list_clients_request import InstanceListClientsRequest
|
|
48
53
|
from .instance_list_clients_response import InstanceListClientsResponse
|
|
49
54
|
from .instance_model import InstanceModel
|
|
50
|
-
from .l3_access_group import L3AccessGroup
|
|
51
|
-
from .l3_access_rule import L3AccessRule
|
|
52
|
-
from .l3_access_rule_create_info import L3AccessRuleCreateInfo
|
|
53
|
-
from .l3_access_rule_create_result import L3AccessRuleCreateResult
|
|
54
|
-
from .l3_attached_mount_target import L3AttachedMountTarget
|
|
55
55
|
from .l3_client_model import L3ClientModel
|
|
56
56
|
from .list_fileset_request import ListFilesetRequest
|
|
57
57
|
from .list_fileset_response import ListFilesetResponse
|
|
@@ -74,6 +74,7 @@ from .mount_target_info import MountTargetInfo
|
|
|
74
74
|
from .mount_target_list_clients_request import MountTargetListClientsRequest
|
|
75
75
|
from .mount_target_list_clients_response import MountTargetListClientsResponse
|
|
76
76
|
from .node_info import NodeInfo
|
|
77
|
+
from .path_filter import PathFilter
|
|
77
78
|
from .pause_l2_bucket_link_request import PauseL2BucketLinkRequest
|
|
78
79
|
from .pause_l2_bucket_link_response import PauseL2BucketLinkResponse
|
|
79
80
|
from .policy_info import PolicyInfo
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
AccessGroupInfo information
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class AccessGroupInfo(AbstractModel):
|
|
9
9
|
"""
|
|
10
|
-
|
|
10
|
+
AccessGroupInfo
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
def __init__(
|
|
@@ -21,12 +21,12 @@ class L3AccessGroup(AbstractModel):
|
|
|
21
21
|
zone_name=None,
|
|
22
22
|
):
|
|
23
23
|
"""
|
|
24
|
-
Initialize
|
|
24
|
+
Initialize AccessGroupInfo instance.
|
|
25
25
|
|
|
26
26
|
:param access_group_name: 权限组名称
|
|
27
27
|
:type access_group_name: str (optional)
|
|
28
28
|
|
|
29
|
-
:param description:
|
|
29
|
+
:param description: 描述,未设置时该 key 不返回
|
|
30
30
|
:type description: str (optional)
|
|
31
31
|
|
|
32
32
|
:param rule_count: 规则数量
|
|
@@ -38,10 +38,10 @@ class L3AccessGroup(AbstractModel):
|
|
|
38
38
|
:param mount_count: 关联挂载点数量
|
|
39
39
|
:type mount_count: int (optional)
|
|
40
40
|
|
|
41
|
-
:param create_time:
|
|
41
|
+
:param create_time: 创建时间,ISO-8601 UTC 秒精度,如 `2026-09-01T03:12:45Z`
|
|
42
42
|
:type create_time: str (optional)
|
|
43
43
|
|
|
44
|
-
:param zone_name:
|
|
44
|
+
:param zone_name: 逻辑机房
|
|
45
45
|
:type zone_name: str (optional)
|
|
46
46
|
"""
|
|
47
47
|
super().__init__()
|
|
@@ -92,7 +92,7 @@ class L3AccessGroup(AbstractModel):
|
|
|
92
92
|
:type m: dict
|
|
93
93
|
|
|
94
94
|
:return: Self reference for method chaining
|
|
95
|
-
:rtype:
|
|
95
|
+
:rtype: AccessGroupInfo
|
|
96
96
|
|
|
97
97
|
:raises TypeError: If input is not a dictionary type
|
|
98
98
|
:raises ValueError: If nested model conversion fails
|
|
@@ -1,31 +1,23 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
AccessRuleInfo information
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class AccessRuleInfo(AbstractModel):
|
|
9
9
|
"""
|
|
10
|
-
|
|
10
|
+
AccessRuleInfo
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
|
-
def __init__(
|
|
14
|
-
self,
|
|
15
|
-
access_rule_id=None,
|
|
16
|
-
ip=None,
|
|
17
|
-
mask=None,
|
|
18
|
-
priority=None,
|
|
19
|
-
write_access=None,
|
|
20
|
-
user_access=None,
|
|
21
|
-
):
|
|
13
|
+
def __init__(self, access_rule_id=None, ip=None, mask=None, priority=None, write_access=None, user_access=None):
|
|
22
14
|
"""
|
|
23
|
-
Initialize
|
|
15
|
+
Initialize AccessRuleInfo instance.
|
|
24
16
|
|
|
25
17
|
:param access_rule_id: 规则 ID
|
|
26
18
|
:type access_rule_id: int (optional)
|
|
27
19
|
|
|
28
|
-
:param ip:
|
|
20
|
+
:param ip: 客户端 IP
|
|
29
21
|
:type ip: str (optional)
|
|
30
22
|
|
|
31
23
|
:param mask: 掩码位数
|
|
@@ -85,7 +77,7 @@ class L3AccessRule(AbstractModel):
|
|
|
85
77
|
:type m: dict
|
|
86
78
|
|
|
87
79
|
:return: Self reference for method chaining
|
|
88
|
-
:rtype:
|
|
80
|
+
:rtype: AccessRuleInfo
|
|
89
81
|
|
|
90
82
|
:raises TypeError: If input is not a dictionary type
|
|
91
83
|
:raises ValueError: If nested model conversion fails
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
AccessRuleModel information
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class AccessRuleModel(AbstractModel):
|
|
9
9
|
"""
|
|
10
|
-
|
|
10
|
+
AccessRuleModel
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
|
-
def __init__(self, ip, write_access, user_access, priority
|
|
13
|
+
def __init__(self, ip=None, mask=None, write_access=None, user_access=None, priority=None):
|
|
14
14
|
"""
|
|
15
|
-
Initialize
|
|
15
|
+
Initialize AccessRuleModel instance.
|
|
16
16
|
|
|
17
|
-
:param ip:
|
|
18
|
-
:type ip: str (
|
|
17
|
+
:param ip: 客户端 IP
|
|
18
|
+
:type ip: str (optional)
|
|
19
19
|
|
|
20
|
-
:param
|
|
21
|
-
:type
|
|
20
|
+
:param mask: 掩码位数,不传时 IPv4 默认 32、IPv6 默认 128
|
|
21
|
+
:type mask: int (optional)
|
|
22
22
|
|
|
23
|
-
:param
|
|
24
|
-
:type
|
|
23
|
+
:param write_access: 读写权限,read_only / read_write
|
|
24
|
+
:type write_access: str (optional)
|
|
25
25
|
|
|
26
|
-
:param
|
|
27
|
-
:type
|
|
26
|
+
:param user_access: 用户权限,no_squash / root_squash / all_squash
|
|
27
|
+
:type user_access: str (optional)
|
|
28
28
|
|
|
29
|
-
:param
|
|
30
|
-
:type
|
|
29
|
+
:param priority: 优先级
|
|
30
|
+
:type priority: int (optional)
|
|
31
31
|
"""
|
|
32
32
|
super().__init__()
|
|
33
33
|
self.ip = ip
|
|
34
|
+
self.mask = mask
|
|
34
35
|
self.write_access = write_access
|
|
35
36
|
self.user_access = user_access
|
|
36
37
|
self.priority = priority
|
|
37
|
-
self.mask = mask
|
|
38
38
|
|
|
39
39
|
def to_dict(self):
|
|
40
40
|
"""
|
|
@@ -71,7 +71,7 @@ class L3AccessRuleCreateInfo(AbstractModel):
|
|
|
71
71
|
:type m: dict
|
|
72
72
|
|
|
73
73
|
:return: Self reference for method chaining
|
|
74
|
-
:rtype:
|
|
74
|
+
:rtype: AccessRuleModel
|
|
75
75
|
|
|
76
76
|
:raises TypeError: If input is not a dictionary type
|
|
77
77
|
:raises ValueError: If nested model conversion fails
|
baiducloud_python_sdk_pfs/models/{l3_attached_mount_target.py → attached_mount_target_info.py}
RENAMED
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
AttachedMountTargetInfo information
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class AttachedMountTargetInfo(AbstractModel):
|
|
9
9
|
"""
|
|
10
|
-
|
|
10
|
+
AttachedMountTargetInfo
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
|
-
def __init__(
|
|
14
|
-
self,
|
|
15
|
-
mount_target_id=None,
|
|
16
|
-
mount_target_name=None,
|
|
17
|
-
instance_id=None,
|
|
18
|
-
instance_name=None,
|
|
19
|
-
):
|
|
13
|
+
def __init__(self, mount_target_id=None, mount_target_name=None, instance_id=None, instance_name=None):
|
|
20
14
|
"""
|
|
21
|
-
Initialize
|
|
15
|
+
Initialize AttachedMountTargetInfo instance.
|
|
22
16
|
|
|
23
17
|
:param mount_target_id: 挂载点 ID
|
|
24
18
|
:type mount_target_id: str (optional)
|
|
@@ -26,10 +20,10 @@ class L3AttachedMountTarget(AbstractModel):
|
|
|
26
20
|
:param mount_target_name: 挂载点名称
|
|
27
21
|
:type mount_target_name: str (optional)
|
|
28
22
|
|
|
29
|
-
:param instance_id:
|
|
23
|
+
:param instance_id: 所属实例 ID
|
|
30
24
|
:type instance_id: str (optional)
|
|
31
25
|
|
|
32
|
-
:param instance_name:
|
|
26
|
+
:param instance_name: 所属实例名称
|
|
33
27
|
:type instance_name: str (optional)
|
|
34
28
|
"""
|
|
35
29
|
super().__init__()
|
|
@@ -71,7 +65,7 @@ class L3AttachedMountTarget(AbstractModel):
|
|
|
71
65
|
:type m: dict
|
|
72
66
|
|
|
73
67
|
:return: Self reference for method chaining
|
|
74
|
-
:rtype:
|
|
68
|
+
:rtype: AttachedMountTargetInfo
|
|
75
69
|
|
|
76
70
|
:raises TypeError: If input is not a dictionary type
|
|
77
71
|
:raises ValueError: If nested model conversion fails
|
|
@@ -4,6 +4,8 @@ BucketLinkInfo information
|
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
6
|
|
|
7
|
+
from baiducloud_python_sdk_pfs.models.path_filter import PathFilter
|
|
8
|
+
|
|
7
9
|
|
|
8
10
|
class BucketLinkInfo(AbstractModel):
|
|
9
11
|
"""
|
|
@@ -29,6 +31,7 @@ class BucketLinkInfo(AbstractModel):
|
|
|
29
31
|
bucket_belong_user_id=None,
|
|
30
32
|
lcc_id=None,
|
|
31
33
|
scope=None,
|
|
34
|
+
path_filters=None,
|
|
32
35
|
):
|
|
33
36
|
"""
|
|
34
37
|
Initialize BucketLinkInfo instance.
|
|
@@ -83,6 +86,9 @@ class BucketLinkInfo(AbstractModel):
|
|
|
83
86
|
|
|
84
87
|
:param scope: 任务可见范围,1:主账号以及子账号全部可见,2:仅主账号和子账号可见
|
|
85
88
|
:type scope: int (optional)
|
|
89
|
+
|
|
90
|
+
:param path_filters: 路径过滤规则,未设置时为null。type:0 后缀匹配,1 路径匹配;pattern:匹配规则
|
|
91
|
+
:type path_filters: List[PathFilter] (optional)
|
|
86
92
|
"""
|
|
87
93
|
super().__init__()
|
|
88
94
|
self.bucketlink_id = bucketlink_id
|
|
@@ -102,6 +108,7 @@ class BucketLinkInfo(AbstractModel):
|
|
|
102
108
|
self.bucket_belong_user_id = bucket_belong_user_id
|
|
103
109
|
self.lcc_id = lcc_id
|
|
104
110
|
self.scope = scope
|
|
111
|
+
self.path_filters = path_filters
|
|
105
112
|
|
|
106
113
|
def to_dict(self):
|
|
107
114
|
"""
|
|
@@ -150,6 +157,8 @@ class BucketLinkInfo(AbstractModel):
|
|
|
150
157
|
result['lccId'] = self.lcc_id
|
|
151
158
|
if self.scope is not None:
|
|
152
159
|
result['scope'] = self.scope
|
|
160
|
+
if self.path_filters is not None:
|
|
161
|
+
result['pathFilters'] = [i.to_dict() for i in self.path_filters]
|
|
153
162
|
return result
|
|
154
163
|
|
|
155
164
|
def from_dict(self, m):
|
|
@@ -202,4 +211,6 @@ class BucketLinkInfo(AbstractModel):
|
|
|
202
211
|
self.lcc_id = m.get('lccId')
|
|
203
212
|
if m.get('scope') is not None:
|
|
204
213
|
self.scope = m.get('scope')
|
|
214
|
+
if m.get('pathFilters') is not None:
|
|
215
|
+
self.path_filters = [PathFilter().from_dict(i) for i in m.get('pathFilters')]
|
|
205
216
|
return self
|
baiducloud_python_sdk_pfs/models/{l3_access_rule_create_result.py → create_access_rule_result.py}
RENAMED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
CreateAccessRuleResult information
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class CreateAccessRuleResult(AbstractModel):
|
|
9
9
|
"""
|
|
10
|
-
|
|
10
|
+
CreateAccessRuleResult
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
def __init__(self, success=None, access_rule_id=None, error_msg=None, ip=None, mask=None):
|
|
14
14
|
"""
|
|
15
|
-
Initialize
|
|
15
|
+
Initialize CreateAccessRuleResult instance.
|
|
16
16
|
|
|
17
|
-
:param success:
|
|
17
|
+
:param success: 该条是否创建成功
|
|
18
18
|
:type success: bool (optional)
|
|
19
19
|
|
|
20
|
-
:param access_rule_id:
|
|
20
|
+
:param access_rule_id: 成功时返回的规则 ID
|
|
21
21
|
:type access_rule_id: int (optional)
|
|
22
22
|
|
|
23
|
-
:param error_msg:
|
|
23
|
+
:param error_msg: 失败原因,成功时不返回
|
|
24
24
|
:type error_msg: str (optional)
|
|
25
25
|
|
|
26
|
-
:param ip:
|
|
26
|
+
:param ip: 该条规则对应的客户端 IP
|
|
27
27
|
:type ip: str (optional)
|
|
28
28
|
|
|
29
|
-
:param mask:
|
|
29
|
+
:param mask: 该条规则对应的掩码位数
|
|
30
30
|
:type mask: int (optional)
|
|
31
31
|
"""
|
|
32
32
|
super().__init__()
|
|
@@ -71,7 +71,7 @@ class L3AccessRuleCreateResult(AbstractModel):
|
|
|
71
71
|
:type m: dict
|
|
72
72
|
|
|
73
73
|
:return: Self reference for method chaining
|
|
74
|
-
:rtype:
|
|
74
|
+
:rtype: CreateAccessRuleResult
|
|
75
75
|
|
|
76
76
|
:raises TypeError: If input is not a dictionary type
|
|
77
77
|
:raises ValueError: If nested model conversion fails
|
|
@@ -3,6 +3,7 @@ Request entity for CreateL2BucketLinkRequest information.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.path_filter import PathFilter
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class CreateL2BucketLinkRequest(AbstractModel):
|
|
@@ -27,6 +28,7 @@ class CreateL2BucketLinkRequest(AbstractModel):
|
|
|
27
28
|
bucket_belong_user_id=None,
|
|
28
29
|
lcc_id=None,
|
|
29
30
|
scope=None,
|
|
31
|
+
path_filters=None,
|
|
30
32
|
):
|
|
31
33
|
"""
|
|
32
34
|
Initialize CreateL2BucketLinkRequest request entity.
|
|
@@ -69,6 +71,9 @@ class CreateL2BucketLinkRequest(AbstractModel):
|
|
|
69
71
|
|
|
70
72
|
:param scope: 任务可见范围,1:主账号以及子账号全部可见,2:仅主账号和子账号可见
|
|
71
73
|
:type scope: int (optional)
|
|
74
|
+
|
|
75
|
+
:param path_filters: path_filters parameter
|
|
76
|
+
:type path_filters: List[PathFilter] (optional)
|
|
72
77
|
"""
|
|
73
78
|
super().__init__()
|
|
74
79
|
self.instance_id = instance_id
|
|
@@ -84,6 +89,7 @@ class CreateL2BucketLinkRequest(AbstractModel):
|
|
|
84
89
|
self.bucket_belong_user_id = bucket_belong_user_id
|
|
85
90
|
self.lcc_id = lcc_id
|
|
86
91
|
self.scope = scope
|
|
92
|
+
self.path_filters = path_filters
|
|
87
93
|
|
|
88
94
|
def to_dict(self):
|
|
89
95
|
"""
|
|
@@ -124,6 +130,8 @@ class CreateL2BucketLinkRequest(AbstractModel):
|
|
|
124
130
|
result['lccId'] = self.lcc_id
|
|
125
131
|
if self.scope is not None:
|
|
126
132
|
result['scope'] = self.scope
|
|
133
|
+
if self.path_filters is not None:
|
|
134
|
+
result['pathFilters'] = [i.to_dict() for i in self.path_filters]
|
|
127
135
|
return result
|
|
128
136
|
|
|
129
137
|
def from_dict(self, m):
|
|
@@ -168,4 +176,6 @@ class CreateL2BucketLinkRequest(AbstractModel):
|
|
|
168
176
|
self.lcc_id = m.get('lccId')
|
|
169
177
|
if m.get('scope') is not None:
|
|
170
178
|
self.scope = m.get('scope')
|
|
179
|
+
if m.get('pathFilters') is not None:
|
|
180
|
+
self.path_filters = [PathFilter().from_dict(i) for i in m.get('pathFilters')]
|
|
171
181
|
return self
|
|
@@ -3,6 +3,7 @@ Request entity for CreateL2PolicyRequest information.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.path_filter import PathFilter
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class CreateL2PolicyRequest(AbstractModel):
|
|
@@ -22,6 +23,7 @@ class CreateL2PolicyRequest(AbstractModel):
|
|
|
22
23
|
execute_time=None,
|
|
23
24
|
bucket_name=None,
|
|
24
25
|
bucket_prefix=None,
|
|
26
|
+
path_filters=None,
|
|
25
27
|
):
|
|
26
28
|
"""
|
|
27
29
|
Initialize CreateL2PolicyRequest request entity.
|
|
@@ -49,6 +51,9 @@ class CreateL2PolicyRequest(AbstractModel):
|
|
|
49
51
|
|
|
50
52
|
:param bucket_prefix: 数据转存对应的prefix,当type为数据转存时,该字段必须声明prefix非\"/'开头,以\"/\"结尾
|
|
51
53
|
:type bucket_prefix: str (optional)
|
|
54
|
+
|
|
55
|
+
:param path_filters: path_filters parameter
|
|
56
|
+
:type path_filters: List[PathFilter] (optional)
|
|
52
57
|
"""
|
|
53
58
|
super().__init__()
|
|
54
59
|
self.instance_id = instance_id
|
|
@@ -59,6 +64,7 @@ class CreateL2PolicyRequest(AbstractModel):
|
|
|
59
64
|
self.execute_time = execute_time
|
|
60
65
|
self.bucket_name = bucket_name
|
|
61
66
|
self.bucket_prefix = bucket_prefix
|
|
67
|
+
self.path_filters = path_filters
|
|
62
68
|
|
|
63
69
|
def to_dict(self):
|
|
64
70
|
"""
|
|
@@ -89,6 +95,8 @@ class CreateL2PolicyRequest(AbstractModel):
|
|
|
89
95
|
result['bucketName'] = self.bucket_name
|
|
90
96
|
if self.bucket_prefix is not None:
|
|
91
97
|
result['bucketPrefix'] = self.bucket_prefix
|
|
98
|
+
if self.path_filters is not None:
|
|
99
|
+
result['pathFilters'] = [i.to_dict() for i in self.path_filters]
|
|
92
100
|
return result
|
|
93
101
|
|
|
94
102
|
def from_dict(self, m):
|
|
@@ -123,4 +131,6 @@ class CreateL2PolicyRequest(AbstractModel):
|
|
|
123
131
|
self.bucket_name = m.get('bucketName')
|
|
124
132
|
if m.get('bucketPrefix') is not None:
|
|
125
133
|
self.bucket_prefix = m.get('bucketPrefix')
|
|
134
|
+
if m.get('pathFilters') is not None:
|
|
135
|
+
self.path_filters = [PathFilter().from_dict(i) for i in m.get('pathFilters')]
|
|
126
136
|
return self
|
|
@@ -3,7 +3,7 @@ Request entity for CreateL3AccessRuleRequest information.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
-
from baiducloud_python_sdk_pfs.models.
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.access_rule_model import AccessRuleModel
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class CreateL3AccessRuleRequest(AbstractModel):
|
|
@@ -23,8 +23,8 @@ class CreateL3AccessRuleRequest(AbstractModel):
|
|
|
23
23
|
:param zone_name: 可用区名称
|
|
24
24
|
:type zone_name: str (required)
|
|
25
25
|
|
|
26
|
-
:param access_rules:
|
|
27
|
-
:type access_rules:
|
|
26
|
+
:param access_rules: 规则列表,不能为空数组,元素见下表
|
|
27
|
+
:type access_rules: List[AccessRuleModel] (required)
|
|
28
28
|
"""
|
|
29
29
|
super().__init__()
|
|
30
30
|
self.access_group_name = access_group_name
|
|
@@ -49,7 +49,7 @@ class CreateL3AccessRuleRequest(AbstractModel):
|
|
|
49
49
|
if self.zone_name is not None:
|
|
50
50
|
result['zoneName'] = self.zone_name
|
|
51
51
|
if self.access_rules is not None:
|
|
52
|
-
result['accessRules'] = [
|
|
52
|
+
result['accessRules'] = [i.to_dict() for i in self.access_rules]
|
|
53
53
|
return result
|
|
54
54
|
|
|
55
55
|
def from_dict(self, m):
|
|
@@ -73,6 +73,5 @@ class CreateL3AccessRuleRequest(AbstractModel):
|
|
|
73
73
|
if m.get('zoneName') is not None:
|
|
74
74
|
self.zone_name = m.get('zoneName')
|
|
75
75
|
if m.get('accessRules') is not None:
|
|
76
|
-
self.access_rules = [
|
|
77
|
-
for item in m.get('accessRules')]
|
|
76
|
+
self.access_rules = [AccessRuleModel().from_dict(i) for i in m.get('accessRules')]
|
|
78
77
|
return self
|
|
@@ -3,7 +3,7 @@ Request entity for CreateL3AccessRuleResponse information.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
-
from baiducloud_python_sdk_pfs.models.
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.create_access_rule_result import CreateAccessRuleResult
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class CreateL3AccessRuleResponse(BceResponse):
|
|
@@ -18,11 +18,11 @@ class CreateL3AccessRuleResponse(BceResponse):
|
|
|
18
18
|
:param request_id: 唯一请求 ID,每次请求都会返回
|
|
19
19
|
:type request_id: str (optional)
|
|
20
20
|
|
|
21
|
-
:param access_rule_id:
|
|
21
|
+
:param access_rule_id: 单条创建成功时返回的规则 ID,批量创建时不返回
|
|
22
22
|
:type access_rule_id: int (optional)
|
|
23
23
|
|
|
24
|
-
:param responses:
|
|
25
|
-
:type responses:
|
|
24
|
+
:param responses: 批量创建时的逐条结果,元素见下表;单条创建时不返回
|
|
25
|
+
:type responses: List[CreateAccessRuleResult] (optional)
|
|
26
26
|
"""
|
|
27
27
|
super().__init__()
|
|
28
28
|
self.request_id = request_id
|
|
@@ -50,7 +50,7 @@ class CreateL3AccessRuleResponse(BceResponse):
|
|
|
50
50
|
if self.access_rule_id is not None:
|
|
51
51
|
result['accessRuleId'] = self.access_rule_id
|
|
52
52
|
if self.responses is not None:
|
|
53
|
-
result['responses'] = [
|
|
53
|
+
result['responses'] = [i.to_dict() for i in self.responses]
|
|
54
54
|
return result
|
|
55
55
|
|
|
56
56
|
def from_dict(self, m):
|
|
@@ -74,5 +74,5 @@ class CreateL3AccessRuleResponse(BceResponse):
|
|
|
74
74
|
if m.get('accessRuleId') is not None:
|
|
75
75
|
self.access_rule_id = m.get('accessRuleId')
|
|
76
76
|
if m.get('responses') is not None:
|
|
77
|
-
self.responses = [
|
|
77
|
+
self.responses = [CreateAccessRuleResult().from_dict(i) for i in m.get('responses')]
|
|
78
78
|
return self
|
|
@@ -12,7 +12,9 @@ class CreateL3MountTargetRequest(AbstractModel):
|
|
|
12
12
|
This class encapsulates all parameters for the API request.
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
|
-
def __init__(
|
|
15
|
+
def __init__(
|
|
16
|
+
self, instance_id, vpc_id, subnet_id, name=None, access_group_name=None, protocol=None, ip_address=None
|
|
17
|
+
):
|
|
16
18
|
"""
|
|
17
19
|
Initialize CreateL3MountTargetRequest request entity.
|
|
18
20
|
|
|
@@ -24,11 +26,27 @@ class CreateL3MountTargetRequest(AbstractModel):
|
|
|
24
26
|
|
|
25
27
|
:param subnet_id: MountTarget所属子网,subnet属于PFS实例所在vpc,为短id
|
|
26
28
|
:type subnet_id: str (required)
|
|
29
|
+
|
|
30
|
+
:param name: 挂载点名称,默认default
|
|
31
|
+
:type name: str (optional)
|
|
32
|
+
|
|
33
|
+
:param access_group_name: 权限组名称,默认DEFAULT_ACCESS_GROUP_NAME
|
|
34
|
+
:type access_group_name: str (optional)
|
|
35
|
+
|
|
36
|
+
:param protocol: 协议类型,默认bpfs,当前只支持bpfs/nfs
|
|
37
|
+
:type protocol: str (optional)
|
|
38
|
+
|
|
39
|
+
:param ip_address: 挂载点IP地址
|
|
40
|
+
:type ip_address: str (optional)
|
|
27
41
|
"""
|
|
28
42
|
super().__init__()
|
|
29
43
|
self.instance_id = instance_id
|
|
30
44
|
self.vpc_id = vpc_id
|
|
31
45
|
self.subnet_id = subnet_id
|
|
46
|
+
self.name = name
|
|
47
|
+
self.access_group_name = access_group_name
|
|
48
|
+
self.protocol = protocol
|
|
49
|
+
self.ip_address = ip_address
|
|
32
50
|
|
|
33
51
|
def to_dict(self):
|
|
34
52
|
"""
|
|
@@ -49,6 +67,14 @@ class CreateL3MountTargetRequest(AbstractModel):
|
|
|
49
67
|
result['vpcId'] = self.vpc_id
|
|
50
68
|
if self.subnet_id is not None:
|
|
51
69
|
result['subnetId'] = self.subnet_id
|
|
70
|
+
if self.name is not None:
|
|
71
|
+
result['name'] = self.name
|
|
72
|
+
if self.access_group_name is not None:
|
|
73
|
+
result['accessGroupName'] = self.access_group_name
|
|
74
|
+
if self.protocol is not None:
|
|
75
|
+
result['protocol'] = self.protocol
|
|
76
|
+
if self.ip_address is not None:
|
|
77
|
+
result['ipAddress'] = self.ip_address
|
|
52
78
|
return result
|
|
53
79
|
|
|
54
80
|
def from_dict(self, m):
|
|
@@ -73,4 +99,12 @@ class CreateL3MountTargetRequest(AbstractModel):
|
|
|
73
99
|
self.vpc_id = m.get('vpcId')
|
|
74
100
|
if m.get('subnetId') is not None:
|
|
75
101
|
self.subnet_id = m.get('subnetId')
|
|
102
|
+
if m.get('name') is not None:
|
|
103
|
+
self.name = m.get('name')
|
|
104
|
+
if m.get('accessGroupName') is not None:
|
|
105
|
+
self.access_group_name = m.get('accessGroupName')
|
|
106
|
+
if m.get('protocol') is not None:
|
|
107
|
+
self.protocol = m.get('protocol')
|
|
108
|
+
if m.get('ipAddress') is not None:
|
|
109
|
+
self.ip_address = m.get('ipAddress')
|
|
76
110
|
return self
|
|
@@ -3,6 +3,7 @@ Request entity for DescL2BucketLinkResponse information.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.path_filter import PathFilter
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class DescL2BucketLinkResponse(BceResponse):
|
|
@@ -30,6 +31,7 @@ class DescL2BucketLinkResponse(BceResponse):
|
|
|
30
31
|
bucket_belong_user_id=None,
|
|
31
32
|
lcc_id=None,
|
|
32
33
|
scope=None,
|
|
34
|
+
path_filters=None,
|
|
33
35
|
):
|
|
34
36
|
"""
|
|
35
37
|
Initialize DescL2BucketLinkResponse response.
|
|
@@ -87,6 +89,9 @@ class DescL2BucketLinkResponse(BceResponse):
|
|
|
87
89
|
|
|
88
90
|
:param scope: 任务可见范围,1:主账号以及子账号全部可见,2:仅主账号和子账号可见
|
|
89
91
|
:type scope: int (optional)
|
|
92
|
+
|
|
93
|
+
:param path_filters: 路径过滤规则,未设置时为null。type:0 后缀匹配,1 路径匹配;pattern:匹配规则
|
|
94
|
+
:type path_filters: List[PathFilter] (optional)
|
|
90
95
|
"""
|
|
91
96
|
super().__init__()
|
|
92
97
|
self.request_id = request_id
|
|
@@ -107,6 +112,7 @@ class DescL2BucketLinkResponse(BceResponse):
|
|
|
107
112
|
self.bucket_belong_user_id = bucket_belong_user_id
|
|
108
113
|
self.lcc_id = lcc_id
|
|
109
114
|
self.scope = scope
|
|
115
|
+
self.path_filters = path_filters
|
|
110
116
|
|
|
111
117
|
def to_dict(self):
|
|
112
118
|
"""
|
|
@@ -160,6 +166,8 @@ class DescL2BucketLinkResponse(BceResponse):
|
|
|
160
166
|
result['lccId'] = self.lcc_id
|
|
161
167
|
if self.scope is not None:
|
|
162
168
|
result['scope'] = self.scope
|
|
169
|
+
if self.path_filters is not None:
|
|
170
|
+
result['pathFilters'] = [i.to_dict() for i in self.path_filters]
|
|
163
171
|
return result
|
|
164
172
|
|
|
165
173
|
def from_dict(self, m):
|
|
@@ -214,4 +222,6 @@ class DescL2BucketLinkResponse(BceResponse):
|
|
|
214
222
|
self.lcc_id = m.get('lccId')
|
|
215
223
|
if m.get('scope') is not None:
|
|
216
224
|
self.scope = m.get('scope')
|
|
225
|
+
if m.get('pathFilters') is not None:
|
|
226
|
+
self.path_filters = [PathFilter().from_dict(i) for i in m.get('pathFilters')]
|
|
217
227
|
return self
|
|
@@ -3,6 +3,7 @@ Request entity for DescL2PolicyResponse information.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.path_filter import PathFilter
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class DescL2PolicyResponse(BceResponse):
|
|
@@ -23,6 +24,7 @@ class DescL2PolicyResponse(BceResponse):
|
|
|
23
24
|
type=None,
|
|
24
25
|
bos_path=None,
|
|
25
26
|
status=None,
|
|
27
|
+
path_filters=None,
|
|
26
28
|
):
|
|
27
29
|
"""
|
|
28
30
|
Initialize DescL2PolicyResponse response.
|
|
@@ -59,6 +61,9 @@ class DescL2PolicyResponse(BceResponse):
|
|
|
59
61
|
|
|
60
62
|
:param status: 规则当前状态:<br><li>0:生效中<br><li>1:运行中<br><li>2:删除中<br><li>3:失败
|
|
61
63
|
:type status: int (optional)
|
|
64
|
+
|
|
65
|
+
:param path_filters: 路径过滤规则,未设置时不返回。type:0 后缀匹配,1 路径匹配;pattern:匹配规则
|
|
66
|
+
:type path_filters: List[PathFilter] (optional)
|
|
62
67
|
"""
|
|
63
68
|
super().__init__()
|
|
64
69
|
self.request_id = request_id
|
|
@@ -72,6 +77,7 @@ class DescL2PolicyResponse(BceResponse):
|
|
|
72
77
|
self.type = type
|
|
73
78
|
self.bos_path = bos_path
|
|
74
79
|
self.status = status
|
|
80
|
+
self.path_filters = path_filters
|
|
75
81
|
|
|
76
82
|
def to_dict(self):
|
|
77
83
|
"""
|
|
@@ -111,6 +117,8 @@ class DescL2PolicyResponse(BceResponse):
|
|
|
111
117
|
result['bosPath'] = self.bos_path
|
|
112
118
|
if self.status is not None:
|
|
113
119
|
result['status'] = self.status
|
|
120
|
+
if self.path_filters is not None:
|
|
121
|
+
result['pathFilters'] = [i.to_dict() for i in self.path_filters]
|
|
114
122
|
return result
|
|
115
123
|
|
|
116
124
|
def from_dict(self, m):
|
|
@@ -151,4 +159,6 @@ class DescL2PolicyResponse(BceResponse):
|
|
|
151
159
|
self.bos_path = m.get('bosPath')
|
|
152
160
|
if m.get('status') is not None:
|
|
153
161
|
self.status = m.get('status')
|
|
162
|
+
if m.get('pathFilters') is not None:
|
|
163
|
+
self.path_filters = [PathFilter().from_dict(i) for i in m.get('pathFilters')]
|
|
154
164
|
return self
|
|
@@ -3,7 +3,7 @@ Request entity for DescribeL3AccessGroupResponse information.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
-
from baiducloud_python_sdk_pfs.models.
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.attached_mount_target_info import AttachedMountTargetInfo
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class DescribeL3AccessGroupResponse(BceResponse):
|
|
@@ -31,7 +31,7 @@ class DescribeL3AccessGroupResponse(BceResponse):
|
|
|
31
31
|
:param access_group_name: 权限组名称
|
|
32
32
|
:type access_group_name: str (optional)
|
|
33
33
|
|
|
34
|
-
:param description:
|
|
34
|
+
:param description: 描述,未设置时该字段返回空串
|
|
35
35
|
:type description: str (optional)
|
|
36
36
|
|
|
37
37
|
:param instance_count: 关联实例数量
|
|
@@ -46,8 +46,8 @@ class DescribeL3AccessGroupResponse(BceResponse):
|
|
|
46
46
|
:param zone_name: 逻辑机房(可用区)
|
|
47
47
|
:type zone_name: str (optional)
|
|
48
48
|
|
|
49
|
-
:param attached_mount_targets:
|
|
50
|
-
:type attached_mount_targets:
|
|
49
|
+
:param attached_mount_targets: 已关联的挂载点列表,元素见下表
|
|
50
|
+
:type attached_mount_targets: List[AttachedMountTargetInfo] (optional)
|
|
51
51
|
"""
|
|
52
52
|
super().__init__()
|
|
53
53
|
self.request_id = request_id
|
|
@@ -90,7 +90,7 @@ class DescribeL3AccessGroupResponse(BceResponse):
|
|
|
90
90
|
if self.zone_name is not None:
|
|
91
91
|
result['zoneName'] = self.zone_name
|
|
92
92
|
if self.attached_mount_targets is not None:
|
|
93
|
-
result['attachedMountTargets'] = [
|
|
93
|
+
result['attachedMountTargets'] = [i.to_dict() for i in self.attached_mount_targets]
|
|
94
94
|
return result
|
|
95
95
|
|
|
96
96
|
def from_dict(self, m):
|
|
@@ -125,6 +125,6 @@ class DescribeL3AccessGroupResponse(BceResponse):
|
|
|
125
125
|
self.zone_name = m.get('zoneName')
|
|
126
126
|
if m.get('attachedMountTargets') is not None:
|
|
127
127
|
self.attached_mount_targets = [
|
|
128
|
-
|
|
128
|
+
AttachedMountTargetInfo().from_dict(i) for i in m.get('attachedMountTargets')
|
|
129
129
|
]
|
|
130
130
|
return self
|
|
@@ -10,7 +10,20 @@ class DescribeL3MountTargetResponse(BceResponse):
|
|
|
10
10
|
DescribeL3MountTargetResponse
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
|
-
def __init__(
|
|
13
|
+
def __init__(
|
|
14
|
+
self,
|
|
15
|
+
request_id=None,
|
|
16
|
+
domain=None,
|
|
17
|
+
mount_target_id=None,
|
|
18
|
+
ovip=None,
|
|
19
|
+
vpc_id=None,
|
|
20
|
+
subnet_id=None,
|
|
21
|
+
name=None,
|
|
22
|
+
protocol=None,
|
|
23
|
+
access_group_name=None,
|
|
24
|
+
client_count=None,
|
|
25
|
+
admission_status=None,
|
|
26
|
+
):
|
|
14
27
|
"""
|
|
15
28
|
Initialize DescribeL3MountTargetResponse response.
|
|
16
29
|
|
|
@@ -31,6 +44,21 @@ class DescribeL3MountTargetResponse(BceResponse):
|
|
|
31
44
|
|
|
32
45
|
:param subnet_id: 挂载点所在子网ID
|
|
33
46
|
:type subnet_id: str (optional)
|
|
47
|
+
|
|
48
|
+
:param name: response body
|
|
49
|
+
:type name: str (optional)
|
|
50
|
+
|
|
51
|
+
:param protocol: 协议类型
|
|
52
|
+
:type protocol: str (optional)
|
|
53
|
+
|
|
54
|
+
:param access_group_name: 权限组名称
|
|
55
|
+
:type access_group_name: str (optional)
|
|
56
|
+
|
|
57
|
+
:param client_count: 挂载客户端数量
|
|
58
|
+
:type client_count: int (optional)
|
|
59
|
+
|
|
60
|
+
:param admission_status: 挂载点状态(0 启动;1 禁用)
|
|
61
|
+
:type admission_status: int (optional)
|
|
34
62
|
"""
|
|
35
63
|
super().__init__()
|
|
36
64
|
self.request_id = request_id
|
|
@@ -39,6 +67,11 @@ class DescribeL3MountTargetResponse(BceResponse):
|
|
|
39
67
|
self.ovip = ovip
|
|
40
68
|
self.vpc_id = vpc_id
|
|
41
69
|
self.subnet_id = subnet_id
|
|
70
|
+
self.name = name
|
|
71
|
+
self.protocol = protocol
|
|
72
|
+
self.access_group_name = access_group_name
|
|
73
|
+
self.client_count = client_count
|
|
74
|
+
self.admission_status = admission_status
|
|
42
75
|
|
|
43
76
|
def to_dict(self):
|
|
44
77
|
"""
|
|
@@ -68,6 +101,16 @@ class DescribeL3MountTargetResponse(BceResponse):
|
|
|
68
101
|
result['vpcId'] = self.vpc_id
|
|
69
102
|
if self.subnet_id is not None:
|
|
70
103
|
result['subnetId'] = self.subnet_id
|
|
104
|
+
if self.name is not None:
|
|
105
|
+
result['name'] = self.name
|
|
106
|
+
if self.protocol is not None:
|
|
107
|
+
result['protocol'] = self.protocol
|
|
108
|
+
if self.access_group_name is not None:
|
|
109
|
+
result['accessGroupName'] = self.access_group_name
|
|
110
|
+
if self.client_count is not None:
|
|
111
|
+
result['clientCount'] = self.client_count
|
|
112
|
+
if self.admission_status is not None:
|
|
113
|
+
result['admissionStatus'] = self.admission_status
|
|
71
114
|
return result
|
|
72
115
|
|
|
73
116
|
def from_dict(self, m):
|
|
@@ -98,4 +141,14 @@ class DescribeL3MountTargetResponse(BceResponse):
|
|
|
98
141
|
self.vpc_id = m.get('vpcId')
|
|
99
142
|
if m.get('subnetId') is not None:
|
|
100
143
|
self.subnet_id = m.get('subnetId')
|
|
144
|
+
if m.get('name') is not None:
|
|
145
|
+
self.name = m.get('name')
|
|
146
|
+
if m.get('protocol') is not None:
|
|
147
|
+
self.protocol = m.get('protocol')
|
|
148
|
+
if m.get('accessGroupName') is not None:
|
|
149
|
+
self.access_group_name = m.get('accessGroupName')
|
|
150
|
+
if m.get('clientCount') is not None:
|
|
151
|
+
self.client_count = m.get('clientCount')
|
|
152
|
+
if m.get('admissionStatus') is not None:
|
|
153
|
+
self.admission_status = m.get('admissionStatus')
|
|
101
154
|
return self
|
|
@@ -19,7 +19,7 @@ class ListL2BucketLinkRequest(AbstractModel):
|
|
|
19
19
|
:param instance_id: PFS实例ID
|
|
20
20
|
:type instance_id: str (required)
|
|
21
21
|
|
|
22
|
-
:param max_keys: 返回bucketlink列表长度,默认为
|
|
22
|
+
:param max_keys: 返回bucketlink列表长度,默认为50个,取值范围为【1,50】,超过范围的规整为1或50
|
|
23
23
|
:type max_keys: int (optional)
|
|
24
24
|
|
|
25
25
|
:param manner: 请求的分段类型,必须指定marker
|
|
@@ -3,7 +3,7 @@ Request entity for ListL3AccessGroupResponse information.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
-
from baiducloud_python_sdk_pfs.models.
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.access_group_info import AccessGroupInfo
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class ListL3AccessGroupResponse(BceResponse):
|
|
@@ -28,8 +28,8 @@ class ListL3AccessGroupResponse(BceResponse):
|
|
|
28
28
|
:param request_id: 唯一请求 ID,每次请求都会返回
|
|
29
29
|
:type request_id: str (optional)
|
|
30
30
|
|
|
31
|
-
:param result:
|
|
32
|
-
:type result:
|
|
31
|
+
:param result: 当前页的权限组列表,元素见下表
|
|
32
|
+
:type result: List[AccessGroupInfo] (optional)
|
|
33
33
|
|
|
34
34
|
:param page_no: 当前页码
|
|
35
35
|
:type page_no: int (optional)
|
|
@@ -78,7 +78,7 @@ class ListL3AccessGroupResponse(BceResponse):
|
|
|
78
78
|
if self.request_id is not None:
|
|
79
79
|
result['requestId'] = self.request_id
|
|
80
80
|
if self.result is not None:
|
|
81
|
-
result['result'] = [
|
|
81
|
+
result['result'] = [i.to_dict() for i in self.result]
|
|
82
82
|
if self.page_no is not None:
|
|
83
83
|
result['pageNo'] = self.page_no
|
|
84
84
|
if self.page_size is not None:
|
|
@@ -112,7 +112,7 @@ class ListL3AccessGroupResponse(BceResponse):
|
|
|
112
112
|
if m.get('requestId') is not None:
|
|
113
113
|
self.request_id = m.get('requestId')
|
|
114
114
|
if m.get('result') is not None:
|
|
115
|
-
self.result = [
|
|
115
|
+
self.result = [AccessGroupInfo().from_dict(i) for i in m.get('result')]
|
|
116
116
|
if m.get('pageNo') is not None:
|
|
117
117
|
self.page_no = m.get('pageNo')
|
|
118
118
|
if m.get('pageSize') is not None:
|
|
@@ -3,7 +3,7 @@ Request entity for ListL3AccessRuleResponse information.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
-
from baiducloud_python_sdk_pfs.models.
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.access_rule_info import AccessRuleInfo
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class ListL3AccessRuleResponse(BceResponse):
|
|
@@ -18,8 +18,8 @@ class ListL3AccessRuleResponse(BceResponse):
|
|
|
18
18
|
:param request_id: 唯一请求 ID,每次请求都会返回
|
|
19
19
|
:type request_id: str (optional)
|
|
20
20
|
|
|
21
|
-
:param result:
|
|
22
|
-
:type result:
|
|
21
|
+
:param result: 规则列表,元素见下表
|
|
22
|
+
:type result: List[AccessRuleInfo] (optional)
|
|
23
23
|
|
|
24
24
|
:param total_count: 总条数
|
|
25
25
|
:type total_count: int (optional)
|
|
@@ -56,7 +56,7 @@ class ListL3AccessRuleResponse(BceResponse):
|
|
|
56
56
|
if self.request_id is not None:
|
|
57
57
|
result['requestId'] = self.request_id
|
|
58
58
|
if self.result is not None:
|
|
59
|
-
result['result'] = [
|
|
59
|
+
result['result'] = [i.to_dict() for i in self.result]
|
|
60
60
|
if self.total_count is not None:
|
|
61
61
|
result['totalCount'] = self.total_count
|
|
62
62
|
if self.page_no is not None:
|
|
@@ -84,7 +84,7 @@ class ListL3AccessRuleResponse(BceResponse):
|
|
|
84
84
|
if m.get('requestId') is not None:
|
|
85
85
|
self.request_id = m.get('requestId')
|
|
86
86
|
if m.get('result') is not None:
|
|
87
|
-
self.result = [
|
|
87
|
+
self.result = [AccessRuleInfo().from_dict(i) for i in m.get('result')]
|
|
88
88
|
if m.get('totalCount') is not None:
|
|
89
89
|
self.total_count = m.get('totalCount')
|
|
90
90
|
if m.get('pageNo') is not None:
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"""
|
|
2
|
+
PathFilter information
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class PathFilter(AbstractModel):
|
|
9
|
+
"""
|
|
10
|
+
PathFilter
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def __init__(self, type=None, pattern=None):
|
|
14
|
+
"""
|
|
15
|
+
Initialize PathFilter instance.
|
|
16
|
+
|
|
17
|
+
:param type: 过滤类型。0 后缀匹配(SUFFIX);1 路径匹配(PATH_PATTERN)
|
|
18
|
+
:type type: int (optional)
|
|
19
|
+
|
|
20
|
+
:param pattern: 匹配规则,最长1000字节。
|
|
21
|
+
:type pattern: str (optional)
|
|
22
|
+
"""
|
|
23
|
+
super().__init__()
|
|
24
|
+
self.type = type
|
|
25
|
+
self.pattern = pattern
|
|
26
|
+
|
|
27
|
+
def to_dict(self):
|
|
28
|
+
"""
|
|
29
|
+
Convert the model instance to a dictionary representation.
|
|
30
|
+
|
|
31
|
+
Nested model objects are recursively converted to dictionaries.
|
|
32
|
+
|
|
33
|
+
:return: Dictionary representation of the model
|
|
34
|
+
:rtype: dict
|
|
35
|
+
"""
|
|
36
|
+
_map = super().to_dict()
|
|
37
|
+
if _map is not None:
|
|
38
|
+
return _map
|
|
39
|
+
result = dict()
|
|
40
|
+
if self.type is not None:
|
|
41
|
+
result['type'] = self.type
|
|
42
|
+
if self.pattern is not None:
|
|
43
|
+
result['pattern'] = self.pattern
|
|
44
|
+
return result
|
|
45
|
+
|
|
46
|
+
def from_dict(self, m):
|
|
47
|
+
"""
|
|
48
|
+
Populate the model instance from a dictionary.
|
|
49
|
+
|
|
50
|
+
Nested dictionaries are recursively converted to model objects.
|
|
51
|
+
|
|
52
|
+
:param m: Dictionary containing model data
|
|
53
|
+
:type m: dict
|
|
54
|
+
|
|
55
|
+
:return: Self reference for method chaining
|
|
56
|
+
:rtype: PathFilter
|
|
57
|
+
|
|
58
|
+
:raises TypeError: If input is not a dictionary type
|
|
59
|
+
:raises ValueError: If nested model conversion fails
|
|
60
|
+
"""
|
|
61
|
+
m = m or dict()
|
|
62
|
+
if m.get('type') is not None:
|
|
63
|
+
self.type = m.get('type')
|
|
64
|
+
if m.get('pattern') is not None:
|
|
65
|
+
self.pattern = m.get('pattern')
|
|
66
|
+
return self
|
|
@@ -4,6 +4,8 @@ PolicyInfo information
|
|
|
4
4
|
|
|
5
5
|
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
6
|
|
|
7
|
+
from baiducloud_python_sdk_pfs.models.path_filter import PathFilter
|
|
8
|
+
|
|
7
9
|
|
|
8
10
|
class PolicyInfo(AbstractModel):
|
|
9
11
|
"""
|
|
@@ -22,6 +24,7 @@ class PolicyInfo(AbstractModel):
|
|
|
22
24
|
type=None,
|
|
23
25
|
bos_path=None,
|
|
24
26
|
status=None,
|
|
27
|
+
path_filters=None,
|
|
25
28
|
):
|
|
26
29
|
"""
|
|
27
30
|
Initialize PolicyInfo instance.
|
|
@@ -55,6 +58,9 @@ class PolicyInfo(AbstractModel):
|
|
|
55
58
|
|
|
56
59
|
:param status: 规则当前状态:<br>• 0:生效中<br>• 1:运行中<br>• 2:删除中<br>• 3:失败
|
|
57
60
|
:type status: int (optional)
|
|
61
|
+
|
|
62
|
+
:param path_filters: 路径过滤规则,未设置时不返回。type:0 后缀匹配,1 路径匹配;pattern:匹配规则
|
|
63
|
+
:type path_filters: List[PathFilter] (optional)
|
|
58
64
|
"""
|
|
59
65
|
super().__init__()
|
|
60
66
|
self.policy_id = policy_id
|
|
@@ -67,6 +73,7 @@ class PolicyInfo(AbstractModel):
|
|
|
67
73
|
self.type = type
|
|
68
74
|
self.bos_path = bos_path
|
|
69
75
|
self.status = status
|
|
76
|
+
self.path_filters = path_filters
|
|
70
77
|
|
|
71
78
|
def to_dict(self):
|
|
72
79
|
"""
|
|
@@ -101,6 +108,8 @@ class PolicyInfo(AbstractModel):
|
|
|
101
108
|
result['bosPath'] = self.bos_path
|
|
102
109
|
if self.status is not None:
|
|
103
110
|
result['status'] = self.status
|
|
111
|
+
if self.path_filters is not None:
|
|
112
|
+
result['pathFilters'] = [i.to_dict() for i in self.path_filters]
|
|
104
113
|
return result
|
|
105
114
|
|
|
106
115
|
def from_dict(self, m):
|
|
@@ -139,4 +148,6 @@ class PolicyInfo(AbstractModel):
|
|
|
139
148
|
self.bos_path = m.get('bosPath')
|
|
140
149
|
if m.get('status') is not None:
|
|
141
150
|
self.status = m.get('status')
|
|
151
|
+
if m.get('pathFilters') is not None:
|
|
152
|
+
self.path_filters = [PathFilter().from_dict(i) for i in m.get('pathFilters')]
|
|
142
153
|
return self
|
|
@@ -25,7 +25,7 @@ class UpdateL3MountTargetRequest(AbstractModel):
|
|
|
25
25
|
:param admission_status: 传入该值时更新挂载点禁用状态,传 1 禁用、传 0 启用;不传表示不修改状态
|
|
26
26
|
:type admission_status: int (optional)
|
|
27
27
|
|
|
28
|
-
:param name:
|
|
28
|
+
:param name: name parameter
|
|
29
29
|
:type name: str (optional)
|
|
30
30
|
|
|
31
31
|
:param access_group_name: 传入该值时更新绑定的权限组;不传表示不修改
|
{baiducloud_python_sdk_pfs-0.0.11.dist-info → baiducloud_python_sdk_pfs-0.0.13.dist-info}/RECORD
RENAMED
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
baiducloud_python_sdk_pfs/__init__.py,sha256=
|
|
1
|
+
baiducloud_python_sdk_pfs/__init__.py,sha256=54kJ-ptq9njAkJLrLqrt6237kRMCYeIUdpcgh0szZ0E,83
|
|
2
2
|
baiducloud_python_sdk_pfs/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
baiducloud_python_sdk_pfs/api/pfs_client.py,sha256=
|
|
4
|
-
baiducloud_python_sdk_pfs/models/__init__.py,sha256=
|
|
5
|
-
baiducloud_python_sdk_pfs/models/
|
|
3
|
+
baiducloud_python_sdk_pfs/api/pfs_client.py,sha256=6OrZzlZk4WRr5ATRhfZgWT3UGz4O_BKGbUCLrNzz0pc,54917
|
|
4
|
+
baiducloud_python_sdk_pfs/models/__init__.py,sha256=q-KfSc_IJMfQic0Iv9HsnPGD1BdqCp1AkbRev1-YJPU,6203
|
|
5
|
+
baiducloud_python_sdk_pfs/models/access_group_info.py,sha256=wXO2-eOsioAogIEfTqI1XnNPSi00vvMc01bpGv-2v60,3745
|
|
6
|
+
baiducloud_python_sdk_pfs/models/access_rule_info.py,sha256=55z7wgm68BZMcya1GvFSffBU6KBaNW64x4LFVNhqLmo,3011
|
|
7
|
+
baiducloud_python_sdk_pfs/models/access_rule_model.py,sha256=pBkQ-1bXFnHH91M3ARR74G7_uk0m6lJkSVVNyRS6DL8,2769
|
|
8
|
+
baiducloud_python_sdk_pfs/models/attached_mount_target_info.py,sha256=z28kdqER3OkYNZZOoQk3-UB2w2xt8yNrhnruqREXta8,2701
|
|
9
|
+
baiducloud_python_sdk_pfs/models/bucket_link_info.py,sha256=RmKeaCnM_VobHUosLfB2ZLPWgTJz3NW5lXv7Y-lkyDI,7901
|
|
6
10
|
baiducloud_python_sdk_pfs/models/cancel_l2_bucket_link_request.py,sha256=HOS9NE4OYBbjwrpC4QfFp0g2TjpNUJ84C1CK70dp6GM,2124
|
|
7
11
|
baiducloud_python_sdk_pfs/models/cancel_l2_bucket_link_response.py,sha256=qTMxnhf2_ywNxQPVuTLxfq0pExIvWt0HirlqgpLH4lI,1815
|
|
12
|
+
baiducloud_python_sdk_pfs/models/create_access_rule_result.py,sha256=pqBuu9Rr069Wibwu3IfisxpCM9og4TW_OFhAPS5WOzg,2775
|
|
8
13
|
baiducloud_python_sdk_pfs/models/create_fileset_request.py,sha256=TO9xJCQenMpUPypa1V4OSwb8gpB4n0TJhevxDKYv3BQ,3887
|
|
9
14
|
baiducloud_python_sdk_pfs/models/create_fileset_response.py,sha256=8N-mn7Iat-kissC2ZTQV5Eu-WlhHfW3OoPgPZhTYWHg,2155
|
|
10
|
-
baiducloud_python_sdk_pfs/models/create_l2_bucket_link_request.py,sha256=
|
|
15
|
+
baiducloud_python_sdk_pfs/models/create_l2_bucket_link_request.py,sha256=4jire2SHrq-pP57fkDvbdjhCwOQeCF_Rnay1f8qfqoc,7036
|
|
11
16
|
baiducloud_python_sdk_pfs/models/create_l2_bucket_link_response.py,sha256=KvZVgrGgl9n5INOLNSojDDd4tsKQ9fiEDx87_C_EUeo,2225
|
|
12
|
-
baiducloud_python_sdk_pfs/models/create_l2_policy_request.py,sha256=
|
|
17
|
+
baiducloud_python_sdk_pfs/models/create_l2_policy_request.py,sha256=E-6luwkaOoJLsEQLBf9yKI-T2-byU2LKTSBLTFIsbI4,4856
|
|
13
18
|
baiducloud_python_sdk_pfs/models/create_l2_policy_response.py,sha256=edAclTa7i35J6jOtBGmT_SM6oYc6wFlT8gRm-PwFTy0,2156
|
|
14
19
|
baiducloud_python_sdk_pfs/models/create_l3_access_group_request.py,sha256=NF5CjgjLIgKbQKVQ_o5iciuKjI9lZbWer-RFxt98hb8,3440
|
|
15
20
|
baiducloud_python_sdk_pfs/models/create_l3_access_group_response.py,sha256=4gQuUMuI7_ISes3Y5pBrQ9BRkWF3Rt4zNasL18eCuSY,2221
|
|
16
|
-
baiducloud_python_sdk_pfs/models/create_l3_access_rule_request.py,sha256=
|
|
17
|
-
baiducloud_python_sdk_pfs/models/create_l3_access_rule_response.py,sha256=
|
|
18
|
-
baiducloud_python_sdk_pfs/models/create_l3_mount_target_request.py,sha256=
|
|
21
|
+
baiducloud_python_sdk_pfs/models/create_l3_access_rule_request.py,sha256=qb0ONIJfmY5a8Zta7p5Gw6Wn1lm1zkWxkuWdccmvh8U,2631
|
|
22
|
+
baiducloud_python_sdk_pfs/models/create_l3_access_rule_response.py,sha256=PBXZ2hLCiyQRTc1hTJ6zgwiT1hrUtX33zG_c1WsHu40,2783
|
|
23
|
+
baiducloud_python_sdk_pfs/models/create_l3_mount_target_request.py,sha256=8OQ9EDIXmYF3gF_EUKLFr4_e2XKvVif18hZu3VC3RvM,3749
|
|
19
24
|
baiducloud_python_sdk_pfs/models/create_l3_mount_target_response.py,sha256=UoSQDiIIISVVBYMX4HCZrUuI8rrTXqcNRQTLMMCeY4M,2581
|
|
20
25
|
baiducloud_python_sdk_pfs/models/create_pfs_request.py,sha256=u8RPHCzTJqm0MUPlHXgW_JK7Jk9F_v38uUWQS5CHLRA,3692
|
|
21
26
|
baiducloud_python_sdk_pfs/models/create_pfs_response.py,sha256=vXprCwKXTKX9b_EAraF3c4_qqCnbnZMqVQXnpC99HqA,2030
|
|
@@ -35,36 +40,31 @@ baiducloud_python_sdk_pfs/models/delete_pfs_request.py,sha256=ZYhpENctd84Zfm7dhn
|
|
|
35
40
|
baiducloud_python_sdk_pfs/models/desc_fileset_request.py,sha256=t423lOvdkW4EMvdJ4Y7MVoKJgRMQOL-HCl9fvMPGdGw,2012
|
|
36
41
|
baiducloud_python_sdk_pfs/models/desc_fileset_response.py,sha256=_OS6_ShrPJJeD2rHA-w6_x8g2Ryd5sLvsM_7rvdl2IQ,6365
|
|
37
42
|
baiducloud_python_sdk_pfs/models/desc_l2_bucket_link_request.py,sha256=wiNU6nxj4hobpoRzd3JPGiMHlAgrsLqnXWRAQCW9ogo,2087
|
|
38
|
-
baiducloud_python_sdk_pfs/models/desc_l2_bucket_link_response.py,sha256=
|
|
43
|
+
baiducloud_python_sdk_pfs/models/desc_l2_bucket_link_response.py,sha256=NWevYpwwTQuKHNoZjFeZrU4PGQJXCAC-YcbjLmOvc6A,8619
|
|
39
44
|
baiducloud_python_sdk_pfs/models/desc_l2_policy_request.py,sha256=AkMQEUm9ljfQMPwSBjfoLWJcnj0bU0Sr6h8s1-HOJEI,2011
|
|
40
|
-
baiducloud_python_sdk_pfs/models/desc_l2_policy_response.py,sha256=
|
|
45
|
+
baiducloud_python_sdk_pfs/models/desc_l2_policy_response.py,sha256=Z_Fdv-fgUu3KOTzwDNkHQ6QqS85POvu71S20jZMEixc,5759
|
|
41
46
|
baiducloud_python_sdk_pfs/models/desc_pfs_request.py,sha256=4HnBIAuw79ie8s3klpRWJlq-VbkIjSsGgIwskGYNN7A,1585
|
|
42
47
|
baiducloud_python_sdk_pfs/models/desc_pfs_response.py,sha256=pElEkb64C5KP1JTSa-Kam9ObZArdfxrKuMzDqUGSW-g,5955
|
|
43
48
|
baiducloud_python_sdk_pfs/models/describe_l3_access_group_request.py,sha256=BALUChbQXz8EUbzCo-GwNxlJAx_QYGvZCOejPEvpt3s,2122
|
|
44
|
-
baiducloud_python_sdk_pfs/models/describe_l3_access_group_response.py,sha256=
|
|
49
|
+
baiducloud_python_sdk_pfs/models/describe_l3_access_group_response.py,sha256=X9eUmzjEQoxci8J9jkvma2n8ZX0pdCEjDrRPK9FYdcc,4771
|
|
45
50
|
baiducloud_python_sdk_pfs/models/describe_l3_mount_target_request.py,sha256=q_sva6LX8FAFb6ZMDMPSiO6tg_S8FIZHwdcwpKDzxkY,2102
|
|
46
|
-
baiducloud_python_sdk_pfs/models/describe_l3_mount_target_response.py,sha256=
|
|
51
|
+
baiducloud_python_sdk_pfs/models/describe_l3_mount_target_response.py,sha256=896jUEJKI3gEYMqrH5Hu1rKWUPXh-eh9EPeWNVRK9jg,5193
|
|
47
52
|
baiducloud_python_sdk_pfs/models/execute_info.py,sha256=aIj9p7jEg0Uil0UgaMjEWbwpgDx30XzGUFG-d9WcYx0,2758
|
|
48
53
|
baiducloud_python_sdk_pfs/models/fileset_model.py,sha256=Ar7awodog-_L8RYPoFO4YuueM81b6g-QfgrM65sj6Gg,5719
|
|
49
54
|
baiducloud_python_sdk_pfs/models/instance_list_clients_request.py,sha256=M_Oexnw6plcmMhZocOY1hsq7_4EVF5qX4mp7legIn4Q,2791
|
|
50
55
|
baiducloud_python_sdk_pfs/models/instance_list_clients_response.py,sha256=l6y3AgLUUVIjgP5DcxzODp7mUqBFKFrosZ438Rxz2WI,3618
|
|
51
56
|
baiducloud_python_sdk_pfs/models/instance_model.py,sha256=zOQOpzJEjwc0wq6BaRNhMkLwUtFX2pjhAjr1pwhy6z8,5377
|
|
52
|
-
baiducloud_python_sdk_pfs/models/l3_access_group.py,sha256=DF6W7VUtYEmIjNLcPCkkRuvM7GP2sPVnPCg2uhIHdtw,3652
|
|
53
|
-
baiducloud_python_sdk_pfs/models/l3_access_rule.py,sha256=CCbN6GOKWfPpPmVtUDy7VrFtKlJqRQYGzJsIb4uLhVA,3064
|
|
54
|
-
baiducloud_python_sdk_pfs/models/l3_access_rule_create_info.py,sha256=8QwNRhAjUi3xCdMD12nLMNvPkcEwaM-_PiJLhQUASN0,2745
|
|
55
|
-
baiducloud_python_sdk_pfs/models/l3_access_rule_create_result.py,sha256=dpneVdXB1huGHWtYXZ2CSeZdiuINAeSma0NN9fr444A,2790
|
|
56
|
-
baiducloud_python_sdk_pfs/models/l3_attached_mount_target.py,sha256=o_FgCHRGqoHbQfqxVMfb8zqFQnsDT5oZZEp7uubVk7w,2731
|
|
57
57
|
baiducloud_python_sdk_pfs/models/l3_client_model.py,sha256=76QlObStZsy7OiDK8kYY7O4hthwfbJIBwlk7-Kxn1k4,3890
|
|
58
58
|
baiducloud_python_sdk_pfs/models/list_fileset_request.py,sha256=t9afhMmNiJ_F-bTKJE4w3NYmaeYrBtIUYktdk_JkYLs,3927
|
|
59
59
|
baiducloud_python_sdk_pfs/models/list_fileset_response.py,sha256=9c4FCynMW8q8jzC6_10fzC-4_xeFm6IpxTVPtKTcqB4,4477
|
|
60
|
-
baiducloud_python_sdk_pfs/models/list_l2_bucket_link_request.py,sha256=
|
|
60
|
+
baiducloud_python_sdk_pfs/models/list_l2_bucket_link_request.py,sha256=q9t247oUUeO54sk_bchYibC-Se1KrL3fZjENUBB2HFo,2688
|
|
61
61
|
baiducloud_python_sdk_pfs/models/list_l2_bucket_link_response.py,sha256=HPpGzJ5Qos_4SMsPFAPrROu7jNzS2F4-3EVsjOsoBlM,3652
|
|
62
62
|
baiducloud_python_sdk_pfs/models/list_l2_policy_request.py,sha256=OlGU6whEgwA_XzZhRF5VWCYS3FRIuHWQ8yF6ksOJNNE,2423
|
|
63
63
|
baiducloud_python_sdk_pfs/models/list_l2_policy_response.py,sha256=AkkVZal5bkXcw-UE5eBA5P0lSa6ieuPDW3Lo-xHXV58,3615
|
|
64
64
|
baiducloud_python_sdk_pfs/models/list_l3_access_group_request.py,sha256=-ZC4LBwWF-X4AS86tA13-hEChbeeR__Hqu-V-Fczua4,3767
|
|
65
|
-
baiducloud_python_sdk_pfs/models/list_l3_access_group_response.py,sha256=
|
|
65
|
+
baiducloud_python_sdk_pfs/models/list_l3_access_group_response.py,sha256=TZfzDWNvOm1sAo-aTuQAoy8edOW-6jPUBMe71skeRXI,4285
|
|
66
66
|
baiducloud_python_sdk_pfs/models/list_l3_access_rule_request.py,sha256=xmhclqNEdBGgeq1lHLmRup2pz1WxLjMc2Y1kBXgSr2w,3681
|
|
67
|
-
baiducloud_python_sdk_pfs/models/list_l3_access_rule_response.py,sha256=
|
|
67
|
+
baiducloud_python_sdk_pfs/models/list_l3_access_rule_response.py,sha256=1dpNEZVCN2SSRS0mmKJSg7Qb0DzGu2Ekzq3lVF2Glac,3167
|
|
68
68
|
baiducloud_python_sdk_pfs/models/list_l3_clients_request.py,sha256=ZMuEOOEH4_sIcLvTMZ8W_aqKivFb_wLE_U74cg5Se3E,2460
|
|
69
69
|
baiducloud_python_sdk_pfs/models/list_l3_clients_response.py,sha256=KKLEnyW0HPVFLcVVLVHJcDBZJpGSAm71nfoxJ-4wpoc,3676
|
|
70
70
|
baiducloud_python_sdk_pfs/models/list_l3_mount_target_request.py,sha256=z2JeSEXmHnHbqn-GMD8C4-3NuUOdundc9NUQLM3pZF8,2462
|
|
@@ -77,9 +77,10 @@ baiducloud_python_sdk_pfs/models/mount_target_info.py,sha256=trmJctKlVCmobRb7L0_
|
|
|
77
77
|
baiducloud_python_sdk_pfs/models/mount_target_list_clients_request.py,sha256=Jc6E-vxu9j6bffLgrWmPgembgafu4z0h7HAh3KaMXr4,2850
|
|
78
78
|
baiducloud_python_sdk_pfs/models/mount_target_list_clients_response.py,sha256=LWC5HH6ldlM6cuhS0Ukazy04i3OQqE5BtSzA7iusdDw,3585
|
|
79
79
|
baiducloud_python_sdk_pfs/models/node_info.py,sha256=gy3QrDX5oMhdPCH_wUgX2q8PDb55YlORxxFqqpBbMP0,5698
|
|
80
|
+
baiducloud_python_sdk_pfs/models/path_filter.py,sha256=-RO15zy4GC_qlTTCBvusyV4-2juKr4IyYe3LIK8J4yo,1811
|
|
80
81
|
baiducloud_python_sdk_pfs/models/pause_l2_bucket_link_request.py,sha256=2zEh9A9xCGVfVGrGAM20VKgQ8tanOXfAvNAFgWPmGiI,2107
|
|
81
82
|
baiducloud_python_sdk_pfs/models/pause_l2_bucket_link_response.py,sha256=CF20yFC2Ez30R0h2X2jJCsBlX5CM3ZoFQ8xpU3paAzM,1810
|
|
82
|
-
baiducloud_python_sdk_pfs/models/policy_info.py,sha256=
|
|
83
|
+
baiducloud_python_sdk_pfs/models/policy_info.py,sha256=zVFYxELJ5QopaMaaCK0cPc3RDNp3vH1F8X7Z3YbMkfE,5100
|
|
83
84
|
baiducloud_python_sdk_pfs/models/qry_l2_pol_exec_detail_request.py,sha256=8pUpdzqOy2H_5aKKb8Hsw9UDrpOsHwDzs8UZUCflWZc,2321
|
|
84
85
|
baiducloud_python_sdk_pfs/models/qry_l2_pol_exec_detail_response.py,sha256=YZ_zl2uqGg7CeOf4ENDW5PTw01DF4p3Snkt7T4W03Dw,2210
|
|
85
86
|
baiducloud_python_sdk_pfs/models/qry_l2_pol_exec_log_request.py,sha256=w1GMxtiE7y-q_9UNdrlXV-Eu-DhYuy5V13s_em4uEH4,2686
|
|
@@ -98,11 +99,11 @@ baiducloud_python_sdk_pfs/models/update_l3_access_group_request.py,sha256=XxwKt_
|
|
|
98
99
|
baiducloud_python_sdk_pfs/models/update_l3_access_group_response.py,sha256=aw5yNAXU6Wi1Jp80SFqycVhBZfLYesdSaSnLqgV2glk,1762
|
|
99
100
|
baiducloud_python_sdk_pfs/models/update_l3_access_rule_request.py,sha256=sCHMWl8NISUCiGxsE-7CzAC0q6yMwznss9vHPMyuMDo,4170
|
|
100
101
|
baiducloud_python_sdk_pfs/models/update_l3_access_rule_response.py,sha256=lWDFKuVtMkXcJDbslahukY5LZKQ2MyYwMi0K-AxlVn4,1806
|
|
101
|
-
baiducloud_python_sdk_pfs/models/update_l3_mount_target_request.py,sha256=
|
|
102
|
+
baiducloud_python_sdk_pfs/models/update_l3_mount_target_request.py,sha256=fjtAhoxn8SXPxyuVO6U4pykanPAAt0XX8t8aKQA30kE,3269
|
|
102
103
|
baiducloud_python_sdk_pfs/models/update_l3_mount_target_response.py,sha256=-bn4B8xMG7wqhchd-qUfLVk7t3eAW8v5PExbqwt6HZE,1820
|
|
103
104
|
baiducloud_python_sdk_pfs/models/update_pfs_tag_request.py,sha256=oOpfmzUBRsKbmcsfl-aJtM8z5JF1WEkDwGMZBJWvVDw,2069
|
|
104
|
-
baiducloud_python_sdk_pfs-0.0.
|
|
105
|
-
baiducloud_python_sdk_pfs-0.0.
|
|
106
|
-
baiducloud_python_sdk_pfs-0.0.
|
|
107
|
-
baiducloud_python_sdk_pfs-0.0.
|
|
108
|
-
baiducloud_python_sdk_pfs-0.0.
|
|
105
|
+
baiducloud_python_sdk_pfs-0.0.13.dist-info/LICENSE,sha256=vWvFalMLAgEWwNa8irw-tSDlh7k7bl4APjMGE_lGiws,10372
|
|
106
|
+
baiducloud_python_sdk_pfs-0.0.13.dist-info/METADATA,sha256=jm43T3Jxe4oPnHy_vRYFJIgvYOKICaK8FCFoH3N83yw,2647
|
|
107
|
+
baiducloud_python_sdk_pfs-0.0.13.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
108
|
+
baiducloud_python_sdk_pfs-0.0.13.dist-info/top_level.txt,sha256=ljY8YxKCsXidpEz8DmOtGYyEW3QkgLhNdnZZBhDv8ys,26
|
|
109
|
+
baiducloud_python_sdk_pfs-0.0.13.dist-info/RECORD,,
|
{baiducloud_python_sdk_pfs-0.0.11.dist-info → baiducloud_python_sdk_pfs-0.0.13.dist-info}/LICENSE
RENAMED
|
File without changes
|
{baiducloud_python_sdk_pfs-0.0.11.dist-info → baiducloud_python_sdk_pfs-0.0.13.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|