diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/ecs-workbench/2022-02-20 | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/ecs-workbench/2022-02-20')
| -rw-r--r-- | data/ecs-workbench/2022-02-20/api-docs.php | 575 |
1 files changed, 154 insertions, 421 deletions
diff --git a/data/ecs-workbench/2022-02-20/api-docs.php b/data/ecs-workbench/2022-02-20/api-docs.php index 0010b70..209ff85 100644 --- a/data/ecs-workbench/2022-02-20/api-docs.php +++ b/data/ecs-workbench/2022-02-20/api-docs.php @@ -1,21 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'ecs-workbench', - 'version' => '2022-02-20', - ], + 'info' => ['style' => 'RPC', 'product' => 'ecs-workbench', 'version' => '2022-02-20'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'LoginInstance' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetInstanceRecordConfig' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -24,300 +16,20 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceLoginInfo', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'InstanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'RegionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'NetworkAccessMode' => [ - 'type' => 'string', - 'required' => false, - ], - 'Host' => [ - 'type' => 'string', - 'required' => false, - ], - 'Port' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'Protocol' => [ - 'type' => 'string', - 'required' => false, - ], - 'Username' => [ - 'type' => 'string', - 'required' => false, - ], - 'AuthenticationType' => [ - 'type' => 'string', - 'required' => false, - ], - 'Password' => [ - 'type' => 'string', - 'required' => false, - ], - 'Certificate' => [ - 'type' => 'string', - 'required' => false, - ], - 'PassPhrase' => [ - 'type' => 'string', - 'required' => false, - ], - 'Options' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ContainerInfo' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ClusterId' => [ - 'type' => 'string', - 'required' => false, - ], - 'ClusterName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Namespace' => [ - 'type' => 'string', - 'required' => false, - ], - 'Deployment' => [ - 'type' => 'string', - 'required' => false, - ], - 'PodName' => [ - 'type' => 'string', - 'required' => false, - ], - 'ContainerName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Headers' => [ - 'type' => 'object', - 'required' => false, - ], - 'Endpoint' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'NotificationRecipientUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'NotificationEventTypes' => [ - 'type' => 'string', - 'required' => false, - ], - 'NotificationRetryLimit' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'NotificationRetryIntervalSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'SessionControl' => [ - 'type' => 'string', - 'required' => false, - ], - 'OperationDisableSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'AudioMuteSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'VideoFreezeSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'FixedHeight' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'FixedWidth' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'ExpireTime' => [ - 'type' => 'string', - 'required' => false, - ], - 'DurationSeconds' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'DockerExec' => [ - 'type' => 'string', - 'required' => false, - ], - 'DockerContainerName' => [ - 'type' => 'string', - 'required' => false, - ], - 'ResourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'CredentialToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'LoginByInstanceCredential' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'LoginByInstanceShortcut' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'ShortcutToken' => [ - 'type' => 'string', - 'required' => false, - ], - 'EncryptionOptions' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'Mode' => [ - 'type' => 'string', - 'required' => false, - ], - 'KMSKeyId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - [ - 'name' => 'UserAccount', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ParentId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'AccountId' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'AccountPlatform' => [ - 'type' => 'string', - 'required' => false, - ], - 'EmpId' => [ - 'type' => 'string', - 'required' => false, - ], - 'Options' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'LoginLimit' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - 'AccountStructure' => [ - 'type' => 'string', - 'required' => false, - ], - 'LoginName' => [ - 'type' => 'string', - 'required' => false, - ], - 'DurationSeconds' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'ExpireTime' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PartnerInfo', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'PartnerId' => [ - 'type' => 'string', - 'required' => false, - ], - 'PartnerName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'RegionId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListInstanceRecords' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -328,46 +40,28 @@ [ 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ViewInstanceRecords' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListTerminalCommands' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -376,38 +70,30 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'TerminalSessionToken', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetInstanceRecordConfig' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'LoginInstance' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -416,30 +102,120 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'formData', + 'name' => 'InstanceLoginInfo', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'InstanceType' => ['type' => 'string', 'required' => false], + 'RegionId' => ['type' => 'string', 'required' => false], + 'InstanceId' => ['type' => 'string', 'required' => false], + 'VpcId' => ['type' => 'string', 'required' => false], + 'NetworkAccessMode' => ['type' => 'string', 'required' => false], + 'Host' => ['type' => 'string', 'required' => false], + 'Port' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'Protocol' => ['type' => 'string', 'required' => false], + 'Username' => ['type' => 'string', 'required' => false], + 'AuthenticationType' => ['type' => 'string', 'required' => false], + 'Password' => ['type' => 'string', 'required' => false], + 'Certificate' => ['type' => 'string', 'required' => false], + 'PassPhrase' => ['type' => 'string', 'required' => false], + 'Options' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ContainerInfo' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ClusterId' => ['type' => 'string', 'required' => false], + 'ClusterName' => ['type' => 'string', 'required' => false], + 'Namespace' => ['type' => 'string', 'required' => false], + 'Deployment' => ['type' => 'string', 'required' => false], + 'PodName' => ['type' => 'string', 'required' => false], + 'ContainerName' => ['type' => 'string', 'required' => false], + 'Headers' => ['type' => 'object', 'required' => false], + 'Endpoint' => ['type' => 'string', 'required' => false], + ], + ], + 'NotificationRecipientUrl' => ['type' => 'string', 'required' => false], + 'NotificationEventTypes' => ['type' => 'string', 'required' => false], + 'NotificationRetryLimit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'NotificationRetryIntervalSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'SessionControl' => ['type' => 'string', 'required' => false], + 'OperationDisableSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'AudioMuteSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'VideoFreezeSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'FixedHeight' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'FixedWidth' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + 'ExpireTime' => ['type' => 'string', 'required' => false], + 'DurationSeconds' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'DockerExec' => ['type' => 'string', 'required' => false], + 'DockerContainerName' => ['type' => 'string', 'required' => false], + 'ResourceGroupId' => ['type' => 'string', 'required' => false], + 'CredentialToken' => ['type' => 'string', 'required' => false], + 'LoginByInstanceCredential' => ['type' => 'boolean', 'required' => false], + 'LoginByInstanceShortcut' => ['type' => 'boolean', 'required' => false], + 'ShortcutToken' => ['type' => 'string', 'required' => false], + 'EncryptionOptions' => [ + 'type' => 'object', + 'properties' => [ + 'Enabled' => ['type' => 'boolean'], + 'Mode' => ['type' => 'string'], + 'KMSKeyId' => ['type' => 'string'], + ], + ], + ], ], ], [ - 'name' => 'RegionId', - 'in' => 'formData', + 'name' => 'UserAccount', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'ParentId' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'AccountId' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'AccountPlatform' => ['type' => 'string', 'required' => false], + 'EmpId' => ['type' => 'string', 'required' => false], + 'Options' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'LoginLimit' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + 'AccountStructure' => ['type' => 'string', 'required' => false], + 'LoginName' => ['type' => 'string', 'required' => false], + 'DurationSeconds' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'ExpireTime' => ['type' => 'string', 'required' => false], + ], + ], + ], + [ + 'name' => 'PartnerInfo', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'PartnerId' => ['type' => 'string', 'required' => false], + 'PartnerName' => ['type' => 'string', 'required' => false], + ], ], ], ], ], 'SetInstanceRecordConfig' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -450,53 +226,38 @@ [ 'name' => 'Enabled', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => true], ], [ 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'RecordStorageTarget', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ExpirationDays', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ResourceRegionId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListTerminalCommands' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ViewInstanceRecords' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -505,54 +266,26 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'InstanceId', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TerminalSessionToken', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'ecs-workbench.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'ecs-workbench.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'ecs-workbench.ap-southeast-1.aliyuncs.com', - ], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ecs-workbench.cn-beijing.aliyuncs.com', 'endpoint' => 'ecs-workbench.cn-beijing.aliyuncs.com', 'vpc' => 'ecs-workbench-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ecs-workbench.ap-southeast-1.aliyuncs.com', 'endpoint' => 'ecs-workbench.ap-southeast-1.aliyuncs.com', 'vpc' => 'ecs-workbench-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'ecs-workbench.cn-hangzhou.aliyuncs.com', 'endpoint' => 'ecs-workbench.cn-hangzhou.aliyuncs.com', 'vpc' => 'ecs-workbench-vpc.cn-hangzhou.aliyuncs.com'], ], ]; |
