summaryrefslogtreecommitdiff
path: root/data/zh_cn/dfs/2018-06-20/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/dfs/2018-06-20/api-docs.php')
-rw-r--r--data/zh_cn/dfs/2018-06-20/api-docs.php6113
1 files changed, 2742 insertions, 3371 deletions
diff --git a/data/zh_cn/dfs/2018-06-20/api-docs.php b/data/zh_cn/dfs/2018-06-20/api-docs.php
index 889cc9d..75eaa2a 100644
--- a/data/zh_cn/dfs/2018-06-20/api-docs.php
+++ b/data/zh_cn/dfs/2018-06-20/api-docs.php
@@ -1,315 +1,517 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'DFS',
- 'version' => '2018-06-20',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'DFS', 'version' => '2018-06-20'],
'directories' => [
[
- 'id' => 70913,
- 'title' => '地域',
+ 'children' => ['DescribeRegions', 'GetRegion'],
'type' => 'directory',
- 'children' => [
- 'DescribeRegions',
- 'GetRegion',
- ],
+ 'title' => '地域',
+ 'id' => 320383,
],
[
- 'id' => 70956,
- 'title' => '文件系统',
+ 'children' => ['CreateFileSystem', 'DeleteFileSystem', 'ModifyFileSystem', 'ListFileSystems', 'GetFileSystem'],
'type' => 'directory',
- 'children' => [
- 'CreateFileSystem',
- 'DeleteFileSystem',
- 'ModifyFileSystem',
- 'ListFileSystems',
- 'GetFileSystem',
- ],
+ 'title' => '文件系统',
+ 'id' => 320398,
],
[
- 'id' => 70926,
- 'title' => '挂载点',
+ 'children' => ['CreateMountPoint', 'DeleteMountPoint', 'ModifyMountPoint', 'ListMountPoints', 'GetMountPoint'],
'type' => 'directory',
- 'children' => [
- 'CreateMountPoint',
- 'DeleteMountPoint',
- 'ModifyMountPoint',
- 'ListMountPoints',
- 'GetMountPoint',
- ],
+ 'title' => '挂载点',
+ 'id' => 320392,
],
[
- 'id' => 70916,
- 'title' => '权限组',
+ 'children' => ['CreateAccessGroup', 'DeleteAccessGroup', 'ModifyAccessGroup', 'ListAccessGroups', 'GetAccessGroup'],
'type' => 'directory',
- 'children' => [
- 'CreateAccessGroup',
- 'DeleteAccessGroup',
- 'ModifyAccessGroup',
- 'ListAccessGroups',
- 'GetAccessGroup',
- ],
+ 'title' => '权限组',
+ 'id' => 320386,
],
[
- 'id' => 70964,
- 'title' => '权限规则',
+ 'children' => ['CreateAccessRule', 'DeleteAccessRule', 'ModifyAccessRule', 'GetAccessRule', 'ListAccessRules'],
'type' => 'directory',
- 'children' => [
- 'CreateAccessRule',
- 'DeleteAccessRule',
- 'ModifyAccessRule',
- 'GetAccessRule',
- 'ListAccessRules',
- ],
+ 'title' => '权限规则',
+ 'id' => 320404,
],
[
- 'id' => 167119,
- 'title' => '用户和组映射',
+ 'children' => ['CreateUserGroupsMapping', 'DeleteUserGroupsMapping', 'ListUserGroupsMappings'],
'type' => 'directory',
- 'children' => [
- 'CreateUserGroupsMapping',
- 'DeleteUserGroupsMapping',
- 'ListUserGroupsMappings',
- ],
+ 'title' => '用户和组映射',
+ 'id' => 320410,
],
[
- 'id' => 185561,
- 'title' => 'VSC挂载点',
+ 'children' => ['CreateVscMountPoint', 'DeleteVscMountPoint', 'AttachVscMountPoint', 'BindVscMountPointAlias', 'DetachVscMountPoint', 'DescribeVscMountPoints'],
'type' => 'directory',
- 'children' => [
- 'CreateVscMountPoint',
- 'DeleteVscMountPoint',
- 'AttachVscMountPoint',
- 'BindVscMountPointAlias',
- 'DetachVscMountPoint',
- 'DescribeVscMountPoints',
- ],
+ 'title' => 'VSC挂载点',
+ 'id' => 320414,
],
[
- 'id' => 362714,
- 'title' => '其他',
+ 'children' => ['AttachVscToMountPoints', 'DescribeMountPointsVscAttachInfo', 'DetachVscFromMountPoints'],
'type' => 'directory',
- 'children' => [
- 'AttachVscToMountPoints',
- 'DescribeMountPointsVscAttachInfo',
- ],
+ 'title' => '其他',
+ 'id' => 342884,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'DescribeRegions' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AttachVscMountPoint' => [
+ 'summary' => '为挂载点添加计算实例。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '65246',
- 'abilityTreeNodes' => [
- 'FEATUREalidfsYF33EK',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'create',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '65232',
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'InputRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'MountPointId',
'in' => 'query',
+ 'schema' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com'],
+ ],
+ [
+ 'name' => 'VscType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'VSC类型。'."\n"
+ .'取值: '."\n"
+ .'- Primary(默认值):ECS实例上的预留默认VSC'."\n"
+ .'- Secondary:ECS实例上的可重复VSC', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Primary'],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '指定地域支持的语言。取值:'."\n"
- ."\n"
- .'- zh(默认值):中文。'."\n"
- ."\n"
- .'- en:英文。'."\n"
- ."\n"
- .'- ja:日文。',
- 'type' => 'string',
+ 'description' => '待挂载文件存储 HDFS 版文件系统的ECS实例ID。 添加多个ECS实例ID时,使用半角逗号(,)分隔。最多支持100个ECS实例ID。',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'required' => false, 'description' => ''],
'required' => false,
- 'example' => 'zh',
- 'default' => 'zh',
+ 'docRequired' => false,
+ 'example' => '['."\n"
+ .' "i-bp1g6zv0ce8oghu7****",'."\n"
+ .' "i-bp1g6zv0ce8oghu1****"'."\n"
+ .']',
],
],
[
- 'name' => 'InputRegionId',
+ 'name' => 'VscIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
+ 'description' => '待挂载HDFS文件系统的VSC ID。'."\n"
+ .'建议添加不超过100个VSC ID。',
+ 'type' => 'array',
+ 'items' => ['description' => 'VSC ID', 'type' => 'string', 'required' => false, 'example' => 'vsc-asjodjoio****'],
'required' => false,
- 'example' => 'cn-hangzhou',
- 'default' => 'cn-hangzhou',
+ 'docRequired' => false,
],
],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '预留字段,无实际意义。', 'type' => 'string', 'required' => false, 'example' => '无'],
+ ],
+ [
+ 'name' => 'FileSystemId',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****'],
+ ],
+ [
+ 'name' => 'UseAssumeRoleChkServerPerm',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否使用扮演者检验计算节点权限。'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ .'- false(默认值):否', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'VscName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '2B51751B-F837-49AA-8EF3-B2B10703****',
- ],
- 'Regions' => [
- 'description' => '地域信息集合。',
- 'type' => 'object',
- 'properties' => [
- 'Region' => [
- 'description' => '指定地域信息。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'RegionEndpoint' => [
- 'description' => '地域对应的Endpoint。',
- 'type' => 'string',
- 'example' => 'dfs.cn-hangzhou.aliyuncs.com',
- ],
- 'LocalName' => [
- 'description' => '地域名称。',
- 'type' => 'string',
- 'example' => '华东1(杭州)',
- ],
- 'RegionId' => [
- 'description' => ' '."\n"
- .'区域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '绑定VSC挂载点',
+ 'description' => '****',
+ 'changeSet' => [
+ ['createdAt' => '2025-05-22T09:26:07.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-01-02T07:42:03.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-04-07T08:23:38.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:AttachVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AttachVscToMountPoints' => [
+ 'summary' => '批量挂载VSC挂载点',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '65232',
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InputRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'AttachInfos',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '挂载信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VscId' => ['description' => 'VSC ID,InstanceId与VscId只能设置一个,且必须设置一个', 'type' => 'string', 'required' => false, 'example' => 'vsc-bp19yqmujug2r762cnabal'],
+ 'VscType' => ['description' => 'VSC类型。'."\n"
+ .'取值: '."\n"
+ .'- Primary(默认值):ECS实例上的预留默认VSC'."\n"
+ .'- Secondary:ECS实例上的可重复VSC', 'type' => 'string', 'required' => false, 'example' => 'Primary'],
+ 'MountPointId' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => false, 'example' => 'f-cfea9ae2ref87.cn-zhangjiakou.dfs.aliyuncs.com'],
+ 'InstanceId' => ['description' => '已挂载HDFS文件系统的ECS实例ID。', 'type' => 'string', 'required' => false, 'example' => 'i-2zehyz70ednszl6rrfj6'],
+ 'VscName' => ['description' => 'Vsc自定义的名称', 'type' => 'string', 'required' => false, 'example' => 'xc'],
],
+ 'required' => false,
+ 'description' => '',
],
+ 'required' => false,
+ 'docRequired' => false,
],
],
+ [
+ 'name' => 'UseAssumeRoleChkServerPerm',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否使用扮演者检验计算节点权限。'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ .'- false(默认值):否', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2B51751B-F837-49AA-8EF3-B2B10703****\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionEndpoint\\": \\"dfs.cn-hangzhou.aliyuncs.com\\",\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRegionsResponse>\\n <RequestId>2B51751B-F837-49AA-8EF3-B2B10703****</RequestId>\\n <Regions>\\n <Region>\\n <RegionEndpoint>dfs.cn-hangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>杭州</LocalName>\\n <RegionId>cn-hangzhou</RegionId>\\n </Region>\\n </Regions>\\n</DescribeRegionsResponse>","errorExample":""}]',
- 'title' => '查询可以使用的阿里云地域',
- 'summary' => '查询您可以使用的阿里云地域。',
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","type":"json"}]',
+ 'title' => '批量挂载存储',
+ 'description' => '目前仅支持 1 个 Vsc 关联到多个 MountPoint,即 AttachInfos.InstanceId 或 AttachInfos.VscId 需相等',
+ 'changeSet' => [],
+ 'ramActions' => [],
],
- 'GetRegion' => [
- 'methods' => [
- 'post',
- 'get',
+ 'BindVscMountPointAlias' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'InputRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'MountPointId',
+ 'in' => 'query',
+ 'schema' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com'],
+ ],
+ [
+ 'name' => 'AliasPrefix',
+ 'in' => 'query',
+ 'schema' => ['description' => '挂载点别名。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sdfe'],
+ ],
+ [
+ 'name' => 'FileSystemId',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MountPointAlias' => ['description' => '挂载点别名。', 'type' => 'string', 'example' => 'sdfe'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ ],
+ 'description' => '',
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"MountPointAlias\\": \\"sdfe\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n<MountPointAlias>sdfe</MountPointAlias>","errorExample":""}]',
+ 'title' => '绑定VSC挂载点别名',
+ 'summary' => '为文件系统绑定VSC挂载点别名。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'dfs:BindVscMountPointAlias',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateAccessGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '65253',
- 'abilityTreeNodes' => [
- 'FEATUREalidfsYF33EK',
+ 'systemTags' => ['operationType' => 'create'],
+ 'parameters' => [
+ [
+ 'name' => 'AccessGroupName',
+ 'in' => 'query',
+ 'schema' => ['description' => '权限组名称。命名规则如下:'."\n"
+ ."\n"
+ .'- 长度为6~64个字符。'."\n"
+ .'- 全局唯一且不能为空串。'."\n"
+ .'- 支持英文字母,可包含数字、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'my-online-cluster-policy'],
+ ],
+ [
+ 'name' => 'NetworkType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '权限组类型。'."\n"
+ ."\n"
+ .'仅支持VPC(专有网络)。',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'VPC',
+ 'enum' => ['VPC'],
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '权限组描述。'."\n"
+ ."\n"
+ .'长度不超过32个字符。', 'type' => 'string', 'required' => false, 'example' => '线上集群网段专用策略'],
+ ],
+ [
+ 'name' => 'InputRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessGroupId' => ['description' => '权限组ID。', 'type' => 'string', 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","type":"json"}]',
+ 'title' => '创建权限组',
+ 'summary' => '创建一个权限组。',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:11.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateAccessGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateAccessRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
- 'tenantRelevance' => 'publicInformation',
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'AccessGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ ],
+ [
+ 'name' => 'NetworkSegment',
+ 'in' => 'query',
+ 'schema' => ['description' => '授权对象的IP地址或网段。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '192.0.2.0/24'],
+ ],
+ [
+ 'name' => 'RWAccessType',
+ 'in' => 'query',
'schema' => [
- 'description' => '地域ID。',
+ 'description' => '授权对象对文件系统的读写权限。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- RDWR:可读可写'."\n"
+ .'- RDONLY:只读',
'type' => 'string',
'required' => true,
'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ 'example' => 'RDWR',
+ 'enum' => ['RDWR', 'RDONLY'],
],
],
+ [
+ 'name' => 'Priority',
+ 'in' => 'query',
+ 'schema' => ['description' => '权限组规则优先级。'."\n"
+ ."\n"
+ .'当同一个授权对象匹配到多条规则时,高优先级规则生效。'."\n"
+ ."\n"
+ .'取值范围:1~100,1为最高优先级。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '2'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '权限组规则描述。'."\n"
+ ."\n"
+ .'长度不超过32个字符。', 'type' => 'string', 'required' => false, 'example' => '日志上传机器网段'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AEC07154-5A4C-4B34-BB74-0893C6E9****',
- ],
- 'AvailableZones' => [
- 'description' => '可用区信息集合。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-b',
- ],
- 'Options' => [
- 'description' => '配置列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'StorageType' => [
- 'description' => '存储介质类型。'."\n"
- ."\n"
- .'包括:'."\n"
- ."\n"
- .'- STANDARD:标准型'."\n"
- .'- PERFORMANCE:性能型',
- 'type' => 'string',
- 'example' => 'STANDARD',
- ],
- 'ProtocolType' => [
- 'description' => '协议类型。'."\n"
- ."\n"
- .'仅支持HDFS(Hadoop Distributed File System)。',
- 'type' => 'string',
- 'example' => 'HDFS',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'AccessRuleId' => ['description' => '权限组规则ID。', 'type' => 'string', 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AEC07154-5A4C-4B34-BB74-0893C6E9****\\",\\n \\"AvailableZones\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"Options\\": [\\n {\\n \\"StorageType\\": \\"STANDARD\\",\\n \\"ProtocolType\\": \\"HDFS\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>AEC07154-5A4C-4B34-BB74-0893C6E9****</RequestId>\\n<AvailableZones>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n</AvailableZones>\\n<AvailableZones>\\n <Options>\\n <ProtocolType>HDFS</ProtocolType>\\n <StorageType>STANDARD</StorageType>\\n </Options>\\n</AvailableZones>","errorExample":""}]',
- 'title' => '查询可用区',
- 'summary' => '查询指定地域下每个可用区的配置信息。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessRuleId\\": \\"acr-c38028f0-f313-4385-9456-3501b1f5****\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n<AccessRuleId>a0w****3s</AccessRuleId>","errorExample":""}]',
+ 'title' => '创建权限规则',
+ 'summary' => '创建权限组规则。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateFileSystem' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:11.000Z', 'description' => '错误码发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAccessRule'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateFileSystem' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -320,33 +522,19 @@
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '65238',
- 'abilityTreeNodes' => [
- 'FEATUREalidfsJOGXD4',
- ],
+ 'abilityTreeNodes' => ['FEATUREalidfsJOGXD4'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'cn-hangzhou-b',
- ],
+ 'schema' => ['description' => '可用区ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cn-hangzhou-b'],
],
[
'name' => 'ProtocolType',
@@ -359,10 +547,7 @@
'required' => true,
'docRequired' => true,
'example' => 'HDFS',
- 'enum' => [
- 'HDFS',
- 'PANGU',
- ],
+ 'enum' => ['HDFS', 'PANGU'],
],
],
[
@@ -379,56 +564,33 @@
'required' => true,
'docRequired' => true,
'example' => 'STANDARD',
- 'enum' => [
- 'STANDARD',
- 'PERFORMANCE',
- ],
+ 'enum' => ['STANDARD', 'PERFORMANCE'],
],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统描述信息。'."\n"
- ."\n"
- .'长度不超过32个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是我公司的第一个文件存储HDFS版实例。',
- ],
+ 'schema' => ['description' => '文件系统描述信息。'."\n"
+ ."\n"
+ .'长度不超过32个字符。', 'type' => 'string', 'required' => false, 'example' => '这是我公司的第一个文件存储HDFS版实例。'],
],
[
'name' => 'FileSystemName',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统名称。命名规则如下:'."\n"
- ."\n"
- .'- 长度为6~64个字符。 '."\n"
- .'- 全局唯一且不能为空字符串。'."\n"
- .'- 支持英文字母,可包含数字、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyFirstHDFS',
- ],
+ 'schema' => ['description' => '文件系统名称。命名规则如下:'."\n"
+ ."\n"
+ .'- 长度为6~64个字符。 '."\n"
+ .'- 全局唯一且不能为空字符串。'."\n"
+ .'- 支持英文字母,可包含数字、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyFirstHDFS'],
],
[
'name' => 'SpaceCapacity',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统容量。'."\n"
- ."\n"
- .'当实际存储数据量达到文件系统容量后,将无法写入数据。'."\n"
- ."\n"
- .'单位:GiB',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '10485760',
- 'minimum' => '1',
- 'example' => '1024',
- ],
+ 'schema' => ['description' => '文件系统容量。'."\n"
+ ."\n"
+ .'当实际存储数据量达到文件系统容量后,将无法写入数据。'."\n"
+ ."\n"
+ .'单位:GiB', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '10485760', 'minimum' => '1', 'example' => '1024'],
],
[
'name' => 'ThroughputMode',
@@ -444,74 +606,42 @@
'required' => false,
'example' => 'Standard',
'default' => 'Standard',
- 'enum' => [
- 'Standard',
- 'Provisioned',
- ],
+ 'enum' => ['Standard', 'Provisioned'],
],
],
[
'name' => 'ProvisionedThroughputInMiBps',
'in' => 'query',
- 'schema' => [
- 'description' => '预置吞吐量。当ThroughputMode取值为Provisioned时,此参数为必填项。'."\n"
- ."\n"
- .'单位:MB/s'."\n"
- ."\n"
- .'取值范围:1~5120',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '5120',
- 'minimum' => '1',
- 'example' => '1024',
- ],
+ 'schema' => ['description' => '预置吞吐量。当ThroughputMode取值为Provisioned时,此参数为必填项。'."\n"
+ ."\n"
+ .'单位:MB/s'."\n"
+ ."\n"
+ .'取值范围:1~5120', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '5120', 'minimum' => '1', 'example' => '1024'],
],
[
'name' => 'StorageSetName',
'in' => 'query',
- 'schema' => [
- 'description' => '预留参数,无需配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AligroupStorageSet',
- ],
+ 'schema' => ['description' => '预留参数,无需配置。', 'type' => 'string', 'required' => false, 'example' => 'AligroupStorageSet'],
],
[
'name' => 'PartitionNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '预留参数,无需配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '预留参数,无需配置。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
[
'name' => 'DataRedundancyType',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统的冗余模式。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- LRS(默认值):本地冗余。'."\n"
- .'- ZRS:同城冗余。当选择ZRS时,zoneId为期望同城冗余的多个可用区列表组成的字符串,例如<codeph> `zoneId1,zoneId2`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LRS',
- ],
+ 'schema' => ['description' => '文件系统的冗余模式。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- LRS(默认值):本地冗余。'."\n"
+ .'- ZRS:同城冗余。当选择ZRS时,zoneId为期望同城冗余的多个可用区列表组成的字符串,例如<codeph> `zoneId1,zoneId2`。', 'type' => 'string', 'required' => false, 'example' => 'LRS'],
],
[
'name' => 'DedicatedClusterId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件存储HDFS版专属集群ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'alidfs-DC-f76f7ca5-*****',
- ],
+ 'schema' => ['description' => '文件存储HDFS版专属集群ID。', 'type' => 'string', 'required' => false, 'example' => 'alidfs-DC-f76f7ca5-*****'],
],
],
'responses' => [
@@ -519,17 +649,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'FileSystemId' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'FileSystemId' => ['description' => '文件系统ID。', 'type' => 'string', 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
@@ -537,198 +660,206 @@
'title' => '创建文件系统',
'summary' => '创建文件系统。',
'description' => '在创建文件系统前,请先了解文件存储 HDFS 版的[计费方式](~~419020~~)和[HDFS产品定价](https://www.aliyun.com/price/product?spm=a2c4g.11186623.0.0.476a13d7VQohVH#/alidfs/detail/alidfs)。',
- ],
- 'DeleteFileSystem' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-05T09:41:16.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-05-11T07:03:38.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-11-15T12:00:47.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-08-24T12:20:19.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-27T07:42:05.000Z', 'description' => '请求参数发生变更、错误码发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateFileSystem'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateFileSystem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateMountPoint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '65243',
- 'abilityTreeNodes' => [
- 'FEATUREalidfsJOGXD4',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '65239',
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
],
'parameters' => [
[
- 'name' => 'InputRegionId',
+ 'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
],
[
- 'name' => 'FileSystemId',
+ 'name' => 'AccessGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ ],
+ [
+ 'name' => 'NetworkType',
'in' => 'query',
'schema' => [
- 'description' => '待删除的文件系统实例ID。',
+ 'description' => '挂载点的网络类型。'."\n"
+ ."\n"
+ .'仅支持VPC(专有网络)。',
'type' => 'string',
'required' => true,
'docRequired' => true,
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
+ 'example' => 'VPC',
+ 'enum' => ['VPC'],
],
],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => ['description' => '专有网络ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-iq8hhsk3ymzv9m4wn****'],
+ ],
+ [
+ 'name' => 'VSwitchId',
+ 'in' => 'query',
+ 'schema' => ['description' => '交换机ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vsw-iq8fymi327krd14mt****'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '挂载点描述信息。'."\n"
+ ."\n"
+ .'长度不超过32个字符。', 'type' => 'string', 'required' => false, 'example' => '将线上hdfs挂载到VPC日志集群的交换机下'],
+ ],
+ [
+ 'name' => 'InputRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'UsePerformanceMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否使用高性能挂载点模式。'."\n"
+ ."\n"
+ .'- true:使用'."\n"
+ .'- false:不使用', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'MountPointId' => ['description' => '挂载点ID。', 'type' => 'string', 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '删除文件系统',
- 'summary' => '删除已有的文件系统。',
- 'description' => '- 仅当文件系统的挂载点数目为0时,支持删除文件系统实例。'."\n"
- .'- 文件系统实例一旦删除,数据将不可恢复,请谨慎操作。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"MountPointId\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<MountPointId>037cb49e1d-c***5</MountPointId>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '创建挂载点',
+ 'summary' => '创建一个挂载点。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyFileSystem' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2025-01-02T06:16:03.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-02-19T12:42:11.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateUserGroupsMapping' => [
+ 'summary' => '创建文件存储 HDFS 版文件系统实例的用户和组的映射关系。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'FileSystemName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文件系统名称。命名规则如下:'."\n"
- ."\n"
- .'- 长度为6~64个字符。'."\n"
- .'- 全局唯一且不能为空串。'."\n"
- .'- 支持英文字母,可包含数字、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MyFirstModDFS',
- ],
- ],
- [
- 'name' => 'SpaceCapacity',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文件系统容量预算。'."\n"
- ."\n"
- .'当实际数据存储达到文件系统容量后,数据将无法写入。文件系统容量不支持缩小。'."\n"
- ."\n"
- .'单位:GB',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '10485760',
- 'minimum' => '1',
- 'example' => '1024',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文件系统描述信息。'."\n"
- ."\n"
- .'长度不超过32个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是我公司的第一个文件存储HDFS版实例。',
- ],
+ 'schema' => ['description' => '文件系统所在的Region。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'FileSystemId',
'in' => 'query',
'schema' => [
- 'description' => '文件系统ID。',
+ 'description' => '文件存储 HDFS 版的文件系统实例ID。',
'type' => 'string',
'required' => true,
'docRequired' => true,
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
+ 'enumValueTitles' => [],
+ 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
],
],
[
- 'name' => 'ThroughputMode',
+ 'name' => 'UserName',
'in' => 'query',
- 'schema' => [
- 'description' => '吞吐模式。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- Standard:标准吞吐'."\n"
- .'- Provisioned:预置吞吐',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Standard',
- 'default' => '',
- 'enum' => [
- 'Standard',
- 'Provisioned',
- ],
- ],
+ 'schema' => ['description' => '用户名。'."\n"
+ .'限制:'."\n"
+ ."\n"
+ .'- 必须以字母或者下划线(_)开头。'."\n"
+ ."\n"
+ .'- 长度为1~32个字符串,不能是空字符串。'."\n"
+ ."\n"
+ .'- 支持小写英文字母、数字和下划线(_)。'."\n"
+ ."\n"
+ .'> 每个用户最多属于10个组。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'user1'],
],
[
- 'name' => 'ProvisionedThroughputInMiBps',
+ 'name' => 'GroupNames',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '预置吞吐量。当ThroughputMode取值为Provisioned时,此参数为必填项。'."\n"
+ 'description' => '用户名所属的组名。'."\n"
+ .'限制:'."\n"
+ .'- 必须以字母或者下划线(_)开头。'."\n"
."\n"
- .'单位:MB/s'."\n"
+ .'- 长度为1~32个字符串,不能是空字符串。'."\n"
."\n"
- .'取值范围:1~5120',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '51200',
- 'minimum' => '1',
- 'example' => '1024',
- 'default' => '',
+ .'- 支持小写英文字母、数字和下划线(_)。',
+ 'type' => 'array',
+ 'items' => ['description' => '用户名所属的组名。'."\n"
+ .'限制:'."\n"
+ .'- 必须以字母或者下划线(_)开头。'."\n"
+ ."\n"
+ .'- 长度为1~32个字符串,不能是空字符串。'."\n"
+ ."\n"
+ .'- 支持小写英文字母、数字和下划线(_)。', 'type' => 'string', 'required' => false, 'example' => '["group1","group2"]'],
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '["group1","group2"]',
],
],
],
@@ -737,145 +868,86 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '修改文件系统属性',
- 'summary' => '修改文件系统属性。',
- 'description' => '在修改文件系统前,请先了解文件存储 HDFS 版的[计费方式](~~419020~~)和[HDFS产品定价](https://www.aliyun.com/price/product?spm=openapi-amp.newDocPublishment.0.0.3fbc281fRrtedx#/alidfs/detail/alidfs)。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListFileSystems' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateUserGroupsMappingResponse>\\n <RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n</CreateUserGroupsMappingResponse>","errorExample":""}]',
+ 'title' => '创建用户和组的映射关系',
+ 'description' => '- 用户和用户组的映射功能目前还在邀测中,如需使用,请[提交工单](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c4g.11186623.0.0.24241ee9gQPwnE)申请。'."\n"
+ .'- 文件存储 HDFS 版的文件系统权限管理依赖文件的用户和组,用户和组映射关系需要通过OpenAPI进行管理。有关文件存储 HDFS 版文件系统目录和文件访问权限的信息,请参见[目录和文件访问权限](~~430865~~)。'."\n"
+ ."\n"
+ .'- 单个文件系统存在用户和组数量的限制,包括:'."\n"
+ .' - 单个文件系统最多添加 1000 个用户。'."\n"
+ .' - 单个文件系统最多添加 30 个组。'."\n"
+ .' - 每个用户最多属于 10 个组。',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:10.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2023-03-02T02:41:48.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-03-18T10:04:47.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateUserGroupsMapping',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateVscMountPoint' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'abilityTreeCode' => '65257',
- 'abilityTreeNodes' => [
- 'FEATUREalidfsJOGXD4',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '下一页标识。'."\n"
- ."\n"
- .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tCSKxtX5z_fW0-Q0ug8Df1oSXGiamAjmrtaDFAj6sZW-YhN1lRC7TEIkcFfMuj-6uR9wSW4b_PS2ze70k269qy8bMVHDfRW0Tvhmyh-****',
- ],
- ],
- [
- 'name' => 'StartOffset',
+ 'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '指定查询起始位置。'."\n"
- ."\n"
- .'默认值:1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100000',
- 'minimum' => '1',
- 'example' => '10',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Limit',
+ 'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页返回结果的行数。'."\n"
- ."\n"
- .'默认值:10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****'],
],
[
- 'name' => 'OrderBy',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回结果排序字段。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- CreateTime(默认值):按创建时间排序。'."\n"
- .'- FileSystemName:按文件系统名称排序。'."\n"
- .'- SpaceCapacity:按文件系统容量预算排序。'."\n"
- .'- UsedSpaceSize:按文件系统使用量排序。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CreateTime',
- 'default' => 'ID',
- 'enum' => [
- 'CreateTime',
- 'FileSystemName',
- 'SpaceCapacity',
- 'UsedSpaceSize',
- 'ID',
- ],
- ],
- ],
- [
- 'name' => 'OrderType',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '返回结果排序方式。'."\n"
- ."\n"
- .'取值:'."\n"
+ 'description' => '待挂载文件存储 HDFS 版文件系统的ECS实例ID。 '."\n"
."\n"
- .'- ASC(默认值):升序'."\n"
- .'- DESC:降序',
- 'type' => 'string',
+ .'添加多个ECS实例ID时,使用半角逗号(,)分隔。最多支持100个ECS实例ID。',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'required' => false, 'description' => ''],
'required' => false,
- 'example' => 'ASC',
- 'default' => 'DESC',
- 'enum' => [
- 'ASC',
- 'DESC',
- ],
+ 'docRequired' => false,
+ 'example' => '['."\n"
+ .' "i-bp1g6zv0ce8oghu7****",'."\n"
+ .' "i-bp1g6zv0ce8oghu1****"'."\n"
+ .']',
],
],
[
- 'name' => 'InputRegionId',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '挂载点描述信息。'."\n"
+ ."\n"
+ .'长度为0~100个字符。', 'type' => 'string', 'required' => false, 'example' => '内部实例挂载的HDFS文件系统。'],
],
],
'responses' => [
@@ -883,201 +955,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '返回结果的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'NextToken' => [
- 'description' => 'tCSKxtX5z_fW0-Q0ug8Df1oSXGiamAjmrtaDFAj6sZW-YhN1lRC7TEIkcFfMuj-6uR9wSW4b_PS2ze70k269qy8bMVHDfRW0Tvhmyh-k47g',
- 'type' => 'string',
- 'example' => 'tCSKxtX5z_fW0-Q0ug8Df1oSXGiamAjmrtaDFAj6sZW-YhN1lRC7TEIkcFfMuj-6uR9wSW4b_PS2ze70k269qy8bMVHDfRW0Tvhmyh-****',
- ],
- 'FileSystems' => [
- 'description' => '文件系统信息集合。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '文件系统的创建时间。',
- 'type' => 'string',
- 'example' => '2022-04-18T06:03:15.836222Z',
- ],
- 'ProvisionedThroughputInMiBps' => [
- 'description' => '预置吞吐量。'."\n"
- .'单位:MB/s。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1024',
- ],
- 'SpaceCapacity' => [
- 'description' => '文件系统容量。'."\n"
- ."\n"
- .'单位:GB',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1024',
- ],
- 'StorageType' => [
- 'description' => '存储介质类型。'."\n"
- ."\n"
- .'包括:'."\n"
- ."\n"
- .'- STANDARD:标准型'."\n"
- .'- PERFORMANCE:性能型',
- 'type' => 'string',
- 'example' => 'STANDARD',
- ],
- 'UsedSpaceSize' => [
- 'description' => '已使用空间容量。'."\n"
- ."\n"
- .'单位:GB',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '100',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'FileSystemId' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
- 'FileSystemName' => [
- 'description' => '文件系统名称。',
- 'type' => 'string',
- 'example' => 'MyFirstHDFS',
- ],
- 'Description' => [
- 'description' => '文件系统的描述信息。',
- 'type' => 'string',
- 'example' => '这是我公司的第一个文件存储HDFS版实例。',
- ],
- 'MountPointCount' => [
- 'description' => '挂载点数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'ThroughputMode' => [
- 'description' => '吞吐模式。'."\n"
- ."\n"
- .'包括:'."\n"
- ."\n"
- .'- Standard:标准吞吐'."\n"
- .'- Provisioned:预置吞吐',
- 'type' => 'string',
- 'example' => 'Standard',
- ],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-b',
- ],
- 'NumberOfFiles' => [
- 'description' => '文件数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'StoragePackageId' => [
- 'description' => '存储包ID。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'NumberOfDirectories' => [
- 'description' => '目录数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'ProtocolType' => [
- 'description' => '协议类型。'."\n"
- ."\n"
- .'仅支持HDFS(Hadoop Distributed File System)。',
- 'type' => 'string',
- 'example' => 'HDFS',
- ],
- 'Version' => [
- 'description' => '阿里云文件存储 HDFS 版的版本,非hadoop版本。',
- 'type' => 'string',
- 'example' => '1.0.0',
- ],
- 'MeteringSpaceSize' => [
- 'description' => '文件系统的计费容量。单位:字节(byte)。'."\n"
- ."\n"
- .'计费容量=MAX[(文件数+目录数)*5MiB,使用容量]。'."\n"
- ."\n"
- .'统计数据,不作为计费数据,仅作参考。HDFS按照上一小时计费容量峰值进行计费。若您希望查询更详细的计量数据,请参见[查看消费明细](~~419001~~)。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '107374182400',
- ],
- ],
- ],
- ],
+ 'MountPointId' => ['description' => '挂载点ID。', 'type' => 'string', 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"NextToken\\": \\"tCSKxtX5z_fW0-Q0ug8Df1oSXGiamAjmrtaDFAj6sZW-YhN1lRC7TEIkcFfMuj-6uR9wSW4b_PS2ze70k269qy8bMVHDfRW0Tvhmyh-****\\",\\n \\"FileSystems\\": [\\n {\\n \\"CreateTime\\": \\"2022-04-18T06:03:15.836222Z\\",\\n \\"ProvisionedThroughputInMiBps\\": 1024,\\n \\"SpaceCapacity\\": 1024,\\n \\"StorageType\\": \\"STANDARD\\",\\n \\"UsedSpaceSize\\": 100,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"FileSystemId\\": \\"37af8f42-2abc-4e74-889d-664f5163****\\",\\n \\"FileSystemName\\": \\"MyFirstHDFS\\",\\n \\"Description\\": \\"这是我公司的第一个文件存储HDFS版实例。\\",\\n \\"MountPointCount\\": 2,\\n \\"ThroughputMode\\": \\"Standard\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"NumberOfFiles\\": 1000,\\n \\"StoragePackageId\\": \\"1\\",\\n \\"NumberOfDirectories\\": 100,\\n \\"ProtocolType\\": \\"HDFS\\",\\n \\"Version\\": \\"1.0.0\\",\\n \\"MeteringSpaceSize\\": 107374182400\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<FileSystems>\\n <StorageType>STANDARD</StorageType>\\n <Description>这是我公司的第一个HDFS存储实例。</Description>\\n <StoragePackageId>1</StoragePackageId>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n <UsedSpaceSize>100</UsedSpaceSize>\\n <CreateTime>2021-01-18 12:50:00</CreateTime>\\n <NumberOfDirectories>100</NumberOfDirectories>\\n <ThroughputMode>Standard</ThroughputMode>\\n <NumberOfFiles>1000</NumberOfFiles>\\n <SpaceCapacity>1024</SpaceCapacity>\\n <ProtocolType>HDFS</ProtocolType>\\n <MountPointCount>2</MountPointCount>\\n <FileSystemId>037****e1d</FileSystemId>\\n <FileSystemName>MyFirstHDFS</FileSystemName>\\n <ProvisionedThroughputInMiBps>1024</ProvisionedThroughputInMiBps>\\n <RegionId>cn-hangzhou</RegionId>\\n</FileSystems>\\n<TotalCount>1</TotalCount>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '批量获取文件系统详细信息',
- 'summary' => '批量获取文件系统详细信息。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"MountPointId\\": \\"e389e5c7-bcb4-4558-846a-e5afc444****\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<MountPointId>037cb49e1d-c***5</MountPointId>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '创建VSC挂载点',
+ 'summary' => '创建一个VSC挂载点。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetFileSystem' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2024-04-07T08:23:38.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-01-05T02:39:12.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteAccessGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '65241',
+ 'abilityTreeNodes' => ['FEATUREalidfsP1AW1K'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'FileSystemId',
+ 'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'InputRegionId',
+ 'name' => 'AccessGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
],
],
'responses' => [
@@ -1085,156 +1019,36 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'FileSystem' => [
- 'description' => '文件系统信息集合。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '文件系统的创建时间。',
- 'type' => 'string',
- 'example' => '2022-04-18T06:03:15.836222Z',
- ],
- 'ProvisionedThroughputInMiBps' => [
- 'description' => '预置吞吐量。'."\n"
- ."\n"
- .'单位:MB/s',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1024',
- ],
- 'SpaceCapacity' => [
- 'description' => '文件系统容量。'."\n"
- ."\n"
- .'单位:GB',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1024',
- ],
- 'StorageType' => [
- 'description' => '存储介质类型。'."\n"
- ."\n"
- .'包括:'."\n"
- ."\n"
- .'- STANDARD:标准型'."\n"
- .'- PERFORMANCE:性能型',
- 'type' => 'string',
- 'example' => 'STANDARD',
- ],
- 'UsedSpaceSize' => [
- 'description' => '已使用存储空间。'."\n"
- ."\n"
- .'单位:GB',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '100',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'FileSystemId' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
- 'FileSystemName' => [
- 'description' => '文件系统名称。',
- 'type' => 'string',
- 'example' => 'MyFirstHDFS',
- ],
- 'Description' => [
- 'description' => '文件系统的描述信息。',
- 'type' => 'string',
- 'example' => '这是我公司的第一个文件存储HDFS版实例。',
- ],
- 'MountPointCount' => [
- 'description' => '挂载点数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'ThroughputMode' => [
- 'description' => '吞吐模式。'."\n"
- ."\n"
- .'包括:'."\n"
- ."\n"
- .'- Standard:标准吞吐'."\n"
- .'- Provisioned:预置吞吐',
- 'type' => 'string',
- 'example' => 'Standard',
- ],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-b',
- ],
- 'NumberOfFiles' => [
- 'description' => '文件数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'StoragePackageId' => [
- 'description' => '存储包ID。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'NumberOfDirectories' => [
- 'description' => '目录数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'ProtocolType' => [
- 'description' => '协议类型。'."\n"
- ."\n"
- .'仅支持HDFS(Hadoop Distributed File System)。',
- 'type' => 'string',
- 'example' => 'HDFS',
- ],
- 'Version' => [
- 'description' => '阿里云文件存储 HDFS 版的版本,非hadoop版本。',
- 'type' => 'string',
- 'example' => '1.0.0',
- ],
- 'MeteringSpaceSize' => [
- 'description' => '文件系统的计费容量。单位:字节(byte)。'."\n"
- ."\n"
- .'计费容量=MAX[(文件数+目录数)*5MiB,使用容量]。'."\n"
- ."\n"
- .'统计数据,不作为计费数据,仅作参考。HDFS按照上一小时计费容量峰值进行计费。若您希望查询更详细的计量数据,请参见[查看消费明细](~~419001~~)。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '107374182400',
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"FileSystem\\": {\\n \\"CreateTime\\": \\"2022-04-18T06:03:15.836222Z\\",\\n \\"ProvisionedThroughputInMiBps\\": 1024,\\n \\"SpaceCapacity\\": 1024,\\n \\"StorageType\\": \\"STANDARD\\",\\n \\"UsedSpaceSize\\": 100,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"FileSystemId\\": \\"37af8f42-2abc-4e74-889d-664f5163****\\",\\n \\"FileSystemName\\": \\"MyFirstHDFS\\",\\n \\"Description\\": \\"这是我公司的第一个文件存储HDFS版实例。\\",\\n \\"MountPointCount\\": 2,\\n \\"ThroughputMode\\": \\"Standard\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"NumberOfFiles\\": 1000,\\n \\"StoragePackageId\\": \\"1\\",\\n \\"NumberOfDirectories\\": 100,\\n \\"ProtocolType\\": \\"HDFS\\",\\n \\"Version\\": \\"1.0.0\\",\\n \\"MeteringSpaceSize\\": 107374182400\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n<FileSystem>\\n <StorageType>STANDARD</StorageType>\\n <Description>这是我公司的第一个HDFS存储实例。</Description>\\n <StoragePackageId>1</StoragePackageId>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n <UsedSpaceSize>100</UsedSpaceSize>\\n <CreateTime>2021-01-18 12:50:00</CreateTime>\\n <NumberOfDirectories>100</NumberOfDirectories>\\n <ThroughputMode>Standard</ThroughputMode>\\n <NumberOfFiles>1000</NumberOfFiles>\\n <SpaceCapacity>1024</SpaceCapacity>\\n <ProtocolType>HDFS</ProtocolType>\\n <MountPointCount>2</MountPointCount>\\n <FileSystemId>037****e1d</FileSystemId>\\n <FileSystemName>MyFirstHDFS</FileSystemName>\\n <ProvisionedThroughputInMiBps>1024</ProvisionedThroughputInMiBps>\\n <RegionId>cn-hangzhou</RegionId>\\n</FileSystem>","errorExample":""}]',
- 'title' => '获取文件系统详细信息',
- 'summary' => '查询文件系统信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateMountPoint' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","type":"json"}]',
+ 'title' => '删除权限组',
+ 'summary' => '删除一个权限组。',
+ 'description' => 'VPC默认权限组(DefaultAccessGroupName)不支持删除。',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:10.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteAccessGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteAccessRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1243,108 +1057,87 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '65239',
- 'abilityTreeNodes' => [
- 'FEATUREalidfs5EIDCS',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '65242',
+ 'abilityTreeNodes' => ['FEATUREalidfsP1AW1K'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'FileSystemId',
+ 'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'AccessGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
],
[
- 'name' => 'NetworkType',
+ 'name' => 'AccessRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '挂载点的网络类型。'."\n"
- ."\n"
- .'仅支持VPC(专有网络)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'VPC',
- 'enum' => [
- 'VPC',
- ],
- ],
+ 'schema' => ['description' => '待删除的权限组规则ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****'],
],
- [
- 'name' => 'VpcId',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '专有网络ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'vpc-iq8hhsk3ymzv9m4wn****',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'VSwitchId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '交换机ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'vsw-iq8fymi327krd14mt****',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '删除权限组规则',
+ 'summary' => '删除一个权限组规则。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:10.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DeleteFileSystem' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '挂载点描述信息。'."\n"
- ."\n"
- .'长度不超过32个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '将线上hdfs挂载到VPC日志集群的交换机下',
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '65243',
+ 'abilityTreeNodes' => ['FEATUREalidfsJOGXD4'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'UsePerformanceMode',
+ 'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否使用高性能挂载点模式。'."\n"
- ."\n"
- .'- true:使用'."\n"
- .'- false:不使用',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '待删除的文件系统实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
],
],
'responses' => [
@@ -1352,36 +1145,40 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'MountPointId' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"MountPointId\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<MountPointId>037cb49e1d-c***5</MountPointId>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '创建挂载点',
- 'summary' => '创建一个挂载点。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '删除文件系统',
+ 'summary' => '删除已有的文件系统。',
+ 'description' => '- 仅当文件系统的挂载点数目为0时,支持删除文件系统实例。'."\n"
+ .'- 文件系统实例一旦删除,数据将不可恢复,请谨慎操作。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:10.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteFileSystem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/{#FileSystemId}'],
+ ],
+ ],
+ ],
+ ],
],
'DeleteMountPoint' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1392,44 +1189,24 @@
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '65244',
- 'abilityTreeNodes' => [
- 'FEATUREalidfs5EIDCS',
- ],
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'MountPointId',
'in' => 'query',
- 'schema' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com',
- ],
+ 'schema' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com'],
],
[
'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
],
],
'responses' => [
@@ -1437,12 +1214,9 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
@@ -1451,98 +1225,152 @@
'summary' => '删除一个挂载点。',
'description' => '### 接口说明'."\n"
.'删除挂载点后,无法恢复,请谨慎操作。',
- ],
- 'ModifyMountPoint' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:10.000Z', 'description' => '错误码发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteMountPoint'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteUserGroupsMapping' => [
+ 'summary' => '删除文件存储 HDFS 版文件系统实例的用户和组的映射关系。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '文件系统所在的Region。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'MountPointId',
+ 'name' => 'FileSystemId',
'in' => 'query',
+ 'schema' => ['description' => '文件存储 HDFS 版的文件系统实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ ],
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户名。'."\n"
+ .'限制:'."\n"
+ ."\n"
+ .'- 必须以字母或者下划线(_)开头。'."\n"
+ ."\n"
+ .'- 长度为1~32个字符串,不能是空字符串。'."\n"
+ ."\n"
+ .'- 支持小写英文字母、数字和下划线(_)。'."\n"
+ ."\n"
+ .'> 每个用户最多属于10个组。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'user1'],
+ ],
+ [
+ 'name' => 'GroupNames',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
+ 'description' => '用户名所属的组名。'."\n"
+ .'限制:'."\n"
+ .'- 必须以字母或者下划线(_)开头。'."\n"
+ ."\n"
+ .'- 长度为1~32个字符串,不能是空字符串。'."\n"
+ ."\n"
+ .'- 支持小写英文字母、数字和下划线(_)。',
+ 'type' => 'array',
+ 'items' => ['description' => '用户名所属的组名。'."\n"
+ .'限制:'."\n"
+ .'- 必须以字母或者下划线(_)开头。'."\n"
+ ."\n"
+ .'- 长度为1~32个字符串,不能是空字符串。'."\n"
+ ."\n"
+ .'- 支持小写英文字母、数字和下划线(_)。', 'type' => 'string', 'required' => false, 'example' => '["group1","group2"]'],
'required' => true,
'docRequired' => true,
- 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com',
+ 'example' => '["group1","group2"]',
],
],
- [
- 'name' => 'AccessGroupId',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","type":"json"}]',
+ 'title' => '删除用户和组的映射关系 ',
+ 'description' => '- 用户和用户组的映射功能目前还在邀测中,如需使用,请[提交工单](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c4g.11186623.0.0.24241ee9gQPwnE)申请。'."\n"
+ .'- 文件存储HDFS版的文件系统权限管理依赖文件的用户和组,用户和组映射关系需要通过OpenAPI进行管理。有关文件存储HDFS文件系统目录和文件访问权限的信息,请参见[目录和文件访问权限](~~430865~~)。'."\n"
+ ."\n"
+ .'- 文件系统不允许删除用户和组,只能删除用户和组的映射关系。即一旦一个用户或组以任何方式添加到了文件系统中,则其不会被删除。',
+ 'changeSet' => [
+ ['createdAt' => '2024-04-23T06:42:27.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-03-18T10:04:47.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteUserGroupsMapping',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ ],
+ 'DeleteVscMountPoint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Description',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '挂载点的描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '将线上dfs挂载到VPC日志集群的交换机下',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Status',
+ 'name' => 'MountPointId',
'in' => 'query',
- 'schema' => [
- 'description' => '挂载点状态。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- Inactive:禁用挂载点'."\n"
- .'- Active:激活挂载点',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Inactive',
- 'enum' => [
- 'Active',
- 'Inactive',
- ],
- ],
+ 'schema' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f-037cb49e1d-c****.com'],
],
[
'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444**** '],
],
],
'responses' => [
@@ -1550,31 +1378,37 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '修改挂载点信息',
- 'summary' => '修改一个挂载点信息。',
+ 'title' => '删除VSC挂载点',
+ 'summary' => '删除已存在的VSC挂载点。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListMountPoints' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeMountPointsVscAttachInfo' => [
+ 'summary' => '批量查询VSC挂载信息',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1584,115 +1418,57 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
- 'abilityTreeCode' => '65258',
- 'abilityTreeNodes' => [
- 'FEATUREalidfs5EIDCS',
- ],
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '65232',
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'FileSystemId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
+ 'schema' => ['description' => '文件系统所在的Region。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'StartOffset',
+ 'name' => 'QueryInfos',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '指定查询起始位置。'."\n"
- ."\n"
- .'默认值:1',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => '查询信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '查询信息列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'MountPointId' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => false, 'example' => 'f-9dd3c6bajmy110.cn-zhangjiakou.dfs.aliyuncs.com'],
+ 'VscId' => ['description' => '已挂载HDFS文件系统的VSC ID。VSC ID,InstanceId与VscId只能设置一个,且必须设置一个', 'type' => 'string', 'required' => false, 'example' => 'vsc-bp19yqmujug2r18z0h9qal'],
+ 'InstanceId' => ['description' => '已挂载HDFS文件系统的ECS实例ID。', 'type' => 'string', 'required' => false, 'example' => 'i-2zehyz70ednszl6rrfj6'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'maximum' => '100000',
- 'minimum' => '1',
- 'example' => '10',
+ 'docRequired' => false,
],
],
[
- 'name' => 'Limit',
+ 'name' => 'UseAssumeRoleChkServerPerm',
'in' => 'query',
- 'schema' => [
- 'description' => '每页返回结果的个数。'."\n"
- ."\n"
- .'取值范围:1~1000'."\n"
- ."\n"
- .'默认值:10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '是否使用扮演者检验计算节点权限。'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ .'- false(默认值):否', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'OrderBy',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果排序字段。'."\n"
- ."\n"
- .'默认值:CreateTime(按创建时间排序)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CreateTime',
- 'default' => 'ID',
- 'enum' => [
- 'CreateTime',
- 'ID',
- ],
- ],
+ 'schema' => ['description' => '下一页标识。'."\n"
+ ."\n"
+ .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。', 'type' => 'string', 'required' => false, 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****'],
],
[
- 'name' => 'OrderType',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果排序方式。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- ASC(默认值):升序'."\n"
- .'- DESC:降序',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ASC',
- 'default' => 'DESC',
- 'enum' => [
- 'ASC',
- 'DESC',
- ],
- ],
- ],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '下一页标识。'."\n"
- ."\n"
- .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****',
- ],
+ 'schema' => ['description' => '分页查询时每页行数。最大值为100。默认值:当不设置值或设置的值小于10时,默认值为10。当设置的值大于100时,默认值为100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'],
],
],
'responses' => [
@@ -1700,120 +1476,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '挂载点的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'NextToken' => [
- 'description' => '下一页标识。'."\n"
- ."\n"
- .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。',
- 'type' => 'string',
- 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****',
- ],
- 'MountPoints' => [
- 'description' => '挂载点信息集合。',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'NextToken' => ['description' => '下一页标识。'."\n"
+ ."\n"
+ .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。', 'type' => 'string', 'example' => 'asd0daj****'],
+ 'TotalCount' => ['description' => '挂载点的数量。', 'type' => 'string', 'example' => '1'],
+ 'AttachInfos' => [
+ 'description' => '挂载信息列表',
'type' => 'array',
'items' => [
+ 'description' => '挂载信息列表',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '挂载点状态。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- Inactive:禁用挂载点'."\n"
- .'- Active:激活挂载点',
- 'type' => 'string',
- 'example' => 'Inactive',
- ],
- 'VpcId' => [
- 'description' => '专有网络ID。',
- 'type' => 'string',
- 'example' => 'vpc-iq8hhsk3ymzv9m4wn****',
- ],
- 'FileSystemId' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
- 'VSwitchId' => [
- 'description' => '交换机ID。',
- 'type' => 'string',
- 'example' => 'vsw-iq8fymi327krd14mt****',
- ],
- 'MountPointId' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com',
- ],
- 'Description' => [
- 'description' => '挂载点的描述信息。',
- 'type' => 'string',
- 'example' => '将线上dfs挂载到VPC日志集群的交换机下',
- ],
- 'AccessGroupId' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
- 'CreateTime' => [
- 'description' => '挂载点的创建时间。',
- 'type' => 'string',
- 'example' => '2022-09-19T03:22:32.550267Z',
- ],
- 'NetworkType' => [
- 'description' => '挂载点的网络类型。',
- 'type' => 'string',
- 'example' => 'VPC',
- ],
- 'MountPointDomain' => [
- 'description' => '挂载点域名。'."\n"
- ."\n"
- .'您可以在已挂载的VPC网段内通过此域名访问文件存储 HDFS 版文件系统。',
- 'type' => 'string',
- 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'MountPointAlias' => [
- 'description' => '挂载点别名。',
- 'type' => 'string',
- 'example' => 'hdfs1',
- ],
+ 'MountPointId' => ['description' => '挂载点ID。', 'type' => 'string', 'example' => 'f-9dd3c6bajmy110.cn-zhangjiakou.dfs.aliyuncs.com'],
+ 'InstanceId' => ['description' => '已挂载HDFS文件系统的ECS实例ID。', 'type' => 'string', 'example' => 'vsc-agent-f5a9bb4b041541f595a0c239c9e0f971-cn-shanghai'],
+ 'VscId' => ['description' => '已挂载HDFS文件系统的VSC ID。', 'type' => 'string', 'example' => 'vsc-bp18fhqie89loyqixyieal'],
+ 'VscName' => ['description' => 'Vsc自定义的名称', 'type' => 'string', 'example' => 'cxc'],
+ 'VscType' => ['description' => 'VSC类型。 '."\n"
+ .'包括: '."\n"
+ .'- Primary(默认值):ECS实例上的预留默认VSC '."\n"
+ .'- Secondary:ECS实例上的可重复VSC', 'type' => 'string', 'example' => 'Primary'],
+ 'VscStatus' => ['description' => 'VSC挂载状态。', 'type' => 'string', 'example' => '- NORMAL : 挂载成功。'."\n"
+ .'- CREATING:挂载中。'."\n"
+ .'- INVALID:挂载失败。'],
],
],
],
+ 'MaxResults' => ['description' => '分页查询时每页行数。最大值为100。默认值:当不设置值或设置的值小于10时,默认值为10。当设置的值大于100时,默认值为100。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"NextToken\\": \\"MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****\\",\\n \\"MountPoints\\": [\\n {\\n \\"Status\\": \\"Inactive\\",\\n \\"VpcId\\": \\"vpc-iq8hhsk3ymzv9m4wn****\\",\\n \\"FileSystemId\\": \\"37af8f42-2abc-4e74-889d-664f5163****\\",\\n \\"VSwitchId\\": \\"vsw-iq8fymi327krd14mt****\\",\\n \\"MountPointId\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"Description\\": \\"将线上dfs挂载到VPC日志集群的交换机下\\",\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"CreateTime\\": \\"2022-09-19T03:22:32.550267Z\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"MountPointDomain\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"MountPointAlias\\": \\"hdfs1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<MountPoints>\\n <Status>Inactive</Status>\\n <MountPointDomain>037cb49e1d-c***5.cn-hangzhou.dfs.aliyuncs.com</MountPointDomain>\\n <MountPointId>037cb49e1d-c***5</MountPointId>\\n <Description>将线上dfs挂载到vpc日志集群的交换机下</Description>\\n <VpcId>vpc-bp1lfyerqlol****ee6k7</VpcId>\\n <NetworkType>VPC</NetworkType>\\n <CreateTime>2021-01-05 12:30:15</CreateTime>\\n <VSwitchId>vsw-bp11990m3zf3h****vmqh</VSwitchId>\\n <FileSystemId>037c****1d</FileSystemId>\\n <AccessGroupId>c5ffd6-bf****bd</AccessGroupId>\\n <RegionId>cn-hangzhou</RegionId>\\n</MountPoints>\\n<TotalCount>1</TotalCount>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '批量查询挂载点信息',
- 'summary' => '批量查询挂载点信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'GetMountPoint' => [
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"NextToken\\": \\"asd0daj****\\",\\n \\"TotalCount\\": \\"1\\",\\n \\"AttachInfos\\": [\\n {\\n \\"MountPointId\\": \\"f-9dd3c6bajmy110.cn-zhangjiakou.dfs.aliyuncs.com\\",\\n \\"InstanceId\\": \\"vsc-agent-f5a9bb4b041541f595a0c239c9e0f971-cn-shanghai\\",\\n \\"VscId\\": \\"vsc-bp18fhqie89loyqixyieal\\",\\n \\"VscName\\": \\"cxc\\",\\n \\"VscType\\": \\"Primary\\",\\n \\"VscStatus\\": \\"- NORMAL : 挂载成功。\\\\n- CREATING:挂载中。\\\\n- INVALID:挂载失败。\\"\\n }\\n ],\\n \\"MaxResults\\": 50\\n}","type":"json"}]',
+ 'title' => '批量查询挂载信息',
+ 'description' => '只支持一个存储(MountPointId)对应多个计算(InstanceId、VscId) 和 一个计算(InstanceId、VscId)对应多个存储(MountPointId)',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMountPointsVscAttachInfo'],
+ ],
],
+ 'ramActions' => [],
+ ],
+ 'DescribeRegions' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1823,44 +1535,26 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '65252',
- 'abilityTreeNodes' => [
- 'FEATUREalidfs5EIDCS',
- ],
+ 'abilityTreeCode' => '65246',
+ 'abilityTreeNodes' => ['FEATUREalidfsYF33EK'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'InputRegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'FileSystemId',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
+ 'schema' => ['description' => '指定地域支持的语言。取值:'."\n"
+ ."\n"
+ .'- zh(默认值):中文。'."\n"
+ ."\n"
+ .'- en:英文。'."\n"
+ ."\n"
+ .'- ja:日文。', 'type' => 'string', 'required' => false, 'example' => 'zh', 'default' => 'zh'],
],
[
- 'name' => 'MountPointId',
+ 'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'default' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -1868,239 +1562,93 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'MountPoint' => [
- 'description' => '挂载点信息集合。',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2B51751B-F837-49AA-8EF3-B2B10703****'],
+ 'Regions' => [
+ 'description' => '地域信息集合。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '挂载点状态。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- Inactive:禁用挂载点'."\n"
- .'- Active:激活挂载点',
- 'type' => 'string',
- 'example' => 'Inactive',
- ],
- 'VpcId' => [
- 'description' => '专有网络ID。',
- 'type' => 'string',
- 'example' => 'vpc-iq8hhsk3ymzv9m4wn****',
- ],
- 'FileSystemId' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'example' => '37af8f42-2abc-4e74-889d-664f5163****',
- ],
- 'VSwitchId' => [
- 'description' => '交换机ID。',
- 'type' => 'string',
- 'example' => 'vsw-iq8fymi327krd14mt****',
- ],
- 'MountPointId' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com',
- ],
- 'Description' => [
- 'description' => '挂载点的描述信息。',
- 'type' => 'string',
- 'example' => '将线上dfs挂载到VPC日志集群的交换机下',
- ],
- 'AccessGroupId' => [
- 'description' => '挂载点关联的权限组ID。',
- 'type' => 'string',
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
- 'CreateTime' => [
- 'description' => '挂载点的创建时间。',
- 'type' => 'string',
- 'example' => '2022-09-19T03:22:32.550267Z',
- ],
- 'NetworkType' => [
- 'description' => '挂载点的网络类型。',
- 'type' => 'string',
- 'example' => 'VPC',
- ],
- 'MountPointDomain' => [
- 'description' => '挂载点域名。'."\n"
- ."\n"
- .'您可以在已挂载的VPC网段内通过此域名访问文件存储 HDFS 版文件系统。',
- 'type' => 'string',
- 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'MountPointAlias' => [
- 'description' => '挂载点别名。',
- 'type' => 'string',
- 'example' => 'hdfs1',
+ 'Region' => [
+ 'description' => '指定地域信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionEndpoint' => ['description' => '地域对应的Endpoint。', 'type' => 'string', 'example' => 'dfs.cn-hangzhou.aliyuncs.com'],
+ 'LocalName' => ['description' => '地域名称。', 'type' => 'string', 'example' => '华东1(杭州)'],
+ 'RegionId' => ['description' => ' '."\n"
+ .'区域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ ],
+ 'description' => '',
+ ],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"MountPoint\\": {\\n \\"Status\\": \\"Inactive\\",\\n \\"VpcId\\": \\"vpc-iq8hhsk3ymzv9m4wn****\\",\\n \\"FileSystemId\\": \\"37af8f42-2abc-4e74-889d-664f5163****\\",\\n \\"VSwitchId\\": \\"vsw-iq8fymi327krd14mt****\\",\\n \\"MountPointId\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"Description\\": \\"将线上dfs挂载到VPC日志集群的交换机下\\",\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"CreateTime\\": \\"2022-09-19T03:22:32.550267Z\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"MountPointDomain\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"MountPointAlias\\": \\"hdfs1\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<MountPoint>\\n <Status>Inactive</Status>\\n <MountPointDomain>037cb49e1d-c***5.cn-hangzhou.dfs.aliyuncs.com</MountPointDomain>\\n <MountPointId>037cb49e1d-c***5</MountPointId>\\n <Description>将线上dfs挂载到vpc日志集群的交换机下</Description>\\n <VpcId>vpc-bp1lfyerqloll****e6k7</VpcId>\\n <NetworkType>VPC</NetworkType>\\n <CreateTime>2021-01-05 12:30:15</CreateTime>\\n <VSwitchId>vsw-bp11990m3zf3****7vmqh</VSwitchId>\\n <FileSystemId>037c****1d</FileSystemId>\\n <AccessGroupId>c5ffd6-b****1bd</AccessGroupId>\\n <RegionId>cn-hangzhou</RegionId>\\n</MountPoint>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '查询挂载点信息',
- 'summary' => '查询一个挂载点信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateAccessGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2B51751B-F837-49AA-8EF3-B2B10703****\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionEndpoint\\": \\"dfs.cn-hangzhou.aliyuncs.com\\",\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRegionsResponse>\\n <RequestId>2B51751B-F837-49AA-8EF3-B2B10703****</RequestId>\\n <Regions>\\n <Region>\\n <RegionEndpoint>dfs.cn-hangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>杭州</LocalName>\\n <RegionId>cn-hangzhou</RegionId>\\n </Region>\\n </Regions>\\n</DescribeRegionsResponse>","errorExample":""}]',
+ 'title' => '查询可以使用的阿里云地域',
+ 'summary' => '查询您可以使用的阿里云地域。',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:12.000Z', 'description' => '错误码发生变更'],
],
+ 'ramActions' => [],
+ ],
+ 'DescribeVscMountPoints' => [
+ 'summary' => '获取VSC挂载点信息列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
],
'parameters' => [
[
- 'name' => 'AccessGroupName',
+ 'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组名称。命名规则如下:'."\n"
- ."\n"
- .'- 长度为6~64个字符。'."\n"
- .'- 全局唯一且不能为空串。'."\n"
- .'- 支持英文字母,可包含数字、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'my-online-cluster-policy',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'NetworkType',
+ 'name' => 'MountPointId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组类型。'."\n"
- ."\n"
- .'仅支持VPC(专有网络)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'VPC',
- 'enum' => [
- 'VPC',
- ],
- ],
+ 'schema' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => false, 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com'],
],
[
- 'name' => 'Description',
+ 'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组描述。'."\n"
- ."\n"
- .'长度不超过32个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '线上集群网段专用策略',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****'],
],
[
- 'name' => 'InputRegionId',
+ 'name' => 'VscId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '已挂载HDFS文件系统的VSC ID。', 'type' => 'string', 'required' => false, 'example' => 'vsc-asjodjoio****'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'AccessGroupId' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- ],
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","type":"json"}]',
- 'title' => '创建权限组',
- 'summary' => '创建一个权限组。',
- ],
- 'DeleteAccessGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '65241',
- 'abilityTreeNodes' => [
- 'FEATUREalidfsP1AW1K',
- ],
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [
[
- 'name' => 'InputRegionId',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '已挂载HDFS文件系统的ECS实例状态。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ .'- NORMAL : 挂载成功。'."\n"
+ .'- CREATING:挂载中。'."\n"
+ .'- INVALID:挂载失败。'."\n"
+ .'- OK:可查询到NORMAL、CREATING、INVALID三个状态的实例。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
- 'name' => 'AccessGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
+ 'schema' => ['description' => '已挂载HDFS文件系统的ECS实例ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp1g6zv0ce8oghu7****'],
],
],
'responses' => [
@@ -2108,29 +1656,92 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
+ 'TotalCount' => ['description' => '返回结果的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'MountPoints' => [
+ 'description' => '挂载点信息集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MountPointId' => ['description' => '挂载点ID。', 'type' => 'string', 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com'],
+ 'Description' => ['description' => '挂载点描述信息。', 'type' => 'string', 'example' => '内部实例挂载的HDFS文件系统。'],
+ 'InstanceTotalCount' => ['description' => '待挂载HDFS文件系统的ECS实例数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'MountPointAlias' => ['description' => '挂载点别名。', 'type' => 'string', 'example' => 'hdfs1'],
+ 'Instances' => [
+ 'description' => '已挂载HDFS文件系统的ECS实例信息集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '已挂载HDFS文件系统的ECS实例状态。'."\n"
+ ."\n"
+ .'包括:'."\n"
+ .'- NORMAL : 挂载成功。'."\n"
+ .'- CREATING:挂载中。'."\n"
+ .'- INVALID:挂载失败。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'InstanceId' => ['description' => '已挂载HDFS文件系统的ECS实例ID。', 'type' => 'string', 'example' => 'i-bp1g6zv0ce8oghu7****'],
+ 'Vscs' => [
+ 'description' => '已挂载HDFS文件系统的VSC列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VscId' => ['description' => 'VSC ID', 'type' => 'string', 'example' => 'vsc-asjodjoio****'],
+ 'VscType' => ['description' => 'VSC类型。 '."\n"
+ .'包括: '."\n"
+ .'- Primary(默认值):ECS实例上的预留默认VSC '."\n"
+ .'- Secondary:ECS实例上的可重复VSC', 'type' => 'string', 'example' => 'Primary'],
+ 'VscStatus' => ['description' => 'VSC挂载状态。'."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- NORMAL : 挂载成功。'."\n"
+ .'- CREATING:挂载中。'."\n"
+ .'- INVALID:挂载失败。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'VscName' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","type":"json"}]',
- 'title' => '删除权限组',
- 'summary' => '删除一个权限组。',
- 'description' => 'VPC默认权限组(DefaultAccessGroupName)不支持删除。',
- ],
- 'ModifyAccessGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"MountPoints\\": [\\n {\\n \\"MountPointId\\": \\"f-037cb49e1d-c****.dfs.aliyuncs.com\\",\\n \\"Description\\": \\"内部实例挂载的HDFS文件系统。\\",\\n \\"InstanceTotalCount\\": 1,\\n \\"MountPointAlias\\": \\"hdfs1\\",\\n \\"Instances\\": [\\n {\\n \\"Status\\": \\"NORMAL\\",\\n \\"InstanceId\\": \\"i-bp1g6zv0ce8oghu7****\\",\\n \\"Vscs\\": [\\n {\\n \\"VscId\\": \\"vsc-asjodjoio****\\",\\n \\"VscType\\": \\"Primary\\",\\n \\"VscStatus\\": \\"NORMAL\\",\\n \\"VscName\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<MountPoints>\\n <MountPointId> 037cb49e1d-c***5</MountPointId>\\n <Description>内部实例挂载的HDFS文件系统。</Description>\\n <InstanceTotalCount>1</InstanceTotalCount>\\n <MountPointAlias>hdfs1</MountPointAlias>\\n <Instances>\\n <Status>AVAILABLE</Status>\\n <InstanceId>[\\"ecs-instance1\\", \\"ecs-instance2\\"]</InstanceId>\\n </Instances>\\n</MountPoints>\\n<TotalCount>1</TotalCount>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '获取VSC挂载点信息列表',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2025-05-22T09:26:07.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:DescribeVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DetachVscFromMountPoints' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2139,194 +1750,143 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => ''],
],
[
- 'name' => 'AccessGroupName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '权限组名称。命名规则如下:'."\n"
- ."\n"
- .'- 长度为6~64个字符。'."\n"
- ."\n"
- .'- 全局唯一且不能为空串。'."\n"
- ."\n"
- .'- 支持英文字母,可包含数字、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'my-online-cluster-policy',
- ],
- ],
- [
- 'name' => 'Description',
+ 'name' => 'DetachInfos',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '权限组描述。',
- 'type' => 'string',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VscId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'VscType' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'MountPointId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'InstanceId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'VscName' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
'required' => false,
- 'example' => '线上集群网段专用策略',
+ 'docRequired' => false,
+ 'description' => '',
],
],
[
- 'name' => 'AccessGroupId',
+ 'name' => 'UseAssumeRoleChkServerPerm',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '修改权限组信息',
- 'summary' => '修改一个权限组信息。',
- 'description' => 'VPC默认权限组(DefaultAccessGroupName)不支持修改。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListAccessGroups' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'summary' => '批量卸载VSC 挂载点',
+ 'title' => '批量卸载存储',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'DetachVscMountPoint' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '65248',
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'StartOffset',
+ 'name' => 'MountPointId',
'in' => 'query',
- 'schema' => [
- 'description' => '指定查询起始位置。'."\n"
- ."\n"
- .'默认值:1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100000',
- 'minimum' => '1',
- 'example' => '10',
- ],
+ 'schema' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com'],
],
[
- 'name' => 'Limit',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '每页返回结果的行数。'."\n"
+ 'description' => '待解绑HDFS文件系统的ECS实例ID。'."\n"
."\n"
- .'默认值:10',
- 'type' => 'integer',
- 'format' => 'int32',
+ .'添加多个ECS实例ID时,请使用半角逗号(,)间隔,建议添加不超过50个ECS实例ID。',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'required' => false, 'description' => ''],
'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '100',
- 'default' => '10',
+ 'docRequired' => false,
+ 'example' => '['."\n"
+ .' "i-bp1g6zv0ce8oghu7****",'."\n"
+ .' "i-bp1g6zv0ce8oghu1****"'."\n"
+ .']',
],
],
[
- 'name' => 'OrderBy',
+ 'name' => 'VscIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '返回结果排序字段。'."\n"
- ."\n"
- .'取值:'."\n"
+ 'description' => '待解绑HDFS文件系统的VSC ID。'."\n"
."\n"
- .'- CreateTime(默认值):按创建时间排序。'."\n"
- .'- AccessGroupName:按权限组名称排序。',
- 'type' => 'string',
+ .'建议添加不超过50个VSC ID。',
+ 'type' => 'array',
+ 'items' => ['description' => 'VSC ID', 'type' => 'string', 'required' => false, 'example' => 'vsc-asjodjoio****'],
'required' => false,
- 'example' => 'CreateTime',
- 'default' => 'ID',
- 'enum' => [
- 'CreateTime',
- 'AccessGroupName',
- 'ID',
- ],
+ 'docRequired' => false,
],
],
[
- 'name' => 'OrderType',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果排序方式。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- ASC(默认值):递增'."\n"
- .'- DESC:递减',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ASC',
- 'default' => 'DESC',
- 'enum' => [
- 'ASC',
- 'DESC',
- ],
- ],
+ 'schema' => ['description' => '预留字段,无实际意义。', 'type' => 'string', 'required' => false, 'example' => '无'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '下一页标识。'."\n"
- ."\n"
- .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****'],
+ ],
+ [
+ 'name' => 'UseAssumeRoleChkServerPerm',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否使用扮演者检验计算节点权限。'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ .'- false(默认值):否', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -2334,105 +1894,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '返回结果的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'NextToken' => [
- 'description' => '下一页标识。'."\n"
- ."\n"
- .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。',
- 'type' => 'string',
- 'example' => 'PtHVCBwpddbWVRCFe3wlB_-tOLtD4KSv3DzI7G6iywQSm69vY0lvOlDTzqVWqXWApvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****',
- ],
- 'AccessGroups' => [
- 'description' => '权限组信息集合。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'IsDefault' => [
- 'description' => '权限组是否为用户的默认权限组。'."\n"
- ."\n"
- .'包括:'."\n"
- ."\n"
- .'- true:该权限组为默认权限组。当该权限组为默认权限组时,允许所有IP地址访问,且用户无法删除默认权限组及权限组内的权限规则。'."\n"
- .'- false:该权限组不是默认权限组。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'AccessGroupName' => [
- 'description' => '权限组名称。',
- 'type' => 'string',
- 'example' => 'test-cluster-policy',
- ],
- 'MountPointCount' => [
- 'description' => '权限组关联挂载点的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '权限组的描述信息。',
- 'type' => 'string',
- 'example' => '测试机群专用权限组',
- ],
- 'AccessGroupId' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
- 'CreateTime' => [
- 'description' => '权限组创建的时间。',
- 'type' => 'string',
- 'example' => '2022-04-18T08:02:09.986217Z',
- ],
- 'NetworkType' => [
- 'description' => '权限组类型。',
- 'type' => 'string',
- 'example' => 'VPC',
- ],
- 'RuleCount' => [
- 'description' => '权限组中权限规则的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"NextToken\\": \\"PtHVCBwpddbWVRCFe3wlB_-tOLtD4KSv3DzI7G6iywQSm69vY0lvOlDTzqVWqXWApvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****\\",\\n \\"AccessGroups\\": [\\n {\\n \\"IsDefault\\": false,\\n \\"AccessGroupName\\": \\"test-cluster-policy\\",\\n \\"MountPointCount\\": 1,\\n \\"Description\\": \\"测试机群专用权限组\\",\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"CreateTime\\": \\"2022-04-18T08:02:09.986217Z\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"RuleCount\\": 3,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<AccessGroups>\\n <IsDefault>true</IsDefault>\\n <RuleCount>3</RuleCount>\\n <Description>测试机群专用权限组</Description>\\n <NetworkType>VPC</NetworkType>\\n <CreateTime>2018-01-05 12:30:15</CreateTime>\\n <AccessGroupName>test-cluster-policy</AccessGroupName>\\n <MountPointCount>1</MountPointCount>\\n <AccessGroupId>c5ffd6-b****1bd</AccessGroupId>\\n <RegionId>cn-hangzhou</RegionId>\\n</AccessGroups>\\n<TotalCount>1</TotalCount>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '批量查询权限组详细信息',
- 'summary' => '批量查询权限组详细信息。',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '解绑VSC挂载点',
+ 'summary' => '为挂载点解绑计算实例。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2025-01-02T07:42:03.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-04-07T08:23:38.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DetachVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
'GetAccessGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2440,31 +1938,17 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'AccessGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
],
],
'responses' => [
@@ -2472,70 +1956,29 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
'AccessGroup' => [
'description' => '权限组信息集合。',
'type' => 'object',
'properties' => [
- 'IsDefault' => [
- 'description' => '权限组是否为用户的默认权限组。'."\n"
- ."\n"
- .'包括:'."\n"
- ."\n"
- .'- true:该权限组为默认权限组。当该权限组为默认权限组时,允许所有IP地址访问,且用户无法删除默认权限组及权限组内的权限规则。'."\n"
- .'- false:该权限组不是默认权限组。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'AccessGroupName' => [
- 'description' => '权限组名称。',
- 'type' => 'string',
- 'example' => 'test-cluster-policy',
- ],
- 'MountPointCount' => [
- 'description' => '指定权限组关联的挂载点的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '权限组描述。',
- 'type' => 'string',
- 'example' => '测试机群专用权限组',
- ],
- 'AccessGroupId' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
- 'CreateTime' => [
- 'description' => '权限组创建时间。',
- 'type' => 'string',
- 'example' => '2022-04-18T08:02:09.986217Z',
- ],
- 'NetworkType' => [
- 'description' => '权限组类型。',
- 'type' => 'string',
- 'example' => 'VPC',
- ],
- 'RuleCount' => [
- 'description' => '权限组中权限规则的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'IsDefault' => ['description' => '权限组是否为用户的默认权限组。'."\n"
+ ."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- true:该权限组为默认权限组。当该权限组为默认权限组时,允许所有IP地址访问,且用户无法删除默认权限组及权限组内的权限规则。'."\n"
+ .'- false:该权限组不是默认权限组。', 'type' => 'boolean', 'example' => 'false'],
+ 'AccessGroupName' => ['description' => '权限组名称。', 'type' => 'string', 'example' => 'test-cluster-policy'],
+ 'MountPointCount' => ['description' => '指定权限组关联的挂载点的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Description' => ['description' => '权限组描述。', 'type' => 'string', 'example' => '测试机群专用权限组'],
+ 'AccessGroupId' => ['description' => '权限组ID。', 'type' => 'string', 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ 'CreateTime' => ['description' => '权限组创建时间。', 'type' => 'string', 'example' => '2022-04-18T08:02:09.986217Z'],
+ 'NetworkType' => ['description' => '权限组类型。', 'type' => 'string', 'example' => 'VPC'],
+ 'RuleCount' => ['description' => '权限组中权限规则的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
+ 'description' => '',
],
],
],
@@ -2545,109 +1988,129 @@
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'CreateAccessRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:08.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:GetAccessGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GetAccessRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'AccessGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
],
[
- 'name' => 'NetworkSegment',
+ 'name' => 'AccessRuleId',
'in' => 'query',
+ 'schema' => ['description' => '权限组规则ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '授权对象的IP地址或网段。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '192.0.2.0/24',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'AccessRule' => [
+ 'description' => '权限组规则信息集合。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccessRuleId' => ['description' => '权限组规则ID。', 'type' => 'string', 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****'],
+ 'NetworkSegment' => ['description' => '授权对象的IP地址或网段。', 'type' => 'string', 'example' => '192.0.2.0/24'],
+ 'Description' => ['description' => '权限组规则的描述信息。', 'type' => 'string', 'example' => '日志上传机器网段'],
+ 'AccessGroupId' => ['description' => '权限组ID。', 'type' => 'string', 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ 'CreateTime' => ['description' => '权限组规则的创建时间。', 'type' => 'string', 'example' => '2022-04-18T08:02:09.986217Z'],
+ 'RWAccessType' => ['description' => '授权对象对文件系统的读写权限。'."\n"
+ ."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- RDWR:可读可写'."\n"
+ .'- RDONLY:只读', 'type' => 'string', 'example' => 'RDWR'],
+ 'Priority' => ['description' => '权限组规则优先级。'."\n"
+ ."\n"
+ .'当同一个授权对象匹配到多条规则时,高优先级规则生效。'."\n"
+ ."\n"
+ .'取值范围:1~100,1为最高优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'RWAccessType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '授权对象对文件系统的读写权限。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- RDWR:可读可写'."\n"
- .'- RDONLY:只读',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'RDWR',
- 'enum' => [
- 'RDWR',
- 'RDONLY',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"AccessRule\\": {\\n \\"AccessRuleId\\": \\"acr-c38028f0-f313-4385-9456-3501b1f5****\\",\\n \\"NetworkSegment\\": \\"192.0.2.0/24\\",\\n \\"Description\\": \\"日志上传机器网段\\",\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"CreateTime\\": \\"2022-04-18T08:02:09.986217Z\\",\\n \\"RWAccessType\\": \\"RDWR\\",\\n \\"Priority\\": 2,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n<AccessRule>\\n <Description>日志上传机器网段</Description>\\n <Priority>2</Priority>\\n <CreateTime>2018-01-05 12:30:15</CreateTime>\\n <NetworkSegment>192.0.2.0/24</NetworkSegment>\\n <RegionId>cn-hangzhou</RegionId>\\n <AccessGroupId>c5ffd6-b****1bd</AccessGroupId>\\n <RWAccessType>RDWR</RWAccessType>\\n <AccessRuleId>a0w****3s</AccessRuleId>\\n</AccessRule>","errorExample":""}]',
+ 'title' => '查询权限组规则信息',
+ 'summary' => '查询权限组规则信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:08.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:GetAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
+ ],
+ ],
+ 'GetFileSystem' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Priority',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组规则优先级。'."\n"
- ."\n"
- .'当同一个授权对象匹配到多条规则时,高优先级规则生效。'."\n"
- ."\n"
- .'取值范围:1~100,1为最高优先级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '2',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
],
[
- 'name' => 'Description',
+ 'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组规则描述。'."\n"
- ."\n"
- .'长度不超过32个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '日志上传机器网段',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -2655,84 +2118,111 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AccessRuleId' => [
- 'description' => '权限组规则ID。',
- 'type' => 'string',
- 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'FileSystem' => [
+ 'description' => '文件系统信息集合。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '文件系统的创建时间。', 'type' => 'string', 'example' => '2022-04-18T06:03:15.836222Z'],
+ 'ProvisionedThroughputInMiBps' => ['description' => '预置吞吐量。'."\n"
+ ."\n"
+ .'单位:MB/s', 'type' => 'integer', 'format' => 'int64', 'example' => '1024'],
+ 'SpaceCapacity' => ['description' => '文件系统容量。'."\n"
+ ."\n"
+ .'单位:GB', 'type' => 'integer', 'format' => 'int64', 'example' => '1024'],
+ 'StorageType' => ['description' => '存储介质类型。'."\n"
+ ."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- STANDARD:标准型'."\n"
+ .'- PERFORMANCE:性能型', 'type' => 'string', 'example' => 'STANDARD'],
+ 'UsedSpaceSize' => ['description' => '已使用存储空间。'."\n"
+ ."\n"
+ .'单位:GB', 'type' => 'number', 'format' => 'float', 'example' => '100'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'FileSystemId' => ['description' => '文件系统ID。', 'type' => 'string', 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
+ 'FileSystemName' => ['description' => '文件系统名称。', 'type' => 'string', 'example' => 'MyFirstHDFS'],
+ 'Description' => ['description' => '文件系统的描述信息。', 'type' => 'string', 'example' => '这是我公司的第一个文件存储HDFS版实例。'],
+ 'MountPointCount' => ['description' => '挂载点数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'ThroughputMode' => ['description' => '吞吐模式。'."\n"
+ ."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- Standard:标准吞吐'."\n"
+ .'- Provisioned:预置吞吐', 'type' => 'string', 'example' => 'Standard'],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-b'],
+ 'NumberOfFiles' => ['description' => '文件数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'StoragePackageId' => ['description' => '存储包ID。', 'type' => 'string', 'example' => '1'],
+ 'NumberOfDirectories' => ['description' => '目录数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'ProtocolType' => ['description' => '协议类型。'."\n"
+ ."\n"
+ .'仅支持HDFS(Hadoop Distributed File System)。', 'type' => 'string', 'example' => 'HDFS'],
+ 'Version' => ['description' => '阿里云文件存储 HDFS 版的版本,非hadoop版本。', 'type' => 'string', 'example' => '1.0.0'],
+ 'MeteringSpaceSize' => ['description' => '文件系统的计费容量。单位:字节(byte)。'."\n"
+ ."\n"
+ .'计费容量=MAX[(文件数+目录数)*5MiB,使用容量]。'."\n"
+ ."\n"
+ .'统计数据,不作为计费数据,仅作参考。HDFS按照上一小时计费容量峰值进行计费。若您希望查询更详细的计量数据,请参见[查看消费明细](~~419001~~)。', 'type' => 'number', 'format' => 'float', 'example' => '107374182400'],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"AccessRuleId\\": \\"acr-c38028f0-f313-4385-9456-3501b1f5****\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n<AccessRuleId>a0w****3s</AccessRuleId>","errorExample":""}]',
- 'title' => '创建权限规则',
- 'summary' => '创建权限组规则。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"FileSystem\\": {\\n \\"CreateTime\\": \\"2022-04-18T06:03:15.836222Z\\",\\n \\"ProvisionedThroughputInMiBps\\": 1024,\\n \\"SpaceCapacity\\": 1024,\\n \\"StorageType\\": \\"STANDARD\\",\\n \\"UsedSpaceSize\\": 100,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"FileSystemId\\": \\"37af8f42-2abc-4e74-889d-664f5163****\\",\\n \\"FileSystemName\\": \\"MyFirstHDFS\\",\\n \\"Description\\": \\"这是我公司的第一个文件存储HDFS版实例。\\",\\n \\"MountPointCount\\": 2,\\n \\"ThroughputMode\\": \\"Standard\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"NumberOfFiles\\": 1000,\\n \\"StoragePackageId\\": \\"1\\",\\n \\"NumberOfDirectories\\": 100,\\n \\"ProtocolType\\": \\"HDFS\\",\\n \\"Version\\": \\"1.0.0\\",\\n \\"MeteringSpaceSize\\": 107374182400\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n<FileSystem>\\n <StorageType>STANDARD</StorageType>\\n <Description>这是我公司的第一个HDFS存储实例。</Description>\\n <StoragePackageId>1</StoragePackageId>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n <UsedSpaceSize>100</UsedSpaceSize>\\n <CreateTime>2021-01-18 12:50:00</CreateTime>\\n <NumberOfDirectories>100</NumberOfDirectories>\\n <ThroughputMode>Standard</ThroughputMode>\\n <NumberOfFiles>1000</NumberOfFiles>\\n <SpaceCapacity>1024</SpaceCapacity>\\n <ProtocolType>HDFS</ProtocolType>\\n <MountPointCount>2</MountPointCount>\\n <FileSystemId>037****e1d</FileSystemId>\\n <FileSystemName>MyFirstHDFS</FileSystemName>\\n <ProvisionedThroughputInMiBps>1024</ProvisionedThroughputInMiBps>\\n <RegionId>cn-hangzhou</RegionId>\\n</FileSystem>","errorExample":""}]',
+ 'title' => '获取文件系统详细信息',
+ 'summary' => '查询文件系统信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteAccessRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-31T07:06:30.000Z', 'description' => '响应参数发生变更、错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:GetFileSystem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/{#FileSystemId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GetMountPoint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '65242',
- 'abilityTreeNodes' => [
- 'FEATUREalidfsP1AW1K',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '65252',
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'AccessGroupId',
+ 'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
],
[
- 'name' => 'AccessRuleId',
+ 'name' => 'MountPointId',
'in' => 'query',
- 'schema' => [
- 'description' => '待删除的权限组规则ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****',
- ],
+ 'schema' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com'],
],
],
'responses' => [
@@ -2740,120 +2230,82 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'MountPoint' => [
+ 'description' => '挂载点信息集合。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '挂载点状态。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- Inactive:禁用挂载点'."\n"
+ .'- Active:激活挂载点', 'type' => 'string', 'example' => 'Inactive'],
+ 'VpcId' => ['description' => '专有网络ID。', 'type' => 'string', 'example' => 'vpc-iq8hhsk3ymzv9m4wn****'],
+ 'FileSystemId' => ['description' => '文件系统ID。', 'type' => 'string', 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
+ 'VSwitchId' => ['description' => '交换机ID。', 'type' => 'string', 'example' => 'vsw-iq8fymi327krd14mt****'],
+ 'MountPointId' => ['description' => '挂载点ID。', 'type' => 'string', 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com'],
+ 'Description' => ['description' => '挂载点的描述信息。', 'type' => 'string', 'example' => '将线上dfs挂载到VPC日志集群的交换机下'],
+ 'AccessGroupId' => ['description' => '挂载点关联的权限组ID。', 'type' => 'string', 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ 'CreateTime' => ['description' => '挂载点的创建时间。', 'type' => 'string', 'example' => '2022-09-19T03:22:32.550267Z'],
+ 'NetworkType' => ['description' => '挂载点的网络类型。', 'type' => 'string', 'example' => 'VPC'],
+ 'MountPointDomain' => ['description' => '挂载点域名。'."\n"
+ ."\n"
+ .'您可以在已挂载的VPC网段内通过此域名访问文件存储 HDFS 版文件系统。', 'type' => 'string', 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'MountPointAlias' => ['description' => '挂载点别名。', 'type' => 'string', 'example' => 'hdfs1'],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '删除权限组规则',
- 'summary' => '删除一个权限组规则。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"MountPoint\\": {\\n \\"Status\\": \\"Inactive\\",\\n \\"VpcId\\": \\"vpc-iq8hhsk3ymzv9m4wn****\\",\\n \\"FileSystemId\\": \\"37af8f42-2abc-4e74-889d-664f5163****\\",\\n \\"VSwitchId\\": \\"vsw-iq8fymi327krd14mt****\\",\\n \\"MountPointId\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"Description\\": \\"将线上dfs挂载到VPC日志集群的交换机下\\",\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"CreateTime\\": \\"2022-09-19T03:22:32.550267Z\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"MountPointDomain\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"MountPointAlias\\": \\"hdfs1\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<MountPoint>\\n <Status>Inactive</Status>\\n <MountPointDomain>037cb49e1d-c***5.cn-hangzhou.dfs.aliyuncs.com</MountPointDomain>\\n <MountPointId>037cb49e1d-c***5</MountPointId>\\n <Description>将线上dfs挂载到vpc日志集群的交换机下</Description>\\n <VpcId>vpc-bp1lfyerqloll****e6k7</VpcId>\\n <NetworkType>VPC</NetworkType>\\n <CreateTime>2021-01-05 12:30:15</CreateTime>\\n <VSwitchId>vsw-bp11990m3zf3****7vmqh</VSwitchId>\\n <FileSystemId>037c****1d</FileSystemId>\\n <AccessGroupId>c5ffd6-b****1bd</AccessGroupId>\\n <RegionId>cn-hangzhou</RegionId>\\n</MountPoint>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '查询挂载点信息',
+ 'summary' => '查询一个挂载点信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyAccessRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2024-12-20T03:15:45.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-02-19T12:42:08.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:GetMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'GetRegion' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '65253',
+ 'abilityTreeNodes' => ['FEATUREalidfsYF33EK'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'AccessGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
- ],
- [
- 'name' => 'AccessRuleId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '权限组规则ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****',
- ],
- ],
- [
- 'name' => 'RWAccessType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '授权对象对文件系统的读写权限。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- RDWR:可读可写'."\n"
- .'- RDONLY:只读',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RDWR',
- 'enum' => [
- 'RDWR',
- 'RDONLY',
- ],
- ],
- ],
- [
- 'name' => 'Priority',
- 'in' => 'query',
- 'schema' => [
- 'description' => '权限组规则优先级。'."\n"
- ."\n"
- .'取值范围:1~100,其中1为最高优先级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '0',
- 'example' => '2',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '权限组规则描述。'."\n"
- ."\n"
- .'长度不超过32个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '日志上传机器网段',
- ],
- ],
- [
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -2861,32 +2313,56 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AEC07154-5A4C-4B34-BB74-0893C6E9****'],
+ 'AvailableZones' => [
+ 'description' => '可用区信息集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-b'],
+ 'Options' => [
+ 'description' => '配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StorageType' => ['description' => '存储介质类型。'."\n"
+ ."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- STANDARD:标准型'."\n"
+ .'- PERFORMANCE:性能型', 'type' => 'string', 'example' => 'STANDARD'],
+ 'ProtocolType' => ['description' => '协议类型。'."\n"
+ ."\n"
+ .'仅支持HDFS(Hadoop Distributed File System)。', 'type' => 'string', 'example' => 'HDFS'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '修改权限组规则',
- 'summary' => '修改一个权限组规则。',
- 'description' => 'VPC默认权限组(DefaultAccessGroupName)中的规则不支持修改。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AEC07154-5A4C-4B34-BB74-0893C6E9****\\",\\n \\"AvailableZones\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"Options\\": [\\n {\\n \\"StorageType\\": \\"STANDARD\\",\\n \\"ProtocolType\\": \\"HDFS\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>AEC07154-5A4C-4B34-BB74-0893C6E9****</RequestId>\\n<AvailableZones>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n</AvailableZones>\\n<AvailableZones>\\n <Options>\\n <ProtocolType>HDFS</ProtocolType>\\n <StorageType>STANDARD</StorageType>\\n </Options>\\n</AvailableZones>","errorExample":""}]',
+ 'title' => '查询可用区',
+ 'summary' => '查询指定地域下每个可用区的配置信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetAccessRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:08.000Z', 'description' => '错误码发生变更'],
],
+ 'ramActions' => [],
+ ],
+ 'ListAccessGroups' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2894,130 +2370,135 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'AccessGroupId',
+ 'name' => 'StartOffset',
+ 'in' => 'query',
+ 'schema' => ['description' => '指定查询起始位置。'."\n"
+ ."\n"
+ .'默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'example' => '10'],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页返回结果的行数。'."\n"
+ ."\n"
+ .'默认值:10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '100', 'default' => '10'],
+ ],
+ [
+ 'name' => 'OrderBy',
'in' => 'query',
'schema' => [
- 'description' => '权限组ID。',
+ 'description' => '返回结果排序字段。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- CreateTime(默认值):按创建时间排序。'."\n"
+ .'- AccessGroupName:按权限组名称排序。',
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
+ 'required' => false,
+ 'example' => 'CreateTime',
+ 'default' => 'ID',
+ 'enum' => ['CreateTime', 'AccessGroupName', 'ID'],
],
],
[
- 'name' => 'AccessRuleId',
+ 'name' => 'OrderType',
'in' => 'query',
'schema' => [
- 'description' => '权限组规则ID。',
+ 'description' => '返回结果排序方式。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- ASC(默认值):递增'."\n"
+ .'- DESC:递减',
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****',
+ 'required' => false,
+ 'example' => 'ASC',
+ 'default' => 'DESC',
+ 'enum' => ['ASC', 'DESC'],
],
],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '下一页标识。'."\n"
+ ."\n"
+ .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。', 'type' => 'string', 'required' => false, 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'AccessRule' => [
- 'description' => '权限组规则信息集合。',
- 'type' => 'object',
- 'properties' => [
- 'AccessRuleId' => [
- 'description' => '权限组规则ID。',
- 'type' => 'string',
- 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****',
- ],
- 'NetworkSegment' => [
- 'description' => '授权对象的IP地址或网段。',
- 'type' => 'string',
- 'example' => '192.0.2.0/24',
- ],
- 'Description' => [
- 'description' => '权限组规则的描述信息。',
- 'type' => 'string',
- 'example' => '日志上传机器网段',
- ],
- 'AccessGroupId' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
- 'CreateTime' => [
- 'description' => '权限组规则的创建时间。',
- 'type' => 'string',
- 'example' => '2022-04-18T08:02:09.986217Z',
- ],
- 'RWAccessType' => [
- 'description' => '授权对象对文件系统的读写权限。'."\n"
+ 'TotalCount' => ['description' => '返回结果的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'NextToken' => ['description' => '下一页标识。'."\n"
+ ."\n"
+ .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。', 'type' => 'string', 'example' => 'PtHVCBwpddbWVRCFe3wlB_-tOLtD4KSv3DzI7G6iywQSm69vY0lvOlDTzqVWqXWApvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****'],
+ 'AccessGroups' => [
+ 'description' => '权限组信息集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'IsDefault' => ['description' => '权限组是否为用户的默认权限组。'."\n"
."\n"
.'包括:'."\n"
."\n"
- .'- RDWR:可读可写'."\n"
- .'- RDONLY:只读',
- 'type' => 'string',
- 'example' => 'RDWR',
- ],
- 'Priority' => [
- 'description' => '权限组规则优先级。'."\n"
- ."\n"
- .'当同一个授权对象匹配到多条规则时,高优先级规则生效。'."\n"
- ."\n"
- .'取值范围:1~100,1为最高优先级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
+ .'- true:该权限组为默认权限组。当该权限组为默认权限组时,允许所有IP地址访问,且用户无法删除默认权限组及权限组内的权限规则。'."\n"
+ .'- false:该权限组不是默认权限组。', 'type' => 'boolean', 'example' => 'false'],
+ 'AccessGroupName' => ['description' => '权限组名称。', 'type' => 'string', 'example' => 'test-cluster-policy'],
+ 'MountPointCount' => ['description' => '权限组关联挂载点的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Description' => ['description' => '权限组的描述信息。', 'type' => 'string', 'example' => '测试机群专用权限组'],
+ 'AccessGroupId' => ['description' => '权限组ID。', 'type' => 'string', 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ 'CreateTime' => ['description' => '权限组创建的时间。', 'type' => 'string', 'example' => '2022-04-18T08:02:09.986217Z'],
+ 'NetworkType' => ['description' => '权限组类型。', 'type' => 'string', 'example' => 'VPC'],
+ 'RuleCount' => ['description' => '权限组中权限规则的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"AccessRule\\": {\\n \\"AccessRuleId\\": \\"acr-c38028f0-f313-4385-9456-3501b1f5****\\",\\n \\"NetworkSegment\\": \\"192.0.2.0/24\\",\\n \\"Description\\": \\"日志上传机器网段\\",\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"CreateTime\\": \\"2022-04-18T08:02:09.986217Z\\",\\n \\"RWAccessType\\": \\"RDWR\\",\\n \\"Priority\\": 2,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n<AccessRule>\\n <Description>日志上传机器网段</Description>\\n <Priority>2</Priority>\\n <CreateTime>2018-01-05 12:30:15</CreateTime>\\n <NetworkSegment>192.0.2.0/24</NetworkSegment>\\n <RegionId>cn-hangzhou</RegionId>\\n <AccessGroupId>c5ffd6-b****1bd</AccessGroupId>\\n <RWAccessType>RDWR</RWAccessType>\\n <AccessRuleId>a0w****3s</AccessRuleId>\\n</AccessRule>","errorExample":""}]',
- 'title' => '查询权限组规则信息',
- 'summary' => '查询权限组规则信息。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"NextToken\\": \\"PtHVCBwpddbWVRCFe3wlB_-tOLtD4KSv3DzI7G6iywQSm69vY0lvOlDTzqVWqXWApvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****\\",\\n \\"AccessGroups\\": [\\n {\\n \\"IsDefault\\": false,\\n \\"AccessGroupName\\": \\"test-cluster-policy\\",\\n \\"MountPointCount\\": 1,\\n \\"Description\\": \\"测试机群专用权限组\\",\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"CreateTime\\": \\"2022-04-18T08:02:09.986217Z\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"RuleCount\\": 3,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<AccessGroups>\\n <IsDefault>true</IsDefault>\\n <RuleCount>3</RuleCount>\\n <Description>测试机群专用权限组</Description>\\n <NetworkType>VPC</NetworkType>\\n <CreateTime>2018-01-05 12:30:15</CreateTime>\\n <AccessGroupName>test-cluster-policy</AccessGroupName>\\n <MountPointCount>1</MountPointCount>\\n <AccessGroupId>c5ffd6-b****1bd</AccessGroupId>\\n <RegionId>cn-hangzhou</RegionId>\\n</AccessGroups>\\n<TotalCount>1</TotalCount>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '批量查询权限组详细信息',
+ 'summary' => '批量查询权限组详细信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-03T05:58:30.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2024-02-19T12:42:07.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'dfs:ListAccessGroups',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
'ListAccessRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3025,62 +2506,31 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'AccessGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
],
[
'name' => 'StartOffset',
'in' => 'query',
- 'schema' => [
- 'description' => '指定查询起始位置。'."\n"
- ."\n"
- .'默认值:1',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100000',
- 'minimum' => '1',
- 'example' => '10',
- ],
+ 'schema' => ['description' => '指定查询起始位置。'."\n"
+ ."\n"
+ .'默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'example' => '10'],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'description' => '每页返回结果的行数。'."\n"
- ."\n"
- .'默认值:10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '每页返回结果的行数。'."\n"
+ ."\n"
+ .'默认值:10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
[
'name' => 'OrderBy',
@@ -3096,11 +2546,7 @@
'required' => false,
'example' => 'Priority',
'default' => 'ID',
- 'enum' => [
- 'Priority',
- 'CreateTime',
- 'ID',
- ],
+ 'enum' => ['Priority', 'CreateTime', 'ID'],
],
],
[
@@ -3117,23 +2563,15 @@
'required' => false,
'example' => 'ASC',
'default' => 'DESC',
- 'enum' => [
- 'ASC',
- 'DESC',
- ],
+ 'enum' => ['ASC', 'DESC'],
],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '下一页标识。'."\n"
- ."\n"
- .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****',
- ],
+ 'schema' => ['description' => '下一页标识。'."\n"
+ ."\n"
+ .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。', 'type' => 'string', 'required' => false, 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****'],
],
],
'responses' => [
@@ -3141,24 +2579,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '返回结果的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'NextToken' => [
- 'description' => '下一页标识。'."\n"
- ."\n"
- .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。',
- 'type' => 'string',
- 'example' => 'PtHVCBwpddbWVRCFe3wlB_-tOLtD4KSv3DzI7G6iywQSm69vY0lvOlDTzqVWqXWApvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****',
- ],
+ 'TotalCount' => ['description' => '返回结果的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'NextToken' => ['description' => '下一页标识。'."\n"
+ ."\n"
+ .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。', 'type' => 'string', 'example' => 'PtHVCBwpddbWVRCFe3wlB_-tOLtD4KSv3DzI7G6iywQSm69vY0lvOlDTzqVWqXWApvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****'],
'AccessRules' => [
'description' => '权限组规则集合。',
'type' => 'array',
@@ -3166,309 +2591,371 @@
'description' => '权限组规则集合。',
'type' => 'object',
'properties' => [
- 'AccessRuleId' => [
- 'description' => '权限组规则ID。',
- 'type' => 'string',
- 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****',
- ],
- 'NetworkSegment' => [
- 'description' => '授权对象的IP地址或网段。',
- 'type' => 'string',
- 'example' => '192.0.2.0/24',
- ],
- 'Description' => [
- 'description' => '权限组规则的描述信息。',
- 'type' => 'string',
- 'example' => '日志上传机器网段',
- ],
- 'AccessGroupId' => [
- 'description' => '权限组ID。',
- 'type' => 'string',
- 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****',
- ],
- 'CreateTime' => [
- 'description' => '权限组规则的创建时间。',
- 'type' => 'string',
- 'example' => '2022-04-18T08:02:09.986217Z',
- ],
- 'RWAccessType' => [
- 'description' => '授权对象对文件系统的读写权限。'."\n"
- ."\n"
- .'包括:'."\n"
- ."\n"
- .'- RDWR:可读可写'."\n"
- .'- RDONLY:只读',
- 'type' => 'string',
- 'example' => 'RDWR',
- ],
- 'Priority' => [
- 'description' => '权限组规则优先级。'."\n"
- ."\n"
- .'当同一个授权对象匹配到多条规则时,高优先级规则生效。'."\n"
- ."\n"
- .'取值范围:1~100,1为最高优先级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'AccessRuleId' => ['description' => '权限组规则ID。', 'type' => 'string', 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****'],
+ 'NetworkSegment' => ['description' => '授权对象的IP地址或网段。', 'type' => 'string', 'example' => '192.0.2.0/24'],
+ 'Description' => ['description' => '权限组规则的描述信息。', 'type' => 'string', 'example' => '日志上传机器网段'],
+ 'AccessGroupId' => ['description' => '权限组ID。', 'type' => 'string', 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ 'CreateTime' => ['description' => '权限组规则的创建时间。', 'type' => 'string', 'example' => '2022-04-18T08:02:09.986217Z'],
+ 'RWAccessType' => ['description' => '授权对象对文件系统的读写权限。'."\n"
+ ."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- RDWR:可读可写'."\n"
+ .'- RDONLY:只读', 'type' => 'string', 'example' => 'RDWR'],
+ 'Priority' => ['description' => '权限组规则优先级。'."\n"
+ ."\n"
+ .'当同一个授权对象匹配到多条规则时,高优先级规则生效。'."\n"
+ ."\n"
+ .'取值范围:1~100,1为最高优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
],
+ 'description' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"NextToken\\": \\"PtHVCBwpddbWVRCFe3wlB_-tOLtD4KSv3DzI7G6iywQSm69vY0lvOlDTzqVWqXWApvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****\\",\\n \\"AccessRules\\": [\\n {\\n \\"AccessRuleId\\": \\"acr-c38028f0-f313-4385-9456-3501b1f5****\\",\\n \\"NetworkSegment\\": \\"192.0.2.0/24\\",\\n \\"Description\\": \\"日志上传机器网段\\",\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"CreateTime\\": \\"2022-04-18T08:02:09.986217Z\\",\\n \\"RWAccessType\\": \\"RDWR\\",\\n \\"Priority\\": 2,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '批量查询权限组规则',
'summary' => '批量查询权限组规则。',
- ],
- 'CreateUserGroupsMapping' => [
- 'summary' => '创建文件存储 HDFS 版文件系统实例的用户和组的映射关系。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-03T05:58:30.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2024-02-19T12:42:07.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'dfs:ListAccessRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListFileSystems' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '65257',
+ 'abilityTreeNodes' => ['FEATUREalidfsJOGXD4'],
],
'parameters' => [
[
- 'name' => 'InputRegionId',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统所在的Region。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '下一页标识。'."\n"
+ ."\n"
+ .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。', 'type' => 'string', 'required' => false, 'example' => 'tCSKxtX5z_fW0-Q0ug8Df1oSXGiamAjmrtaDFAj6sZW-YhN1lRC7TEIkcFfMuj-6uR9wSW4b_PS2ze70k269qy8bMVHDfRW0Tvhmyh-****'],
],
[
- 'name' => 'FileSystemId',
+ 'name' => 'StartOffset',
'in' => 'query',
- 'schema' => [
- 'description' => '文件存储 HDFS 版的文件系统实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'enumValueTitles' => [],
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'schema' => ['description' => '指定查询起始位置。'."\n"
+ ."\n"
+ .'默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'example' => '10'],
],
[
- 'name' => 'UserName',
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页返回结果的行数。'."\n"
+ ."\n"
+ .'默认值:10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'OrderBy',
'in' => 'query',
'schema' => [
- 'description' => '用户名。'."\n"
- .'限制:'."\n"
- ."\n"
- .'- 必须以字母或者下划线(_)开头。'."\n"
- ."\n"
- .'- 长度为1~32个字符串,不能是空字符串。'."\n"
+ 'description' => '返回结果排序字段。'."\n"
."\n"
- .'- 支持小写英文字母、数字和下划线(_)。'."\n"
+ .'取值:'."\n"
."\n"
- .'> 每个用户最多属于10个组。',
+ .'- CreateTime(默认值):按创建时间排序。'."\n"
+ .'- FileSystemName:按文件系统名称排序。'."\n"
+ .'- SpaceCapacity:按文件系统容量预算排序。'."\n"
+ .'- UsedSpaceSize:按文件系统使用量排序。'."\n",
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'user1',
+ 'required' => false,
+ 'example' => 'CreateTime',
+ 'default' => 'ID',
+ 'enum' => ['CreateTime', 'FileSystemName', 'SpaceCapacity', 'UsedSpaceSize', 'ID'],
],
],
[
- 'name' => 'GroupNames',
+ 'name' => 'OrderType',
'in' => 'query',
- 'style' => 'json',
'schema' => [
- 'description' => '用户名所属的组名。'."\n"
- .'限制:'."\n"
- .'- 必须以字母或者下划线(_)开头。'."\n"
+ 'description' => '返回结果排序方式。'."\n"
."\n"
- .'- 长度为1~32个字符串,不能是空字符串。'."\n"
+ .'取值:'."\n"
."\n"
- .'- 支持小写英文字母、数字和下划线(_)。',
- 'type' => 'array',
- 'items' => [
- 'description' => '用户名所属的组名。'."\n"
- .'限制:'."\n"
- .'- 必须以字母或者下划线(_)开头。'."\n"
- ."\n"
- .'- 长度为1~32个字符串,不能是空字符串。'."\n"
- ."\n"
- .'- 支持小写英文字母、数字和下划线(_)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["group1","group2"]',
- ],
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["group1","group2"]',
+ .'- ASC(默认值):升序'."\n"
+ .'- DESC:降序',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ASC',
+ 'default' => 'DESC',
+ 'enum' => ['ASC', 'DESC'],
],
],
+ [
+ 'name' => 'InputRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
+ 'TotalCount' => ['description' => '返回结果的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'NextToken' => ['description' => 'tCSKxtX5z_fW0-Q0ug8Df1oSXGiamAjmrtaDFAj6sZW-YhN1lRC7TEIkcFfMuj-6uR9wSW4b_PS2ze70k269qy8bMVHDfRW0Tvhmyh-k47g', 'type' => 'string', 'example' => 'tCSKxtX5z_fW0-Q0ug8Df1oSXGiamAjmrtaDFAj6sZW-YhN1lRC7TEIkcFfMuj-6uR9wSW4b_PS2ze70k269qy8bMVHDfRW0Tvhmyh-****'],
+ 'FileSystems' => [
+ 'description' => '文件系统信息集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '文件系统的创建时间。', 'type' => 'string', 'example' => '2022-04-18T06:03:15.836222Z'],
+ 'ProvisionedThroughputInMiBps' => ['description' => '预置吞吐量。'."\n"
+ .'单位:MB/s。', 'type' => 'integer', 'format' => 'int64', 'example' => '1024'],
+ 'SpaceCapacity' => ['description' => '文件系统容量。'."\n"
+ ."\n"
+ .'单位:GB', 'type' => 'integer', 'format' => 'int64', 'example' => '1024'],
+ 'StorageType' => ['description' => '存储介质类型。'."\n"
+ ."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- STANDARD:标准型'."\n"
+ .'- PERFORMANCE:性能型', 'type' => 'string', 'example' => 'STANDARD'],
+ 'UsedSpaceSize' => ['description' => '已使用空间容量。'."\n"
+ ."\n"
+ .'单位:GB', 'type' => 'number', 'format' => 'float', 'example' => '100'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'FileSystemId' => ['description' => '文件系统ID。', 'type' => 'string', 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
+ 'FileSystemName' => ['description' => '文件系统名称。', 'type' => 'string', 'example' => 'MyFirstHDFS'],
+ 'Description' => ['description' => '文件系统的描述信息。', 'type' => 'string', 'example' => '这是我公司的第一个文件存储HDFS版实例。'],
+ 'MountPointCount' => ['description' => '挂载点数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'ThroughputMode' => ['description' => '吞吐模式。'."\n"
+ ."\n"
+ .'包括:'."\n"
+ ."\n"
+ .'- Standard:标准吞吐'."\n"
+ .'- Provisioned:预置吞吐', 'type' => 'string', 'example' => 'Standard'],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-b'],
+ 'NumberOfFiles' => ['description' => '文件数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'StoragePackageId' => ['description' => '存储包ID。', 'type' => 'string', 'example' => '1'],
+ 'NumberOfDirectories' => ['description' => '目录数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'ProtocolType' => ['description' => '协议类型。'."\n"
+ ."\n"
+ .'仅支持HDFS(Hadoop Distributed File System)。', 'type' => 'string', 'example' => 'HDFS'],
+ 'Version' => ['description' => '阿里云文件存储 HDFS 版的版本,非hadoop版本。', 'type' => 'string', 'example' => '1.0.0'],
+ 'MeteringSpaceSize' => ['description' => '文件系统的计费容量。单位:字节(byte)。'."\n"
+ ."\n"
+ .'计费容量=MAX[(文件数+目录数)*5MiB,使用容量]。'."\n"
+ ."\n"
+ .'统计数据,不作为计费数据,仅作参考。HDFS按照上一小时计费容量峰值进行计费。若您希望查询更详细的计量数据,请参见[查看消费明细](~~419001~~)。', 'type' => 'number', 'format' => 'float', 'example' => '107374182400'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateUserGroupsMappingResponse>\\n <RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n</CreateUserGroupsMappingResponse>","errorExample":""}]',
- 'title' => '创建用户和组的映射关系',
- 'description' => '- 用户和用户组的映射功能目前还在邀测中,如需使用,请[提交工单](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c4g.11186623.0.0.24241ee9gQPwnE)申请。'."\n"
- .'- 文件存储 HDFS 版的文件系统权限管理依赖文件的用户和组,用户和组映射关系需要通过OpenAPI进行管理。有关文件存储 HDFS 版文件系统目录和文件访问权限的信息,请参见[目录和文件访问权限](~~430865~~)。'."\n"
- ."\n"
- .'- 单个文件系统存在用户和组数量的限制,包括:'."\n"
- .' - 单个文件系统最多添加 1000 个用户。'."\n"
- .' - 单个文件系统最多添加 30 个组。'."\n"
- .' - 每个用户最多属于 10 个组。',
- ],
- 'DeleteUserGroupsMapping' => [
- 'summary' => '删除文件存储 HDFS 版文件系统实例的用户和组的映射关系。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"NextToken\\": \\"tCSKxtX5z_fW0-Q0ug8Df1oSXGiamAjmrtaDFAj6sZW-YhN1lRC7TEIkcFfMuj-6uR9wSW4b_PS2ze70k269qy8bMVHDfRW0Tvhmyh-****\\",\\n \\"FileSystems\\": [\\n {\\n \\"CreateTime\\": \\"2022-04-18T06:03:15.836222Z\\",\\n \\"ProvisionedThroughputInMiBps\\": 1024,\\n \\"SpaceCapacity\\": 1024,\\n \\"StorageType\\": \\"STANDARD\\",\\n \\"UsedSpaceSize\\": 100,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"FileSystemId\\": \\"37af8f42-2abc-4e74-889d-664f5163****\\",\\n \\"FileSystemName\\": \\"MyFirstHDFS\\",\\n \\"Description\\": \\"这是我公司的第一个文件存储HDFS版实例。\\",\\n \\"MountPointCount\\": 2,\\n \\"ThroughputMode\\": \\"Standard\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"NumberOfFiles\\": 1000,\\n \\"StoragePackageId\\": \\"1\\",\\n \\"NumberOfDirectories\\": 100,\\n \\"ProtocolType\\": \\"HDFS\\",\\n \\"Version\\": \\"1.0.0\\",\\n \\"MeteringSpaceSize\\": 107374182400\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<FileSystems>\\n <StorageType>STANDARD</StorageType>\\n <Description>这是我公司的第一个HDFS存储实例。</Description>\\n <StoragePackageId>1</StoragePackageId>\\n <ZoneId>cn-hangzhou-b</ZoneId>\\n <UsedSpaceSize>100</UsedSpaceSize>\\n <CreateTime>2021-01-18 12:50:00</CreateTime>\\n <NumberOfDirectories>100</NumberOfDirectories>\\n <ThroughputMode>Standard</ThroughputMode>\\n <NumberOfFiles>1000</NumberOfFiles>\\n <SpaceCapacity>1024</SpaceCapacity>\\n <ProtocolType>HDFS</ProtocolType>\\n <MountPointCount>2</MountPointCount>\\n <FileSystemId>037****e1d</FileSystemId>\\n <FileSystemName>MyFirstHDFS</FileSystemName>\\n <ProvisionedThroughputInMiBps>1024</ProvisionedThroughputInMiBps>\\n <RegionId>cn-hangzhou</RegionId>\\n</FileSystems>\\n<TotalCount>1</TotalCount>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '批量获取文件系统详细信息',
+ 'summary' => '批量获取文件系统详细信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-03T05:58:30.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-03-31T07:06:30.000Z', 'description' => '响应参数发生变更、错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'dfs:ListFileSystems',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListMountPoints' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '65258',
+ 'abilityTreeNodes' => ['FEATUREalidfs5EIDCS'],
],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统所在的Region。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件存储 HDFS 版的文件系统实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
],
[
- 'name' => 'UserName',
+ 'name' => 'StartOffset',
+ 'in' => 'query',
+ 'schema' => ['description' => '指定查询起始位置。'."\n"
+ ."\n"
+ .'默认值:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100000', 'minimum' => '1', 'example' => '10'],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页返回结果的个数。'."\n"
+ ."\n"
+ .'取值范围:1~1000'."\n"
+ ."\n"
+ .'默认值:10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'OrderBy',
'in' => 'query',
'schema' => [
- 'description' => '用户名。'."\n"
- .'限制:'."\n"
- ."\n"
- .'- 必须以字母或者下划线(_)开头。'."\n"
- ."\n"
- .'- 长度为1~32个字符串,不能是空字符串。'."\n"
- ."\n"
- .'- 支持小写英文字母、数字和下划线(_)。'."\n"
+ 'description' => '返回结果排序字段。'."\n"
."\n"
- .'> 每个用户最多属于10个组。',
+ .'默认值:CreateTime(按创建时间排序)',
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'user1',
+ 'required' => false,
+ 'example' => 'CreateTime',
+ 'default' => 'ID',
+ 'enum' => ['CreateTime', 'ID'],
],
],
[
- 'name' => 'GroupNames',
+ 'name' => 'OrderType',
'in' => 'query',
- 'style' => 'json',
'schema' => [
- 'description' => '用户名所属的组名。'."\n"
- .'限制:'."\n"
- .'- 必须以字母或者下划线(_)开头。'."\n"
+ 'description' => '返回结果排序方式。'."\n"
."\n"
- .'- 长度为1~32个字符串,不能是空字符串。'."\n"
+ .'取值:'."\n"
."\n"
- .'- 支持小写英文字母、数字和下划线(_)。',
- 'type' => 'array',
- 'items' => [
- 'description' => '用户名所属的组名。'."\n"
- .'限制:'."\n"
- .'- 必须以字母或者下划线(_)开头。'."\n"
- ."\n"
- .'- 长度为1~32个字符串,不能是空字符串。'."\n"
- ."\n"
- .'- 支持小写英文字母、数字和下划线(_)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["group1","group2"]',
- ],
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["group1","group2"]',
+ .'- ASC(默认值):升序'."\n"
+ .'- DESC:降序',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ASC',
+ 'default' => 'DESC',
+ 'enum' => ['ASC', 'DESC'],
],
],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '下一页标识。'."\n"
+ ."\n"
+ .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。', 'type' => 'string', 'required' => false, 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
+ 'TotalCount' => ['description' => '挂载点的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'NextToken' => ['description' => '下一页标识。'."\n"
+ ."\n"
+ .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。', 'type' => 'string', 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****'],
+ 'MountPoints' => [
+ 'description' => '挂载点信息集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '挂载点状态。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- Inactive:禁用挂载点'."\n"
+ .'- Active:激活挂载点', 'type' => 'string', 'example' => 'Inactive'],
+ 'VpcId' => ['description' => '专有网络ID。', 'type' => 'string', 'example' => 'vpc-iq8hhsk3ymzv9m4wn****'],
+ 'FileSystemId' => ['description' => '文件系统ID。', 'type' => 'string', 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
+ 'VSwitchId' => ['description' => '交换机ID。', 'type' => 'string', 'example' => 'vsw-iq8fymi327krd14mt****'],
+ 'MountPointId' => ['description' => '挂载点ID。', 'type' => 'string', 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com'],
+ 'Description' => ['description' => '挂载点的描述信息。', 'type' => 'string', 'example' => '将线上dfs挂载到VPC日志集群的交换机下'],
+ 'AccessGroupId' => ['description' => '权限组ID。', 'type' => 'string', 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ 'CreateTime' => ['description' => '挂载点的创建时间。', 'type' => 'string', 'example' => '2022-09-19T03:22:32.550267Z'],
+ 'NetworkType' => ['description' => '挂载点的网络类型。', 'type' => 'string', 'example' => 'VPC'],
+ 'MountPointDomain' => ['description' => '挂载点域名。'."\n"
+ ."\n"
+ .'您可以在已挂载的VPC网段内通过此域名访问文件存储 HDFS 版文件系统。', 'type' => 'string', 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'MountPointAlias' => ['description' => '挂载点别名。', 'type' => 'string', 'example' => 'hdfs1'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"NextToken\\": \\"MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****\\",\\n \\"MountPoints\\": [\\n {\\n \\"Status\\": \\"Inactive\\",\\n \\"VpcId\\": \\"vpc-iq8hhsk3ymzv9m4wn****\\",\\n \\"FileSystemId\\": \\"37af8f42-2abc-4e74-889d-664f5163****\\",\\n \\"VSwitchId\\": \\"vsw-iq8fymi327krd14mt****\\",\\n \\"MountPointId\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"Description\\": \\"将线上dfs挂载到VPC日志集群的交换机下\\",\\n \\"AccessGroupId\\": \\"acg-e3755fb0-358d-4286-9942-8d461048****\\",\\n \\"CreateTime\\": \\"2022-09-19T03:22:32.550267Z\\",\\n \\"NetworkType\\": \\"VPC\\",\\n \\"MountPointDomain\\": \\"f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"MountPointAlias\\": \\"hdfs1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<MountPoints>\\n <Status>Inactive</Status>\\n <MountPointDomain>037cb49e1d-c***5.cn-hangzhou.dfs.aliyuncs.com</MountPointDomain>\\n <MountPointId>037cb49e1d-c***5</MountPointId>\\n <Description>将线上dfs挂载到vpc日志集群的交换机下</Description>\\n <VpcId>vpc-bp1lfyerqlol****ee6k7</VpcId>\\n <NetworkType>VPC</NetworkType>\\n <CreateTime>2021-01-05 12:30:15</CreateTime>\\n <VSwitchId>vsw-bp11990m3zf3h****vmqh</VSwitchId>\\n <FileSystemId>037c****1d</FileSystemId>\\n <AccessGroupId>c5ffd6-bf****bd</AccessGroupId>\\n <RegionId>cn-hangzhou</RegionId>\\n</MountPoints>\\n<TotalCount>1</TotalCount>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '批量查询挂载点信息',
+ 'summary' => '批量查询挂载点信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-12-20T03:15:45.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-07-03T05:58:29.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2024-02-19T12:42:07.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'dfs:ListMountPoints',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","type":"json"}]',
- 'title' => '删除用户和组的映射关系 ',
- 'description' => '- 用户和用户组的映射功能目前还在邀测中,如需使用,请[提交工单](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c4g.11186623.0.0.24241ee9gQPwnE)申请。'."\n"
- .'- 文件存储HDFS版的文件系统权限管理依赖文件的用户和组,用户和组映射关系需要通过OpenAPI进行管理。有关文件存储HDFS文件系统目录和文件访问权限的信息,请参见[目录和文件访问权限](~~430865~~)。'."\n"
- ."\n"
- .'- 文件系统不允许删除用户和组,只能删除用户和组的映射关系。即一旦一个用户或组以任何方式添加到了文件系统中,则其不会被删除。',
],
'ListUserGroupsMappings' => [
'summary' => '查看文件存储 HDFS 版文件系统实例的用户和组的映射关系 。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3476,54 +2963,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统所在的Region。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '文件系统所在的Region。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'FilesystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件存储 HDFS 版的文件系统实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'schema' => ['description' => '文件存储 HDFS 版的文件系统实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询的下一页起始点,首次查询是为空字符串,如果需要分页查询,则每个请求的返回值中会包含下次请求的NextToken值。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'user1',
- ],
+ 'schema' => ['description' => '分页查询的下一页起始点,首次查询是为空字符串,如果需要分页查询,则每个请求的返回值中会包含下次请求的NextToken值。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'user1'],
],
[
'name' => 'Limit',
'in' => 'query',
- 'schema' => [
- 'description' => '每次查询需要返回的用户个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每次查询需要返回的用户个数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10'],
],
],
'responses' => [
@@ -3533,43 +2993,23 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'HasMore' => [
- 'description' => '使用分页查询是,指示是否还有数据。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NextToken' => [
- 'description' => '下次分页查询的NextToken值。',
- 'type' => 'string',
- 'example' => 'user1',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
+ 'HasMore' => ['description' => '使用分页查询是,指示是否还有数据。', 'type' => 'boolean', 'example' => 'true'],
+ 'NextToken' => ['description' => '下次分页查询的NextToken值。', 'type' => 'string', 'example' => 'user1'],
'UserGroupsMappings' => [
'description' => '文件系统中存在的用户和组的映射关系。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'UserName' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => 'user1',
- ],
+ 'UserName' => ['description' => '用户名。', 'type' => 'string', 'example' => 'user1'],
'GroupNames' => [
'description' => '用户名所属的组列表。',
'type' => 'array',
- 'items' => [
- 'description' => '组名。',
- 'type' => 'string',
- 'example' => 'group1',
- ],
+ 'items' => ['description' => '组名。', 'type' => 'string', 'example' => 'group1'],
],
],
+ 'description' => '',
],
],
],
@@ -3584,15 +3024,26 @@
.'- 单个文件系统最多添加 1000 个用户。'."\n"
.'- 单个文件系统最多添加 30 个组。'."\n"
.'- 每个用户最多属于 10 个组。',
- ],
- 'CreateVscMountPoint' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-18T10:04:47.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:ListUserGroupsMappings',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyAccessGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3600,64 +3051,33 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'FileSystemId',
+ 'name' => 'AccessGroupName',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****',
- ],
+ 'schema' => ['description' => '权限组名称。命名规则如下:'."\n"
+ ."\n"
+ .'- 长度为6~64个字符。'."\n"
+ ."\n"
+ .'- 全局唯一且不能为空串。'."\n"
+ ."\n"
+ .'- 支持英文字母,可包含数字、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'my-online-cluster-policy'],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Description',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '待挂载文件存储 HDFS 版文件系统的ECS实例ID。 '."\n"
- ."\n"
- .'添加多个ECS实例ID时,使用半角逗号(,)分隔。最多支持100个ECS实例ID。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- 'docRequired' => false,
- 'example' => '['."\n"
- .' "i-bp1g6zv0ce8oghu7****",'."\n"
- .' "i-bp1g6zv0ce8oghu1****"'."\n"
- .']',
- ],
+ 'schema' => ['description' => '权限组描述。', 'type' => 'string', 'required' => false, 'example' => '线上集群网段专用策略'],
],
[
- 'name' => 'Description',
+ 'name' => 'AccessGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '挂载点描述信息。'."\n"
- ."\n"
- .'长度为0~100个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '内部实例挂载的HDFS文件系统。',
- ],
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
],
],
'responses' => [
@@ -3665,36 +3085,39 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'MountPointId' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"MountPointId\\": \\"e389e5c7-bcb4-4558-846a-e5afc444****\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<MountPointId>037cb49e1d-c***5</MountPointId>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '创建VSC挂载点',
- 'summary' => '创建一个VSC挂载点。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '修改权限组信息',
+ 'summary' => '修改一个权限组信息。',
+ 'description' => 'VPC默认权限组(DefaultAccessGroupName)不支持修改。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteVscMountPoint' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:06.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'dfs:ModifyAccessGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyAccessRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3702,72 +3125,92 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'InputRegionId',
+ 'name' => 'AccessGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
],
[
- 'name' => 'MountPointId',
+ 'name' => 'AccessRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'f-037cb49e1d-c****.com',
- ],
+ 'schema' => ['description' => '权限组规则ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acr-c38028f0-f313-4385-9456-3501b1f5****'],
],
[
- 'name' => 'FileSystemId',
+ 'name' => 'RWAccessType',
'in' => 'query',
'schema' => [
- 'description' => '文件系统ID。',
+ 'description' => '授权对象对文件系统的读写权限。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- RDWR:可读可写'."\n"
+ .'- RDONLY:只读',
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444**** ',
+ 'required' => false,
+ 'example' => 'RDWR',
+ 'enum' => ['RDWR', 'RDONLY'],
],
],
+ [
+ 'name' => 'Priority',
+ 'in' => 'query',
+ 'schema' => ['description' => '权限组规则优先级。'."\n"
+ ."\n"
+ .'取值范围:1~100,其中1为最高优先级。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'example' => '2'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '权限组规则描述。'."\n"
+ ."\n"
+ .'长度不超过32个字符。', 'type' => 'string', 'required' => false, 'example' => '日志上传机器网段'],
+ ],
+ [
+ 'name' => 'InputRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '删除VSC挂载点',
- 'summary' => '删除已存在的VSC挂载点。',
+ 'title' => '修改权限组规则',
+ 'summary' => '修改一个权限组规则。',
+ 'description' => 'VPC默认权限组(DefaultAccessGroupName)中的规则不支持修改。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'AttachVscMountPoint' => [
- 'summary' => '为挂载点添加计算实例。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:06.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'dfs:ModifyAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyFileSystem' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3775,130 +3218,68 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'high',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '65232',
- 'abilityTreeNodes' => [
- 'FEATUREalidfs5EIDCS',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'MountPointId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com',
- ],
- ],
- [
- 'name' => 'VscType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'VSC类型。'."\n"
- .'取值: '."\n"
- .'- Primary(默认值):ECS实例上的预留默认VSC'."\n"
- .'- Secondary:ECS实例上的可重复VSC',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'Primary',
- ],
- ],
- [
- 'name' => 'InstanceIds',
+ 'name' => 'FileSystemName',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '待挂载文件存储 HDFS 版文件系统的ECS实例ID。 添加多个ECS实例ID时,使用半角逗号(,)分隔。最多支持100个ECS实例ID。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- 'docRequired' => false,
- 'example' => '['."\n"
- .' "i-bp1g6zv0ce8oghu7****",'."\n"
- .' "i-bp1g6zv0ce8oghu1****"'."\n"
- .']',
- ],
+ 'schema' => ['description' => '文件系统名称。命名规则如下:'."\n"
+ ."\n"
+ .'- 长度为6~64个字符。'."\n"
+ .'- 全局唯一且不能为空串。'."\n"
+ .'- 支持英文字母,可包含数字、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'MyFirstModDFS'],
],
[
- 'name' => 'VscIds',
+ 'name' => 'SpaceCapacity',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '待挂载HDFS文件系统的VSC ID。'."\n"
- .'建议添加不超过100个VSC ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'VSC ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsc-asjodjoio****',
- ],
- 'required' => false,
- 'docRequired' => false,
- ],
+ 'schema' => ['description' => '文件系统容量预算。'."\n"
+ ."\n"
+ .'当实际数据存储达到文件系统容量后,数据将无法写入。文件系统容量不支持缩小。'."\n"
+ ."\n"
+ .'单位:GB', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '10485760', 'minimum' => '1', 'example' => '1024'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '预留字段,无实际意义。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '无',
- ],
+ 'schema' => ['description' => '文件系统描述信息。'."\n"
+ ."\n"
+ .'长度不超过32个字符。', 'type' => 'string', 'required' => false, 'example' => '这是我公司的第一个文件存储HDFS版实例。'],
],
[
'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
],
[
- 'name' => 'UseAssumeRoleChkServerPerm',
+ 'name' => 'ThroughputMode',
'in' => 'query',
'schema' => [
- 'description' => '是否使用扮演者检验计算节点权限。'."\n"
+ 'description' => '吞吐模式。'."\n"
+ ."\n"
+ .'取值:'."\n"
."\n"
- .'- true:是'."\n"
- .'- false(默认值):否',
- 'type' => 'boolean',
+ .'- Standard:标准吞吐'."\n"
+ .'- Provisioned:预置吞吐',
+ 'type' => 'string',
'required' => false,
- 'example' => 'false',
+ 'example' => 'Standard',
+ 'default' => '',
+ 'enum' => ['Standard', 'Provisioned'],
],
],
[
- 'name' => 'VscName',
+ 'name' => 'ProvisionedThroughputInMiBps',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '预置吞吐量。当ThroughputMode取值为Provisioned时,此参数为必填项。'."\n"
+ ."\n"
+ .'单位:MB/s'."\n"
+ ."\n"
+ .'取值范围:1~5120', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '51200', 'minimum' => '1', 'example' => '1024', 'default' => ''],
],
],
'responses' => [
@@ -3906,32 +3287,39 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '绑定VSC挂载点',
- 'description' => '****',
- ],
- 'BindVscMountPointAlias' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '修改文件系统属性',
+ 'summary' => '修改文件系统属性。',
+ 'description' => '在修改文件系统前,请先了解文件存储 HDFS 版的[计费方式](~~419020~~)和[HDFS产品定价](https://www.aliyun.com/price/product?spm=openapi-amp.newDocPublishment.0.0.3fbc281fRrtedx#/alidfs/detail/alidfs)。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-18T07:00:47.000Z', 'description' => '请求参数发生变更、错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'dfs:ModifyFileSystem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/{#FileSystemId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ModifyMountPoint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3939,51 +3327,48 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'InputRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'MountPointId',
'in' => 'query',
- 'schema' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com',
- ],
+ 'schema' => ['description' => '挂载点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'f-37af8f42f****.cn-hangzhou.dfs.aliyuncs.com'],
],
[
- 'name' => 'AliasPrefix',
+ 'name' => 'AccessGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '权限组ID。', 'type' => 'string', 'required' => false, 'example' => 'acg-e3755fb0-358d-4286-9942-8d461048****'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '挂载点的描述信息。', 'type' => 'string', 'required' => false, 'example' => '将线上dfs挂载到VPC日志集群的交换机下'],
+ ],
+ [
+ 'name' => 'Status',
'in' => 'query',
'schema' => [
- 'description' => '挂载点别名。',
+ 'description' => '挂载点状态。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- Inactive:禁用挂载点'."\n"
+ .'- Active:激活挂载点',
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'sdfe',
+ 'required' => false,
+ 'example' => 'Inactive',
+ 'enum' => ['Active', 'Inactive'],
],
],
[
'name' => 'FileSystemId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****',
- ],
+ 'schema' => ['description' => '文件系统ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '37af8f42-2abc-4e74-889d-664f5163****'],
],
],
'responses' => [
@@ -3991,730 +3376,716 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'MountPointAlias' => [
- 'description' => '挂载点别名。',
- 'type' => 'string',
- 'example' => 'sdfe',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"MountPointAlias\\": \\"sdfe\\",\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>\\n<MountPointAlias>sdfe</MountPointAlias>","errorExample":""}]',
- 'title' => '绑定VSC挂载点别名',
- 'summary' => '为文件系统绑定VSC挂载点别名。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
+ 'title' => '修改挂载点信息',
+ 'summary' => '修改一个挂载点信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
+ 'changeSet' => [
+ ['createdAt' => '2024-02-19T12:42:06.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'dfs:ModifyMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
],
- 'DetachVscMountPoint' => [
- 'methods' => [
- 'post',
+ ],
+ 'endpoints' => [
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dfs.ap-southeast-1.aliyuncs.com', 'endpoint' => 'dfs.ap-southeast-1.aliyuncs.com', 'vpc' => 'dfs-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dfs.cn-beijing.aliyuncs.com', 'endpoint' => 'dfs.cn-beijing.aliyuncs.com', 'vpc' => 'dfs-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dfs.cn-chengdu.aliyuncs.com', 'endpoint' => 'dfs.cn-chengdu.aliyuncs.com', 'vpc' => 'dfs-vpc.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dfs.cn-hangzhou.aliyuncs.com', 'endpoint' => 'dfs.cn-hangzhou.aliyuncs.com', 'vpc' => 'dfs-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dfs.cn-heyuan.aliyuncs.com', 'endpoint' => 'dfs.cn-heyuan.aliyuncs.com', 'vpc' => 'dfs-vpc.cn-heyuan.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dfs.cn-shanghai.aliyuncs.com', 'endpoint' => 'dfs.cn-shanghai.aliyuncs.com', 'vpc' => 'dfs-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'dfs.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'dfs.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'dfs-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'dfs.us-east-1.aliyuncs.com', 'endpoint' => 'dfs.us-east-1.aliyuncs.com', 'vpc' => 'dfs-vpc.us-east-1.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => 'AccessGroup.HasAccessRule', 'message' => 'The current access group cannot be deleted because it contains rules.', 'http_code' => 403, 'description' => '当前权限组下存在权限组规则,无法删除。'."\n"],
+ ['code' => 'AccessGroup.NameExist', 'message' => 'An access group instance with the same name already exists.', 'http_code' => 403, 'description' => '已存在同名权限组实例,请您选用其他名字。'],
+ ['code' => 'AccessGroup.ReferenceByMountPoint', 'message' => 'The current access group cannot be deleted because it is referenced by mount points.', 'http_code' => 403, 'description' => '当前权限组被挂载点引用,无法删除。'],
+ ['code' => 'AccessGroup.TooMany', 'message' => 'The maximum number of access groups is exceeded.', 'http_code' => 403, 'description' => '权限组数量已经超过限制,无法继续创建。'],
+ ['code' => 'AccessRule.NetworkSegmentExist', 'message' => 'An error occurred. An access group rule already exists for the specified network segment. You can modify the existing rule to implement access control.', 'http_code' => 403, 'description' => '已经存在一条关于该网络地址(段)的权限组规则,无法继续创建。可以通过修改已有权限组规则来实现访问控制。'],
+ ['code' => 'AccessRule.TooMany', 'message' => 'The maximum number of access groups is exceeded.', 'http_code' => 403, 'description' => '权限组数量已经超过限制,无法继续创建。'."\n"],
+ ['code' => 'DirectoryQosLimit.DirectoryQosLimitNotExists', 'message' => 'DirectoryQosLimit not exists.', 'http_code' => 400, 'description' => '目录流控规则不存在'],
+ ['code' => 'DirectoryQosLimit.FileSystemNotExists', 'message' => 'FileSystem not exists.', 'http_code' => 400, 'description' => '文件系统不存在'],
+ ['code' => 'DirectoryQosLimit.InvalidParam', 'message' => '%s.', 'http_code' => 400, 'description' => '输入参数不合法'],
+ ['code' => 'DirectoryQosLimit.TooMany', 'message' => '%s.', 'http_code' => 400, 'description' => '创建的目录流控规则数量已到达上限'],
+ ['code' => 'Federation.InvalidParam', 'message' => '%s.', 'http_code' => 400, 'description' => 'Federation参数非法'],
+ ['code' => 'FileSystem.FunctionTooFrequently', 'message' => 'Function too frequently, please try again.', 'http_code' => 400, 'description' => '多次方法调用时间间隔过小,请重试。'],
+ ['code' => 'FileSystem.HasMountPoint', 'message' => 'The current file system instance cannot be deleted because it contains mount points.', 'http_code' => 403, 'description' => '当前文件系统实例下存在挂载点,无法删除。'],
+ ['code' => 'FileSystem.TooMany', 'message' => 'The maximum number of file system instances is exceeded.', 'http_code' => 403, 'description' => '文件系统实例数量已经超过限制,无法继续创建。'],
+ ['code' => 'IdempotentParameterMismatch', 'message' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'http_code' => 400, 'description' => '用于幂等的 client token 数值不一致。'],
+ ['code' => 'InternalError', 'message' => 'An internal error occurred. Please try again. If the error persists, submit a ticket.', 'http_code' => 500, 'description' => '内部错误。建议重试,如果多次重试报错请提交工单。'],
+ ['code' => 'InvalidParameter.AccessGroupNotFound', 'message' => 'No access group instance is found. The instance may have been deleted or an incorrect access group ID was used.', 'http_code' => 400, 'description' => '未发现权限组实例。实例可能已经被删除,或者使用了错误的权限组ID。'],
+ ['code' => 'InvalidParameter.AccessRuleNotFound', 'message' => 'The specified access rule is not found. The rule may have been deleted, or the rule ID is incorrect.', 'http_code' => 400, 'description' => '未发现权限组规则。权限组规则可能已经被删除,或者使用了错误的权限组规则ID。'],
+ ['code' => 'InvalidParameter.FileSystemInvalidCapacity', 'message' => 'The specified file system capacity is invalid. For more information, see API reference and DFS restrictions.', 'http_code' => 400, 'description' => '非法的文件系统空间参数,请查阅API文档说明和DFS使用限制。'],
+ ['code' => 'InvalidParameter.FileSystemNameExist', 'message' => 'File system instance with the same name already exist.', 'http_code' => 400, 'description' => '已存在同名文件系统实例,请您选用其他名字。'],
+ ['code' => 'InvalidParameter.FileSystemNotFound', 'message' => 'The specified file system instance is not found. The instance may have been deleted, or the instance ID is incorrect.', 'http_code' => 400, 'description' => '未发现文件系统实例。文件系统实例可能已经被删除,或者使用了错误的文件系统实例ID。'],
+ ['code' => 'InvalidParameter.InvalidNetworkFormat', 'message' => 'The specified network segment for the access rule is incorrectly formatted. For more information, see API reference.', 'http_code' => 400, 'description' => '创建权限组规则时,传入的授权地址格式错误,请查阅API说明文档。'],
+ ['code' => 'InvalidParameter.InvalidParameter', 'message' => 'The specified parameters are invalid. Follow the instructions in API reference to make a modification.', 'http_code' => 400, 'description' => '非法参数,请参照API说明文档进行核对修正。'],
+ ['code' => 'InvalidParameter.MissingRequiredParameter', 'message' => 'Required parameters are missing. Follow the instructions in the API reference to make a modification and try again.', 'http_code' => 400, 'description' => '必填参数没有填。请查阅API文档修正,并重试。'],
+ ['code' => 'InvalidParameter.MountPointInvalidStatus', 'message' => 'The specified mount point status is invalid. For more information, see API reference.', 'http_code' => 400, 'description' => '非法的挂载点状态,请查阅API文档。'],
+ ['code' => 'InvalidParameter.MountPointInvalidVpc', 'message' => 'The VPC ID used to create the mount point is invalid. Possible causes include: The used VPC ID is incorrect, the VPC and the file system are in different regions, or the VSwitch ID of the VPC does not belong to the VPC.', 'http_code' => 400, 'description' => '创建挂载点时使用了错误的VPC网络ID。可能使用了错误的VPC网络ID,或者VPC网络与文件系统不在同一地域,或者VPC虚拟交换机ID不属于VPC网络。'."\n"],
+ ['code' => 'InvalidParameter.MountPointInvalidVswitch', 'message' => 'The VSwitch ID used to create the mount point is invalid. Possible causes include: The used VSwitch ID is incorrect, or the VSwitch and the file system are in different regions.', 'http_code' => 400, 'description' => '创建挂载点时使用了错误的VPC网络交换机ID。可能使用了错误的VPC网络交换机ID,或者VPC网络交换机与文件系统不在同一地域。'],
+ ['code' => 'InvalidParameter.MountPointNotFound', 'message' => 'No mount point instance is found. The instance may have been deleted, or an incorrect mount point ID was used.', 'http_code' => 400, 'description' => '未发现挂载点实例。实例可能已经被删除,或者使用了错误的挂载点ID。'."\n"],
+ ['code' => 'InvalidParameter.RegionNotMatch', 'message' => 'The specified region in the request does not match the region in the backend service.', 'http_code' => 400, 'description' => '请求携带的Region信息与后端服务所在的Region不匹配。'],
+ ['code' => 'InvalidParameter.UnsupportedApi', 'message' => 'DFS does not support the specified API.', 'http_code' => 400, 'description' => 'DFS不支持该API'],
+ ['code' => 'InvalidParameter.UnsupportedCallerType', 'message' => 'DFS does not support the specified account type.', 'http_code' => 400, 'description' => 'DFS尚未支持该账号类型。'],
+ ['code' => 'InvalidParameter.UnsupportedContentType', 'message' => 'The content-type parameter in the HTTP request is not supported. Submit a ticket.', 'http_code' => 400, 'description' => '不支持HTTP请求中携带的content-type,请提交工单。'],
+ ['code' => 'InvalidParameter.UserGroupsMappingInvalidGroupName', 'message' => 'Invalid group name', 'http_code' => 400, 'description' => '组名不合法。'],
+ ['code' => 'InvalidParameter.UserGroupsMappingInvalidUserName', 'message' => 'Invalid user name', 'http_code' => 400, 'description' => '用户名不合法。'],
+ ['code' => 'InvalidParameter.VscAgentNotExist', 'message' => 'VscAgentId Not Exist', 'http_code' => 400, 'description' => 'vsc agent id不存在'],
+ ['code' => 'MountPoint.Exist', 'message' => 'A mount point has already been created for the specified VSwitch and access group. Use different VSwitch or access group to create the mount point.', 'http_code' => 403, 'description' => '同一个VPC虚拟交换机和权限组组合下只能创建一个挂载点。请使用其他VPC虚拟交换机或权限组创建挂载点。'],
+ ['code' => 'MountPoint.TooMany', 'message' => 'The maximum number of the mount points in the specified file system is exceeded.', 'http_code' => 403, 'description' => '该文件系统下的挂载点数量已经超过限制,无法继续创建。'],
+ ['code' => 'PosixFileSystem.NotFound', 'message' => 'Posix file system not found.', 'http_code' => 404, 'description' => '找不到Posix文件系统'],
+ ['code' => 'PosixFileSystem.NotSupport', 'message' => 'Posix interface not support now.', 'http_code' => 400, 'description' => 'Posix功能当前未开放。'],
+ ['code' => 'QosPolicy.DefinitionConflict', 'message' => '%s.', 'http_code' => 403, 'description' => 'QosPolicy定义冲突'],
+ ['code' => 'QosPolicy.FederationNotExists', 'message' => '%s.', 'http_code' => 403, 'description' => 'Federation不存在'],
+ ['code' => 'QosPolicy.FileSystemNotExists', 'message' => 'Filesystem not found.', 'http_code' => 403, 'description' => '文件系统不存在'],
+ ['code' => 'QosPolicy.FlowIdInvalid', 'message' => '%s.', 'http_code' => 403, 'description' => 'FlowId非法'],
+ ['code' => 'QosPolicy.InvalidParam', 'message' => '%s.', 'http_code' => 403, 'description' => 'QosPolicy参数非法'],
+ ['code' => 'QosPolicy.QosPolicyNotExists', 'message' => '%s.', 'http_code' => 403, 'description' => 'QosPolicy不存在'],
+ ['code' => 'QosPolicy.QosPolicyTooMany', 'message' => 'QosPolicy Count Limit Exceeded.', 'http_code' => 403, 'description' => '用户创建的QosPolicy数量达到了上限'],
+ ['code' => 'QosPolicy.ZoneIdInvalid', 'message' => '%s.', 'http_code' => 403, 'description' => 'ZoneId非法'],
+ ['code' => 'Ram.DfsCheckFailed', 'message' => 'You have failed RAM authorization check. Check whether the account has sufficient permissions.', 'http_code' => 403, 'description' => '未通过权限检查,请检查账号是否有足够的权限。'],
+ ['code' => 'Ram.VpcCheckFailed', 'message' => 'You have failed RAM authorization check. Check whether you have sufficient permissions to operate on the resources of the specified VPC.', 'http_code' => 403, 'description' => '未通过权限检查,请检查是否有足够权限操作该VPC资源。'],
+ ['code' => 'ServiceBusy', 'message' => 'The service is unavailable now. Please try again later.', 'http_code' => 503, 'description' => '服务忙,请稍后重试。'],
+ ['code' => 'ServiceUnavailable', 'message' => 'The service is unavailable now. The system is being updated. Please try again later.', 'http_code' => 503, 'description' => '服务暂时不可用(底层服务不可用)。系统正在升级,暂时不可用,可稍后尝试。'],
+ ['code' => 'Sts.DfsCheckFailed', 'message' => 'You have failed STS authorization check. Check whether you have sufficient permissions.', 'http_code' => 403, 'description' => '未通过STS权限检查,请检查是否有足够权限。'],
+ ['code' => 'Sts.VpcCheckFailed', 'message' => 'You have failed STS authorization check. Check whether you have sufficient permissions to operate on the resources of the specified VPC.', 'http_code' => 403, 'description' => '未通过STS权限检查,请检查是否有足够权限操作该VPC资源。'],
+ ['code' => 'User.Disabled', 'message' => 'You have not activated DFS.', 'http_code' => 403, 'description' => '您尚未开通DFS服务。'],
+ ['code' => 'User.Indebt', 'message' => 'Insufficient account balance. Please add funds.', 'http_code' => 403, 'description' => '您已欠费,请充值。'],
+ ['code' => 'User.StatusInvalid', 'message' => 'Abnormal account status. Check whether DFS has been activated for the account or whether the account has an outstanding payment. If the issue persists, submit a ticket.', 'http_code' => 403, 'description' => '账号状态异常。请检查是否开通DFS服务,是否欠费。如仍未解决,请提交工单。'],
+ ['code' => 'VscMountPoint.HasInstance', 'message' => 'The VSC mount point contains an ECS instance and cannot be deleted.', 'http_code' => 403, 'description' => '当前VSC挂载点下存在ECS实例,无法删除。'],
+ ['code' => 'VscMountPoint.NotFound', 'message' => 'The VSC mount point does not exist.', 'http_code' => 403, 'description' => 'Vsc挂载点不存在'],
+ ],
+ 'changeSet' => [
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'AttachVscMountPoint'],
+ ['description' => '请求参数发生变更', 'api' => 'DetachVscMountPoint'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'createdAt' => '2025-01-02T07:42:12.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateMountPoint'],
],
- 'security' => [
- [
- 'AK' => [],
- ],
+ 'createdAt' => '2025-01-02T06:16:10.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'GetMountPoint'],
+ ['description' => '响应参数发生变更', 'api' => 'ListMountPoints'],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '65248',
- 'abilityTreeNodes' => [
- 'FEATUREalidfs5EIDCS',
- ],
+ 'createdAt' => '2024-12-20T03:15:53.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateFileSystem'],
],
- 'parameters' => [
- [
- 'name' => 'InputRegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ 'createdAt' => '2024-07-05T09:41:48.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListAccessGroups'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListAccessRules'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListFileSystems'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListMountPoints'],
+ ],
+ 'createdAt' => '2024-07-03T05:58:38.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateFileSystem'],
+ ],
+ 'createdAt' => '2024-05-11T07:03:46.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'DeleteUserGroupsMapping'],
+ ],
+ 'createdAt' => '2024-04-23T06:42:34.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'AttachVscMountPoint'],
+ ['description' => '请求参数发生变更', 'api' => 'CreateVscMountPoint'],
+ ['description' => '请求参数发生变更', 'api' => 'DetachVscMountPoint'],
+ ],
+ 'createdAt' => '2024-04-07T08:23:46.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '错误码发生变更', 'api' => 'CreateAccessGroup'],
+ ['description' => '错误码发生变更', 'api' => 'CreateAccessRule'],
+ ['description' => '错误码发生变更', 'api' => 'CreateMountPoint'],
+ ['description' => '响应参数发生变更', 'api' => 'CreateUserGroupsMapping'],
+ ['description' => '错误码发生变更', 'api' => 'DeleteAccessGroup'],
+ ['description' => '错误码发生变更', 'api' => 'DeleteAccessRule'],
+ ],
+ 'createdAt' => '2024-02-19T12:43:26.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateVscMountPoint'],
+ ],
+ 'createdAt' => '2024-01-05T02:39:21.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateFileSystem'],
+ ],
+ 'createdAt' => '2023-11-15T12:00:54.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateFileSystem'],
+ ],
+ 'createdAt' => '2023-08-24T12:20:26.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateUserGroupsMapping'],
+ ],
+ 'createdAt' => '2023-03-24T08:25:41.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'DeregisterVscAgentId'],
+ ['description' => 'OpenAPI 下线', 'api' => 'GetVscAgentId'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ListVscAgentIds'],
+ ['description' => 'OpenAPI 下线', 'api' => 'RegisterVscAgentId'],
+ ],
+ 'createdAt' => '2022-11-22T14:42:46.000Z',
+ 'description' => '新增PoVOnHost相关管控接口。',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'AttachPosixFileSystem'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreatePosixFileSystem'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DeletePosixFileSystem'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribePosixFileSystem'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeWorkflow'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DetachPosixFileSystem'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ModifyPosixFileSystem'],
+ ],
+ 'createdAt' => '2022-06-10T08:54:07.000Z',
+ 'description' => '1. 发布Posix相关生命周期Api',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'CreateFileSystem'],
+ ],
+ 'createdAt' => '2022-05-27T07:43:05.000Z',
+ 'description' => 'CreateFileSystem API 预置吞吐带宽上限调整为 5GBps。',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更、错误码发生变更', 'api' => 'GetFileSystem'],
+ ['description' => '响应参数发生变更、错误码发生变更', 'api' => 'ListFileSystems'],
+ ],
+ 'createdAt' => '2022-03-31T09:30:31.000Z',
+ 'description' => '目前还未商业化,未对外公布API',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateUserGroupsMapping'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DeleteUserGroupsMapping'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ListUserGroupsMappings'],
+ ],
+ 'createdAt' => '2022-03-18T10:07:47.000Z',
+ 'description' => 'DFS 3.0.0.0 版本新增 OpenAPI:ListUserGroupsMappings, CreateUserGroupsMapping, DeleteUserGroupsMapping',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'ModifyFileSystem'],
+ ],
+ 'createdAt' => '2022-03-18T09:11:42.000Z',
+ 'description' => '调整预置带宽上限',
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAccessGroups'],
+ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachVscMountPoint'],
+ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachVscMountPoint'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateVscMountPoint'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAccessGroup'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVscMountPoint'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteMountPoint'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListFileSystems'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeRegions'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateMountPoint'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyMountPoint'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'BindVscMountPointAlias'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAccessRule'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetRegion'],
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVscMountPoints'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAccessRule'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAccessGroup'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetFileSystem'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUserGroupsMapping'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListUserGroupsMappings'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMountPointsVscAttachInfo'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAccessRules'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAccessGroup'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetMountPoint'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAccessRule'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateFileSystem'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserGroupsMapping'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListMountPoints'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyFileSystem'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAccessGroup'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachVscToMountPoints'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAccessRule'],
+ ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteFileSystem'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'DFS',
+ 'productName' => '文件存储HDFS版',
+ 'ramCodes' => ['dfs'],
+ 'ramLevel' => '资源级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'GetMountPoint',
+ 'description' => '查询挂载点信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:GetMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'MountPointId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com',
+ ],
+ [
+ 'apiName' => 'ListFileSystems',
+ 'description' => '批量获取文件系统详细信息',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'dfs:ListFileSystems',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/*'],
],
],
- [
- 'name' => 'InstanceIds',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '待解绑HDFS文件系统的ECS实例ID。'."\n"
- ."\n"
- .'添加多个ECS实例ID时,请使用半角逗号(,)间隔,建议添加不超过50个ECS实例ID。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- 'docRequired' => false,
- 'example' => '['."\n"
- .' "i-bp1g6zv0ce8oghu7****",'."\n"
- .' "i-bp1g6zv0ce8oghu1****"'."\n"
- .']',
+ ],
+ [
+ 'apiName' => 'CreateMountPoint',
+ 'description' => '创建挂载点',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'VscIds',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '待解绑HDFS文件系统的VSC ID。'."\n"
- ."\n"
- .'建议添加不超过50个VSC ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'VSC ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsc-asjodjoio****',
- ],
- 'required' => false,
- 'docRequired' => false,
+ ],
+ [
+ 'apiName' => 'CreateAccessRule',
+ 'description' => '创建权限规则',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '预留字段,无实际意义。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '无',
+ ],
+ [
+ 'apiName' => 'DeleteVscMountPoint',
+ 'description' => '删除VSC挂载点',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'FileSystemId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****',
+ ],
+ [
+ 'apiName' => 'DeleteMountPoint',
+ 'description' => '删除挂载点',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'UseAssumeRoleChkServerPerm',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否使用扮演者检验计算节点权限。'."\n"
- ."\n"
- .'- true:是'."\n"
- .'- false(默认值):否',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'GetAccessGroup',
+ 'description' => '获取权限组信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:GetAccessGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- ],
+ [
+ 'apiName' => 'ModifyAccessRule',
+ 'description' => '修改权限组规则',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'dfs:ModifyAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '解绑VSC挂载点',
- 'summary' => '为挂载点解绑计算实例。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeVscMountPoints' => [
- 'summary' => '获取VSC挂载点信息列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ModifyFileSystem',
+ 'description' => '修改文件系统属性',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'dfs:ModifyFileSystem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/{#FileSystemId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREalidfs5EIDCS',
+ [
+ 'apiName' => 'ListAccessRules',
+ 'description' => '批量查询权限组规则',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'dfs:ListAccessRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'InputRegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'DescribeMountPointsVscAttachInfo',
+ 'description' => '批量查询挂载信息',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'dfs:DescribeMountPointsVscAttachInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'MountPointId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com',
+ ],
+ [
+ 'apiName' => 'ModifyAccessGroup',
+ 'description' => '修改权限组信息',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'dfs:ModifyAccessGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'FileSystemId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文件系统ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'e389e5c7-bcb4-4558-846a-e5afc444****',
+ ],
+ [
+ 'apiName' => 'DeleteAccessGroup',
+ 'description' => '删除权限组',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteAccessGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'VscId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '已挂载HDFS文件系统的VSC ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsc-asjodjoio****',
+ ],
+ [
+ 'apiName' => 'CreateUserGroupsMapping',
+ 'description' => '创建用户和组的映射关系',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateUserGroupsMapping',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Status',
- 'in' => 'query',
- 'schema' => [
- 'description' => '已挂载HDFS文件系统的ECS实例状态。'."\n"
- ."\n"
- .'取值:'."\n"
- .'- NORMAL : 挂载成功。'."\n"
- .'- CREATING:挂载中。'."\n"
- .'- INVALID:挂载失败。'."\n"
- .'- OK:可查询到NORMAL、CREATING、INVALID三个状态的实例。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
+ ],
+ [
+ 'apiName' => 'DetachVscMountPoint',
+ 'description' => '解绑VSC挂载点',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DetachVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '已挂载HDFS文件系统的ECS实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-bp1g6zv0ce8oghu7****',
+ ],
+ [
+ 'apiName' => 'GetAccessRule',
+ 'description' => '查询权限组规则信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:GetAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'TotalCount' => [
- 'description' => '返回结果的数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'MountPoints' => [
- 'description' => '挂载点信息集合。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'MountPointId' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'example' => 'f-037cb49e1d-c****.dfs.aliyuncs.com',
- ],
- 'Description' => [
- 'description' => '挂载点描述信息。',
- 'type' => 'string',
- 'example' => '内部实例挂载的HDFS文件系统。',
- ],
- 'InstanceTotalCount' => [
- 'description' => '待挂载HDFS文件系统的ECS实例数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MountPointAlias' => [
- 'description' => '挂载点别名。',
- 'type' => 'string',
- 'example' => 'hdfs1',
- ],
- 'Instances' => [
- 'description' => '已挂载HDFS文件系统的ECS实例信息集合。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '已挂载HDFS文件系统的ECS实例状态。'."\n"
- ."\n"
- .'包括:'."\n"
- .'- NORMAL : 挂载成功。'."\n"
- .'- CREATING:挂载中。'."\n"
- .'- INVALID:挂载失败。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- 'InstanceId' => [
- 'description' => '已挂载HDFS文件系统的ECS实例ID。',
- 'type' => 'string',
- 'example' => 'i-bp1g6zv0ce8oghu7****',
- ],
- 'Vscs' => [
- 'description' => '已挂载HDFS文件系统的VSC列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'VscId' => [
- 'description' => 'VSC ID',
- 'type' => 'string',
- 'example' => 'vsc-asjodjoio****',
- ],
- 'VscType' => [
- 'description' => 'VSC类型。 '."\n"
- .'包括: '."\n"
- .'- Primary(默认值):ECS实例上的预留默认VSC '."\n"
- .'- Secondary:ECS实例上的可重复VSC',
- 'type' => 'string',
- 'example' => 'Primary',
- ],
- 'VscStatus' => [
- 'description' => 'VSC挂载状态。'."\n"
- .'包括:'."\n"
- ."\n"
- .'- NORMAL : 挂载成功。'."\n"
- .'- CREATING:挂载中。'."\n"
- .'- INVALID:挂载失败。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- 'VscName' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'CreateVscMountPoint',
+ 'description' => '创建VSC挂载点',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"MountPoints\\": [\\n {\\n \\"MountPointId\\": \\"f-037cb49e1d-c****.dfs.aliyuncs.com\\",\\n \\"Description\\": \\"内部实例挂载的HDFS文件系统。\\",\\n \\"InstanceTotalCount\\": 1,\\n \\"MountPointAlias\\": \\"hdfs1\\",\\n \\"Instances\\": [\\n {\\n \\"Status\\": \\"NORMAL\\",\\n \\"InstanceId\\": \\"i-bp1g6zv0ce8oghu7****\\",\\n \\"Vscs\\": [\\n {\\n \\"VscId\\": \\"vsc-asjodjoio****\\",\\n \\"VscType\\": \\"Primary\\",\\n \\"VscStatus\\": \\"NORMAL\\",\\n \\"VscName\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<MountPoints>\\n <MountPointId> 037cb49e1d-c***5</MountPointId>\\n <Description>内部实例挂载的HDFS文件系统。</Description>\\n <InstanceTotalCount>1</InstanceTotalCount>\\n <MountPointAlias>hdfs1</MountPointAlias>\\n <Instances>\\n <Status>AVAILABLE</Status>\\n <InstanceId>[\\"ecs-instance1\\", \\"ecs-instance2\\"]</InstanceId>\\n </Instances>\\n</MountPoints>\\n<TotalCount>1</TotalCount>\\n<RequestId>55C5FFD6-BF99-41BD-9C66-FFF39189****</RequestId>","errorExample":""}]',
- 'title' => '获取VSC挂载点信息列表',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'AttachVscToMountPoints' => [
- 'summary' => '批量挂载VSC挂载点',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ListMountPoints',
+ 'description' => '批量查询挂载点信息',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'dfs:ListMountPoints',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'high',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '65232',
- 'abilityTreeNodes' => [
- 'FEATUREalidfs5EIDCS',
+ [
+ 'apiName' => 'DeleteFileSystem',
+ 'description' => '删除文件系统',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteFileSystem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/{#FileSystemId}'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'InputRegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'AttachVscMountPoint',
+ 'description' => '绑定VSC挂载点',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:AttachVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'AttachInfos',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '挂载信息列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'VscId' => [
- 'description' => 'VSC ID,InstanceId与VscId只能设置一个,且必须设置一个',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsc-bp19yqmujug2r762cnabal',
- ],
- 'VscType' => [
- 'description' => 'VSC类型。'."\n"
- .'取值: '."\n"
- .'- Primary(默认值):ECS实例上的预留默认VSC'."\n"
- .'- Secondary:ECS实例上的可重复VSC',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Primary',
- ],
- 'MountPointId' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cfea9ae2ref87.cn-zhangjiakou.dfs.aliyuncs.com',
- ],
- 'InstanceId' => [
- 'description' => '已挂载HDFS文件系统的ECS实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-2zehyz70ednszl6rrfj6',
- ],
- 'VscName' => [
- 'description' => 'Vsc自定义的名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xc',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'docRequired' => false,
+ ],
+ [
+ 'apiName' => 'AttachVscToMountPoints',
+ 'description' => '批量挂载存储',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'dfs:AttachVscToMountPoints',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'UseAssumeRoleChkServerPerm',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否使用扮演者检验计算节点权限。'."\n"
- ."\n"
- .'- true:是'."\n"
- .'- false(默认值):否',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'ListUserGroupsMappings',
+ 'description' => '查看用户和组的映射关系 ',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:ListUserGroupsMappings',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- ],
+ [
+ 'apiName' => 'CreateFileSystem',
+ 'description' => '创建文件系统',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateFileSystem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/*'],
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\"\\n}","type":"json"}]',
- 'title' => '批量挂载存储',
- 'description' => '目前仅支持 1 个 Vsc 关联到多个 MountPoint,即 AttachInfos.InstanceId 或 AttachInfos.VscId 需相等',
- ],
- 'DescribeMountPointsVscAttachInfo' => [
- 'summary' => '批量挂载VSC挂载点',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'CreateAccessGroup',
+ 'description' => '创建权限组',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'dfs:CreateAccessGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'high',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '65232',
- 'abilityTreeNodes' => [
- 'FEATUREalidfs5EIDCS',
+ [
+ 'apiName' => 'ModifyMountPoint',
+ 'description' => '修改挂载点信息',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'dfs:ModifyMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'InputRegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文件系统所在的Region。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'DescribeVscMountPoints',
+ 'description' => '获取VSC挂载点信息列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:DescribeVscMountPoint',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'QueryInfos',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '查询信息列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'VscId' => [
- 'description' => '已挂载HDFS文件系统的VSC ID。VSC ID,InstanceId与VscId只能设置一个,且必须设置一个',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsc-bp19yqmujug2r18z0h9qal',
- ],
- 'MountPointId' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-9dd3c6bajmy110.cn-zhangjiakou.dfs.aliyuncs.com',
- ],
- 'InstanceId' => [
- 'description' => '已挂载HDFS文件系统的ECS实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'i-2zehyz70ednszl6rrfj6',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'docRequired' => false,
+ ],
+ [
+ 'apiName' => 'GetFileSystem',
+ 'description' => '获取文件系统详细信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'dfs:GetFileSystem',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/{#FileSystemId}'],
],
],
- [
- 'name' => 'UseAssumeRoleChkServerPerm',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否使用扮演者检验计算节点权限。'."\n"
- ."\n"
- .'- true:是'."\n"
- .'- false(默认值):否',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'DeleteUserGroupsMapping',
+ 'description' => '删除用户和组的映射关系 ',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteUserGroupsMapping',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '下一页标识。'."\n"
- ."\n"
- .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MYR6sz6qkmauspAy8oxjHP-tOLtD4KSv3DzI7G6iywTx1ZCExO50GtSuiTB9z0JppvYQ2iUa8s4HbcFanMQfDIlds4da87_Ax4UJMva****',
+ ],
+ [
+ 'apiName' => 'DeleteAccessRule',
+ 'description' => '删除权限组规则',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'dfs:DeleteAccessRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时每页行数。最大值为100。默认值:当不设置值或设置的值小于10时,默认值为10。当设置的值大于100时,默认值为100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
+ ],
+ [
+ 'apiName' => 'BindVscMountPointAlias',
+ 'description' => '绑定VSC挂载点别名',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'dfs:BindVscMountPointAlias',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '55C5FFD6-BF99-41BD-9C66-FFF39189****',
- ],
- 'NextToken' => [
- 'description' => '下一页标识。'."\n"
- ."\n"
- .'如果一次查询结果并没有完整返回所有的目录,则返回 NextToken 不为空。您可以在查询中上传正确的 NextToken 继续查询。',
- 'type' => 'string',
- 'example' => 'asd0daj****',
- ],
- 'TotalCount' => [
- 'description' => '挂载点的数量。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'AttachInfos' => [
- 'description' => '挂载信息列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'VscId' => [
- 'description' => '已挂载HDFS文件系统的VSC ID。',
- 'type' => 'string',
- 'example' => 'vsc-bp18fhqie89loyqixyieal',
- ],
- 'VscType' => [
- 'description' => 'VSC类型。 '."\n"
- .'包括: '."\n"
- .'- Primary(默认值):ECS实例上的预留默认VSC '."\n"
- .'- Secondary:ECS实例上的可重复VSC',
- 'type' => 'string',
- 'example' => 'Primary',
- ],
- 'MountPointId' => [
- 'description' => '挂载点ID。',
- 'type' => 'string',
- 'example' => 'f-9dd3c6bajmy110.cn-zhangjiakou.dfs.aliyuncs.com',
- ],
- 'InstanceId' => [
- 'description' => '已挂载HDFS文件系统的ECS实例ID。',
- 'type' => 'string',
- 'example' => 'vsc-agent-f5a9bb4b041541f595a0c239c9e0f971-cn-shanghai',
- ],
- 'VscStatus' => [
- 'description' => 'VSC挂载状态。',
- 'type' => 'string',
- 'example' => '- NORMAL : 挂载成功。'."\n"
- .'- CREATING:挂载中。'."\n"
- .'- INVALID:挂载失败。',
- ],
- 'VscName' => [
- 'description' => 'Vsc自定义的名称',
- 'type' => 'string',
- 'example' => 'cxc',
- ],
- ],
- ],
- ],
- 'MaxResults' => [
- 'description' => '分页查询时每页行数。最大值为100。默认值:当不设置值或设置的值小于10时,默认值为10。当设置的值大于100时,默认值为100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- ],
+ [
+ 'apiName' => 'ListAccessGroups',
+ 'description' => '批量查询权限组详细信息',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'dfs:ListAccessGroups',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'DFS', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C5FFD6-BF99-41BD-9C66-FFF39189****\\",\\n \\"NextToken\\": \\"asd0daj****\\",\\n \\"TotalCount\\": \\"1\\",\\n \\"AttachInfos\\": [\\n {\\n \\"VscId\\": \\"vsc-bp18fhqie89loyqixyieal\\",\\n \\"VscType\\": \\"Primary\\",\\n \\"MountPointId\\": \\"f-9dd3c6bajmy110.cn-zhangjiakou.dfs.aliyuncs.com\\",\\n \\"InstanceId\\": \\"vsc-agent-f5a9bb4b041541f595a0c239c9e0f971-cn-shanghai\\",\\n \\"VscStatus\\": \\"- NORMAL : 挂载成功。\\\\n- CREATING:挂载中。\\\\n- INVALID:挂载失败。\\",\\n \\"VscName\\": \\"cxc\\"\\n }\\n ],\\n \\"MaxResults\\": 50\\n}","type":"json"}]',
- 'title' => '批量查询挂载信息',
- 'description' => '只支持一个存储(MountPointId)对应多个计算(InstanceId、VscId) 和 一个计算(InstanceId、VscId)对应多个存储(MountPointId)',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'dfs.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'dfs.cn-zhangjiakou.aliyuncs.com',
],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'dfs.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'dfs.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'dfs.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'dfs.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'dfs.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'dfs.us-east-1.aliyuncs.com',
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/*'],
+ ['validationType' => 'always', 'resourceType' => 'FileSystem', 'arn' => 'acs:dfs:{#regionId}:{#accountId}:filesystem/{#FileSystemId}'],
],
],
];