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/en_us/acc/2024-04-02/api-docs.php | |
| download | acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/acc/2024-04-02/api-docs.php')
| -rw-r--r-- | data/en_us/acc/2024-04-02/api-docs.php | 1086 |
1 files changed, 1086 insertions, 0 deletions
diff --git a/data/en_us/acc/2024-04-02/api-docs.php b/data/en_us/acc/2024-04-02/api-docs.php new file mode 100644 index 0000000..cb30357 --- /dev/null +++ b/data/en_us/acc/2024-04-02/api-docs.php @@ -0,0 +1,1086 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'acc', + 'version' => '2024-04-02', + ], + 'directories' => [ + [ + 'id' => 263459, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateImageCache', + 'DeleteImageCache', + 'ListImageCaches', + 'GetImageCache', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateImageCache' => [ + 'summary' => '创建镜像缓存', + 'path' => '', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREacsLAMYBV', + 'FEATUREacs7TVY7Q', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '幂等参数', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '*****', + 'maxLength' => 64, + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ImageCacheName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'my-imc', + 'maxLength' => 128, + ], + ], + [ + 'name' => 'Images', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1', + ], + 'required' => true, + 'maxItems' => 1, + 'minItems' => 1, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzh43v*****', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'imc', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + 'maxLength' => 256, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'NetworkConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'VSwitchIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-0jlqxyfxgdw4tzqy*****', + ], + 'required' => true, + 'maxItems' => 10, + 'minItems' => 1, + ], + 'SecurityGroupId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sg-0jlgektkddwa42n*****', + ], + 'EipInstance' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'eip-0jl0bx3fnpnjc9i4*****', + ], + 'AutoCreate' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'true', + ], + 'Bandwidth' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + 'required' => false, + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'ImageRegistryCredentials', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Server' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', + ], + 'Username' => [ + 'title' => '代表用户名的操作属性字段', + 'type' => 'string', + 'example' => 'myusername', + ], + 'Password' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'mypassword', + ], + 'UsePlainHttp' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'false', + ], + 'SkipCertVerification' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'false', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'AcrRegistryInfos', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cri-nwj395hgf6f*****', + ], + 'RegionId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '0E234675-3465-4CC3-9D0F-9A864BC*****', + ], + 'ImageCacheId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'imc-bp1dj*****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'InvalidParameter.LengthExceeded', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'Idempotence.Failed', + 'errorMessage' => 'An error occurred while processing your request. Use the new Token and try again.', + ], + [ + 'errorCode' => 'Idempotence.Processing', + 'errorMessage' => 'The request is being processed. Please try again.', + ], + [ + 'errorCode' => 'Idempotence.SignatureMismatch', + 'errorMessage' => 'The idempotence signature of the specified request does not match the previous request.', + ], + [ + 'errorCode' => 'InvalidParameter.NotFound', + 'errorMessage' => '%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'CreateServiceLinkedRoleDenied', + 'errorMessage' => 'Please make sure the account has ram:CreateServiceLinkedRole permission.', + ], + [ + 'errorCode' => 'Forbidden', + 'errorMessage' => 'User not authorized to operate on the specified resource.', + ], + [ + 'errorCode' => 'Ram.NoPermission', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'EntityNotExist.ResourceId', + 'errorMessage' => 'The resource does not exist.', + ], + [ + 'errorCode' => 'EntityNotExist.ResourceGroup', + 'errorMessage' => 'The resource group does not exist.', + ], + [ + 'errorCode' => 'Acr.UserNotExist', + 'errorMessage' => 'ACR user is not exist.', + ], + [ + 'errorCode' => 'Acr.AuthenticationFailed', + 'errorMessage' => 'ACR user is not authorized to perform this action.', + ], + [ + 'errorCode' => 'ImageCache.NotSupport', + 'errorMessage' => 'Image cache is not available for all users. If you want to enable this function, please contact us.', + ], + [ + 'errorCode' => 'IncorrectOperation', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'IncorrectStatus', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'QuotaExceeded', + 'errorMessage' => 'Your current account quota is insufficient.', + ], + [ + 'errorCode' => 'RegionNotSupport', + 'errorMessage' => 'The specified Region is not supported.', + ], + [ + 'errorCode' => 'NoResourceAvailable', + 'errorMessage' => '%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0E234675-3465-4CC3-9D0F-9A864BC*****\\",\\n \\"ImageCacheId\\": \\"imc-bp1dj*****\\"\\n}","type":"json"}]', + ], + 'DeleteImageCache' => [ + 'summary' => '删除镜像缓存', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREacsLAMYBV', + 'FEATUREacs7TVY7Q', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ImageCacheId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'imc-bp1dj*****', + ], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '0E234675-3465-4CC3-9D0F-9A864BC*****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => '%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'ImageCache.NotExist', + 'errorMessage' => 'The specified image cache does not exist.', + ], + [ + 'errorCode' => 'RegionNotSupport', + 'errorMessage' => 'The specified Region is not supported.', + ], + [ + 'errorCode' => 'IncorrectStatus', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'IncorrectOperation', + 'errorMessage' => '%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0E234675-3465-4CC3-9D0F-9A864BC*****\\"\\n}","type":"json"}]', + ], + 'ListImageCaches' => [ + 'summary' => '查询镜像缓存', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREacsLAMYBV', + 'FEATUREacs7TVY7Q', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ImageCacheName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'my-imc', + 'maxLength' => 128, + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Ready' => 'Ready', + 'Failed' => 'Failed', + 'Pending' => 'Pending', + ], + 'example' => 'Ready', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-aekzh43v*****', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'imc', + 'maxLength' => 128, + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAdDWBF*****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '0E234675-3465-4CC3-9D0F-9A864BC*****', + ], + 'ImageCaches' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageCacheId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'imc-bp1dj*****', + ], + 'ImageCacheName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'my-imc', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Ready', + ], + 'Images' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1', + ], + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-**-**T07:55:25Z', + ], + 'ReadyTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-**-**T07:58:25Z', + ], + 'ResourceGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'rg-aekzh43v*****', + ], + ], + ], + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AAAAAdDWBF*****', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'InvalidParameter.LengthExceeded', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'InvalidParameter.ValueExceeded', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'InvalidParameter.NotFound', + 'errorMessage' => '%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'EntityNotExist.ResourceId', + 'errorMessage' => 'The resource does not exist.', + ], + [ + 'errorCode' => 'EntityNotExist.ResourceGroup', + 'errorMessage' => 'The resource group does not exist.', + ], + [ + 'errorCode' => 'RegionNotSupport', + 'errorMessage' => 'The specified Region is not supported.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0E234675-3465-4CC3-9D0F-9A864BC*****\\",\\n \\"ImageCaches\\": [\\n {\\n \\"ImageCacheId\\": \\"imc-bp1dj*****\\",\\n \\"ImageCacheName\\": \\"my-imc\\",\\n \\"Status\\": \\"Ready\\",\\n \\"Images\\": [\\n \\"registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1\\"\\n ],\\n \\"Size\\": 8,\\n \\"CreateTime\\": \\"2025-**-**T07:55:25Z\\",\\n \\"ReadyTime\\": \\"2025-**-**T07:58:25Z\\",\\n \\"ResourceGroupId\\": \\"rg-aekzh43v*****\\"\\n }\\n ],\\n \\"NextToken\\": \\"AAAAAdDWBF*****\\",\\n \\"TotalCount\\": 20,\\n \\"MaxResults\\": 30\\n}","type":"json"}]', + ], + 'GetImageCache' => [ + 'summary' => '查询镜像缓存', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREacsLAMYBV', + 'FEATUREacs7TVY7Q', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ImageCacheId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'imc-bp1dj*****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '0E234675-3465-4CC3-9D0F-9A864BC*****', + ], + 'RegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'ImageCacheId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'imc-bp1dj*****', + ], + 'ImageCacheName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'my-imc', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Ready', + ], + 'Images' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1', + ], + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-**-**T07:55:25Z', + ], + 'ReadyTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-**-**T07:58:25Z', + ], + 'ResourceGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'rg-aekzh43v*****', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'imc', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + ], + 'Events' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Count' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Normal', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'imagetest.1661f31f851*****', + ], + 'Reason' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ImageCacheCreated', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Image cache [my-imc] has been created successfully', + ], + 'FirstTimestamp' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-**-**T02:24:48Z', + ], + 'LastTimestamp' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-**-**T02:24:48Z', + ], + ], + ], + ], + 'PaymentType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PayAsYouGo', + ], + 'NetworkConfig' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'VSwitchIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vsw-0jlqxyfxgdw4tzqy*****', + ], + ], + 'SecurityGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sg-0jlgektkddwa42n*****', + ], + 'EipInstance' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eip-0jl0bx3fnpnjc9i4*****', + ], + 'AutoCreate' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Bandwidth' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'InvalidParameter.LengthExceeded', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'InvalidParameter.ValueExceeded', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => '%s.', + ], + [ + 'errorCode' => 'InvalidParameter.NotFound', + 'errorMessage' => '%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'EntityNotExist.ResourceId', + 'errorMessage' => 'The resource does not exist.', + ], + [ + 'errorCode' => 'EntityNotExist.ResourceGroup', + 'errorMessage' => 'The resource group does not exist.', + ], + [ + 'errorCode' => 'RegionNotSupport', + 'errorMessage' => 'The specified Region is not supported.', + ], + [ + 'errorCode' => 'ImageCache.NotExist', + 'errorMessage' => 'The specified image cache does not exist.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0E234675-3465-4CC3-9D0F-9A864BC*****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ImageCacheId\\": \\"imc-bp1dj*****\\",\\n \\"ImageCacheName\\": \\"my-imc\\",\\n \\"Status\\": \\"Ready\\",\\n \\"Images\\": [\\n \\"registry-vpc.cn-hangzhou.aliyuncs.com/*****/*****:v1\\"\\n ],\\n \\"Size\\": 8,\\n \\"CreateTime\\": \\"2025-**-**T07:55:25Z\\",\\n \\"ReadyTime\\": \\"2025-**-**T07:58:25Z\\",\\n \\"ResourceGroupId\\": \\"rg-aekzh43v*****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"imc\\",\\n \\"Value\\": \\"test\\"\\n }\\n ],\\n \\"Events\\": [\\n {\\n \\"Count\\": 1,\\n \\"Type\\": \\"Normal\\",\\n \\"Name\\": \\"imagetest.1661f31f851*****\\",\\n \\"Reason\\": \\"ImageCacheCreated\\",\\n \\"Message\\": \\"Image cache [my-imc] has been created successfully\\",\\n \\"FirstTimestamp\\": \\"2025-**-**T02:24:48Z\\",\\n \\"LastTimestamp\\": \\"2025-**-**T02:24:48Z\\"\\n }\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"NetworkConfig\\": {\\n \\"VSwitchIds\\": [\\n \\"vsw-0jlqxyfxgdw4tzqy*****\\"\\n ],\\n \\"SecurityGroupId\\": \\"sg-0jlgektkddwa42n*****\\",\\n \\"EipInstance\\": {\\n \\"InstanceId\\": \\"eip-0jl0bx3fnpnjc9i4*****\\",\\n \\"AutoCreate\\": true,\\n \\"Bandwidth\\": 100\\n }\\n }\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'acc.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'acc.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'acc.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'acc.cn-wulanchabu.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'acc.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'acc.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'acc.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'us-southeast-1', + 'endpoint' => 'acc.us-southeast-1.aliyuncs.com', + ], + ], +]; |
