diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/zh_cn/expressconnectrouter/2023-09-01/api-docs.php | |
| download | acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/zh_cn/expressconnectrouter/2023-09-01/api-docs.php')
| -rw-r--r-- | data/zh_cn/expressconnectrouter/2023-09-01/api-docs.php | 8615 |
1 files changed, 8615 insertions, 0 deletions
diff --git a/data/zh_cn/expressconnectrouter/2023-09-01/api-docs.php b/data/zh_cn/expressconnectrouter/2023-09-01/api-docs.php new file mode 100644 index 0000000..a5708b3 --- /dev/null +++ b/data/zh_cn/expressconnectrouter/2023-09-01/api-docs.php @@ -0,0 +1,8615 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'ExpressConnectRouter', + 'version' => '2023-09-01', + ], + 'directories' => [ + [ + 'id' => 249196, + 'title' => '地域', + 'type' => 'directory', + 'children' => [ + 'DescribeExpressConnectRouterRegion', + 'ListExpressConnectRouterSupportedRegion', + 'SynchronizeExpressConnectRouterInterRegionBandwidth', + 'CheckAddRegionToExpressConnectRouter', + ], + ], + [ + 'id' => 249201, + 'title' => '子实例管理', + 'type' => 'directory', + 'children' => [ + 'ModifyExpressConnectRouterChildInstance', + 'ModifyExpressConnectRouterAssociation', + 'AttachExpressConnectRouterChildInstance', + 'DetachExpressConnectRouterChildInstance', + 'DescribeExpressConnectRouterChildInstance', + 'DescribeInstanceGrantedToExpressConnectRouter', + 'RevokeInstanceFromExpressConnectRouter', + 'GrantInstanceToExpressConnectRouter', + ], + ], + [ + 'id' => 249210, + 'title' => '资源关联关系', + 'type' => 'directory', + 'children' => [ + 'CreateExpressConnectRouterAssociation', + 'DeleteExpressConnectRouterAssociation', + 'DescribeExpressConnectRouterAssociation', + ], + ], + [ + 'id' => 249214, + 'title' => '专线网关路由项', + 'type' => 'directory', + 'children' => [ + 'DisableExpressConnectRouterRouteEntries', + 'EnableExpressConnectRouterRouteEntries', + 'DescribeDisabledExpressConnectRouterRouteEntries', + 'DescribeExpressConnectRouterRouteEntries', + ], + ], + [ + 'id' => 249219, + 'title' => '标签及资源组', + 'type' => 'directory', + 'children' => [ + 'MoveResourceGroup', + 'ListTagResources', + 'UntagResources', + ], + ], + [ + 'id' => 249223, + 'title' => '专线网关(ECR)', + 'type' => 'directory', + 'children' => [ + 'CreateExpressConnectRouter', + 'DeleteExpressConnectRouter', + 'ModifyExpressConnectRouterInterRegionTransitMode', + 'ModifyExpressConnectRouterAssociationAllowedPrefix', + 'ModifyExpressConnectRouter', + 'DescribeExpressConnectRouterInterRegionTransitMode', + 'DescribeExpressConnectRouterAllowedPrefixHistory', + 'DescribeExpressConnectRouter', + 'ForceDeleteExpressConnectRouter', + ], + ], + [ + 'id' => 249233, + 'title' => '流日志', + 'type' => 'directory', + 'children' => [ + 'CreateFlowLog', + 'DeleteFlowlog', + 'ModifyFlowLogAttribute', + 'DescribeFlowLogs', + 'DeactivateFlowLog', + 'ActivateFlowLog', + 'TagResources', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'DescribeExpressConnectRouterRegion' => [ + 'summary' => '查询专线网关ECR(Express Connect Router)相关资源的所在地域列表。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '199494', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '要查询的专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-fu8rszhgv7623c****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeEcrRegionResponse>', + 'description' => 'RpcResponse<DescribeEcrRegionResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage **返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage **返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + 'RegionIdList' => [ + 'description' => '存在子资源的地域列表。', + 'type' => 'array', + 'items' => [ + 'description' => '存在子资源的地域。', + 'type' => 'string', + 'example' => '[\\"cn-shanghai\\"]', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\",\\n \\"RegionIdList\\": [\\n \\"[\\\\\\\\\\\\\\"cn-shanghai\\\\\\\\\\\\\\"]\\"\\n ]\\n}","type":"json"}]', + 'title' => '查询专线网关(ECR)相关资源的所在地域列表', + ], + 'ListExpressConnectRouterSupportedRegion' => [ + 'summary' => '查询专线网关ECR(Express Connect Router)开服地域列表。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213773', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'NodeType', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的类型。取值:'."\n" + .'- **TR**:转发路由器实例。'."\n" + .'- **VBR**:边界路由器实例。'."\n" + .'- **VPC**:虚拟专有网络实例。', + 'type' => 'string', + 'required' => true, + 'example' => 'VBR', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<ListEcrSupportedRegionResponse>', + 'description' => '返回数据结构体。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****'."\n", + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- True:成功。'."\n" + .'- False:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'SupportedRegionIdList' => [ + 'description' => '开服地域列表。', + 'type' => 'array', + 'items' => [ + 'description' => '开服地域。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"SupportedRegionIdList\\": [\\n \\"cn-hangzhou\\"\\n ]\\n}","type":"json"}]', + 'title' => '查询专线网关(ECR)开服地域列表', + ], + 'SynchronizeExpressConnectRouterInterRegionBandwidth' => [ + 'summary' => '同步专线网关ECR(Express Connect Router)的各地域之间的转发带宽限制。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197625', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect9IGKFS', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-fu8rszhgv7623c****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<SyncEcrBandwidthResponse>', + 'description' => 'RpcResponse<SyncEcrBandwidthResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsInstanceId**,则代表所传入的请求参数**DtsInstanceId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '同步专线网关ECR的跨域带宽', + 'description' => '专线网关实例为**Active**状态时才允许更新。', + ], + 'CheckAddRegionToExpressConnectRouter' => [ + 'summary' => '检查指定的地域加入专线网关所需的云数据传输服务。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197604', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-fu8rszhgv7623c****', + ], + ], + [ + 'name' => 'FreshRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '指定专线网关功能是否开通云数据传输服务的地域。', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- true:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- false(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<CheckAssociationCreationResponse>', + 'description' => 'RpcResponse<CheckAssociationCreationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsInstanceId**,则代表所传入的请求参数**DtsInstanceId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + 'AnyInterRegionLink' => [ + 'description' => '专线网关实例是否存在中国内地跨地域。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'AnyCrossBorderLink' => [ + 'description' => '专线网关实例是否存在中国内地与中国境外跨境。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'IsCdtInterRegionEnabled' => [ + 'description' => '专线网关实例所属账号是否开通云数据传输(CDT)服务。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'IsCdtCrossBorderEnabled' => [ + 'description' => '专线网关实例所属账号是否开通跨境云数据传输(CDT)服务。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'IsUserAllowedToCreateCrossBorderLink' => [ + 'description' => '专线网关实例所属账号是否允许创建跨境。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'InternalErrorTemp', + 'errorMessage' => 'The request processing has failed due to some unknown error.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\",\\n \\"AnyInterRegionLink\\": true,\\n \\"AnyCrossBorderLink\\": true,\\n \\"IsCdtInterRegionEnabled\\": true,\\n \\"IsCdtCrossBorderEnabled\\": true,\\n \\"IsUserAllowedToCreateCrossBorderLink\\": true\\n}","type":"json"}]', + 'title' => '检查指定的地域加入专线网关(ECR)所需的云数据传输(CDT)服务', + ], + 'ModifyExpressConnectRouterChildInstance' => [ + 'summary' => '修改专线网关(ExpressConnectRouter)关联子实例(VBR)的属性。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '246043', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectY33HGU', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-gny3gqp41n7vrrn5iz', + ], + ], + [ + 'name' => 'ChildInstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VBR实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'vbr-t4n6xu2d5q0iaad1yl4le', + ], + ], + [ + 'name' => 'ChildInstanceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的类型。取值:'."\n" + .'- **VBR**:边界路由器实例。', + 'type' => 'string', + 'required' => true, + 'example' => 'VBR', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '子实例的描述信息。长度为0~128个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> '."\n" + .'> - 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<ModifyEcrResponse>', + 'description' => 'RpcResponse<ModifyEcrResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'DEB383C4-32C9-53DC-9B8B-8DBA26038074', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示成功,返回其他值表示失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'successful', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'ResourceNotFound.InstanceId', + 'errorMessage' => 'The instance id does not exist.', + ], + [ + 'errorCode' => 'QuotaExceeded.ChildInstanceNum', + 'errorMessage' => 'The number of sub-instances in the switching group exceeds threshold.', + ], + [ + 'errorCode' => 'OperationFailed.NotSupportAcrossRegion', + 'errorMessage' => 'Switching groups cannot be formed across regional sub-instances.', + ], + [ + 'errorCode' => 'OperationFailed.NotSupportAcrossAccount', + 'errorMessage' => 'Switching groups cannot be formed across account sub-instances.', + ], + [ + 'errorCode' => 'ResourceInConfiguring.NodeId', + 'errorMessage' => 'The current subInstance is not in steady state, please try again later.', + ], + [ + 'errorCode' => 'IncorrectStatus.HaVbrGroup', + 'errorMessage' => 'The current state of the switching group is not steady state, please try again later.', + ], + [ + 'errorCode' => 'IncorrectStatus.Vbr', + 'errorMessage' => 'The current VBR is not in steady state, please try again later.', + ], + [ + 'errorCode' => 'OperationFailed.VbrInUsedByOtherHa', + 'errorMessage' => 'The VBR in the input switching group is already in another switching group.', + ], + [ + 'errorCode' => 'OperationFailed.VbrBgpPeerNotEnableBfd', + 'errorMessage' => 'The configured BGP PEER of the input VBR in the switching group does not enable BFD.', + ], + [ + 'errorCode' => 'OperationFailed.VbrEcrNotRelation', + 'errorMessage' => 'The VBR in the switching group is not bound to ECR.', + ], + [ + 'errorCode' => 'DeviceNotSupport.EcrVbrHa', + 'errorMessage' => 'The access device where the VBR is located does not support configuring a switching group.', + ], + [ + 'errorCode' => 'OperationFailed.VbrBgpGroupLocalAsnNotSupport', + 'errorMessage' => 'The BGP group AS number of the VBR configuration in the switching group is not supported.', + ], + [ + 'errorCode' => 'OperationFailed.VbrAccessDeviceSame', + 'errorMessage' => 'The VBR on the same access device cannot be added to a switching group.', + ], + [ + 'errorCode' => 'OperationFailed.VbrBgpGroupLocalAsnNotTheSameWithEcr', + 'errorMessage' => 'The AS number of the BGP group of the VBR added to the switching group is different from the AS number of the ECR.', + ], + [ + 'errorCode' => 'OperationFailed.VbrBgpGroupLocalAsnNotTheSameWithOther', + 'errorMessage' => 'The BGP group AS number of the VBR configuration in the switching group is not exactly the same.', + ], + [ + 'errorCode' => 'OperationFailed.VbrEcrNotConsistent', + 'errorMessage' => 'The VBR in the switching group is not bound to the same ECR.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DEB383C4-32C9-53DC-9B8B-8DBA26038074\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '修改专线网关关联子实例属性', + ], + 'ModifyExpressConnectRouterAssociation' => [ + 'summary' => '修改专线网关ECR(Express Connect Router)关联的子实例属性。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '246041', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectY33HGU', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****'."\n", + ], + ], + [ + 'name' => 'AssociationId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关与VPC或TR的关联ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-assoc-9p2qxx5phpca2m****'."\n", + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '子实例的描述信息。长度为0~128个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- true:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- false(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> '."\n" + .'> - 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<ModifyEcrResponse>', + 'description' => 'RpcResponse<ModifyEcrResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'DFDA79A0-D135-5193-B0AC-3B5608FDB1D0', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示成功,返回其他值表示失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + [ + 'errorCode' => 'ResourceNotFound.AssociationId', + 'errorMessage' => 'EcrAssociationId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DFDA79A0-D135-5193-B0AC-3B5608FDB1D0\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\"\\n}","type":"json"}]', + 'title' => '修改专线网关关联子实例属性', + ], + 'AttachExpressConnectRouterChildInstance' => [ + 'summary' => '加载子实例(VBR)至ECR。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197608', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectNHSYB7', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-a5xqrgbeidz1w8****', + ], + ], + [ + 'name' => 'ChildInstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VBR实例的ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'vbr-j6cwxhgg0s5nuephp****', + ], + ], + [ + 'name' => 'ChildInstanceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的类型,取值:**VBR**边界路由器。', + 'type' => 'string', + 'required' => true, + 'example' => 'VBR', + ], + ], + [ + 'name' => 'ChildInstanceRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VBR实例所在的地域。', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ChildInstanceOwnerId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VBR实例所属的阿里云账号ID(主账号)。'."\n" + ."\n" + .'>如果您要加载跨账号的网络实例,本参数必填。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1905501448682345', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '子实例的描述信息。长度为0~128个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<AttachChildInstanceResponse>', + 'description' => 'RpcResponse<AttachChildInstanceResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'IncorrectStatus.EcrAssociation', + 'errorMessage' => 'Ecr Association Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'OperationDenied.CrossAccountDisassociating', + 'errorMessage' => 'Unbind cross-account.', + ], + [ + 'errorCode' => 'OperationDenied.EcrAttachmentExisted', + 'errorMessage' => 'Ecr and TR have been linked.', + ], + [ + 'errorCode' => 'OperationDenied.VbrDoesNotSupportMpbgp', + 'errorMessage' => 'The VBR does not support Mpbgp configuration.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'Conflict.ASNOfVBR', + 'errorMessage' => 'ASN already used by other VBR.', + ], + [ + 'errorCode' => 'OperationDenied.VbrHasRouteEntryInMiddleStatus', + 'errorMessage' => 'The operation is not allowed because of VBR has route entry in middle status.', + ], + [ + 'errorCode' => 'OperationDenied.VbrHasBgpGroupInMiddleStatus', + 'errorMessage' => 'The operation is not allowed because of VBR has BGP group in middle status.', + ], + [ + 'errorCode' => 'OperationDenied.VbrAlreadyAttachedToCen', + 'errorMessage' => 'VBR has already attached to CEN.', + ], + [ + 'errorCode' => 'OperationDenied.VbrAlreadyAttachedToEcr', + 'errorMessage' => 'VBR has already attached to ECR.', + ], + [ + 'errorCode' => 'ResourceAlreadyExist.ChildInstanceId', + 'errorMessage' => 'The specified resource of ChildInstanceId already exists.', + ], + [ + 'errorCode' => 'UnsupportedFeature.JumboFrame', + 'errorMessage' => 'The region where the sub-instance is located does not support the jumbo frame feature and cannot be attached to the express connect router.', + ], + [ + 'errorCode' => 'InternalErrorTemp', + 'errorMessage' => 'The request processing has failed due to some unknown error.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + [ + 'errorCode' => 'ResourceNotFound.AssociationId', + 'errorMessage' => 'EcrAssociationId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '加载子实例至专线网关(ECR)', + 'description' => '在调用**AttachExpressConnectRouterChildInstance**接口加载子实例(VBR)至专线网关之前,请确保专线网关的状态为**Active**。', + ], + 'DetachExpressConnectRouterChildInstance' => [ + 'summary' => '从专线网关ECR(Express Connect Router)卸载边界路由器(VBR)。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197609', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'ChildInstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VBR实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'vbr-j6cwxhgg0s5nuephp****', + ], + ], + [ + 'name' => 'ChildInstanceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的类型。取值:**VBR**边界路由器实例。', + 'type' => 'string', + 'required' => true, + 'example' => 'VBR', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DetachChildInstanceResponse>', + 'description' => 'RpcResponse<DetachChildInstanceResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则表示所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'IncorrectStatus.EcrAssociation', + 'errorMessage' => 'Ecr Association Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'OperationDenied.CrossAccountDisassociating', + 'errorMessage' => 'Unbind cross-account.', + ], + [ + 'errorCode' => 'OperationDenied.EcrAttachmentExisted', + 'errorMessage' => 'Ecr and TR have been linked.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'OperationDenied.VbrHasRouteEntryInMiddleStatus', + 'errorMessage' => 'The operation is not allowed because of VBR has route entry in middle status.', + ], + [ + 'errorCode' => 'OperationDenied.VbrHasBgpGroupInMiddleStatus', + 'errorMessage' => 'The operation is not allowed because of VBR has BGP group in middle status.', + ], + [ + 'errorCode' => 'OperationDenied.VbrUsedInVbrHa', + 'errorMessage' => 'The border router has been used by the switching group and cannot be bound to the leased line gateway.', + ], + [ + 'errorCode' => 'ResourceInUse.HaVbrGroup', + 'errorMessage' => 'The specified resource of %s is in use.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + [ + 'errorCode' => 'ResourceNotFound.AssociationId', + 'errorMessage' => 'EcrAssociationId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\"\\n}","type":"json"}]', + 'title' => '从专线网关(ECR)卸载子实例', + 'description' => '在调用**DetachExpressConnectRouterChildInstance**接口从专线网关卸载VBR实例之前,请确保专线网关的状态为**Active**。', + ], + 'DescribeExpressConnectRouterChildInstance' => [ + 'summary' => '查询专线网关ECR(Express Connect Router)加载的边界路由器(VBR)。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '199361', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectNHSYB7', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'AssociationId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关与VBR的关联ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecr-assoc-9p2qxx5phpca2m****'."\n", + ], + ], + [ + 'name' => 'ChildInstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '待卸载的网络实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-j6cwxhgg0s5nuephp****', + ], + ], + [ + 'name' => 'ChildInstanceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的类型。取值:**VBR**:边界路由器实例。', + 'type' => 'string', + 'required' => false, + 'example' => 'VBR', + ], + ], + [ + 'name' => 'ChildInstanceRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例所在的地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + .'- 如果有下一次查询,取值为上一次 API 调用返回的 NextToken 值。', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值为20。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeChildInstanceResponse>', + 'description' => 'RpcResponse<DescribeChildInstanceResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '05130E79-588D-5C40-A718-C4863A59****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + 'TotalCount' => [ + 'description' => '关联的资源总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'MaxResults' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值:20。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'NextToken' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 如果 NextToken 为空表示没有下一次查询。'."\n" + .'- 如果 NextToken 有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'example' => 'AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****', + ], + 'ChildInstanceList' => [ + 'description' => '子实例列表。', + 'type' => 'array', + 'items' => [ + 'description' => '子实例信息。', + 'type' => 'object', + 'properties' => [ + 'EcrId' => [ + 'title' => '专线网关实例ID。', + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + 'AssociationId' => [ + 'description' => '专线网关与VPC或TR的关联ID。', + 'type' => 'string', + 'example' => 'ecr-assoc-9p2qxx5phpca2m****', + ], + 'RegionId' => [ + 'description' => '边界路由器所属地域。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'OwnerId' => [ + 'description' => '边界路由器所属的阿里云账号ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '167509154715****', + ], + 'GmtCreate' => [ + 'description' => '创建关联时间。按照 ISO8601 标准表示,并需要使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。', + 'type' => 'string', + 'example' => '2024-01-09T12:18:23Z', + ], + 'GmtModified' => [ + 'description' => '修改关联时间。按照 ISO8601 标准表示,并需要使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。', + 'type' => 'string', + 'example' => '2024-01-09T12:18:23Z', + ], + 'Status' => [ + 'description' => '关联资源的部署状态。可能值:'."\n" + ."\n" + .'- **CREATING**:创建中。'."\n" + ."\n" + .'- **ACTIVE**:已创建。'."\n" + ."\n" + .'- **ASSOCIATING**:资源绑定中。'."\n" + ."\n" + .'- **DISSOCIATING**:资源解绑中。'."\n" + ."\n" + .'- **UPDATING**:修改中。'."\n" + ."\n" + .'- **DELETING**:删除中。', + 'type' => 'string', + 'example' => 'ACTIVE', + ], + 'ChildInstanceId' => [ + 'description' => '边界路由器实例ID。', + 'type' => 'string', + 'example' => 'vbr-gw8vjq2zjux3ifsc9****', + ], + 'ChildInstanceType' => [ + 'description' => '子实例类型。取值:**VBR**边界路由器。', + 'type' => 'string', + 'example' => 'VBR', + ], + 'ChildInstanceRegionId' => [ + 'description' => '子实例所属地域。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'ChildInstanceOwnerId' => [ + 'description' => '子实例所属的阿里云账号ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '112101171212****', + ], + 'Description' => [ + 'description' => '子实例描述信息', + 'type' => 'string', + 'example' => 'test ', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"05130E79-588D-5C40-A718-C4863A59****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****\\",\\n \\"ChildInstanceList\\": [\\n {\\n \\"EcrId\\": \\"ecr-mezk2idmsd0vx2****\\",\\n \\"AssociationId\\": \\"ecr-assoc-9p2qxx5phpca2m****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OwnerId\\": 0,\\n \\"GmtCreate\\": \\"2024-01-09T12:18:23Z\\",\\n \\"GmtModified\\": \\"2024-01-09T12:18:23Z\\",\\n \\"Status\\": \\"ACTIVE\\",\\n \\"ChildInstanceId\\": \\"vbr-gw8vjq2zjux3ifsc9****\\",\\n \\"ChildInstanceType\\": \\"VBR\\",\\n \\"ChildInstanceRegionId\\": \\"cn-hangzhou\\",\\n \\"ChildInstanceOwnerId\\": 0,\\n \\"Description\\": \\"test \\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询专线网关(ECR)绑定的子实例信息', + ], + 'DescribeInstanceGrantedToExpressConnectRouter' => [ + 'summary' => '查询授权给专线网关ECR(Express Connect Router)的网络实例。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '199352', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'InstanceRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '授权网络实例所在的地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '授权实例的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-j6cwxhgg0s5nuephp****', + ], + ], + [ + 'name' => 'InstanceOwnerId', + 'in' => 'formData', + 'schema' => [ + 'description' => '授权网络实例所属阿里云账号(主账号)ID。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1298452580502345', + ], + ], + [ + 'name' => 'InstanceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的类型。取值:'."\n" + .'- **VBR**:边界路由器实例。'."\n" + .'- **VPC**:专有网络实例。', + 'type' => 'string', + 'required' => false, + 'example' => 'VBR', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + .'- 如果有下一次查询,取值为上一次 API 调用返回的 NextToken 值。', + 'type' => 'string', + 'required' => false, + 'example' => 'gAAAAABkyGzFbZR2NnxnyVk0EiL7F3qMBtBim8Es0mugRT3qb8yEHAMaHGanzuaHUmiEq9QRmok0RgxJAINBOJZa5KPjopEu_Q==', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值为20。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'TagModels', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagKey' => [ + 'description' => '资源的标签键。最多支持输入20个标签键。如果传入该值,则不能输入空字符串。'."\n" + ."\n" + .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', + 'type' => 'string', + 'required' => false, + 'example' => 'key', + ], + 'TagValue' => [ + 'description' => '资源的标签值。最多支持输入20个标签值。如果传入该值,则不能输入空字符串。'."\n" + ."\n" + .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', + 'type' => 'string', + 'required' => false, + 'example' => 'value'."\n", + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => '实例所属的资源组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek2tsvbnfe****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****'."\n", + ], + ], + [ + 'name' => 'CallerType', + 'in' => 'formData', + 'schema' => [ + 'description' => '调用者类型'."\n" + ."\n" + .'- ECR'."\n" + .'- OTHER'."\n" + ."\n" + .'默认值: ECR', + 'type' => 'string', + 'required' => false, + 'example' => 'ECR', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeInstanceGrantedToEcrResponse>', + 'description' => 'RpcResponse<DescribeInstanceGrantedToEcrResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.Name'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of Name **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + 'TotalCount' => [ + 'description' => '授权给专线网关的网络实例总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'MaxResults' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值:20。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'NextToken' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 如果**NextToken**为空表示没有下一次查询。'."\n" + .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'example' => 'FFlMqGuJ10uN3l+FX/cBrGDNXUOUifNeOuAJlT4dc3vsWD6DsNSFAC2FtpeH5QOSG2WFdyRoun7gSLCm5o69YnAQ==', + ], + 'EcrGrantedInstanceList' => [ + 'description' => 'ECR授权实例列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'GrantId' => [ + 'description' => '授权ID。', + 'type' => 'string', + 'example' => 'gr-8gdelo13mi99g1****', + ], + 'Status' => [ + 'description' => '授权网络实例的状态。', + 'type' => 'string', + 'example' => 'Active', + ], + 'GmtCreate' => [ + 'description' => '创建实例的时间。', + 'type' => 'string', + 'example' => '1669023139000', + ], + 'GmtModified' => [ + 'description' => '修改实例的时间', + 'type' => 'string', + 'example' => '1669023139000', + ], + 'EcrId' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + 'NodeId' => [ + 'description' => '授权实例ID。', + 'type' => 'string', + 'example' => 'vbr-j6cwxhgg0s5nuephp****'."\n", + ], + 'NodeType' => [ + 'description' => '网络实例的类型。取值:'."\n" + .'- **VBR**:边界路由器实例。'."\n" + .'- **VPC**:虚拟专有网络实例。', + 'type' => 'string', + 'example' => 'VBR', + ], + 'NodeRegionId' => [ + 'description' => '授权实例所属地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'NodeOwnerUid' => [ + 'description' => '实例所属的阿里云账号的ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '129845258050****'."\n", + ], + 'NodeOwnerBid' => [ + 'description' => '实例所属的阿里云企业账号ID。', + 'type' => 'string', + 'example' => '26842****', + ], + 'EcrOwnerAliUid' => [ + 'description' => '接受授权的专线网关实例所属阿里云账号(主账号)ID。', + 'type' => 'string', + 'example' => '229845258050****'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.Name\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of Name **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\",\\n \\"TotalCount\\": 10,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"FFlMqGuJ10uN3l+FX/cBrGDNXUOUifNeOuAJlT4dc3vsWD6DsNSFAC2FtpeH5QOSG2WFdyRoun7gSLCm5o69YnAQ==\\",\\n \\"EcrGrantedInstanceList\\": [\\n {\\n \\"GrantId\\": \\"gr-8gdelo13mi99g1****\\",\\n \\"Status\\": \\"Active\\",\\n \\"GmtCreate\\": \\"1669023139000\\",\\n \\"GmtModified\\": \\"1669023139000\\",\\n \\"EcrId\\": \\"ecr-mezk2idmsd0vx2****\\",\\n \\"NodeId\\": \\"vbr-j6cwxhgg0s5nuephp****\\\\n\\",\\n \\"NodeType\\": \\"VBR\\",\\n \\"NodeRegionId\\": \\"cn-hangzhou\\",\\n \\"NodeOwnerUid\\": 0,\\n \\"NodeOwnerBid\\": \\"26842****\\",\\n \\"EcrOwnerAliUid\\": \\"229845258050****\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询授权给专线网关(ECR)的网络实例', + ], + 'RevokeInstanceFromExpressConnectRouter' => [ + 'summary' => '撤销专有网络(VPC)或者边界路由器(VBR)对跨账号的专线网关ECR(Express Connect Router)的授权。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197623', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'EcrOwnerAliUid', + 'in' => 'formData', + 'schema' => [ + 'description' => '撤销授权的ECR实例所属阿里云账号(主账号)ID。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '121012345612****'."\n", + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'vbr-j6cwxhgg0s5nuephp****', + ], + ], + [ + 'name' => 'InstanceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的类型。取值:'."\n" + .'- **VBR**:边界路由器实例。'."\n" + .'- **VPC**:专有网络实例。', + 'type' => 'string', + 'required' => true, + 'example' => 'VBR', + ], + ], + [ + 'name' => 'InstanceRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '撤销授权的网络实例所在的地域。', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<RevokeInstanceFromEcrResponse>', + 'description' => 'RpcResponse<RevokeInstanceFromEcrResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '撤销授权网络实例是否成功。取值:'."\n" + ."\n" + .'- **true**:成功。'."\n" + ."\n" + .'- **false**:失败。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '撤销网络实例对专线网关(ECR)的授权', + ], + 'GrantInstanceToExpressConnectRouter' => [ + 'summary' => '将的专有网络(VPC)或者边界路由器(VBR)授权给跨账号的专线网关ECR(Express Connect Router)。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197607', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '关联的专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'EcrOwnerAliUid', + 'in' => 'formData', + 'schema' => [ + 'description' => '接受授权的专线网关实例所属阿里云账号(主账号)ID。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '121012345612****', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'vbr-j6cwxhgg0s5nuephp****'."\n", + ], + ], + [ + 'name' => 'InstanceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的类型。取值:'."\n" + .'- **VBR**:边界路由器实例。'."\n" + .'- **VPC**:专有网络实例。', + 'type' => 'string', + 'required' => true, + 'example' => 'VBR', + ], + ], + [ + 'name' => 'InstanceRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '授权网络实例所在的地域ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<GrantInstanceToEcrResponse>', + 'description' => 'RpcResponse<GrantInstanceToEcrResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalParam.EcrOwnerAliUid', + 'errorMessage' => 'The Ecr instance account parameter is invalid.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'IllegalParam.InstanceOwnerId', + 'errorMessage' => 'Specified parameter InstanceOwnerId is not valid.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\"\\n}","type":"json"}]', + 'title' => '将网络实例授权给专线网关(ECR)', + 'description' => '将跨账号的网络实例关联至专线网关实例时,您需要将网络实例授权给专线网关实例。', + ], + 'CreateExpressConnectRouterAssociation' => [ + 'summary' => '专线网关ECR(Express Connect Router)关联专有网络(VPC)或者转发路由器(TR)。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197620', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'AssociationRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '关联资源所属的地域。', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'TransitRouterOwnerId', + 'in' => 'formData', + 'schema' => [ + 'description' => '转发路由器实例所属阿里云账号(主账号)ID。默认值为当前登录的阿里云账号ID。'."\n" + ."\n" + .'> 如果您要加载跨账号的网络实例,本参数必填。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '189159362009****', + ], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'formData', + 'schema' => [ + 'description' => '转发路由器ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'tr-2ze4i71c6be454e2l****', + ], + ], + [ + 'name' => 'CenId', + 'in' => 'formData', + 'schema' => [ + 'description' => '云企业网实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cen-of3o1the3i4gwb****', + ], + ], + [ + 'name' => 'VpcOwnerId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VPC实例所属阿里云账号(主账号)ID。默认为当前登录的阿里云账号ID。'."\n" + ."\n" + .'> 如果您要加载跨账号的网络实例,本参数必填。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '132193271328****', + ], + ], + [ + 'name' => 'VpcId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VPC实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-bp1h37fchc6jmfyln****', + ], + ], + [ + 'name' => 'AllowedPrefixes', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '允许的前缀路由列表。', + 'type' => 'array', + 'items' => [ + 'description' => '允许的前缀路由。', + 'type' => 'string', + 'required' => false, + 'example' => '192.0.20.0/24', + ], + 'required' => false, + 'maxItems' => 10000, + ], + ], + [ + 'name' => 'CreateAttachment', + 'in' => 'formData', + 'schema' => [ + 'description' => 'ECR绑定TR时是否发起关联。取值:'."\n" + ."\n" + .'- **true**:不需要在转发路由器侧发起关联。'."\n" + .'- **false**:需要在转发路由器侧发起关联。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00**** '."\n", + ], + ], + [ + 'name' => 'AllowedPrefixesMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '前缀路由模式,取值:'."\n" + .'- MatchMode: 匹配模式, 仅发布配置的路由网段到IDC,对原有发布的明细路由进行回撤。'."\n" + .'- IncrementalMode: 增量模式, 发布配置的路由网段到IDC的同时对原有发布落在配置的路由网段内的明细路由进行回撤,未落在配置的网段内的明细路由保持发布。', + 'type' => 'string', + 'required' => false, + 'example' => 'MatchMode', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '关联资源的描述信息。长度为0~128个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<CreateAssociationResponse>', + 'description' => 'RpcResponse<CreateAssociationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '05130E79-588D-5C40-A718-C4863A59****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则表示所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + 'AssociationId' => [ + 'description' => '专线网关与VPC或TR的关联ID。', + 'type' => 'string', + 'example' => 'ecr-assoc-9p2qxx5phpca2m****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + [ + 'errorCode' => 'QuotaExceeded.VpcCountPerEcr', + 'errorMessage' => 'The number of VPC bound to the ECR exceeds the quota.', + ], + [ + 'errorCode' => 'QuotaExceeded.TrCountPerEcr', + 'errorMessage' => 'The number of TR bound to the ECR exceeds the quota.', + ], + [ + 'errorCode' => 'IllegalParamFormat.AllowedPrefixes', + 'errorMessage' => 'The prefix parameter format is invalid. Procedure.', + ], + [ + 'errorCode' => 'OperationDenied.NotGrantedByNodeOwner', + 'errorMessage' => 'The node owner is not authorized.', + ], + [ + 'errorCode' => 'OperationFailed.CdtNotOpened', + 'errorMessage' => 'The Cdt function is disabled.', + ], + [ + 'errorCode' => 'OperationFailed.CdtCrossBoarderNotOpened', + 'errorMessage' => 'The Cdt cross-border transmission function is disabled.', + ], + [ + 'errorCode' => 'OperationFailed.CrossBorderNotAllowed', + 'errorMessage' => 'There is no qualification for creating cross-border links.', + ], + [ + 'errorCode' => 'ResourceNotFound.CenId', + 'errorMessage' => 'CenId not found.', + ], + [ + 'errorCode' => 'ResourceNotFound.TrId', + 'errorMessage' => 'TRId not found.', + ], + [ + 'errorCode' => 'Conflict.ASNOfVBR', + 'errorMessage' => 'ASN already used by other VBR.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParamFormat.CenId', + 'errorMessage' => 'The format of the entered Cen instance ID is incorrect.', + ], + [ + 'errorCode' => 'OperationDenied.CrossBidAssociating', + 'errorMessage' => 'Cross-border binding of resources is subject to compliance constraints.', + ], + [ + 'errorCode' => 'ExclusiveParam.TransitRouterIdAndVpcId', + 'errorMessage' => 'A private network instance cannot be bound to a forwarding router instance at the same time.', + ], + [ + 'errorCode' => 'IllegalParamSize.AllowedPrefixes', + 'errorMessage' => 'The number of prefix routes exceeded the quota.', + ], + [ + 'errorCode' => 'OperationDenied.CrossAccountAttaching', + 'errorMessage' => 'If the forwarding router is bound to another account, perform this operation on the same account.', + ], + [ + 'errorCode' => 'OperationDenied.AttachmentInCurrentRegionExisted', + 'errorMessage' => 'Only one forwarding router can be bound to an area.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'OperationFailed.CallingVpcYaochi', + 'errorMessage' => 'The system is abnormal. Please try again later.', + ], + [ + 'errorCode' => 'ResourceAlreadyExist.TransitRouterId', + 'errorMessage' => 'The specified resource of transit router already exists.', + ], + [ + 'errorCode' => 'ResourceAlreadyExist.VpcId', + 'errorMessage' => 'The specified resource of VpcId already exists.', + ], + [ + 'errorCode' => 'Conflict.AllowedPrefixes', + 'errorMessage' => 'The allowed route prefixes [%s] is conflict.', + ], + [ + 'errorCode' => 'UnsupportedFeature.JumboFrame', + 'errorMessage' => 'The region where the sub-instance is located does not support the jumbo frame feature and cannot be attached to the express connect router.', + ], + [ + 'errorCode' => 'InternalErrorTemp', + 'errorMessage' => 'The request processing has failed due to some unknown error.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"05130E79-588D-5C40-A718-C4863A59****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\",\\n \\"AssociationId\\": \\"ecr-assoc-9p2qxx5phpca2m****\\"\\n}","type":"json"}]', + 'title' => '专线网关(ECR)关联资源', + ], + 'DeleteExpressConnectRouterAssociation' => [ + 'summary' => '解除专线网关ECR(Express Connect Router)与专有网络(VPC)或者转发路由器的关联关系。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197605', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'AssociationId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关与VPC或TR的关联ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-assoc-9p2qxx5phpca2m****', + ], + ], + [ + 'name' => 'DeleteAttachment', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关是否是删除与TR或VPC的关联关系。取值:'."\n" + .'- **true**:是。'."\n" + .'- **false**:否。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DeleteAssociationResponse>', + 'description' => 'RpcResponse<DeleteAssociationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '05130E79-588D-5C40-A718-C4863A59****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '接口返回信息', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'IncorrectStatus.EcrAssociation', + 'errorMessage' => 'Ecr Association Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'OperationDenied.CrossAccountDisassociating', + 'errorMessage' => 'Unbind cross-account.', + ], + [ + 'errorCode' => 'OperationDenied.EcrAttachmentExisted', + 'errorMessage' => 'Ecr and TR have been linked.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'OperationFailed.UsedInRouteEntryNextHop', + 'errorMessage' => 'The VPC also has a static route pointing to the ECR, and it is not allowed to disassociate the ECR.', + ], + [ + 'errorCode' => 'OperationFailed.CallingVpcYaochi', + 'errorMessage' => 'The system is abnormal. Please try again later.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + [ + 'errorCode' => 'ResourceNotFound.AssociationId', + 'errorMessage' => 'EcrAssociationId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"05130E79-588D-5C40-A718-C4863A59****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '专线网关(ECR)解除资源关联关系', + ], + 'DescribeExpressConnectRouterAssociation' => [ + 'summary' => '查询专线网关ECR(Express Connect Router)关联的专有网络(VPC)和转发路由器(TR)。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '199364', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'AssociationId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关与VPC或TR的关联ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecr-assoc-9p2qxx5phpca2m****', + ], + ], + [ + 'name' => 'AssociationRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VPC或TR所属的地域信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'AssociationNodeType', + 'in' => 'formData', + 'schema' => [ + 'description' => '关联的资源类型:'."\n" + ."\n" + .'- **VPC**:专有网络。'."\n" + ."\n" + .'- **TR**:转发路由器。', + 'type' => 'string', + 'required' => false, + 'example' => 'VPC', + ], + ], + [ + 'name' => 'VpcId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'VPC实例的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-bp1h37fchc6jmfyln****', + ], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'formData', + 'schema' => [ + 'description' => '转发路由器实例的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'tr-2ze4i71c6be454e2l****', + ], + ], + [ + 'name' => 'CenId', + 'in' => 'formData', + 'schema' => [ + 'description' => '云企业网实例的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cen-of3o1the3i4gwb****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + .'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值:20。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeAssociationResponse>', + 'description' => 'RpcResponse<DescribeAssociationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '05130E79-588D-5C40-A718-C4863A59****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的 `%s`。'."\n" + ."\n" + .'> 如果**ErrMessage **返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage **返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + 'TotalCount' => [ + 'description' => '关联的资源总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'MaxResults' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值:20。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'NextToken' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + .'- 如果**NextToken**为空表示没有下一次查询。'."\n" + .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'example' => 'AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****'."\n", + ], + 'AssociationList' => [ + 'description' => '关联的资源列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AssociationId' => [ + 'description' => '专线网关与VPC或TR的关联ID。', + 'type' => 'string', + 'example' => 'ecr-assoc-9p2qxx5phpca2m****'."\n", + ], + 'RegionId' => [ + 'description' => '资源所属地域。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'OwnerId' => [ + 'description' => '资源所属的阿里云账号ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '167509154715****', + ], + 'GmtCreate' => [ + 'description' => '创建关联的时间。按照 ISO8601 标准表示,并需要使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。', + 'type' => 'string', + 'example' => '2024-01-09T12:18:23Z', + ], + 'GmtModified' => [ + 'description' => '修改关联的时间。按照 ISO8601 标准表示,并需要使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。', + 'type' => 'string', + 'example' => '2024-01-09T12:18:23Z', + ], + 'Status' => [ + 'description' => '关联资源的部署状态。可能值:'."\n" + ."\n" + .'- **CREATING**:创建中。'."\n" + ."\n" + .'- **ACTIVE**:已创建。'."\n" + ."\n" + .'- **INACTIVE**:专线网关关联转发路由器,待转发路由器关联专线网关状态。'."\n" + ."\n" + .'- **ASSOCIATING**:资源绑定中。'."\n" + ."\n" + .'- **DISSOCIATING**:资源解绑中。'."\n" + ."\n" + .'- **UPDATING**:修改中。'."\n" + ."\n" + .'- **DELETING**:删除中。', + 'type' => 'string', + 'example' => 'ACTIVE', + ], + 'AssociationNodeType' => [ + 'description' => '关联的资源类型:'."\n" + ."\n" + .'- **VPC**:专有网络。'."\n" + ."\n" + .'- **TR**:转发路由器。', + 'type' => 'string', + 'example' => 'VPC', + ], + 'TransitRouterOwnerId' => [ + 'description' => '转发路由器所属的阿里云账号ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '189159362009****'."\n", + ], + 'TransitRouterId' => [ + 'description' => '转发路由器实例的ID。', + 'type' => 'string', + 'example' => 'tr-2ze4i71c6be454e2l****'."\n", + ], + 'CenId' => [ + 'description' => '云企业网实例ID。', + 'type' => 'string', + 'example' => 'cen-5510frtx8zi54q****', + ], + 'VpcOwnerId' => [ + 'description' => 'VPC所属的阿里云账号ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '146757288406****', + ], + 'VpcId' => [ + 'description' => 'VPC实例的ID。', + 'type' => 'string', + 'example' => 'vpc-2zeeaxet4i2j1a7n7****', + ], + 'AllowedPrefixes' => [ + 'description' => '允许的路由前缀列表。', + 'type' => 'array', + 'items' => [ + 'description' => '允许的路由前缀。', + 'type' => 'string', + 'example' => '192.0.**.**/28', + ], + ], + 'EcrId' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'example' => 'ecr-fu8rszhgv7623c****', + ], + 'AllowedPrefixesMode' => [ + 'description' => '前缀路由模式,取值:'."\n" + .'- MatchMode: 匹配模式'."\n" + .'- IncrementalMode: 增量模式', + 'type' => 'string', + 'example' => 'MatchMode', + ], + 'Description' => [ + 'description' => '关联资源的描述信息。', + 'type' => 'string', + 'example' => 'test ', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"05130E79-588D-5C40-A718-C4863A59****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****\\\\n\\",\\n \\"AssociationList\\": [\\n {\\n \\"AssociationId\\": \\"ecr-assoc-9p2qxx5phpca2m****\\\\n\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"OwnerId\\": 0,\\n \\"GmtCreate\\": \\"2024-01-09T12:18:23Z\\",\\n \\"GmtModified\\": \\"2024-01-09T12:18:23Z\\",\\n \\"Status\\": \\"ACTIVE\\",\\n \\"AssociationNodeType\\": \\"VPC\\",\\n \\"TransitRouterOwnerId\\": 0,\\n \\"TransitRouterId\\": \\"tr-2ze4i71c6be454e2l****\\\\n\\",\\n \\"CenId\\": \\"cen-5510frtx8zi54q****\\",\\n \\"VpcOwnerId\\": 0,\\n \\"VpcId\\": \\"vpc-2zeeaxet4i2j1a7n7****\\",\\n \\"AllowedPrefixes\\": [\\n \\"192.0.**.**/28\\"\\n ],\\n \\"EcrId\\": \\"ecr-fu8rszhgv7623c****\\",\\n \\"AllowedPrefixesMode\\": \\"MatchMode\\",\\n \\"Description\\": \\"test \\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询专线网关(ECR)关联的资源信息', + ], + 'DisableExpressConnectRouterRouteEntries' => [ + 'summary' => '禁用专线网关ECR(Express Connect Router)路由项。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197618', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectU328UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'DestinationCidrBlock', + 'in' => 'formData', + 'schema' => [ + 'description' => '网关路由表中路由条目的目标网段。', + 'type' => 'string', + 'required' => true, + 'example' => '10.153.32.**/**', + ], + ], + [ + 'name' => 'NexthopInstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '下一跳实例ID', + 'type' => 'string', + 'required' => true, + 'example' => 'tr-hp3u4u5f03tfuljis****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => 'FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg==', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DisableEcrRouteResponse>', + 'description' => 'RpcResponse<DisableEcrRouteResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ResourceNotFound.NexthopInstanceId', + 'errorMessage' => 'The next hop instance does not exist.', + ], + [ + 'errorCode' => 'IllegalParamFormat.DestinationCidrBlock', + 'errorMessage' => 'The format of the specified destination Cidr route parameter is incorrect.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'ResourceInCreating.NexthopInstanceId', + 'errorMessage' => 'The next hop instance is being created.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '禁用专线网关(ECR)路由项', + ], + 'EnableExpressConnectRouterRouteEntries' => [ + 'summary' => '启用专线网关ECR(Express Connect Router)路由条目。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197610', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect9IGKFS', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'DestinationCidrBlock', + 'in' => 'formData', + 'schema' => [ + 'description' => '网关路由表中路由条目的目标网段。', + 'type' => 'string', + 'required' => true, + 'example' => '10.153.32.**/**', + ], + ], + [ + 'name' => 'NexthopInstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '下一跳实例ID', + 'type' => 'string', + 'required' => true, + 'example' => 'tr-hp3u4u5f03tfuljis****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => 'FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg=='."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<EnableEcrRouteResponse>', + 'description' => 'RpcResponse<EnableEcrRouteResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ResourceNotFound.NexthopInstanceId', + 'errorMessage' => 'The next hop instance does not exist.', + ], + [ + 'errorCode' => 'IllegalParamFormat.DestinationCidrBlock', + 'errorMessage' => 'The format of the specified destination Cidr route parameter is incorrect.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'ResourceInCreating.NexthopInstanceId', + 'errorMessage' => 'The next hop instance is being created.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '启用专线网关(ECR)路由项', + ], + 'DescribeDisabledExpressConnectRouterRouteEntries' => [ + 'summary' => '查询专线网关ECR(Express Connect Router)禁用的路由条目。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '199356', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectU328UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + .'- 如果有下一次查询,取值为上一次 API 调用返回的NextToken值。', + 'type' => 'string', + 'required' => false, + 'example' => 'FFv4fzkNPW8Z+cZ+DBXXQ3Gmf3XlCgpBH43oaTYTAAcGc708Zb+pDyAGVJBo/MKsyrtZfPnX9Ztf02vgdIDyaNe8UuZdf/JJk069qxGKzqSKg=', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值为10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => 'FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg==', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeEcrDisabledRouteResponse>', + 'description' => 'RpcResponse<DescribeEcrDisabledRouteResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '查询禁用专线网关路由是否成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsInstanceId**,则代表所传入的请求参数**DtsInstanceId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + 'TotalCount' => [ + 'description' => '总共的路由条目数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'MaxResults' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值为10。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + 'NextToken' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 如果NextToken为空表示没有下一次查询。'."\n" + .'- 如果NextToken有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'example' => 'gAAAAABkDTaRFnmxUoMLVOn8YTIgYFeL2ch8j0sJs8VCIU8SS5438m3D9X1VqspCcaUEHRN9I_AfVwMhZHAhcNivifK_OtQxJQ==', + ], + 'DisabledRouteEntryList' => [ + 'description' => '查询的路由列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EcrId' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'example' => 'ecr-mezk2idmsd0vx2****'."\n", + ], + 'DestinationCidrBlock' => [ + 'description' => '路由条目的目标网段。', + 'type' => 'string', + 'example' => '192.168.100.110/32', + ], + 'NexthopInstanceId' => [ + 'description' => '下一跳实例ID。', + 'type' => 'string', + 'example' => 'br-hp3u4u5f03tfuljis****'."\n", + ], + 'NexthopInstanceRegionId' => [ + 'description' => '下一跳实例所属的地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'GmtCreate' => [ + 'description' => '创建路由条目的时间。', + 'type' => 'string', + 'example' => '1682317345', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\",\\n \\"TotalCount\\": 2,\\n \\"MaxResults\\": 6,\\n \\"NextToken\\": \\"gAAAAABkDTaRFnmxUoMLVOn8YTIgYFeL2ch8j0sJs8VCIU8SS5438m3D9X1VqspCcaUEHRN9I_AfVwMhZHAhcNivifK_OtQxJQ==\\",\\n \\"DisabledRouteEntryList\\": [\\n {\\n \\"EcrId\\": \\"ecr-mezk2idmsd0vx2****\\\\n\\",\\n \\"DestinationCidrBlock\\": \\"192.168.100.110/32\\",\\n \\"NexthopInstanceId\\": \\"br-hp3u4u5f03tfuljis****\\\\n\\",\\n \\"NexthopInstanceRegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreate\\": \\"1682317345\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询禁用的专线网关(ECR)路由', + ], + 'DescribeExpressConnectRouterRouteEntries' => [ + 'summary' => '查询专线网关ECR(Express Connect Router)路由条目。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '199353', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect9IGKFS', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'QueryRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例所属地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'DestinationCidrBlock', + 'in' => 'formData', + 'schema' => [ + 'description' => '要查询的路由条目的目标网段。', + 'type' => 'string', + 'required' => false, + 'example' => '172.20.4.0/24', + ], + ], + [ + 'name' => 'NexthopInstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '下一跳实例ID', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-hp3u4u5f03tfuljis****', + ], + ], + [ + 'name' => 'AsPath', + 'in' => 'formData', + 'schema' => [ + 'description' => '路由条目经过的AS路径。', + 'type' => 'string', + 'required' => false, + 'example' => '[64993,64512]', + ], + ], + [ + 'name' => 'Community', + 'in' => 'formData', + 'schema' => [ + 'description' => 'BGP路由条目携带的Community值。', + 'type' => 'string', + 'required' => false, + 'example' => '9001:9263', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + .'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', + 'type' => 'string', + 'required' => false, + 'example' => 'FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg==', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值为10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeEcrRouteResponse>', + 'description' => 'RpcResponse<DescribeEcrRouteResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '实例操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + 'TotalCount' => [ + 'description' => '列表总条目数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'MaxResults' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值:10。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'NextToken' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 如果**NextToken**为空表示没有下一次查询。'."\n" + .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'example' => 'gAAAAABkWwFTUMNCdWC0VMYOIylA56Hx6JUfCZlk5hQ5g_fnKmetN6303tqq5UJ2ouJzyT2fDOdzb-NqyEB5jcY8Z2euX7qHDA==', + ], + 'RouteEntriesList' => [ + 'description' => '路由条目列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DestinationCidrBlock' => [ + 'description' => '路由条目的目标网段。', + 'type' => 'string', + 'example' => '192.168.0.**/**', + ], + 'Status' => [ + 'description' => '专线网关实例的状态', + 'type' => 'string', + 'example' => 'ACTIVE', + ], + 'NexthopInstanceId' => [ + 'description' => '下一跳实例ID。', + 'type' => 'string', + 'example' => 'vbr-hp3u4u5f03tfuljis****', + ], + 'NexthopInstanceRegionId' => [ + 'description' => '下一跳实例所属的地域。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'AsPath' => [ + 'description' => '路由条目经过的AS路径。', + 'type' => 'string', + 'example' => '[64993,64512]', + ], + 'Community' => [ + 'description' => 'BGP路由条目携带的Community值。', + 'type' => 'string', + 'example' => '9001:9263', + ], + 'Med' => [ + 'description' => 'BGP路由条目携带的MED值,作用于专线网关与TR之间。 '."\n" + .'- MED可配置为2000(配置后则此TR与ECR作为Default路径) '."\n" + .'- 非Default路径时,此MED值为空 '."\n" + .'- 同一个CEN的TR只能有一个关联对象的MED为可配置为2000', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2000', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalParamFormat.DestinationCidrBlock', + 'errorMessage' => 'The format of the specified destination Cidr route parameter is incorrect.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\",\\n \\"TotalCount\\": 2,\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"gAAAAABkWwFTUMNCdWC0VMYOIylA56Hx6JUfCZlk5hQ5g_fnKmetN6303tqq5UJ2ouJzyT2fDOdzb-NqyEB5jcY8Z2euX7qHDA==\\",\\n \\"RouteEntriesList\\": [\\n {\\n \\"DestinationCidrBlock\\": \\"192.168.0.**/**\\",\\n \\"Status\\": \\"ACTIVE\\",\\n \\"NexthopInstanceId\\": \\"vbr-hp3u4u5f03tfuljis****\\",\\n \\"NexthopInstanceRegionId\\": \\"cn-hangzhou\\",\\n \\"AsPath\\": \\"[64993,64512]\\",\\n \\"Community\\": \\"9001:9263\\",\\n \\"Med\\": 2000\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询专线网关(ECR)的路由条目', + ], + 'MoveResourceGroup' => [ + 'summary' => '修改专线网关所属的资源组。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '200712', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectJZV4YI', + ], + ], + 'parameters' => [ + [ + 'name' => 'NewResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => '新资源组ID。'."\n" + .'关于资源组的更多信息,请参见[什么是资源组](~~94475~~)。'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'rg-acfmvt3xpr5****', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '资源类型。可能的值:'."\n" + ."\n" + .'- EXPRESSCONNECTROUTER:专线网关。', + 'type' => 'string', + 'required' => true, + 'example' => 'EXPRESSCONNECTROUTER', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '需要修改资源组的云资源的实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-897j0jooxyr1aq****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求,取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改资源组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '用于保证请求的幂等性,防止重复提交请求。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<BaseResult>', + 'description' => 'RpcResponse<BaseResult>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '本次请求的ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '接口返回信息', + 'type' => 'string', + 'example' => 'OK', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '修改专线网关所属的资源组', + ], + 'ListTagResources' => [ + 'summary' => '查询专线网关绑定的标签列表。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '200710', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectI9TIJD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '资源类型。支持的类型为 EXPRESSCONNECTROUTER,即专线网关实例。', + 'type' => 'string', + 'required' => true, + 'example' => 'EXPRESSCONNECTROUTER', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '专线网关实例ID列表。', + 'type' => 'array', + 'items' => [ + 'description' => '专线网关实例ID。'."\n" + ."\n" + .'最多可以指定50个资源组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecr-kgzj75zpq50hqz****', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签。'."\n" + ."\n" + .'最多可以绑定20个标签。', + 'type' => 'array', + 'items' => [ + 'description' => '标签。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '资源的标签键。'."\n" + ."\n" + .'一旦传入该值,则不允许为空字符串。最多支持64个字符,不能以`aliyun`或者`acs:`开头,不能包含`http://`或者`https:// `。'."\n" + ."\n" + .'一次最多支持输入20个标签的标签键。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestKey', + ], + 'Value' => [ + 'description' => '标签值。最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。一旦输入该值,可以为空字符串。'."\n" + ."\n" + .'一次调用最多支持添加20个标签值。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestValue', + ], + ], + 'required' => false, + ], + 'required' => false, + 'enumValueTitles' => [], + 'maxItems' => 20, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 如果 NextToken 为空表示没有下一次查询。'."\n" + .'- 如果 NextToken 有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '单次请求返回结果的最大条数。默认值:20。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<ListEcrTagResourcesResponse>', + 'description' => '查询结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'TagResources' => [ + 'description' => '标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => '资源绑定的标签信息。', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => [ + 'description' => '资源ID。', + 'type' => 'string', + 'example' => 'ecr-897j0jooxyr1aq****', + ], + 'ResourceType' => [ + 'description' => '资源类型。返回值固定为 **EXPRESSCONNECTROUTER**,即专线网关实例。', + 'type' => 'string', + 'example' => 'EXPRESSCONNECTROUTER', + ], + 'TagKey' => [ + 'description' => '资源的标签键。', + 'type' => 'string', + 'example' => 'TestKey', + ], + 'TagValue' => [ + 'description' => '专线网关的标签值。', + 'type' => 'string', + 'example' => 'TestValue', + ], + ], + ], + ], + 'TotalCount' => [ + 'description' => '符合查询条件的记录总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'NextToken' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 如果**NextToken**为空表示没有下一次查询。'."\n" + .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'example' => 'AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****', + ], + 'MaxResults' => [ + 'description' => '分页查询时每页行数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"ecr-897j0jooxyr1aq****\\",\\n \\"ResourceType\\": \\"EXPRESSCONNECTROUTER\\",\\n \\"TagKey\\": \\"TestKey\\",\\n \\"TagValue\\": \\"TestValue\\"\\n }\\n ],\\n \\"TotalCount\\": 2,\\n \\"NextToken\\": \\"AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + 'title' => '查询专线网关标签列表', + ], + 'UntagResources' => [ + 'summary' => '解绑专线网关的标签。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '218206', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectI9TIJD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceId', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '专线网关实例的ID列表。', + 'type' => 'array', + 'items' => [ + 'description' => '专线网关实例的 ID。最多支持解绑 50 个专线网关实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecr-897j0jooxyr1aq****', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'TagKey', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '要解绑的专线网关实例的标签键。', + 'type' => 'array', + 'items' => [ + 'description' => '要解绑的专线网关实例的标签键。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestKey', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'All', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否解绑所有标签,只针对**TagKey**为空时有效。取值:'."\n" + ."\n" + .'- **true**:解绑专线网关实例的所有标签。'."\n" + .'- **false**(默认值):不解绑专线网关实例的所有标签。'."\n" + ."\n" + .'> 您必须输入参数 **TagKey** 和参数 **All** 中的任意一个。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '资源类型。支持的类型为 **EXPRESSCONNECTROUTER**,即专线网关实例。', + 'type' => 'string', + 'required' => true, + 'example' => 'EXPRESSCONNECTROUTER', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端 Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用 API 请求的 **RequestId** 作为 **ClientToken** 标识。每次 API 请求的 **RequestId** 不一样。', + 'type' => 'string', + 'required' => false, + 'example' => ' '."\n" + .'02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<BaseResult>', + 'description' => 'RpcResponse<BaseResult>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****'."\n", + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '接口返回信息', + 'type' => 'string', + 'example' => 'OK', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '专线网关解绑标签', + ], + 'CreateExpressConnectRouter' => [ + 'summary' => '新建专线网关ECR(Express Connect Router)。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197622', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例的名称。'."\n" + .'> 名称可以为空或长度为 0~128 个字符,不能以 http://或 https://开头。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例的描述。'."\n" + ."\n" + .'>描述可以为空或长度为 0~256 个字符,不能以 http://或 https://开头。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例所属的资源组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmvvajg5q****', + ], + ], + [ + 'name' => 'AlibabaSideAsn', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例的ASN。可取值为45104(默认值),64512~65534和4200000000~4294967294,其中65025为阿里云保留值。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '45104', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00**** ', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签。'."\n" + ."\n" + .'最多可以绑定20个标签。', + 'type' => 'array', + 'items' => [ + 'description' => '标签信息。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '资源的标签键。一旦传入该值,则不允许为空字符串。最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestKey', + ], + 'Value' => [ + 'description' => '监听的标签值。N的取值范围:**1**~**20**。一旦传入该值,可以为空字符串。最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestValue', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<CreateEcrResponse>', + 'description' => 'RpcResponse<CreateEcrResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****'."\n", + ], + 'Success' => [ + 'description' => '创建ECR实例是否成功。取值:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断创建ECR实例是否成功。返回值为200表示创建成功,返回其他值表示创建失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.Name', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of Name **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + 'EcrId' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'example' => 'ecr-fu8rszhgv7623c****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'OperationFailed.UserNotInWhiteList', + 'errorMessage' => 'The current user is not in the whitelist.', + ], + [ + 'errorCode' => 'QuotaExceeded.EcrCountPerUser', + 'errorMessage' => 'ECR Quota Exceeded.', + ], + [ + 'errorCode' => 'Conflict.ASNOfECR', + 'errorMessage' => 'ASN already used by other ECR.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParam.AlibabaSideAsn', + 'errorMessage' => 'The entered Bgp Asn is incorrect.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.Name\\",\\n \\"DynamicMessage\\": \\"The param format of Name **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\",\\n \\"EcrId\\": \\"ecr-fu8rszhgv7623c****\\"\\n}","type":"json"}]', + 'title' => '新建专线网关(ECR)', + 'description' => '创建专线网关实例后,专线网关的实例状态为**Active**。', + ], + 'DeleteExpressConnectRouter' => [ + 'summary' => '删除专线网关ECR(Express Connect Router)。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197616', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-fu8rszhgv7623c****'."\n", + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00**** '."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DeleteEcrResponse>', + 'description' => '返回数据结构体。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****'."\n", + ], + 'Success' => [ + 'description' => '删除ECR实例是否成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断删除ECR实例是否成功。返回值为200表示创建成功,返回其他值表示创建失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'ResourceInUse.Ecr', + 'errorMessage' => 'The express connect router is currently in use.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\"\\n}","type":"json"}]', + 'title' => '删除专线网关(ECR)', + 'description' => '在调用DeleteExpressConnectRouter接口删除ECR实例之前,请注意:'."\n" + ."\n" + .'- 删除专线网关实例前,必须删除专线网关实例上所关联的资源。'."\n" + ."\n" + .'- 只能删除**Active**状态的专线网关实例。', + ], + 'ModifyExpressConnectRouterInterRegionTransitMode' => [ + 'summary' => '修改专线网关ECR(Express Connect Router)的跨地域转发模式。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197619', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectLCKWNS', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'TransitModeList', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '跨域转发模式列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '专线网关实例所属的地域。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'Mode' => [ + 'description' => '专线网关跨域转发模式,取值:'."\n" + .'- **ECMP**:负载均衡模式。'."\n" + .'- **NearBy**:就近转发模式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ECMP' => 'ECMP', + 'NearBy' => 'NearBy', + ], + 'example' => 'ECMP', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => 'FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg==', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<ModifyEcrTransitModeResponse>', + 'description' => 'RpcResponse<ModifyEcrTransitModeResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'IllegalParam.RegionId', + 'errorMessage' => 'Area parameter invalid.', + ], + [ + 'errorCode' => 'IllegalParam.TransitMode', + 'errorMessage' => 'The transmission mode parameter is invalid.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '修改专线网关(ECR)的跨地域转发模式', + ], + 'ModifyExpressConnectRouterAssociationAllowedPrefix' => [ + 'summary' => '修改专线网关ECR(Express Connect Router)绑定的专有网络(VPC)或者转发路由器(TR)的前缀路由。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197603', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectDQ6AHD', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'AssociationId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关与VPC或TR的关联ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-assoc-9p2qxx5phpca2m****', + ], + ], + [ + 'name' => 'AllowedPrefixes', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '允许的路由前缀列表。', + 'type' => 'array', + 'items' => [ + 'description' => '允许的路由前缀。', + 'type' => 'string', + 'required' => false, + 'example' => '192.0.20.0/24', + ], + 'required' => false, + 'maxItems' => 10000, + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + [ + 'name' => 'AllowedPrefixesMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '前缀路由模式,取值:'."\n" + .'- MatchMode: 匹配模式, 仅发布配置的路由网段到IDC,对原有发布的明细路由进行回撤。'."\n" + .'- IncrementalMode: 增量模式, 发布配置的路由网段到IDC的同时对原有发布落在配置的路由网段内的明细路由进行回撤,未落在配置的网段内的明细路由保持发布。', + 'type' => 'string', + 'required' => false, + 'example' => 'MatchMode', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<ModifyAssociationAllowedPrefixResponse>', + 'description' => 'RpcResponse<ModifyAssociationAllowedPrefixResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '05130E79-588D-5C40-A718-C4863A59****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则表示所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'IncorrectStatus.EcrAssociation', + 'errorMessage' => 'Ecr Association Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'IllegalParamFormat.AllowedPrefixes', + 'errorMessage' => 'The prefix parameter format is invalid. Procedure.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParamSize.AllowedPrefixes', + 'errorMessage' => 'The number of prefix routes exceeded the quota.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + [ + 'errorCode' => 'ResourceNotFound.AssociationId', + 'errorMessage' => 'EcrAssociationId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"05130E79-588D-5C40-A718-C4863A59****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '修改专线网关(ECR)的前缀路由', + ], + 'ModifyExpressConnectRouter' => [ + 'summary' => '修改专线网关ECR(Express Connect Router)的名称等属性。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197614', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectY33HGU', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-fu8rszhgv7623c****'."\n", + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例的名称。'."\n" + .'> 名称可以为空或长度为 0~128 个字符,不能以 http://或 https://开头。', + 'type' => 'string', + 'required' => false, + 'example' => 'test'."\n", + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例的描述。'."\n" + .'> 描述可以为空或长度为 0~256 个字符,不能以 http://或 https://开头。', + 'type' => 'string', + 'required' => false, + 'example' => 'test'."\n", + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00**** '."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<ModifyEcrResponse>', + 'description' => 'RpcResponse<ModifyEcrResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****'."\n", + ], + 'Success' => [ + 'description' => '修改专线网关实例是否成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True'."\n", + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK'."\n", + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.Name'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of Name **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\\\n\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.Name\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of Name **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\"\\n}","type":"json"}]', + 'title' => '修改专线网关(ECR)属性', + 'description' => '只能修改**Active**状态的专线网关实例。', + ], + 'DescribeExpressConnectRouterInterRegionTransitMode' => [ + 'summary' => '查询专线网关ECR(Express Connect Router)的跨地域转发模式。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '199363', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectLCKWNS', + 'FEATUREexpressconnect2V07Q4', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => 'FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg==', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeEcrRegionTransitModeResponse>', + 'description' => 'RpcResponse<DescribeEcrRegionTransitModeResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + 'InterRegionTransitModeList' => [ + 'description' => '跨域转发模式列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => '专线网关所属的地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'Mode' => [ + 'description' => 'ECR跨域转发模式,取值:'."\n" + .'- **ECMP**:负载均衡模式。'."\n" + .'- **NearBy**:就近转发模式。', + 'type' => 'string', + 'example' => 'ECMP', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\",\\n \\"InterRegionTransitModeList\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Mode\\": \\"ECMP\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询专线网关(ECR)的跨域转发模式', + ], + 'DescribeExpressConnectRouterAllowedPrefixHistory' => [ + 'summary' => '查询专线网关ECR(Express Connect Router)前缀路由的历史记录。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '199365', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectDQ6AHD', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关加载的实例ID。'."\n" + ."\n" + .'> **InstanceId**参数和**AssociationId**参数必须输入一个。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-j6cwxhgg0s5nuephp****', + ], + ], + [ + 'name' => 'InstanceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '网络实例的类型。取值:'."\n" + .'- **VPC**:虚拟专有网络实例。'."\n" + .'- **TR**:转发路由器实例。', + 'type' => 'string', + 'required' => false, + 'example' => 'VPC', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => 'FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg==', + ], + ], + [ + 'name' => 'AssociationId', + 'in' => 'formData', + 'schema' => [ + 'title' => '专线网关与专有网络VPC或转发路由器TR的关联的实例ID。', + 'description' => '专线网关与专有网络VPC或转发路由器TR的关联的实例ID。'."\n" + ."\n" + .'> **InstanceId**参数和**AssociationId**参数必须输入一个。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecr-assoc-9p2qxx5phpca2m****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeEcrAllowedPrefixHistoryResponse>', + 'description' => 'RpcResponse<DescribeEcrAllowedPrefixHistoryResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + 'AllowedPrefixHistoryList' => [ + 'description' => '历史前缀路由列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AllowedPrefix' => [ + 'description' => '前缀路由。', + 'type' => 'array', + 'items' => [ + 'description' => '前缀路由条目。', + 'type' => 'string', + 'example' => '10.0.**.**/1', + ], + ], + 'GmtCreate' => [ + 'description' => '创建历史路由条目的时间。', + 'type' => 'string', + 'example' => '1673751163000', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ResourceNotFound.InstanceId', + 'errorMessage' => 'The instance id does not exist.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + [ + 'errorCode' => 'ResourceNotFound.AssociationId', + 'errorMessage' => 'EcrAssociationId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\",\\n \\"AllowedPrefixHistoryList\\": [\\n {\\n \\"AllowedPrefix\\": [\\n \\"10.0.**.**/1\\"\\n ],\\n \\"GmtCreate\\": \\"1673751163000\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询专线网关(ECR)的前缀路由历史记录', + ], + 'DescribeExpressConnectRouter' => [ + 'summary' => '查询专线网关ECR(Express Connect Router)列表。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '199357', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecr-fu8rszhgv7623c****', + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例名称。长度为0~128个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + .'- 如果有下一次查询,取值为上一次 API 调用返回的 NextToken 值。', + 'type' => 'string', + 'required' => false, + 'example' => 'e0a2dbeb69a8beeeb8194e92b702df3fd3e7bfe6ce7bfc16e0b5e8707e68181f', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值为20。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '进行过滤的标签列表。最多支持20个标签。', + 'type' => 'array', + 'items' => [ + 'description' => '标签信息。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '实例的标签键。一旦传入该值,则不允许为空字符串。'."\n" + ."\n" + .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestKey', + ], + 'Value' => [ + 'description' => '标签值。最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。一旦输入该值,可以为空字符串。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestValue', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例所属资源组的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek2aq7f4va****'."\n", + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeEcrResponse>', + 'description' => 'RpcResponse<DescribeEcrResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '查询已创建ECR实例是否成功。取值:'."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.Name', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of Name **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + 'TotalCount' => [ + 'description' => '专线网关实例总条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'MaxResults' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值为20。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'NextToken' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 如果 NextToken 为空表示没有下一次查询。'."\n" + .'- 如果 NextToken 有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'example' => 'AAAAAdDWBF2w6Olxc+cMPjUtUMpttDGZkffvHCfhBKKNEyCVaq+WUEzuUWpp9+QOApNf6g==', + ], + 'EcrList' => [ + 'description' => '专线网关实例列表。', + 'type' => 'array', + 'items' => [ + 'description' => '专线网关实例。', + 'type' => 'object', + 'properties' => [ + 'EcrId' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + 'OwnerId' => [ + 'description' => '专线网关实例所属的阿里云账号ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '170646818729****', + ], + 'GmtCreate' => [ + 'description' => '专线网关实例创建时间。按照 ISO8601 标准表示,并需要使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。', + 'type' => 'string', + 'example' => '2023-02-16T01:44:50Z'."\n", + ], + 'GmtModified' => [ + 'description' => '专线网关实例修改时间。按照 ISO8601 标准表示,并需要使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。', + 'type' => 'string', + 'example' => '2023-02-16T01:44:50Z', + ], + 'Status' => [ + 'description' => '服务实例的部署状态。可能值:'."\n" + ."\n" + .'- **ACTIVE**:已创建。'."\n" + ."\n" + .'- **UPDATING**:修改中。'."\n" + ."\n" + .'- **ASSOCIATING**:资源绑定中。'."\n" + ."\n" + .'- **DISSOCIATING**:资源解绑中。'."\n" + ."\n" + .'- **LOCKED_ATTACHING**:被外部系统绑定锁定。'."\n" + ."\n" + .'- **LOCKED_DETACHING**:被外部系统解绑锁定。'."\n" + ."\n" + .'- **RECLAIMING**:等待释放资源。'."\n" + ."\n" + .'- **DELETING**:删除中。', + 'type' => 'string', + 'example' => 'Active', + ], + 'BizStatus' => [ + 'description' => '服务实例的业务状态。可能的值:'."\n" + ."\n" + .'- **Normal**:正常。'."\n" + ."\n" + .'- **FinancialLocked**:欠费锁定。', + 'type' => 'string', + 'example' => 'Normal', + ], + 'ResourceGroupId' => [ + 'description' => '专线网关实例所属资源组的ID。', + 'type' => 'string', + 'example' => 'rg-aekzuscospt****', + ], + 'Tags' => [ + 'description' => '标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => '标签。', + 'type' => 'object', + 'properties' => [ + 'TagKey' => [ + 'description' => '专线网关实例的标签键。', + 'type' => 'string', + 'example' => 'test', + ], + 'TagValue' => [ + 'description' => '专线网关实例的标签值。', + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + ], + 'Name' => [ + 'description' => '专线网关实例名称。', + 'type' => 'string', + 'example' => 'test', + ], + 'Description' => [ + 'description' => '专线网关实例的描述信息。', + 'type' => 'string', + 'example' => 'test', + ], + 'AlibabaSideAsn' => [ + 'description' => '专线网关实例的ASN号。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '45104', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'IllegalParam.%s', + 'errorMessage' => 'The param of %s is illegal.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.Name\\",\\n \\"DynamicMessage\\": \\"The param format of Name **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\",\\n \\"TotalCount\\": 2,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"AAAAAdDWBF2w6Olxc+cMPjUtUMpttDGZkffvHCfhBKKNEyCVaq+WUEzuUWpp9+QOApNf6g==\\",\\n \\"EcrList\\": [\\n {\\n \\"EcrId\\": \\"ecr-mezk2idmsd0vx2****\\",\\n \\"OwnerId\\": 0,\\n \\"GmtCreate\\": \\"2023-02-16T01:44:50Z\\\\n\\",\\n \\"GmtModified\\": \\"2023-02-16T01:44:50Z\\",\\n \\"Status\\": \\"Active\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"ResourceGroupId\\": \\"rg-aekzuscospt****\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"test\\",\\n \\"TagValue\\": \\"test\\"\\n }\\n ],\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"AlibabaSideAsn\\": 45104\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询专线网关(ECR)列表', + ], + 'ForceDeleteExpressConnectRouter' => [ + 'summary' => '删除专线网关ECR(Express Connect Router),并解绑相关联的专有网络(VPC),转发路由器(TR)和边界路由器(VBR)。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197612', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnect7LHFR8', + 'FEATUREexpressconnectQL8QN0', + 'FEATUREexpressconnectNHSYB7', + ], + ], + 'parameters' => [ + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-fu8rszhgv7623c****'."\n", + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00**** '."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<ForceDeleteEcrResponse>', + 'description' => 'RpcResponse<ForceDeleteEcrResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****'."\n", + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'MissingParam.%s', + 'errorMessage' => 'The param of %s is missing.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + [ + 'errorCode' => 'Conflict.Lock', + 'errorMessage' => 'There are other unfinished operations.', + ], + [ + 'errorCode' => 'OperationFailed.UsedInRouteEntryNextHop', + 'errorMessage' => 'The VPC also has a static route pointing to the ECR, and it is not allowed to disassociate the ECR.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound.EcrId', + 'errorMessage' => 'EcrId not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\"\\n}","type":"json"}]', + 'title' => '删除专线网关(ECR)及关联关系', + 'description' => '- 强制删除专线网关实例,会将绑定的资源一次性全部删除,请确认删除后不影响业务稳定性。'."\n" + ."\n" + .'- 只能删除**Active**状态的专线网关实例。', + ], + 'CreateFlowLog' => [ + 'summary' => '创建流日志默认开启日志投递。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '253947', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectH4NOM0', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + [ + 'name' => 'FlowLogName', + 'in' => 'formData', + 'schema' => [ + 'description' => '流日志名称。'."\n" + .'> 名称可以为空或长度为 0~128 个字符,不能以 http://或 https://开头。', + 'type' => 'string', + 'required' => false, + 'example' => 'myFlowlog', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志的描述信息。'."\n" + .'> 描述可以为空或长度为 0~256 个字符,不能以 http://或 https://开头。', + 'type' => 'string', + 'required' => false, + 'example' => 'myFlowlog', + ], + ], + [ + 'name' => 'InstanceType', + 'in' => 'query', + 'schema' => [ + 'description' => '网络实例的类型。取值:'."\n" + .'- **VBR**:边界路由器实例。', + 'type' => 'string', + 'required' => true, + 'example' => 'VBR', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'VBR 实例 ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'vbr-xxx'."\n", + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志捕获流量的捕获窗口时长。单位:秒。取值:'."\n" + ."\n" + .'- **60** '."\n" + .'- **600**'."\n" + ."\n" + .'默认值:**600**。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '60', + ], + ], + [ + 'name' => 'SamplingRate', + 'in' => 'query', + 'schema' => [ + 'description' => '采样比例。取值'."\n" + ."\n" + .'- **1:4096**'."\n" + .'- **1:2048**'."\n" + .'- **1:1024**'."\n" + ."\n" + .'默认值:**1:4096**。', + 'type' => 'string', + 'required' => false, + 'example' => '1:4096 ', + ], + ], + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '存储捕获流量的 Project。'."\n" + .'- 如果您已经在当前地域创建了 Project,您可以输入已创建的 Project 的名称。'."\n" + .'- 如果您未在当前地域创建 Project,您可以为 Project 自定义名称,系统会帮您自动创建 Project。'."\n" + ."\n\n" + .'Project 名称在阿里云地域内全局唯一,创建后不可修改。其命名规则如下:'."\n" + .' '."\n" + .'- Project名称必须全局唯一。'."\n" + .'- 只能包括小写'."\n" + .'- 字母、数字和短划线(-)。'."\n" + .'- 必须以小写字母或者数字开头和结尾。'."\n" + .'- 长度为 3~63 字符。', + 'type' => 'string', + 'required' => true, + 'example' => 'flowlog-project', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'query', + 'schema' => [ + 'description' => '存储捕获流量的 Logstore。'."\n" + .'- 如果您已经在当前地域创建了 Logstore,您可以输入已创建的 Logstore 的名称。'."\n" + .'- 如果您未在当前地域创建 Logstore,您可以为 Logstore 自定义名称,系统会帮您自动创建 Logstore。 Logstore 名称。其命名规则如下:'."\n" + ."\n" + .'- 同一个 Project 下,Logstore 名称不可重复。'."\n" + .'- 只能包括小写字母、数字、短划线(-)和下划线(_)。'."\n" + .'- 必须以小写字母或者数字开头和结尾。'."\n" + .'- 长度为 3~63 字符。', + 'type' => 'string', + 'required' => true, + 'example' => 'flowlog-logstore', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签。'."\n" + ."\n" + .'最多可以绑定20个标签。', + 'type' => 'array', + 'items' => [ + 'description' => '标签信息。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '资源的标签键。一旦传入该值,则不允许为空字符串。最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或者https://。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestKey', + ], + 'Value' => [ + 'description' => '监听的标签值。N的取值范围:1~20。一旦传入该值,可以为空字符串。最多支持128个字符,不能以acs:开头,不能包含http://或者https://。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestValue', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => '流日志实例所属的资源组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek2aq7f4va****'."\n", + ], + ], + [ + 'name' => 'TargetSlsRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '当前字段代表需要投递的project所属region信息,仅跨地域投递需要填写该字段, 非跨地域投递不需要填写该字段。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<CreateAssociationResponse>', + 'description' => 'RpcResponse<CreateAssociationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****'."\n", + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的%**s**。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则表示所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + 'FlowLogId' => [ + 'description' => '流日志实例ID。', + 'type' => 'string', + 'example' => 'ecr-flog-m5evbtbpt****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + [ + 'errorCode' => 'ResourceAlreadyExist.FlowLogId', + 'errorMessage' => 'The specified resource of FlowLogId[%s] already exists.', + ], + [ + 'errorCode' => 'InternalErrorTemp', + 'errorMessage' => 'The request processing has failed due to some unknown error.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\",\\n \\"FlowLogId\\": \\"ecr-flog-m5evbtbpt****\\"\\n}","type":"json"}]', + 'title' => '创建流日志', + ], + 'DeleteFlowlog' => [ + 'summary' => '删除流日志。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '253978', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectH4NOM0', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + [ + 'name' => 'FlowLogId', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-flog-m5evbtbpt****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<CreateAssociationResponse>', + 'description' => 'RpcResponse<CreateAssociationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****'."\n", + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\"\\n}","type":"json"}]', + 'title' => '删除流日志', + ], + 'ModifyFlowLogAttribute' => [ + 'summary' => '可以修改名称、描述、采样率、采样周期。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '254019', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectH4NOM0', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-fu8rszhgv7623c****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + [ + 'name' => 'FlowLogName', + 'in' => 'formData', + 'schema' => [ + 'description' => '流日志的新名称。长度为0~128个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'myFlowlog', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志捕获流量的捕获窗口时长。单位:秒。取值:'."\n" + ."\n" + .'- **60** '."\n" + .'- **600**'."\n" + ."\n" + .'默认值:**600**。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '600', + ], + ], + [ + 'name' => 'SamplingRate', + 'in' => 'query', + 'schema' => [ + 'description' => '采样比例。取值'."\n" + ."\n" + .'- **1:4096**'."\n" + .'- **1:2048**'."\n" + .'- **1:1024**'."\n" + ."\n" + .'默认值:**1:4096**。', + 'type' => 'string', + 'required' => false, + 'example' => '1:4096', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志的描述信息。描述可以为空或长度为 0~256 个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'myFlowlog', + ], + ], + [ + 'name' => 'FlowLogId', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-flog-m5evbtbpt****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<CreateAssociationResponse>', + 'description' => 'RpcResponse<CreateAssociationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****'."\n", + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '实例操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\"\\n}","type":"json"}]', + 'title' => '修改流日志', + ], + 'DescribeFlowLogs' => [ + 'summary' => '查询流日志。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '253981', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectH4NOM0', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-a5xqrgbeidz1w8****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签。'."\n" + ."\n" + .'最多可以绑定20个标签。', + 'type' => 'array', + 'items' => [ + 'description' => '标签列表。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '资源的标签键。一旦传入该值,则不允许为空字符串。最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或者https://。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestKey', + ], + 'Value' => [ + 'description' => '监听的标签值。N的取值范围:1~20。一旦传入该值,可以为空字符串。最多支持128个字符,不能以acs:开头,不能包含http://或者https://。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestValue', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 如果 NextToken 为空表示没有下一次查询。'."\n" + .'- 如果 NextToken 有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'required' => false, + 'example' => 'gAAAAABkWw*******', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值:10。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'FlowLogId', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecr-flog-jqnr0veifo5d****', + ], + ], + [ + 'name' => 'FlowLogName', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志名称。长度为0~128个字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'same-flowlog', + ], + ], + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '存储捕获流量的 Project。'."\n" + .'- 如果您已经在当前地域创建了 Project,您可以输入已创建的 Project 的名称。'."\n" + .'- 如果您未在当前地域创建 Project,您可以为 Project 自定义名称,系统会帮您自动创建 Project。'."\n" + ."\n\n" + .'Project 名称在阿里云地域内全局唯一,创建后不可修改。其命名规则如下:'."\n" + .' '."\n" + .'- Project名称必须全局唯一。'."\n" + .'- 只能包括小写'."\n" + .'- 字母、数字和短划线(-)。'."\n" + .'- 必须以小写字母或者数字开头和结尾。'."\n" + .'- 长度为 3~63 字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'myFlowlog', + ], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'query', + 'schema' => [ + 'description' => '存储捕获流量的 Logstore。'."\n" + .'- 如果您已经在当前地域创建了 Logstore,您可以输入已创建的 Logstore 的名称。'."\n" + .'- 如果您未在当前地域创建 Logstore,您可以为 Logstore 自定义名称,系统会帮您自动创建 Logstore。 Logstore 名称。其命名规则如下:'."\n" + ."\n" + .'- 同一个 Project 下,Logstore 名称不可重复。'."\n" + .'- 只能包括小写字母、数字、短划线(-)和下划线(_)。'."\n" + .'- 必须以小写字母或者数字开头和结尾。'."\n" + .'- 长度为 3~63 字符。', + 'type' => 'string', + 'required' => false, + 'example' => 'myFlowlog', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '专线网关加载的VBR实例ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'vbr-j6cwxhgg0s5nuephp****'."\n", + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志实例所属资源组的ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aek2aq7f4va****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<CreateAssociationResponse>', + 'description' => 'RpcResponse<CreateAssociationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + 'TotalCount' => [ + 'description' => '符合查询条件的记录总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '11', + ], + 'MaxResults' => [ + 'description' => '本次读取的最大数据量。取值范围:1~2147483647。默认值为10。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'NextToken' => [ + 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + .'- 如果**NextToken**为空表示没有下一次查询。'."\n" + .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', + 'type' => 'string', + 'example' => 'AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****', + ], + 'FlowLogs' => [ + 'description' => '流日志信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '流日志信息。', + 'type' => 'object', + 'properties' => [ + 'FlowLogId' => [ + 'description' => '流日志实例ID。', + 'type' => 'string', + 'example' => 'ecr-flog-leypqehtgtia2*****', + ], + 'EcrId' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'example' => 'ecr-h4cop1khw98*****', + ], + 'RegionId' => [ + 'description' => 'ECR所属的地域ID。', + 'type' => 'string', + 'example' => 'cn-shanghai', + ], + 'Status' => [ + 'description' => '流日志的状态。'."\n" + .'- **Active**:已启动。'."\n" + .'- **Inactive**:未启动。', + 'type' => 'string', + 'example' => 'Active', + ], + 'FlowLogName' => [ + 'description' => '流日志的名称。', + 'type' => 'string', + 'example' => 'myFlowlog', + ], + 'Description' => [ + 'description' => '专线网关实例的描述信息。', + 'type' => 'string', + 'example' => 'myFlowlog', + ], + 'Interval' => [ + 'description' => '流日志捕获流量的捕获窗口时长。单位:秒。取值:'."\n" + ."\n" + .'- **60** '."\n" + .'- **600**'."\n" + ."\n" + .'默认值:**600**。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '600', + ], + 'SamplingRate' => [ + 'description' => '采样比例。取值'."\n" + ."\n" + .'- **1:4096**'."\n" + .'- **1:2048**'."\n" + .'- **1:1024**'."\n" + ."\n" + .'默认值:**1:4096**。', + 'type' => 'string', + 'example' => '1:4096 ', + ], + 'LogStoreName' => [ + 'description' => '存储捕获流量的 LogStore 名称。', + 'type' => 'string', + 'example' => 'FlowLogStore', + ], + 'ProjectName' => [ + 'description' => '存储捕获流量的 Project 名称。', + 'type' => 'string', + 'example' => 'FlowLogProject', + ], + 'InstanceType' => [ + 'description' => '网络实例的类型。取值:'."\n" + .'- **VBR**:边界路由器实例。', + 'type' => 'string', + 'example' => 'VBR', + ], + 'ResourceGroupId' => [ + 'description' => '专线网关实例所属资源组的ID。', + 'type' => 'string', + 'example' => 'rg-aekzb3xwrexc4ry', + ], + 'Tags' => [ + 'description' => '专线网关实例的标签键。', + 'type' => 'array', + 'items' => [ + 'description' => '专线网关实例的标签键。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '实例的标签键。一旦传入该值,则不允许为空字符串。'."\n" + ."\n" + .'> 最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', + 'type' => 'string', + 'example' => 'TagKey', + ], + 'Value' => [ + 'description' => '标签值。'."\n" + ."\n" + .'>最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。一旦输入该值,可以为空字符串。', + 'type' => 'string', + 'example' => 'TagValue', + ], + ], + ], + ], + 'InstanceId' => [ + 'description' => '授权实例的ID。', + 'type' => 'string', + 'example' => 'vbr-9dpty76irpf4u15*****', + ], + 'CreationTime' => [ + 'description' => '流日志的创建时间。'."\n" + .'时间按照 ISO8601 标准表示,并使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。', + 'type' => 'string', + 'example' => '2023-09-21T04:20Z', + ], + 'SlsRegionId' => [ + 'description' => '日志服务的地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + [ + 'errorCode' => 'IllegalParamFormat.%s', + 'errorMessage' => 'The param format of %s is illegal.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\",\\n \\"TotalCount\\": 11,\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"AAAAAYws9fJ0Ur4MGm/5OkDoW/Zn0J0/sCjivzwX9oBcwFnWaaas/kSG+J/WzLOxJHS4****\\",\\n \\"FlowLogs\\": [\\n {\\n \\"FlowLogId\\": \\"ecr-flog-leypqehtgtia2*****\\",\\n \\"EcrId\\": \\"ecr-h4cop1khw98*****\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"Status\\": \\"Active\\",\\n \\"FlowLogName\\": \\"myFlowlog\\",\\n \\"Description\\": \\"myFlowlog\\",\\n \\"Interval\\": 600,\\n \\"SamplingRate\\": \\"1:4096 \\",\\n \\"LogStoreName\\": \\"FlowLogStore\\",\\n \\"ProjectName\\": \\"FlowLogProject\\",\\n \\"InstanceType\\": \\"VBR\\",\\n \\"ResourceGroupId\\": \\"rg-aekzb3xwrexc4ry\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"TagKey\\",\\n \\"Value\\": \\"TagValue\\"\\n }\\n ],\\n \\"InstanceId\\": \\"vbr-9dpty76irpf4u15*****\\",\\n \\"CreationTime\\": \\"2023-09-21T04:20Z\\",\\n \\"SlsRegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询流日志', + ], + 'DeactivateFlowLog' => [ + 'summary' => '流日志停止日志投递。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '254021', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectH4NOM0', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + [ + 'name' => 'FlowLogId', + 'in' => 'formData', + 'schema' => [ + 'description' => '流日志实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-flog-m5evbtbpt****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<CreateAssociationResponse>', + 'description' => 'RpcResponse<CreateAssociationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId', + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则代表所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.', + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\"\\n}","type":"json"}]', + 'title' => '停止流日志', + ], + 'ActivateFlowLog' => [ + 'summary' => '流日志开启日志投递。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '254020', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectH4NOM0', + ], + ], + 'parameters' => [ + [ + 'name' => 'EcrId', + 'in' => 'formData', + 'schema' => [ + 'description' => '专线网关实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ecr-mezk2idmsd0vx2****', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId可能不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + [ + 'name' => 'FlowLogId', + 'in' => 'formData', + 'schema' => [ + 'description' => '流日志实例ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'flowlog-m5evbtbpt****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<CreateAssociationResponse>', + 'description' => 'RpcResponse<CreateAssociationResponse>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '05130E79-588D-5C40-A718-C4863A59****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **True**:成功。'."\n" + .'- **False**:失败。', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '操作返回信息。', + 'type' => 'string', + 'example' => 'OK', + ], + 'HttpStatusCode' => [ + 'description' => 'HTTP状态码。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DynamicCode' => [ + 'description' => '动态错误码。', + 'type' => 'string', + 'example' => 'IllegalParamFormat.EcrId'."\n", + ], + 'DynamicMessage' => [ + 'description' => '动态错误信息,用于替换返回参数**ErrMessage**错误信息中的`%s`。'."\n" + ."\n" + .'> 如果**ErrMessage**返回**The Value of Input Parameter %s is not valid**,且**DynamicMessage**返回**DtsJobId**,则表示所传入的请求参数**DtsJobId**不合法。', + 'type' => 'string', + 'example' => 'The param format of EcrId **** is illegal.'."\n", + ], + 'AccessDeniedDetail' => [ + 'description' => '访问被拒绝详细信息。', + 'type' => 'string', + 'example' => 'Authentication is failed for ****'."\n", + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IncorrectStatus.Ecr', + 'errorMessage' => 'Ecr Status does not allow current operation.', + ], + [ + 'errorCode' => 'OperationDenied.ForceDeleting', + 'errorMessage' => 'The current instance is being deleted.', + ], + [ + 'errorCode' => 'UnsupportedRegion', + 'errorMessage' => 'Feature not supported in specified region.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"05130E79-588D-5C40-A718-C4863A59****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"DynamicCode\\": \\"IllegalParamFormat.EcrId\\\\n\\",\\n \\"DynamicMessage\\": \\"The param format of EcrId **** is illegal.\\\\n\\",\\n \\"AccessDeniedDetail\\": \\"Authentication is failed for ****\\\\n\\"\\n}","type":"json"}]', + 'title' => '启用流日志', + ], + 'TagResources' => [ + 'summary' => '专线网关绑定标签。每次调用该 API 只能为一个专线网关绑定标签,可一次绑定多个标签。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '200701', + 'abilityTreeNodes' => [ + 'FEATUREexpressconnectI9TIJD', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceId', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '专线网关实例 ID 列表。', + 'type' => 'array', + 'items' => [ + 'description' => '专线网关实例 ID 列表。最多支持添加20个资源。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecr-897j0jooxyr1aq****', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '要进行绑定的标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => '要进行绑定的标签。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '资源的标签键。'."\n" + ."\n" + .'一旦传入该值,则不允许为空字符串。最多支持64个字符,不能以`aliyun`或者`acs:`开头,不能包含`http://`或者`https:// `。'."\n" + ."\n" + .'一次最多支持输入20个标签的标签键。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestKey', + ], + 'Value' => [ + 'description' => '标签值。最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。一旦输入该值,可以为空字符串。'."\n" + ."\n" + .'一次调用最多支持添加20个标签值。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestValue', + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '资源类型。支持的类型为 **EXPRESSCONNECTROUTER**,即专线网关实例。', + 'type' => 'string', + 'required' => true, + 'example' => 'EXPRESSCONNECTROUTER', + ], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会修改服务资源。'."\n" + .'- **false**(默认值):发送正常请求。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '客户端 Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用 API 请求的 **RequestId** 作为 **ClientToken** 标识。每次 API 请求的 **RequestId** 不一样。', + 'type' => 'string', + 'required' => false, + 'example' => '02fb3da4-130e-11e9-8e44-00****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<BaseResult>', + 'description' => 'RpcResponse<BaseResult>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '6FABF516-FED3-5697-BDA2-B18C5D9A****', + ], + 'Success' => [ + 'description' => '是否调用成功。取值:'."\n" + ."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'description' => '判断调用是否成功。返回值为200表示加载成功,返回其他值表示加载失败,失败原因参见错误码。', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '接口返回信息', + 'type' => 'string', + 'example' => 'OK', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6FABF516-FED3-5697-BDA2-B18C5D9A****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '专线网关绑定标签', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhengzhou-jva', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-nanjing', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-fuzhou', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-heyuan', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-guangzhou', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wuhan-lr', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-2', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-6', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-7', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing-finance-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'me-central-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-heyuan-acdr-1', + 'endpoint' => 'expressconnectrouter.cn-shanghai.aliyuncs.com', + ], + ], +]; |
