baiducloud-python-sdk-pfs 0.0.8__tar.gz → 0.0.10__tar.gz
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-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/ChangeLog.md +10 -0
- {baiducloud-python-sdk-pfs-0.0.8/baiducloud_python_sdk_pfs.egg-info → baiducloud-python-sdk-pfs-0.0.10}/PKG-INFO +1 -1
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/__init__.py +1 -1
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/api/pfs_client.py +75 -9
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/__init__.py +5 -0
- baiducloud-python-sdk-pfs-0.0.10/baiducloud_python_sdk_pfs/models/l3_client_model.py +124 -0
- baiducloud-python-sdk-pfs-0.0.10/baiducloud_python_sdk_pfs/models/list_l3_clients_request.py +76 -0
- baiducloud-python-sdk-pfs-0.0.10/baiducloud_python_sdk_pfs/models/list_l3_clients_response.py +102 -0
- baiducloud-python-sdk-pfs-0.0.10/baiducloud_python_sdk_pfs/models/update_l3_mount_target_request.py +92 -0
- baiducloud-python-sdk-pfs-0.0.10/baiducloud_python_sdk_pfs/models/update_l3_mount_target_response.py +62 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10/baiducloud_python_sdk_pfs.egg-info}/PKG-INFO +1 -1
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs.egg-info/SOURCES.txt +5 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/LICENSE +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/MANIFEST.in +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/README-CN.md +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/README.md +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/api/__init__.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/bucket_link_info.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/cancel_l2_bucket_link_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/cancel_l2_bucket_link_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_fileset_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_fileset_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l2_bucket_link_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l2_bucket_link_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l2_policy_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l2_policy_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l3_access_group_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l3_access_group_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l3_access_rule_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l3_access_rule_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l3_mount_target_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_l3_mount_target_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_pfs_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/create_pfs_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_fileset_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_fileset_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l2_bucket_link_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l2_bucket_link_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l2_policy_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l2_policy_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l3_access_group_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l3_access_group_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l3_access_rule_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l3_access_rule_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l3_mount_target_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_l3_mount_target_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/delete_pfs_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/desc_fileset_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/desc_fileset_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/desc_l2_bucket_link_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/desc_l2_bucket_link_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/desc_l2_policy_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/desc_l2_policy_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/desc_pfs_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/desc_pfs_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/describe_l3_access_group_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/describe_l3_access_group_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/describe_l3_mount_target_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/describe_l3_mount_target_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/execute_info.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/fileset_model.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/instance_list_clients_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/instance_list_clients_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/instance_model.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/l3_access_group.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/l3_access_rule.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/l3_access_rule_create_info.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/l3_access_rule_create_result.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/l3_attached_mount_target.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_fileset_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_fileset_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l2_bucket_link_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l2_bucket_link_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l2_policy_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l2_policy_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l3_access_group_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l3_access_group_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l3_access_rule_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l3_access_rule_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l3_mount_target_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_l3_mount_target_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_pfs_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/list_pfs_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/lst_per_l2_bkt_lnk_exec_log_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/lst_per_l2_bkt_lnk_exec_log_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/mount_target_info.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/mount_target_list_clients_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/mount_target_list_clients_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/node_info.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/pause_l2_bucket_link_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/pause_l2_bucket_link_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/policy_info.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/qry_l2_pol_exec_detail_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/qry_l2_pol_exec_detail_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/qry_l2_pol_exec_log_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/qry_l2_pol_exec_log_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/resume_l2_bucket_link_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/resume_l2_bucket_link_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/subnet_detail.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/tag.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/upd_per_l2_bkt_lnk_info_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/upd_per_l2_bkt_lnk_info_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/update_fileset_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/update_fileset_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/update_l2_policy_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/update_l2_policy_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/update_l3_access_group_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/update_l3_access_group_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/update_l3_access_rule_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/update_l3_access_rule_response.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs/models/update_pfs_tag_request.py +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs.egg-info/dependency_links.txt +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs.egg-info/requires.txt +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/baiducloud_python_sdk_pfs.egg-info/top_level.txt +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/setup.cfg +0 -0
- {baiducloud-python-sdk-pfs-0.0.8 → baiducloud-python-sdk-pfs-0.0.10}/setup.py +0 -0
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
2026-10-27 Version: 0.0.10
|
|
2
|
+
- 涉及产品: PFS,新增挂载客户端列表接口
|
|
3
|
+
- 涉及产品: PFS,新增编辑挂载点接口
|
|
4
|
+
|
|
5
|
+
2026-10-27 Version: 0.0.9
|
|
6
|
+
- 涉及产品: PFS,创建权限组规则新增访问规则字段
|
|
7
|
+
- 涉及产品: PFS,支持配置IP、掩码及读写访问权限
|
|
8
|
+
- 涉及产品: PFS,权限组规则新增优先级与用户访问控制
|
|
9
|
+
- 涉及产品: PFS,完善权限组与规则增删改查接口
|
|
10
|
+
|
|
1
11
|
2026-10-23 Version: 0.0.8
|
|
2
12
|
- 涉及产品: PFS,支持权限组增删改查
|
|
3
13
|
- 涉及产品: PFS,支持权限组规则增删改查
|
|
@@ -37,6 +37,7 @@ from baiducloud_python_sdk_pfs.models.list_l2_bucket_link_response import ListL2
|
|
|
37
37
|
from baiducloud_python_sdk_pfs.models.list_l2_policy_response import ListL2PolicyResponse
|
|
38
38
|
from baiducloud_python_sdk_pfs.models.list_l3_access_group_response import ListL3AccessGroupResponse
|
|
39
39
|
from baiducloud_python_sdk_pfs.models.list_l3_access_rule_response import ListL3AccessRuleResponse
|
|
40
|
+
from baiducloud_python_sdk_pfs.models.list_l3_clients_response import ListL3ClientsResponse
|
|
40
41
|
from baiducloud_python_sdk_pfs.models.list_l3_mount_target_response import ListL3MountTargetResponse
|
|
41
42
|
from baiducloud_python_sdk_pfs.models.list_pfs_response import ListPfsResponse
|
|
42
43
|
from baiducloud_python_sdk_pfs.models.lst_per_l2_bkt_lnk_exec_log_response import LstPerL2BktLnkExecLogResponse
|
|
@@ -50,6 +51,7 @@ from baiducloud_python_sdk_pfs.models.update_fileset_response import UpdateFiles
|
|
|
50
51
|
from baiducloud_python_sdk_pfs.models.update_l2_policy_response import UpdateL2PolicyResponse
|
|
51
52
|
from baiducloud_python_sdk_pfs.models.update_l3_access_group_response import UpdateL3AccessGroupResponse
|
|
52
53
|
from baiducloud_python_sdk_pfs.models.update_l3_access_rule_response import UpdateL3AccessRuleResponse
|
|
54
|
+
from baiducloud_python_sdk_pfs.models.update_l3_mount_target_response import UpdateL3MountTargetResponse
|
|
53
55
|
|
|
54
56
|
_logger = logging.getLogger(__name__)
|
|
55
57
|
|
|
@@ -217,7 +219,7 @@ class PfsClient(BceBaseClient):
|
|
|
217
219
|
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
218
220
|
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
219
221
|
"""
|
|
220
|
-
path =
|
|
222
|
+
path = b'/'
|
|
221
223
|
headers = {}
|
|
222
224
|
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
223
225
|
headers[b'Version'] = b'v2'
|
|
@@ -249,7 +251,7 @@ class PfsClient(BceBaseClient):
|
|
|
249
251
|
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
250
252
|
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
251
253
|
"""
|
|
252
|
-
path =
|
|
254
|
+
path = b'/'
|
|
253
255
|
headers = {}
|
|
254
256
|
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
255
257
|
headers[b'Version'] = b'v2'
|
|
@@ -427,7 +429,7 @@ class PfsClient(BceBaseClient):
|
|
|
427
429
|
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
428
430
|
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
429
431
|
"""
|
|
430
|
-
path =
|
|
432
|
+
path = b'/'
|
|
431
433
|
headers = {}
|
|
432
434
|
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
433
435
|
headers[b'Version'] = b'v2'
|
|
@@ -459,7 +461,7 @@ class PfsClient(BceBaseClient):
|
|
|
459
461
|
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
460
462
|
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
461
463
|
"""
|
|
462
|
-
path =
|
|
464
|
+
path = b'/'
|
|
463
465
|
headers = {}
|
|
464
466
|
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
465
467
|
headers[b'Version'] = b'v2'
|
|
@@ -663,7 +665,7 @@ class PfsClient(BceBaseClient):
|
|
|
663
665
|
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
664
666
|
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
665
667
|
"""
|
|
666
|
-
path =
|
|
668
|
+
path = b'/'
|
|
667
669
|
headers = {}
|
|
668
670
|
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
669
671
|
headers[b'Version'] = b'v2'
|
|
@@ -850,7 +852,7 @@ class PfsClient(BceBaseClient):
|
|
|
850
852
|
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
851
853
|
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
852
854
|
"""
|
|
853
|
-
path =
|
|
855
|
+
path = b'/'
|
|
854
856
|
headers = {}
|
|
855
857
|
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
856
858
|
headers[b'Version'] = b'v2'
|
|
@@ -882,7 +884,7 @@ class PfsClient(BceBaseClient):
|
|
|
882
884
|
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
883
885
|
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
884
886
|
"""
|
|
885
|
-
path =
|
|
887
|
+
path = b'/'
|
|
886
888
|
headers = {}
|
|
887
889
|
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
888
890
|
headers[b'Version'] = b'v2'
|
|
@@ -899,6 +901,38 @@ class PfsClient(BceBaseClient):
|
|
|
899
901
|
model=ListL3AccessRuleResponse,
|
|
900
902
|
)
|
|
901
903
|
|
|
904
|
+
def list_l3_clients(self, request, config=None):
|
|
905
|
+
"""
|
|
906
|
+
list_l3_clients
|
|
907
|
+
|
|
908
|
+
:param request: Request entity containing all parameters
|
|
909
|
+
:type request: PfsClientRequest
|
|
910
|
+
:param config: Optional request configuration override
|
|
911
|
+
:type config: baiducloud_python_sdk_core.BceClientConfiguration
|
|
912
|
+
|
|
913
|
+
:return: API response containing ListL3ClientsResponse data
|
|
914
|
+
:rtype: ListL3ClientsResponse
|
|
915
|
+
|
|
916
|
+
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
917
|
+
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
918
|
+
"""
|
|
919
|
+
path = b'/'
|
|
920
|
+
headers = {}
|
|
921
|
+
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
922
|
+
headers[b'Version'] = b'v2'
|
|
923
|
+
params = {}
|
|
924
|
+
params['action'] = 'ListL3Clients'
|
|
925
|
+
merged_config = self._create_request_with_host(request, config)
|
|
926
|
+
return self._send_request(
|
|
927
|
+
http_methods.POST,
|
|
928
|
+
path=path,
|
|
929
|
+
body=request.to_json_string(),
|
|
930
|
+
headers=headers,
|
|
931
|
+
params=params,
|
|
932
|
+
config=merged_config,
|
|
933
|
+
model=ListL3ClientsResponse,
|
|
934
|
+
)
|
|
935
|
+
|
|
902
936
|
def list_l3_mount_target(self, request, config=None):
|
|
903
937
|
"""
|
|
904
938
|
list_l3_mount_target
|
|
@@ -1254,7 +1288,7 @@ class PfsClient(BceBaseClient):
|
|
|
1254
1288
|
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
1255
1289
|
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
1256
1290
|
"""
|
|
1257
|
-
path =
|
|
1291
|
+
path = b'/'
|
|
1258
1292
|
headers = {}
|
|
1259
1293
|
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
1260
1294
|
headers[b'Version'] = b'v2'
|
|
@@ -1286,7 +1320,7 @@ class PfsClient(BceBaseClient):
|
|
|
1286
1320
|
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
1287
1321
|
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
1288
1322
|
"""
|
|
1289
|
-
path =
|
|
1323
|
+
path = b'/'
|
|
1290
1324
|
headers = {}
|
|
1291
1325
|
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
1292
1326
|
headers[b'Version'] = b'v2'
|
|
@@ -1303,6 +1337,38 @@ class PfsClient(BceBaseClient):
|
|
|
1303
1337
|
model=UpdateL3AccessRuleResponse,
|
|
1304
1338
|
)
|
|
1305
1339
|
|
|
1340
|
+
def update_l3_mount_target(self, request, config=None):
|
|
1341
|
+
"""
|
|
1342
|
+
update_l3_mount_target
|
|
1343
|
+
|
|
1344
|
+
:param request: Request entity containing all parameters
|
|
1345
|
+
:type request: PfsClientRequest
|
|
1346
|
+
:param config: Optional request configuration override
|
|
1347
|
+
:type config: baiducloud_python_sdk_core.BceClientConfiguration
|
|
1348
|
+
|
|
1349
|
+
:return: API response containing UpdateL3MountTargetResponse data
|
|
1350
|
+
:rtype: UpdateL3MountTargetResponse
|
|
1351
|
+
|
|
1352
|
+
:raises BceClientError: Client error (network failure, invalid parameters, etc.)
|
|
1353
|
+
:raises BceServerError: Server error (4xx/5xx HTTP status codes)
|
|
1354
|
+
"""
|
|
1355
|
+
path = b'/'
|
|
1356
|
+
headers = {}
|
|
1357
|
+
headers[b'Content-Type'] = b'application/json; charset=utf-8'
|
|
1358
|
+
headers[b'Version'] = b'v2'
|
|
1359
|
+
params = {}
|
|
1360
|
+
params['action'] = 'UpdateL3MountTarget'
|
|
1361
|
+
merged_config = self._create_request_with_host(request, config)
|
|
1362
|
+
return self._send_request(
|
|
1363
|
+
http_methods.POST,
|
|
1364
|
+
path=path,
|
|
1365
|
+
body=request.to_json_string(),
|
|
1366
|
+
headers=headers,
|
|
1367
|
+
params=params,
|
|
1368
|
+
config=merged_config,
|
|
1369
|
+
model=UpdateL3MountTargetResponse,
|
|
1370
|
+
)
|
|
1371
|
+
|
|
1306
1372
|
def update_pfs_tag(self, request, config=None):
|
|
1307
1373
|
"""
|
|
1308
1374
|
update_pfs_tag
|
|
@@ -52,6 +52,7 @@ from .l3_access_rule import L3AccessRule
|
|
|
52
52
|
from .l3_access_rule_create_info import L3AccessRuleCreateInfo
|
|
53
53
|
from .l3_access_rule_create_result import L3AccessRuleCreateResult
|
|
54
54
|
from .l3_attached_mount_target import L3AttachedMountTarget
|
|
55
|
+
from .l3_client_model import L3ClientModel
|
|
55
56
|
from .list_fileset_request import ListFilesetRequest
|
|
56
57
|
from .list_fileset_response import ListFilesetResponse
|
|
57
58
|
from .list_l2_bucket_link_request import ListL2BucketLinkRequest
|
|
@@ -62,6 +63,8 @@ from .list_l3_access_group_request import ListL3AccessGroupRequest
|
|
|
62
63
|
from .list_l3_access_group_response import ListL3AccessGroupResponse
|
|
63
64
|
from .list_l3_access_rule_request import ListL3AccessRuleRequest
|
|
64
65
|
from .list_l3_access_rule_response import ListL3AccessRuleResponse
|
|
66
|
+
from .list_l3_clients_request import ListL3ClientsRequest
|
|
67
|
+
from .list_l3_clients_response import ListL3ClientsResponse
|
|
65
68
|
from .list_l3_mount_target_request import ListL3MountTargetRequest
|
|
66
69
|
from .list_l3_mount_target_response import ListL3MountTargetResponse
|
|
67
70
|
from .list_pfs_response import ListPfsResponse
|
|
@@ -92,6 +95,8 @@ from .update_l3_access_group_request import UpdateL3AccessGroupRequest
|
|
|
92
95
|
from .update_l3_access_group_response import UpdateL3AccessGroupResponse
|
|
93
96
|
from .update_l3_access_rule_request import UpdateL3AccessRuleRequest
|
|
94
97
|
from .update_l3_access_rule_response import UpdateL3AccessRuleResponse
|
|
98
|
+
from .update_l3_mount_target_request import UpdateL3MountTargetRequest
|
|
99
|
+
from .update_l3_mount_target_response import UpdateL3MountTargetResponse
|
|
95
100
|
from .update_pfs_tag_request import UpdatePFSTagRequest
|
|
96
101
|
from .desc_pfs_request import DescPfsRequest
|
|
97
102
|
from .delete_pfs_request import DeletePfsRequest
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"""
|
|
2
|
+
L3ClientModel information
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class L3ClientModel(AbstractModel):
|
|
9
|
+
"""
|
|
10
|
+
L3ClientModel
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def __init__(
|
|
14
|
+
self,
|
|
15
|
+
client_ip=None,
|
|
16
|
+
client_id=None,
|
|
17
|
+
mount_id=None,
|
|
18
|
+
mount_target_name=None,
|
|
19
|
+
vpc_id=None,
|
|
20
|
+
zone_name=None,
|
|
21
|
+
server_ip=None,
|
|
22
|
+
protocol=None,
|
|
23
|
+
):
|
|
24
|
+
"""
|
|
25
|
+
Initialize L3ClientModel instance.
|
|
26
|
+
|
|
27
|
+
:param client_ip: 客户端 IP
|
|
28
|
+
:type client_ip: str (optional)
|
|
29
|
+
|
|
30
|
+
:param client_id: 客户端 ID
|
|
31
|
+
:type client_id: int (optional)
|
|
32
|
+
|
|
33
|
+
:param mount_id: 客户端所挂载的挂载点 ID
|
|
34
|
+
:type mount_id: str (optional)
|
|
35
|
+
|
|
36
|
+
:param mount_target_name: 客户端所挂载的挂载点名称
|
|
37
|
+
:type mount_target_name: str (optional)
|
|
38
|
+
|
|
39
|
+
:param vpc_id: 客户端所在 VPC ID
|
|
40
|
+
:type vpc_id: str (optional)
|
|
41
|
+
|
|
42
|
+
:param zone_name: 客户端所在可用区
|
|
43
|
+
:type zone_name: str (optional)
|
|
44
|
+
|
|
45
|
+
:param server_ip: 为该客户端提供服务的服务端 IP
|
|
46
|
+
:type server_ip: str (optional)
|
|
47
|
+
|
|
48
|
+
:param protocol: 挂载使用的协议类型,bpfs / nfs
|
|
49
|
+
:type protocol: str (optional)
|
|
50
|
+
"""
|
|
51
|
+
super().__init__()
|
|
52
|
+
self.client_ip = client_ip
|
|
53
|
+
self.client_id = client_id
|
|
54
|
+
self.mount_id = mount_id
|
|
55
|
+
self.mount_target_name = mount_target_name
|
|
56
|
+
self.vpc_id = vpc_id
|
|
57
|
+
self.zone_name = zone_name
|
|
58
|
+
self.server_ip = server_ip
|
|
59
|
+
self.protocol = protocol
|
|
60
|
+
|
|
61
|
+
def to_dict(self):
|
|
62
|
+
"""
|
|
63
|
+
Convert the model instance to a dictionary representation.
|
|
64
|
+
|
|
65
|
+
Nested model objects are recursively converted to dictionaries.
|
|
66
|
+
|
|
67
|
+
:return: Dictionary representation of the model
|
|
68
|
+
:rtype: dict
|
|
69
|
+
"""
|
|
70
|
+
_map = super().to_dict()
|
|
71
|
+
if _map is not None:
|
|
72
|
+
return _map
|
|
73
|
+
result = dict()
|
|
74
|
+
if self.client_ip is not None:
|
|
75
|
+
result['clientIp'] = self.client_ip
|
|
76
|
+
if self.client_id is not None:
|
|
77
|
+
result['clientId'] = self.client_id
|
|
78
|
+
if self.mount_id is not None:
|
|
79
|
+
result['mountId'] = self.mount_id
|
|
80
|
+
if self.mount_target_name is not None:
|
|
81
|
+
result['mountTargetName'] = self.mount_target_name
|
|
82
|
+
if self.vpc_id is not None:
|
|
83
|
+
result['vpcId'] = self.vpc_id
|
|
84
|
+
if self.zone_name is not None:
|
|
85
|
+
result['zoneName'] = self.zone_name
|
|
86
|
+
if self.server_ip is not None:
|
|
87
|
+
result['serverIp'] = self.server_ip
|
|
88
|
+
if self.protocol is not None:
|
|
89
|
+
result['protocol'] = self.protocol
|
|
90
|
+
return result
|
|
91
|
+
|
|
92
|
+
def from_dict(self, m):
|
|
93
|
+
"""
|
|
94
|
+
Populate the model instance from a dictionary.
|
|
95
|
+
|
|
96
|
+
Nested dictionaries are recursively converted to model objects.
|
|
97
|
+
|
|
98
|
+
:param m: Dictionary containing model data
|
|
99
|
+
:type m: dict
|
|
100
|
+
|
|
101
|
+
:return: Self reference for method chaining
|
|
102
|
+
:rtype: L3ClientModel
|
|
103
|
+
|
|
104
|
+
:raises TypeError: If input is not a dictionary type
|
|
105
|
+
:raises ValueError: If nested model conversion fails
|
|
106
|
+
"""
|
|
107
|
+
m = m or dict()
|
|
108
|
+
if m.get('clientIp') is not None:
|
|
109
|
+
self.client_ip = m.get('clientIp')
|
|
110
|
+
if m.get('clientId') is not None:
|
|
111
|
+
self.client_id = m.get('clientId')
|
|
112
|
+
if m.get('mountId') is not None:
|
|
113
|
+
self.mount_id = m.get('mountId')
|
|
114
|
+
if m.get('mountTargetName') is not None:
|
|
115
|
+
self.mount_target_name = m.get('mountTargetName')
|
|
116
|
+
if m.get('vpcId') is not None:
|
|
117
|
+
self.vpc_id = m.get('vpcId')
|
|
118
|
+
if m.get('zoneName') is not None:
|
|
119
|
+
self.zone_name = m.get('zoneName')
|
|
120
|
+
if m.get('serverIp') is not None:
|
|
121
|
+
self.server_ip = m.get('serverIp')
|
|
122
|
+
if m.get('protocol') is not None:
|
|
123
|
+
self.protocol = m.get('protocol')
|
|
124
|
+
return self
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Request entity for ListL3ClientsRequest information.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ListL3ClientsRequest(AbstractModel):
|
|
9
|
+
"""
|
|
10
|
+
Request entity for ListL3ClientsRequest operation.
|
|
11
|
+
|
|
12
|
+
This class encapsulates all parameters for the API request.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
def __init__(self, instance_id, marker=None, max_keys=None):
|
|
16
|
+
"""
|
|
17
|
+
Initialize ListL3ClientsRequest request entity.
|
|
18
|
+
|
|
19
|
+
:param instance_id: PFS 实例 ID
|
|
20
|
+
:type instance_id: str (required)
|
|
21
|
+
|
|
22
|
+
:param marker: 按 clientIp 的字典序排列,从 marker 之后开始返回(不含 marker),默认空串
|
|
23
|
+
:type marker: str (optional)
|
|
24
|
+
|
|
25
|
+
:param max_keys: 本次最多返回的客户端数量,默认 1000;传 ≤ 0 会被纠正为 1,传 > 1000 会被纠正为 1000
|
|
26
|
+
:type max_keys: int (optional)
|
|
27
|
+
"""
|
|
28
|
+
super().__init__()
|
|
29
|
+
self.instance_id = instance_id
|
|
30
|
+
self.marker = marker
|
|
31
|
+
self.max_keys = max_keys
|
|
32
|
+
|
|
33
|
+
def to_dict(self):
|
|
34
|
+
"""
|
|
35
|
+
Convert the request entity to a dictionary representation.
|
|
36
|
+
|
|
37
|
+
Nested model objects are recursively converted to dictionaries.
|
|
38
|
+
|
|
39
|
+
:return: Dictionary representation of the request
|
|
40
|
+
:rtype: dict
|
|
41
|
+
"""
|
|
42
|
+
_map = super().to_dict()
|
|
43
|
+
if _map is not None:
|
|
44
|
+
return _map
|
|
45
|
+
result = dict()
|
|
46
|
+
if self.instance_id is not None:
|
|
47
|
+
result['instanceId'] = self.instance_id
|
|
48
|
+
if self.marker is not None:
|
|
49
|
+
result['marker'] = self.marker
|
|
50
|
+
if self.max_keys is not None:
|
|
51
|
+
result['maxKeys'] = self.max_keys
|
|
52
|
+
return result
|
|
53
|
+
|
|
54
|
+
def from_dict(self, m):
|
|
55
|
+
"""
|
|
56
|
+
Populate the request entity from a dictionary.
|
|
57
|
+
|
|
58
|
+
Nested dictionaries are recursively converted to model objects.
|
|
59
|
+
|
|
60
|
+
:param m: Dictionary containing request data
|
|
61
|
+
:type m: dict
|
|
62
|
+
|
|
63
|
+
:return: Self reference for method chaining
|
|
64
|
+
:rtype: ListL3ClientsRequest
|
|
65
|
+
|
|
66
|
+
:raises TypeError: If input is not a dictionary or field type mismatch
|
|
67
|
+
:raises ValueError: If nested model conversion fails
|
|
68
|
+
"""
|
|
69
|
+
m = m or dict()
|
|
70
|
+
if m.get('instanceId') is not None:
|
|
71
|
+
self.instance_id = m.get('instanceId')
|
|
72
|
+
if m.get('marker') is not None:
|
|
73
|
+
self.marker = m.get('marker')
|
|
74
|
+
if m.get('maxKeys') is not None:
|
|
75
|
+
self.max_keys = m.get('maxKeys')
|
|
76
|
+
return self
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Request entity for ListL3ClientsResponse information.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
+
from baiducloud_python_sdk_pfs.models.l3_client_model import L3ClientModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ListL3ClientsResponse(BceResponse):
|
|
10
|
+
"""
|
|
11
|
+
ListL3ClientsResponse
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
def __init__(self, request_id=None, result=None, marker=None, max_keys=None, is_truncated=None, next_marker=None):
|
|
15
|
+
"""
|
|
16
|
+
Initialize ListL3ClientsResponse response.
|
|
17
|
+
|
|
18
|
+
:param request_id: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
19
|
+
:type request_id: str (optional)
|
|
20
|
+
|
|
21
|
+
:param result: 返回的客户端列表,元素见下表
|
|
22
|
+
:type result: List[L3ClientModel] (optional)
|
|
23
|
+
|
|
24
|
+
:param marker: 本轮请求使用的 marker
|
|
25
|
+
:type marker: str (optional)
|
|
26
|
+
|
|
27
|
+
:param max_keys: 本轮请求生效的分页大小上限
|
|
28
|
+
:type max_keys: int (optional)
|
|
29
|
+
|
|
30
|
+
:param is_truncated: 是否被截断,false 表示本轮已返回全部数据
|
|
31
|
+
:type is_truncated: bool (optional)
|
|
32
|
+
|
|
33
|
+
:param next_marker: 下一轮请求应传入的 marker,未截断时为 null
|
|
34
|
+
:type next_marker: str (optional)
|
|
35
|
+
"""
|
|
36
|
+
super().__init__()
|
|
37
|
+
self.request_id = request_id
|
|
38
|
+
self.result = result
|
|
39
|
+
self.marker = marker
|
|
40
|
+
self.max_keys = max_keys
|
|
41
|
+
self.is_truncated = is_truncated
|
|
42
|
+
self.next_marker = next_marker
|
|
43
|
+
|
|
44
|
+
def to_dict(self):
|
|
45
|
+
"""
|
|
46
|
+
Convert the response instance to a dictionary representation.
|
|
47
|
+
|
|
48
|
+
Includes metadata from the parent BceResponse class.
|
|
49
|
+
Nested model objects are recursively converted to dictionaries.
|
|
50
|
+
|
|
51
|
+
:return: Dictionary representation of the response
|
|
52
|
+
:rtype: dict
|
|
53
|
+
"""
|
|
54
|
+
_map = super().to_dict()
|
|
55
|
+
if _map is not None:
|
|
56
|
+
return _map
|
|
57
|
+
result = dict()
|
|
58
|
+
if self.metadata is not None:
|
|
59
|
+
result['metadata'] = dict(self.metadata)
|
|
60
|
+
if self.request_id is not None:
|
|
61
|
+
result['requestId'] = self.request_id
|
|
62
|
+
if self.result is not None:
|
|
63
|
+
result['result'] = [i.to_dict() for i in self.result]
|
|
64
|
+
if self.marker is not None:
|
|
65
|
+
result['marker'] = self.marker
|
|
66
|
+
if self.max_keys is not None:
|
|
67
|
+
result['maxKeys'] = self.max_keys
|
|
68
|
+
if self.is_truncated is not None:
|
|
69
|
+
result['isTruncated'] = self.is_truncated
|
|
70
|
+
if self.next_marker is not None:
|
|
71
|
+
result['nextMarker'] = self.next_marker
|
|
72
|
+
return result
|
|
73
|
+
|
|
74
|
+
def from_dict(self, m):
|
|
75
|
+
"""
|
|
76
|
+
Populate the response instance from a dictionary.
|
|
77
|
+
|
|
78
|
+
Nested dictionaries are recursively converted to model objects.
|
|
79
|
+
|
|
80
|
+
:param m: Dictionary containing response data
|
|
81
|
+
:type m: dict
|
|
82
|
+
|
|
83
|
+
:return: Self reference for method chaining
|
|
84
|
+
:rtype: ListL3ClientsResponse
|
|
85
|
+
|
|
86
|
+
:raises TypeError: If input is not a dictionary or field type mismatch
|
|
87
|
+
:raises ValueError: If nested model conversion fails
|
|
88
|
+
"""
|
|
89
|
+
m = m or dict()
|
|
90
|
+
if m.get('requestId') is not None:
|
|
91
|
+
self.request_id = m.get('requestId')
|
|
92
|
+
if m.get('result') is not None:
|
|
93
|
+
self.result = [L3ClientModel().from_dict(i) for i in m.get('result')]
|
|
94
|
+
if m.get('marker') is not None:
|
|
95
|
+
self.marker = m.get('marker')
|
|
96
|
+
if m.get('maxKeys') is not None:
|
|
97
|
+
self.max_keys = m.get('maxKeys')
|
|
98
|
+
if m.get('isTruncated') is not None:
|
|
99
|
+
self.is_truncated = m.get('isTruncated')
|
|
100
|
+
if m.get('nextMarker') is not None:
|
|
101
|
+
self.next_marker = m.get('nextMarker')
|
|
102
|
+
return self
|
baiducloud-python-sdk-pfs-0.0.10/baiducloud_python_sdk_pfs/models/update_l3_mount_target_request.py
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Request entity for UpdateL3MountTargetRequest information.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.abstract_model import AbstractModel
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class UpdateL3MountTargetRequest(AbstractModel):
|
|
9
|
+
"""
|
|
10
|
+
Request entity for UpdateL3MountTargetRequest operation.
|
|
11
|
+
|
|
12
|
+
This class encapsulates all parameters for the API request.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
def __init__(self, instance_id, mount_target_id, admission_status=None, name=None, access_group_name=None):
|
|
16
|
+
"""
|
|
17
|
+
Initialize UpdateL3MountTargetRequest request entity.
|
|
18
|
+
|
|
19
|
+
:param instance_id: PFS 实例 ID
|
|
20
|
+
:type instance_id: str (required)
|
|
21
|
+
|
|
22
|
+
:param mount_target_id: 挂载点 ID
|
|
23
|
+
:type mount_target_id: str (required)
|
|
24
|
+
|
|
25
|
+
:param admission_status: 传入该值时更新挂载点禁用状态,传 1 禁用、传 0 启用;不传表示不修改状态
|
|
26
|
+
:type admission_status: int (optional)
|
|
27
|
+
|
|
28
|
+
:param name: 传入该值时更新挂载点名称,长度 1~128 个字符,不可为空串;不传表示不改名
|
|
29
|
+
:type name: str (optional)
|
|
30
|
+
|
|
31
|
+
:param access_group_name: 传入该值时更新绑定的权限组;不传表示不修改
|
|
32
|
+
:type access_group_name: str (optional)
|
|
33
|
+
"""
|
|
34
|
+
super().__init__()
|
|
35
|
+
self.instance_id = instance_id
|
|
36
|
+
self.mount_target_id = mount_target_id
|
|
37
|
+
self.admission_status = admission_status
|
|
38
|
+
self.name = name
|
|
39
|
+
self.access_group_name = access_group_name
|
|
40
|
+
|
|
41
|
+
def to_dict(self):
|
|
42
|
+
"""
|
|
43
|
+
Convert the request entity to a dictionary representation.
|
|
44
|
+
|
|
45
|
+
Nested model objects are recursively converted to dictionaries.
|
|
46
|
+
|
|
47
|
+
:return: Dictionary representation of the request
|
|
48
|
+
:rtype: dict
|
|
49
|
+
"""
|
|
50
|
+
_map = super().to_dict()
|
|
51
|
+
if _map is not None:
|
|
52
|
+
return _map
|
|
53
|
+
result = dict()
|
|
54
|
+
if self.instance_id is not None:
|
|
55
|
+
result['instanceId'] = self.instance_id
|
|
56
|
+
if self.mount_target_id is not None:
|
|
57
|
+
result['mountTargetId'] = self.mount_target_id
|
|
58
|
+
if self.admission_status is not None:
|
|
59
|
+
result['admissionStatus'] = self.admission_status
|
|
60
|
+
if self.name is not None:
|
|
61
|
+
result['name'] = self.name
|
|
62
|
+
if self.access_group_name is not None:
|
|
63
|
+
result['accessGroupName'] = self.access_group_name
|
|
64
|
+
return result
|
|
65
|
+
|
|
66
|
+
def from_dict(self, m):
|
|
67
|
+
"""
|
|
68
|
+
Populate the request entity from a dictionary.
|
|
69
|
+
|
|
70
|
+
Nested dictionaries are recursively converted to model objects.
|
|
71
|
+
|
|
72
|
+
:param m: Dictionary containing request data
|
|
73
|
+
:type m: dict
|
|
74
|
+
|
|
75
|
+
:return: Self reference for method chaining
|
|
76
|
+
:rtype: UpdateL3MountTargetRequest
|
|
77
|
+
|
|
78
|
+
:raises TypeError: If input is not a dictionary or field type mismatch
|
|
79
|
+
:raises ValueError: If nested model conversion fails
|
|
80
|
+
"""
|
|
81
|
+
m = m or dict()
|
|
82
|
+
if m.get('instanceId') is not None:
|
|
83
|
+
self.instance_id = m.get('instanceId')
|
|
84
|
+
if m.get('mountTargetId') is not None:
|
|
85
|
+
self.mount_target_id = m.get('mountTargetId')
|
|
86
|
+
if m.get('admissionStatus') is not None:
|
|
87
|
+
self.admission_status = m.get('admissionStatus')
|
|
88
|
+
if m.get('name') is not None:
|
|
89
|
+
self.name = m.get('name')
|
|
90
|
+
if m.get('accessGroupName') is not None:
|
|
91
|
+
self.access_group_name = m.get('accessGroupName')
|
|
92
|
+
return self
|
baiducloud-python-sdk-pfs-0.0.10/baiducloud_python_sdk_pfs/models/update_l3_mount_target_response.py
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"""
|
|
2
|
+
UpdateL3MountTargetResponse information
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from baiducloud_python_sdk_core.bce_response import BceResponse
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class UpdateL3MountTargetResponse(BceResponse):
|
|
9
|
+
"""
|
|
10
|
+
UpdateL3MountTargetResponse
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def __init__(self, request_id=None):
|
|
14
|
+
"""
|
|
15
|
+
Initialize UpdateL3MountTargetResponse instance.
|
|
16
|
+
|
|
17
|
+
:param request_id: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
18
|
+
:type request_id: str (optional)
|
|
19
|
+
"""
|
|
20
|
+
super().__init__()
|
|
21
|
+
self.request_id = request_id
|
|
22
|
+
|
|
23
|
+
def to_dict(self):
|
|
24
|
+
"""
|
|
25
|
+
Convert the model instance to a dictionary representation.
|
|
26
|
+
|
|
27
|
+
Nested model objects are recursively converted to dictionaries.
|
|
28
|
+
|
|
29
|
+
Includes metadata from the parent BceResponse class.
|
|
30
|
+
|
|
31
|
+
:return: Dictionary representation of the model
|
|
32
|
+
:rtype: dict
|
|
33
|
+
"""
|
|
34
|
+
_map = super().to_dict()
|
|
35
|
+
if _map is not None:
|
|
36
|
+
return _map
|
|
37
|
+
result = dict()
|
|
38
|
+
if self.metadata is not None:
|
|
39
|
+
result['metadata'] = dict(self.metadata)
|
|
40
|
+
if self.request_id is not None:
|
|
41
|
+
result['requestId'] = self.request_id
|
|
42
|
+
return result
|
|
43
|
+
|
|
44
|
+
def from_dict(self, m):
|
|
45
|
+
"""
|
|
46
|
+
Populate the model instance from a dictionary.
|
|
47
|
+
|
|
48
|
+
Nested dictionaries are recursively converted to model objects.
|
|
49
|
+
|
|
50
|
+
:param m: Dictionary containing model data
|
|
51
|
+
:type m: dict
|
|
52
|
+
|
|
53
|
+
:return: Self reference for method chaining
|
|
54
|
+
:rtype: UpdateL3MountTargetResponse
|
|
55
|
+
|
|
56
|
+
:raises TypeError: If input is not a dictionary type
|
|
57
|
+
:raises ValueError: If nested model conversion fails
|
|
58
|
+
"""
|
|
59
|
+
m = m or dict()
|
|
60
|
+
if m.get('requestId') is not None:
|
|
61
|
+
self.request_id = m.get('requestId')
|
|
62
|
+
return self
|
|
@@ -66,6 +66,7 @@ baiducloud_python_sdk_pfs/models/l3_access_rule.py
|
|
|
66
66
|
baiducloud_python_sdk_pfs/models/l3_access_rule_create_info.py
|
|
67
67
|
baiducloud_python_sdk_pfs/models/l3_access_rule_create_result.py
|
|
68
68
|
baiducloud_python_sdk_pfs/models/l3_attached_mount_target.py
|
|
69
|
+
baiducloud_python_sdk_pfs/models/l3_client_model.py
|
|
69
70
|
baiducloud_python_sdk_pfs/models/list_fileset_request.py
|
|
70
71
|
baiducloud_python_sdk_pfs/models/list_fileset_response.py
|
|
71
72
|
baiducloud_python_sdk_pfs/models/list_l2_bucket_link_request.py
|
|
@@ -76,6 +77,8 @@ baiducloud_python_sdk_pfs/models/list_l3_access_group_request.py
|
|
|
76
77
|
baiducloud_python_sdk_pfs/models/list_l3_access_group_response.py
|
|
77
78
|
baiducloud_python_sdk_pfs/models/list_l3_access_rule_request.py
|
|
78
79
|
baiducloud_python_sdk_pfs/models/list_l3_access_rule_response.py
|
|
80
|
+
baiducloud_python_sdk_pfs/models/list_l3_clients_request.py
|
|
81
|
+
baiducloud_python_sdk_pfs/models/list_l3_clients_response.py
|
|
79
82
|
baiducloud_python_sdk_pfs/models/list_l3_mount_target_request.py
|
|
80
83
|
baiducloud_python_sdk_pfs/models/list_l3_mount_target_response.py
|
|
81
84
|
baiducloud_python_sdk_pfs/models/list_pfs_request.py
|
|
@@ -107,4 +110,6 @@ baiducloud_python_sdk_pfs/models/update_l3_access_group_request.py
|
|
|
107
110
|
baiducloud_python_sdk_pfs/models/update_l3_access_group_response.py
|
|
108
111
|
baiducloud_python_sdk_pfs/models/update_l3_access_rule_request.py
|
|
109
112
|
baiducloud_python_sdk_pfs/models/update_l3_access_rule_response.py
|
|
113
|
+
baiducloud_python_sdk_pfs/models/update_l3_mount_target_request.py
|
|
114
|
+
baiducloud_python_sdk_pfs/models/update_l3_mount_target_response.py
|
|
110
115
|
baiducloud_python_sdk_pfs/models/update_pfs_tag_request.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|