'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'acc', 'version' => '2024-04-02', ], 'components' => [ 'schemas' => [ 'CapacityResource' => [ 'type' => 'object', 'properties' => [ 'Memory' => [ 'type' => 'string', ], 'CPU' => [ 'type' => 'string', ], 'GPU' => [ 'type' => 'string', ], ], ], ], ], 'apis' => [ 'CreateImageCache' => [ 'path' => '', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'maxLength' => 64, ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ImageCacheName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'maxLength' => 128, ], ], [ 'name' => 'Images', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], 'minItems' => 1, 'maxItems' => 1, ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Key' => [ 'type' => 'string', 'required' => false, ], 'Value' => [ 'type' => 'string', 'required' => false, 'maxLength' => 256, ], ], ], 'maxItems' => 20, ], ], [ 'name' => 'NetworkConfig', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'VSwitchIds' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], 'minItems' => 1, 'maxItems' => 10, ], 'SecurityGroupId' => [ 'type' => 'string', 'required' => true, ], 'EipInstance' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'InstanceId' => [ 'type' => 'string', 'required' => false, ], 'AutoCreate' => [ 'type' => 'boolean', 'required' => false, ], 'Bandwidth' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], ], ], ], ], [ 'name' => 'ImageRegistryCredentials', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Server' => [ 'type' => 'string', 'required' => false, ], 'Username' => [ 'type' => 'string', 'required' => false, ], 'Password' => [ 'type' => 'string', 'required' => false, ], 'UsePlainHttp' => [ 'type' => 'boolean', 'required' => false, ], 'SkipCertVerification' => [ 'type' => 'boolean', 'required' => false, ], ], ], 'maxItems' => 20, ], ], [ 'name' => 'AcrRegistryInfos', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'InstanceId' => [ 'type' => 'string', 'required' => false, ], 'RegionId' => [ 'type' => 'string', 'required' => false, ], ], ], 'maxItems' => 20, ], ], ], ], 'DeleteImageCache' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ImageCacheId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Force', 'in' => 'query', 'schema' => [ 'type' => 'boolean', 'required' => false, ], ], ], ], 'ListImageCaches' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ImageCacheName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'maxLength' => 128, ], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Key' => [ 'type' => 'string', 'required' => false, 'maxLength' => 128, ], 'Value' => [ 'type' => 'string', 'required' => false, ], ], ], 'maxItems' => 20, ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], ], ], 'GetImageCache' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ImageCacheId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], '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', ], ], ];