From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/hcs-mgw/2024-06-26/api-docs.php | 1984 ++++++++++------------------------ 1 file changed, 598 insertions(+), 1386 deletions(-) (limited to 'data/hcs-mgw/2024-06-26') diff --git a/data/hcs-mgw/2024-06-26/api-docs.php b/data/hcs-mgw/2024-06-26/api-docs.php index 7ace1c6..0ead8d0 100644 --- a/data/hcs-mgw/2024-06-26/api-docs.php +++ b/data/hcs-mgw/2024-06-26/api-docs.php @@ -1,548 +1,264 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'hcs-mgw', - 'version' => '2024-06-26', - ], + 'info' => ['style' => 'ROA', 'product' => 'hcs-mgw', 'version' => '2024-06-26'], 'components' => [ 'schemas' => [ 'AddressDetail' => [ 'type' => 'object', 'properties' => [ - 'AddressType' => [ - 'type' => 'string', - 'required' => true, - ], - 'Bucket' => [ - 'type' => 'string', - 'required' => true, - ], - 'Domain' => [ - 'type' => 'string', - 'required' => true, - ], - 'Prefix' => [ - 'type' => 'string', - ], - 'AccessId' => [ - 'type' => 'string', - 'required' => true, - ], - 'AccessSecret' => [ - 'type' => 'string', - 'required' => true, - ], - 'Role' => [ - 'type' => 'string', - ], - 'InvDomain' => [ - 'type' => 'string', - ], - 'InvBucket' => [ - 'type' => 'string', - ], - 'InvAccessId' => [ - 'type' => 'string', - ], - 'InvAccessSecret' => [ - 'type' => 'string', - ], - 'InvPath' => [ - 'type' => 'string', - ], - 'InvRole' => [ - 'type' => 'string', - ], - 'InvLocation' => [ - 'type' => 'string', - ], - 'AgentList' => [ - 'type' => 'string', - ], - 'RegionId' => [ - 'type' => 'string', - ], - 'InvRegionId' => [ - 'type' => 'string', - ], - 'DataType' => [ - 'type' => 'string', - ], + 'AddressType' => ['type' => 'string', 'required' => true], + 'Bucket' => ['type' => 'string', 'required' => true], + 'Domain' => ['type' => 'string', 'required' => true], + 'Prefix' => ['type' => 'string'], + 'AccessId' => ['type' => 'string', 'required' => true], + 'AccessSecret' => ['type' => 'string', 'required' => true], + 'Role' => ['type' => 'string'], + 'InvDomain' => ['type' => 'string'], + 'InvBucket' => ['type' => 'string'], + 'InvAccessId' => ['type' => 'string'], + 'InvAccessSecret' => ['type' => 'string'], + 'InvPath' => ['type' => 'string'], + 'InvRole' => ['type' => 'string'], + 'InvLocation' => ['type' => 'string'], + 'AgentList' => ['type' => 'string'], + 'RegionId' => ['type' => 'string'], + 'InvRegionId' => ['type' => 'string'], + 'DataType' => ['type' => 'string'], + 'HdfsAuthConfig' => ['$ref' => '#/components/schemas/HdfsAuthConfig'], ], ], 'Audit' => [ 'type' => 'object', 'properties' => [ - 'LogMode' => [ - 'type' => 'string', - ], + 'LogMode' => ['type' => 'string'], ], ], 'CreateAddressInfo' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'AddressDetail' => [ - '$ref' => '#/components/schemas/AddressDetail', - 'required' => true, - ], - 'Tags' => [ - 'type' => 'string', - ], + 'Name' => ['type' => 'string', 'required' => true], + 'AddressDetail' => ['$ref' => '#/components/schemas/AddressDetail', 'required' => true], + 'Tags' => ['type' => 'string'], ], ], 'CreateAgentInfo' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'DeployMethod' => [ - 'type' => 'string', - 'required' => true, - ], - 'AgentEndpoint' => [ - 'type' => 'string', - 'required' => true, - ], - 'Tags' => [ - 'type' => 'string', - ], - 'TunnelId' => [ - 'type' => 'string', - 'required' => true, - ], + 'Name' => ['type' => 'string', 'required' => true], + 'DeployMethod' => ['type' => 'string', 'required' => true], + 'AgentEndpoint' => ['type' => 'string', 'required' => true], + 'Tags' => ['type' => 'string'], + 'TunnelId' => ['type' => 'string', 'required' => true], ], ], 'CreateJobInfo' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - ], - 'SrcAddress' => [ - 'type' => 'string', - 'required' => true, - ], - 'DestAddress' => [ - 'type' => 'string', - 'required' => true, - ], - 'OverwriteMode' => [ - 'type' => 'string', - 'required' => true, - ], - 'TransferMode' => [ - 'type' => 'string', - 'required' => true, - ], - 'Tags' => [ - 'type' => 'string', - ], - 'ParentVersion' => [ - 'type' => 'string', - ], - 'ConvertSymlinkTarget' => [ - 'type' => 'boolean', - ], - 'Audit' => [ - '$ref' => '#/components/schemas/Audit', - ], - 'EnableMultiVersioning' => [ - 'type' => 'boolean', - ], - 'FilterRule' => [ - '$ref' => '#/components/schemas/FilterRule', - ], - 'ImportQos' => [ - '$ref' => '#/components/schemas/ImportQos', - ], - 'ScheduleRule' => [ - '$ref' => '#/components/schemas/ScheduleRule', - ], - 'CreateReport' => [ - 'type' => 'boolean', - ], - 'WithStorageClass' => [ - 'type' => 'boolean', - ], - 'TargetStorageClass' => [ - 'type' => 'string', - ], - 'WithLastModifyTime' => [ - 'type' => 'boolean', - ], - 'AppendableToNormal' => [ - 'type' => 'boolean', - ], + 'Name' => ['type' => 'string', 'required' => true], + 'SrcAddress' => ['type' => 'string', 'required' => true], + 'DestAddress' => ['type' => 'string', 'required' => true], + 'OverwriteMode' => ['type' => 'string', 'required' => true], + 'TransferMode' => ['type' => 'string', 'required' => true], + 'Tags' => ['type' => 'string'], + 'ParentVersion' => ['type' => 'string'], + 'ConvertSymlinkTarget' => ['type' => 'boolean'], + 'Audit' => ['$ref' => '#/components/schemas/Audit'], + 'EnableMultiVersioning' => ['type' => 'boolean'], + 'FilterRule' => ['$ref' => '#/components/schemas/FilterRule'], + 'ImportQos' => ['$ref' => '#/components/schemas/ImportQos'], + 'ScheduleRule' => ['$ref' => '#/components/schemas/ScheduleRule'], + 'CreateReport' => ['type' => 'boolean'], + 'WithStorageClass' => ['type' => 'boolean'], + 'TargetStorageClass' => ['type' => 'string'], + 'WithLastModifyTime' => ['type' => 'boolean'], + 'AppendableToNormal' => ['type' => 'boolean'], ], ], 'CreateReportInfo' => [ 'type' => 'object', 'properties' => [ - 'JobName' => [ - 'type' => 'string', - ], - 'Version' => [ - 'type' => 'string', - ], - 'RuntimeId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'JobName' => ['type' => 'string'], + 'Version' => ['type' => 'string'], + 'RuntimeId' => ['type' => 'integer', 'format' => 'int32'], ], ], 'CreateTunnelInfo' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'TunnelQos' => [ - '$ref' => '#/components/schemas/TunnelQos', + 'TunnelQos' => ['$ref' => '#/components/schemas/TunnelQos'], + 'Tags' => ['type' => 'string'], + ], + ], + 'Excludes' => [ + 'type' => 'object', + 'properties' => [ + 'TimeFilter' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/TimeFilter'], ], - 'Tags' => [ - 'type' => 'string', + 'Regex' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], 'FileTypeFilters' => [ 'type' => 'object', 'properties' => [ - 'ExcludeSymlink' => [ - 'type' => 'boolean', - ], - 'ExcludeDir' => [ - 'type' => 'boolean', - ], + 'ExcludeSymlink' => ['type' => 'boolean'], + 'ExcludeDir' => ['type' => 'boolean'], ], ], 'FilterRule' => [ 'type' => 'object', 'properties' => [ - 'KeyFilters' => [ - '$ref' => '#/components/schemas/KeyFilters', - ], - 'LastModifiedFilters' => [ - '$ref' => '#/components/schemas/LastModifiedFilters', - ], - 'FileTypeFilters' => [ - '$ref' => '#/components/schemas/FileTypeFilters', - ], + 'KeyFilters' => ['$ref' => '#/components/schemas/KeyFilters'], + 'LastModifiedFilters' => ['$ref' => '#/components/schemas/LastModifiedFilters'], + 'FileTypeFilters' => ['$ref' => '#/components/schemas/FileTypeFilters'], ], ], 'GetAddressResp' => [ 'type' => 'object', 'properties' => [ - 'Owner' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'AddressDetail' => [ - '$ref' => '#/components/schemas/AddressDetail', - ], - 'CreateTime' => [ - 'type' => 'string', - ], - 'ModifyTime' => [ - 'type' => 'string', - ], - 'VerifyTime' => [ - 'type' => 'string', - ], - 'Version' => [ - 'type' => 'string', - ], - 'Tags' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'VerifyResult' => [ - '$ref' => '#/components/schemas/VerifyResp', - ], + 'Owner' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'AddressDetail' => ['$ref' => '#/components/schemas/AddressDetail'], + 'CreateTime' => ['type' => 'string'], + 'ModifyTime' => ['type' => 'string'], + 'VerifyTime' => ['type' => 'string'], + 'Version' => ['type' => 'string'], + 'Tags' => ['type' => 'string'], + 'Status' => ['type' => 'string'], + 'VerifyResult' => ['$ref' => '#/components/schemas/VerifyResp'], ], ], 'GetAgentResp' => [ 'type' => 'object', 'properties' => [ - 'Owner' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'string', - ], - 'ModifyTime' => [ - 'type' => 'string', - ], - 'DeployMethod' => [ - 'type' => 'string', - ], - 'AgentEndpoint' => [ - 'type' => 'string', - ], - 'ActivationKey' => [ - 'type' => 'string', - ], - 'Tags' => [ - 'type' => 'string', - ], - 'Version' => [ - 'type' => 'string', - ], - 'TunnelId' => [ - 'type' => 'string', - ], + 'Owner' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'CreateTime' => ['type' => 'string'], + 'ModifyTime' => ['type' => 'string'], + 'DeployMethod' => ['type' => 'string'], + 'AgentEndpoint' => ['type' => 'string'], + 'ActivationKey' => ['type' => 'string'], + 'Tags' => ['type' => 'string'], + 'Version' => ['type' => 'string'], + 'TunnelId' => ['type' => 'string'], ], ], 'GetAgentStatusResp' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'string', - ], - 'AgentVersion' => [ - 'type' => 'string', - ], - 'AgentIP' => [ - 'type' => 'string', - ], + 'Status' => ['type' => 'string'], ], ], 'GetJobResp' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'SrcAddress' => [ - 'type' => 'string', - ], - 'DestAddress' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'EnableMultiVersioning' => [ - 'type' => 'boolean', - ], - 'CreateTime' => [ - 'type' => 'string', - ], - 'ModifyTime' => [ - 'type' => 'string', - ], - 'Version' => [ - 'type' => 'string', - ], - 'Audit' => [ - '$ref' => '#/components/schemas/Audit', - ], - 'OverwriteMode' => [ - 'type' => 'string', - ], - 'TransferMode' => [ - 'type' => 'string', - ], - 'Tags' => [ - 'type' => 'string', - ], - 'ParentName' => [ - 'type' => 'string', - ], - 'ParentVersion' => [ - 'type' => 'string', - ], - 'ConvertSymlinkTarget' => [ - 'type' => 'boolean', - ], - 'CreateReport' => [ - 'type' => 'boolean', - ], - 'Owner' => [ - 'type' => 'string', - ], - 'FilterRule' => [ - '$ref' => '#/components/schemas/FilterRule', - ], - 'ImportQos' => [ - '$ref' => '#/components/schemas/ImportQos', - ], - 'ScheduleRule' => [ - '$ref' => '#/components/schemas/ScheduleRule', - ], - 'WithStorageClass' => [ - 'type' => 'boolean', - ], - 'TargetStorageClass' => [ - 'type' => 'string', - ], - 'WithLastModifyTime' => [ - 'type' => 'boolean', - ], - 'AppendableToNormal' => [ - 'type' => 'boolean', - ], + 'Name' => ['type' => 'string'], + 'SrcAddress' => ['type' => 'string'], + 'DestAddress' => ['type' => 'string'], + 'Status' => ['type' => 'string'], + 'EnableMultiVersioning' => ['type' => 'boolean'], + 'CreateTime' => ['type' => 'string'], + 'ModifyTime' => ['type' => 'string'], + 'Version' => ['type' => 'string'], + 'Audit' => ['$ref' => '#/components/schemas/Audit'], + 'OverwriteMode' => ['type' => 'string'], + 'TransferMode' => ['type' => 'string'], + 'Tags' => ['type' => 'string'], + 'ParentName' => ['type' => 'string'], + 'ParentVersion' => ['type' => 'string'], + 'ConvertSymlinkTarget' => ['type' => 'boolean'], + 'CreateReport' => ['type' => 'boolean'], + 'Owner' => ['type' => 'string'], + 'FilterRule' => ['$ref' => '#/components/schemas/FilterRule'], + 'ImportQos' => ['$ref' => '#/components/schemas/ImportQos'], + 'ScheduleRule' => ['$ref' => '#/components/schemas/ScheduleRule'], + 'WithStorageClass' => ['type' => 'boolean'], + 'TargetStorageClass' => ['type' => 'string'], + 'WithLastModifyTime' => ['type' => 'boolean'], + 'AppendableToNormal' => ['type' => 'boolean'], ], ], 'GetJobResultResp' => [ 'type' => 'object', 'properties' => [ - 'ReadyRetry' => [ - 'type' => 'string', - ], - 'InvPath' => [ - 'type' => 'string', - ], - 'InvBucket' => [ - 'type' => 'string', - ], - 'InvDomain' => [ - 'type' => 'string', - ], - 'InvLocation' => [ - 'type' => 'string', - ], - 'InvAccessId' => [ - 'type' => 'string', - ], - 'InvAccessSecret' => [ - 'type' => 'string', - ], - 'InvRegionId' => [ - 'type' => 'string', - ], - 'AddressType' => [ - 'type' => 'string', - ], - 'TotalObjectCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'CopiedObjectCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FailedObjectCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'TotalObjectSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'CopiedObjectSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'Version' => [ - 'type' => 'string', - ], - 'SkippedObjectCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SkippedObjectSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'ReadyRetry' => ['type' => 'string'], + 'InvPath' => ['type' => 'string'], + 'InvBucket' => ['type' => 'string'], + 'InvDomain' => ['type' => 'string'], + 'InvLocation' => ['type' => 'string'], + 'InvAccessId' => ['type' => 'string'], + 'InvAccessSecret' => ['type' => 'string'], + 'InvRegionId' => ['type' => 'string'], + 'AddressType' => ['type' => 'string'], + 'TotalObjectCount' => ['type' => 'integer', 'format' => 'int64'], + 'CopiedObjectCount' => ['type' => 'integer', 'format' => 'int64'], + 'FailedObjectCount' => ['type' => 'integer', 'format' => 'int64'], + 'TotalObjectSize' => ['type' => 'integer', 'format' => 'int64'], + 'CopiedObjectSize' => ['type' => 'integer', 'format' => 'int64'], + 'Version' => ['type' => 'string'], + 'SkippedObjectCount' => ['type' => 'integer', 'format' => 'int64'], + 'SkippedObjectSize' => ['type' => 'integer', 'format' => 'int64'], ], ], 'GetReportResp' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'string', - ], - 'ReportCreateTime' => [ - 'type' => 'string', - ], - 'ReportEndTime' => [ - 'type' => 'string', - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'CopiedCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SkippedCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FailedCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'JobCreateTime' => [ - 'type' => 'string', - ], - 'JobEndTime' => [ - 'type' => 'string', - ], - 'JobExecuteTime' => [ - 'type' => 'string', - ], - 'TotalListPrefix' => [ - 'type' => 'string', - ], - 'SkippedListPrefix' => [ - 'type' => 'string', - ], - 'FailedListPrefix' => [ - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], + 'Status' => ['type' => 'string'], + 'ReportCreateTime' => ['type' => 'string'], + 'ReportEndTime' => ['type' => 'string'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], + 'CopiedCount' => ['type' => 'integer', 'format' => 'int64'], + 'SkippedCount' => ['type' => 'integer', 'format' => 'int64'], + 'FailedCount' => ['type' => 'integer', 'format' => 'int64'], + 'JobCreateTime' => ['type' => 'string'], + 'JobEndTime' => ['type' => 'string'], + 'JobExecuteTime' => ['type' => 'string'], + 'TotalListPrefix' => ['type' => 'string'], + 'SkippedListPrefix' => ['type' => 'string'], + 'FailedListPrefix' => ['type' => 'string'], + 'ErrorMessage' => ['type' => 'string'], ], ], 'GetTunnelResp' => [ 'type' => 'object', 'properties' => [ - 'Owner' => [ - 'type' => 'string', - ], - 'TunnelId' => [ - 'type' => 'string', - ], - 'CreateTime' => [ - 'type' => 'string', - ], - 'ModifyTime' => [ - 'type' => 'string', - ], - 'Tags' => [ - 'type' => 'string', - ], - 'TunnelQos' => [ - '$ref' => '#/components/schemas/TunnelQos', - ], + 'Owner' => ['type' => 'string'], + 'TunnelId' => ['type' => 'string'], + 'CreateTime' => ['type' => 'string'], + 'ModifyTime' => ['type' => 'string'], + 'Tags' => ['type' => 'string'], + 'TunnelQos' => ['$ref' => '#/components/schemas/TunnelQos'], + ], + ], + 'HdfsAuthConfig' => [ + 'type' => 'object', + 'properties' => [ + 'UserName' => ['type' => 'string'], + 'AuthType' => ['type' => 'string'], ], ], 'ImportQos' => [ 'type' => 'object', 'properties' => [ - 'MaxBandWidth' => [ - 'type' => 'integer', - 'format' => 'int64', + 'MaxBandWidth' => ['type' => 'integer', 'format' => 'int64'], + 'MaxImportTaskQps' => ['type' => 'integer', 'format' => 'int64'], + ], + ], + 'Includes' => [ + 'type' => 'object', + 'properties' => [ + 'TimeFilter' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/TimeFilter'], ], - 'MaxImportTaskQps' => [ - 'type' => 'integer', - 'format' => 'int64', + 'Regex' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], @@ -550,66 +266,32 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Name' => [ - 'type' => 'string', - ], - 'JobVersion' => [ - 'type' => 'string', - ], - 'RuntimeId' => [ - 'type' => 'string', - ], - 'CommitId' => [ - 'type' => 'string', - ], - 'StartTime' => [ - 'type' => 'string', - ], - 'EndTime' => [ - 'type' => 'string', - ], - 'Status' => [ - 'type' => 'string', - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'CopiedCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'FailedCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'TotalSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'CopiedSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'RuntimeState' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Operator' => [ - 'type' => 'string', - ], - 'ListStatus' => [ - 'type' => 'string', - ], - 'SkippedCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'SkippedSize' => [ - 'type' => 'integer', - 'format' => 'int64', + 'Name' => ['type' => 'string'], + 'JobVersion' => ['type' => 'string'], + 'RuntimeId' => ['type' => 'string'], + 'CommitId' => ['type' => 'string'], + 'StartTime' => ['type' => 'string'], + 'EndTime' => ['type' => 'string'], + 'Status' => ['type' => 'string'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64'], + 'CopiedCount' => ['type' => 'integer', 'format' => 'int64'], + 'FailedCount' => ['type' => 'integer', 'format' => 'int64'], + 'TotalSize' => ['type' => 'integer', 'format' => 'int64'], + 'CopiedSize' => ['type' => 'integer', 'format' => 'int64'], + 'RuntimeState' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Operator' => ['type' => 'string'], + 'ListStatus' => ['type' => 'string'], + 'SkippedCount' => ['type' => 'integer', 'format' => 'int64'], + 'SkippedSize' => ['type' => 'integer', 'format' => 'int64'], + ], + ], + 'KeyExcludes' => [ + 'type' => 'object', + 'properties' => [ + 'Regex' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], @@ -618,32 +300,31 @@ 'properties' => [ 'Regex' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'KeyFilters' => [ 'type' => 'object', 'properties' => [ - 'Includes' => [ - '$ref' => '#/components/schemas/KeyFilterItem', - ], - 'Excludes' => [ - '$ref' => '#/components/schemas/KeyFilterItem', + 'Includes' => ['$ref' => '#/components/schemas/KeyFilterItem'], + 'Excludes' => ['$ref' => '#/components/schemas/KeyFilterItem'], + ], + ], + 'KeyIncludes' => [ + 'type' => 'object', + 'properties' => [ + 'Regex' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], 'LastModifiedFilters' => [ 'type' => 'object', 'properties' => [ - 'Includes' => [ - '$ref' => '#/components/schemas/LastModifyFilterItem', - ], - 'Excludes' => [ - '$ref' => '#/components/schemas/LastModifyFilterItem', - ], + 'Includes' => ['$ref' => '#/components/schemas/LastModifyFilterItem'], + 'Excludes' => ['$ref' => '#/components/schemas/LastModifyFilterItem'], ], ], 'LastModifyFilterItem' => [ @@ -651,60 +332,40 @@ 'properties' => [ 'TimeFilter' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TimeFilter', - ], + 'items' => ['$ref' => '#/components/schemas/TimeFilter'], ], ], ], 'ListAddressResp' => [ 'type' => 'object', 'properties' => [ - 'Truncated' => [ - 'type' => 'boolean', - ], - 'NextMarker' => [ - 'type' => 'string', - ], + 'Truncated' => ['type' => 'boolean'], + 'NextMarker' => ['type' => 'string'], 'ImportAddress' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GetAddressResp', - ], + 'items' => ['$ref' => '#/components/schemas/GetAddressResp'], ], ], ], 'ListAgentResp' => [ 'type' => 'object', 'properties' => [ - 'Truncated' => [ - 'type' => 'boolean', - ], - 'NextMarker' => [ - 'type' => 'string', - ], + 'Truncated' => ['type' => 'boolean'], + 'NextMarker' => ['type' => 'string'], 'ImportAgent' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GetAgentResp', - ], + 'items' => ['$ref' => '#/components/schemas/GetAgentResp'], ], ], ], 'ListJobHistoryResp' => [ 'type' => 'object', 'properties' => [ - 'Truncated' => [ - 'type' => 'string', - ], - 'NextMarker' => [ - 'type' => 'string', - ], + 'Truncated' => ['type' => 'string'], + 'NextMarker' => ['type' => 'string'], 'JobHistory' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/JobHistory', - ], + 'items' => ['$ref' => '#/components/schemas/JobHistory'], ], ], ], @@ -712,176 +373,109 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Truncated' => [ - 'type' => 'boolean', - ], - 'NextMarker' => [ - 'type' => 'string', - ], + 'Truncated' => ['type' => 'boolean'], + 'NextMarker' => ['type' => 'string'], 'ImportJob' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/CreateJobInfo', - ], + 'items' => ['$ref' => '#/components/schemas/CreateJobInfo'], ], ], ], 'ListJobResp' => [ 'type' => 'object', 'properties' => [ - 'NextMarker' => [ - 'type' => 'string', - ], - 'Truncated' => [ - 'type' => 'boolean', - ], + 'NextMarker' => ['type' => 'string'], + 'Truncated' => ['type' => 'boolean'], 'ImportJob' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GetJobResp', - ], + 'items' => ['$ref' => '#/components/schemas/GetJobResp'], ], ], ], 'ListTunnelResp' => [ 'type' => 'object', 'properties' => [ - 'Truncated' => [ - 'type' => 'boolean', - ], - 'NextMarker' => [ - 'type' => 'string', - ], + 'Truncated' => ['type' => 'boolean'], + 'NextMarker' => ['type' => 'string'], 'ImportTunnel' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GetTunnelResp', - ], + 'items' => ['$ref' => '#/components/schemas/GetTunnelResp'], ], ], ], 'ScheduleRule' => [ 'type' => 'object', 'properties' => [ - 'StartCronExpression' => [ - 'type' => 'string', - ], - 'SuspendCronExpression' => [ - 'type' => 'string', - ], - 'MaxScheduleCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'StartCronExpression' => ['type' => 'string'], + 'SuspendCronExpression' => ['type' => 'string'], + 'MaxScheduleCount' => ['type' => 'integer', 'format' => 'int64'], ], ], 'TimeFilter' => [ 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'type' => 'string', - ], - 'EndTime' => [ - 'type' => 'string', - ], + 'StartTime' => ['type' => 'string'], + 'EndTime' => ['type' => 'string'], ], ], 'TunnelQos' => [ 'type' => 'object', 'properties' => [ - 'MaxQps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'MaxBandwidth' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'MaxQps' => ['type' => 'integer', 'format' => 'int32'], + 'MaxBandwidth' => ['type' => 'integer', 'format' => 'int64'], ], ], 'UpdateAddressInfo' => [ 'type' => 'object', 'properties' => [ - 'AgentList' => [ - 'type' => 'string', - ], + 'AgentList' => ['type' => 'string'], ], ], 'UpdateJobInfo' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'string', - ], - 'ImportQos' => [ - '$ref' => '#/components/schemas/ImportQos', - ], + 'Status' => ['type' => 'string'], + 'ImportQos' => ['$ref' => '#/components/schemas/ImportQos'], ], ], 'UpdateTunnelInfo' => [ 'type' => 'object', 'properties' => [ - 'TunnelQos' => [ - '$ref' => '#/components/schemas/TunnelQos', - ], - 'Tags' => [ - 'type' => 'string', - ], + 'TunnelQos' => ['$ref' => '#/components/schemas/TunnelQos'], + 'Tags' => ['type' => 'string'], ], ], 'VerifyAddressResp' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'type' => 'string', - ], - 'VerifyTime' => [ - 'type' => 'string', - ], - 'ErrorCode' => [ - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], + 'Status' => ['type' => 'string'], + 'VerifyTime' => ['type' => 'string'], + 'ErrorCode' => ['type' => 'string'], + 'ErrorMessage' => ['type' => 'string'], ], ], 'VerifyResp' => [ 'type' => 'object', 'properties' => [ - 'HttpCode' => [ - 'type' => 'string', - ], - 'ErrorCode' => [ - 'type' => 'string', - ], - 'ErrorMsg' => [ - 'type' => 'string', - ], + 'HttpCode' => ['type' => 'string'], + 'ErrorCode' => ['type' => 'string'], + 'ErrorMsg' => ['type' => 'string'], ], ], ], ], 'apis' => [ - 'CreateJob' => [ - 'path' => '/job', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreateAddress' => [ + 'path' => '/address', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ @@ -892,154 +486,108 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'ImportJob' => [ - '$ref' => '#/components/schemas/CreateJobInfo', - 'required' => true, - ], + 'ImportAddress' => ['$ref' => '#/components/schemas/CreateAddressInfo', 'required' => false], ], ], ], ], 'responses' => [], ], - 'GetJob' => [ - 'path' => '/job/{jobName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateAgent' => [ + 'path' => '/agent', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'byVersion', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'xml', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'ImportAgent' => ['$ref' => '#/components/schemas/CreateAgentInfo', 'required' => false], + ], ], ], - [ - 'name' => 'jobName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + ], + 'responses' => [], + ], + 'CreateJob' => [ + 'path' => '/job', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], ], ], - 'responses' => [ - 200 => [ + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'xml', 'schema' => [ 'type' => 'object', + 'required' => false, 'properties' => [ - 'ImportJob' => [ - '$ref' => '#/components/schemas/GetJobResp', - ], + 'ImportJob' => ['$ref' => '#/components/schemas/CreateJobInfo', 'required' => true], ], ], ], ], + 'responses' => [], ], - 'ListJob' => [ - 'path' => '/joblist', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateReport' => [ + 'path' => '/report', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'marker', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'count', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'parentName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'all', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'xml', 'schema' => [ 'type' => 'object', + 'required' => false, 'properties' => [ - 'ImportJobList' => [ - '$ref' => '#/components/schemas/ListJobResp', - ], + 'CreateReport' => ['$ref' => '#/components/schemas/CreateReportInfo', 'required' => false], ], ], ], ], + 'responses' => [], ], - 'UpdateJob' => [ - 'path' => '/job/{jobName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'CreateTunnel' => [ + 'path' => '/tunnel', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ @@ -1050,261 +598,121 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'ImportJob' => [ - '$ref' => '#/components/schemas/UpdateJobInfo', - 'required' => false, - ], + 'ImportTunnel' => ['$ref' => '#/components/schemas/CreateTunnelInfo', 'required' => false], ], ], ], - [ - 'name' => 'jobName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'responses' => [], - ], - 'DeleteJob' => [ - 'path' => '/job/{jobName}', - 'methods' => [ - 'delete', ], - 'schemes' => [ - 'https', + 'responses' => [ + 200 => [], ], + ], + 'DeleteAddress' => [ + 'path' => '/address/{addressName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'forceDelete', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'jobName', + 'name' => 'addressName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [], ], - 'ListJobHistory' => [ - 'path' => '/jobhistory/{jobName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteAgent' => [ + 'path' => '/agent/{agentName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'jobName', + 'name' => 'agentName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'runtimeId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'marker', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'count', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'JobHistoryList' => [ - '$ref' => '#/components/schemas/ListJobHistoryResp', - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], + 'responses' => [], ], - 'CreateReport' => [ - 'path' => '/report', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteJob' => [ + 'path' => '/job/{jobName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'xml', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'CreateReport' => [ - '$ref' => '#/components/schemas/CreateReportInfo', - 'required' => false, - ], - ], - ], + 'name' => 'forceDelete', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'jobName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [], ], - 'GetReport' => [ - 'path' => '/report', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteTunnel' => [ + 'path' => '/tunnel/{tunnelId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'version', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'runtimeId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'GetReportResponse' => [ - '$ref' => '#/components/schemas/GetReportResp', - ], - ], - ], + 'name' => 'tunnelId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], + 'responses' => [], ], - 'GetJobResult' => [ - 'path' => '/job/{jobName}?jobResult', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetAddress' => [ + 'path' => '/address/{addressName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'jobName', + 'name' => 'addressName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'runtimeId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -1312,81 +720,59 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ImportJobResult' => [ - '$ref' => '#/components/schemas/GetJobResultResp', - ], + 'ImportAddress' => ['$ref' => '#/components/schemas/GetAddressResp'], ], ], ], ], ], - 'CreateAddress' => [ - 'path' => '/address', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetAgent' => [ + 'path' => '/agent/{agentName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'xml', + 'name' => 'agentName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', - 'required' => false, 'properties' => [ - 'ImportAddress' => [ - '$ref' => '#/components/schemas/CreateAddressInfo', - 'required' => false, - ], + 'ImportAgent' => ['$ref' => '#/components/schemas/GetAgentResp'], ], ], ], ], - 'responses' => [], ], - 'GetAddress' => [ - 'path' => '/address/{addressName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetAgentStatus' => [ + 'path' => '/agent/{agentName}?status', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'addressName', + 'name' => 'agentName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -1394,51 +780,34 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ImportAddress' => [ - '$ref' => '#/components/schemas/GetAddressResp', - ], + 'ImportAgentStatus' => ['$ref' => '#/components/schemas/GetAgentStatusResp'], ], ], ], ], ], - 'ListAddress' => [ - 'path' => '/addresslist', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetJob' => [ + 'path' => '/job/{jobName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'marker', + 'name' => 'byVersion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'count', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'jobName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -1446,123 +815,99 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ImportAddressList' => [ - '$ref' => '#/components/schemas/ListAddressResp', - ], + 'ImportJob' => ['$ref' => '#/components/schemas/GetJobResp'], ], ], ], ], ], - 'UpdateAddress' => [ - 'path' => '/address/{addressName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'GetJobResult' => [ + 'path' => '/job/{jobName}?jobResult', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'addressName', + 'name' => 'jobName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'runtimeId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'xml', + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', - 'required' => false, 'properties' => [ - 'ImportAddress' => [ - '$ref' => '#/components/schemas/UpdateAddressInfo', - 'required' => false, - ], + 'ImportJobResult' => ['$ref' => '#/components/schemas/GetJobResultResp'], ], ], ], ], - 'responses' => [ - 200 => [], - ], ], - 'DeleteAddress' => [ - 'path' => '/address/{addressName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetReport' => [ + 'path' => '/report', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'addressName', - 'in' => 'path', + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'runtimeId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'properties' => [ + 'GetReportResponse' => ['$ref' => '#/components/schemas/GetReportResp'], + ], ], ], ], - 'responses' => [], ], - 'VerifyAddress' => [ - 'path' => '/address/{addressName}?verify', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetTunnel' => [ + 'path' => '/tunnel/{tunnelId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'addressName', + 'name' => 'tunnelId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -1570,81 +915,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'VerifyAddressResponse' => [ - '$ref' => '#/components/schemas/VerifyAddressResp', - ], + 'ImportTunnel' => ['$ref' => '#/components/schemas/GetTunnelResp'], ], ], ], ], ], - 'CreateAgent' => [ - 'path' => '/agent', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListAddress' => [ + 'path' => '/addresslist', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'xml', + 'name' => 'marker', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'count', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', - 'required' => false, 'properties' => [ - 'ImportAgent' => [ - '$ref' => '#/components/schemas/CreateAgentInfo', - 'required' => false, - ], + 'ImportAddressList' => ['$ref' => '#/components/schemas/ListAddressResp'], ], ], ], ], - 'responses' => [], ], - 'GetAgent' => [ - 'path' => '/agent/{agentName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListAgent' => [ + 'path' => '/agentlist', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'agentName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'marker', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'count', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ @@ -1652,51 +985,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ImportAgent' => [ - '$ref' => '#/components/schemas/GetAgentResp', - ], + 'ImportAgentList' => ['$ref' => '#/components/schemas/ListAgentResp'], ], ], ], ], ], - 'ListAgent' => [ - 'path' => '/agentlist', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListJob' => [ + 'path' => '/joblist', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'marker', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'count', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'parentName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'all', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], 'responses' => [ @@ -1704,42 +1030,44 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ImportAgentList' => [ - '$ref' => '#/components/schemas/ListAgentResp', - ], + 'ImportJobList' => ['$ref' => '#/components/schemas/ListJobResp'], ], ], ], ], ], - 'GetAgentStatus' => [ - 'path' => '/agent/{agentName}?status', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListJobHistory' => [ + 'path' => '/jobhistory/{jobName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'agentName', + 'name' => 'jobName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'runtimeId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'marker', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'count', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ @@ -1747,67 +1075,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ImportAgentStatus' => [ - '$ref' => '#/components/schemas/GetAgentStatusResp', - ], + 'JobHistoryList' => ['$ref' => '#/components/schemas/ListJobHistoryResp'], ], ], ], ], ], - 'DeleteAgent' => [ - 'path' => '/agent/{agentName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'ListTunnel' => [ + 'path' => '/tunnellist', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'agentName', - 'in' => 'path', + 'name' => 'marker', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'count', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'properties' => [ + 'ImportTunnelList' => ['$ref' => '#/components/schemas/ListTunnelResp'], + ], ], ], ], - 'responses' => [], ], - 'CreateTunnel' => [ - 'path' => '/tunnel', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateAddress' => [ + 'path' => '/address/{addressName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'addressName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -1816,10 +1142,7 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'ImportTunnel' => [ - '$ref' => '#/components/schemas/CreateTunnelInfo', - 'required' => false, - ], + 'ImportAddress' => ['$ref' => '#/components/schemas/UpdateAddressInfo', 'required' => false], ], ], ], @@ -1828,77 +1151,56 @@ 200 => [], ], ], - 'GetTunnel' => [ - 'path' => '/tunnel/{tunnelId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateJob' => [ + 'path' => '/job/{jobName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'tunnelId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'xml', 'schema' => [ 'type' => 'object', + 'required' => false, 'properties' => [ - 'ImportTunnel' => [ - '$ref' => '#/components/schemas/GetTunnelResp', - ], + 'ImportJob' => ['$ref' => '#/components/schemas/UpdateJobInfo', 'required' => false], ], ], ], + [ + 'name' => 'jobName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + 'responses' => [], ], 'UpdateTunnel' => [ 'path' => '/tunnel/{tunnelId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'tunnelId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -1908,10 +1210,7 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'ImportTunnel' => [ - '$ref' => '#/components/schemas/UpdateTunnelInfo', - 'required' => false, - ], + 'ImportTunnel' => ['$ref' => '#/components/schemas/UpdateTunnelInfo', 'required' => false], ], ], ], @@ -1920,43 +1219,23 @@ 200 => [], ], ], - 'ListTunnel' => [ - 'path' => '/tunnellist', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'VerifyAddress' => [ + 'path' => '/address/{addressName}?verify', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], + 'consumes' => ['application/xml'], + 'produces' => ['application/xml'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'marker', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'count', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'addressName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], 'responses' => [ @@ -1964,91 +1243,24 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ImportTunnelList' => [ - '$ref' => '#/components/schemas/ListTunnelResp', - ], + 'VerifyAddressResponse' => ['$ref' => '#/components/schemas/VerifyAddressResp'], ], ], ], ], ], - 'DeleteTunnel' => [ - 'path' => '/tunnel/{tunnelId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/xml', - ], - 'produces' => [ - 'application/xml', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'tunnelId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'responses' => [], - ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'cn-beijing.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'cn-wulanchabu.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'cn-hangzhou.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'cn-shanghai.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'cn-shenzhen.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'cn-chengdu.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'cn-hongkong.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'ap-northeast-1.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'ap-southeast-1.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'us-east-1.mgw.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'eu-central-1.mgw.aliyuncs.com', - ], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ap-northeast-1.mgw.aliyuncs.com', 'endpoint' => 'ap-northeast-1.mgw.aliyuncs.com', 'vpc' => 'ap-northeast-1.mgw-internal.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ap-southeast-1.mgw.aliyuncs.com', 'endpoint' => 'ap-southeast-1.mgw.aliyuncs.com', 'vpc' => 'ap-southeast-1.mgw-internal.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-beijing.mgw.aliyuncs.com', 'endpoint' => 'cn-beijing.mgw.aliyuncs.com', 'vpc' => 'cn-beijing.mgw-internal.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-chengdu.mgw.aliyuncs.com', 'endpoint' => 'cn-chengdu.mgw.aliyuncs.com', 'vpc' => 'cn-chengdu.mgw-internal.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-hangzhou.mgw.aliyuncs.com', 'endpoint' => 'cn-hangzhou.mgw.aliyuncs.com', 'vpc' => 'cn-hangzhou.mgw-internal.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-hongkong.mgw.aliyuncs.com', 'endpoint' => 'cn-hongkong.mgw.aliyuncs.com', 'vpc' => 'cn-hongkong.mgw-internal.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-shanghai.mgw.aliyuncs.com', 'endpoint' => 'cn-shanghai.mgw.aliyuncs.com', 'vpc' => 'cn-shanghai.mgw-internal.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-shenzhen.mgw.aliyuncs.com', 'endpoint' => 'cn-shenzhen.mgw.aliyuncs.com', 'vpc' => 'cn-shenzhen.mgw-internal.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cn-wulanchabu.mgw.aliyuncs.com', 'endpoint' => 'cn-wulanchabu.mgw.aliyuncs.com', 'vpc' => 'cn-wulanchabu.mgw-internal.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'us-east-1.mgw.aliyuncs.com', 'endpoint' => 'us-east-1.mgw.aliyuncs.com', 'vpc' => 'us-east-1.mgw-internal.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'eu-central-1.mgw.aliyuncs.com', 'endpoint' => 'eu-central-1.mgw.aliyuncs.com', 'vpc' => 'eu-central-1.mgw-internal.aliyuncs.com'], ], ]; -- cgit v1.2.3