'1.0', 'info' => ['style' => 'RPC', 'product' => 'cloudphone', 'version' => '2020-12-30'], 'directories' => [ [ 'children' => ['ResetInstances', 'UpdateInstanceAttribute', 'ListInstanceTypes', 'ListInstanceVncUrl', 'ListZones'], 'type' => 'directory', 'title' => 'Instances', ], [ 'children' => ['UpdateImageAttribute', 'ListImageSharePermission'], 'type' => 'directory', 'title' => 'Images', ], [ 'children' => ['ListKeyPairs'], 'type' => 'directory', 'title' => 'Key pairs', ], [ 'children' => ['InstallApplication', 'UninstallApplication'], 'type' => 'directory', 'title' => 'Command execution', ], [ 'children' => [ 'CancelTask', 'CopyImage', 'CreateImage', 'DeleteImages', 'DeleteInstances', 'DeleteKeyPairs', 'FetchFile', 'ImportImage', 'ImportKeyPair', 'ListImages', 'ListInstances', 'ListRegions', 'ListTagKeys', 'ListTagResources', 'ListTagValues', 'ListTasks', 'RebootInstances', 'RenewInstances', 'RunCommand', 'RunInstances', 'SendFile', 'StartInstances', 'StopInstances', 'TagResources', 'UntagResources', ], 'title' => 'Others', 'type' => 'directory', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CancelTask' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 't-bp1hvgwromzv32iq****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83A', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83A\\"\\n}","type":"json"}]', 'title' => 'Cancel a task', 'summary' => 'Cancels a task that is currently being executed on a cloud phone.', 'description' => 'When calling this operation, note the following:'."\n" .'- If the task is already completed, the operation fails and an error message is returned.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:CancelTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CopyImage' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The source region from which the image is copied.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The source region from which the image is copied.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ImageId', 'in' => 'query', 'schema' => ['description' => 'The ID of the custom image to be copied.', 'type' => 'string', 'required' => true, 'example' => 'cpm-xxxxxxxx', 'title' => ''], ], [ 'name' => 'DestinationRegionId', 'in' => 'query', 'schema' => ['description' => 'The destination region to which the image is copied.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'ImageName', 'in' => 'query', 'schema' => ['description' => 'The name of the image. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter or a Chinese character and cannot start with http:// or https://.', 'type' => 'string', 'required' => false, 'example' => 'myCustomImage', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the image. The description must be 2 to 256 characters in length and cannot start with http:// or https://.', 'type' => 'string', 'required' => false, 'example' => 'testDescription', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.', 'type' => 'string', 'required' => false, 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ImageId' => ['description' => 'The ID of the new cloud phone image.', 'type' => 'string', 'example' => 'cpm-xxxxxxyy', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ImageId\\": \\"cpm-xxxxxxyy\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Copy a custom image', 'summary' => 'Copies a custom image from the current region to a destination region.', 'description' => 'When you call this operation, take note of the following items:'."\n" .'- The custom image must be in the Available state.'."\n" .'- The source custom image must belong to your account. Cross-account image copying is not supported.'."\n" .'- Only one image copy task can run at a time in a region. Other tasks are queued and executed sequentially after the previous task is completed.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:CopyImage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#ImageId}'], ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/*'], ], ], ], ], ], 'CreateImage' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cloud phone instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the cloud phone instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID of the cloud phone.', 'type' => 'string', 'required' => false, 'example' => 'cp-xxxxxxxx', 'title' => ''], ], [ 'name' => 'ImageName', 'in' => 'query', 'schema' => ['description' => 'The name of the image. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). The name must start with a letter or a Chinese character and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'myCustomImage', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the image. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'testDescription', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.', 'type' => 'string', 'required' => false, 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ImageId' => ['description' => 'The ID of the custom image.', 'type' => 'string', 'example' => 'cpm-xxxxxxxx', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'QuotaExceed', 'errorMessage' => 'Image quota exceed.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ImageId\\": \\"cpm-xxxxxxxx\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Create a custom image', 'summary' => 'Creates a custom image for a cloud phone.', 'description' => 'When you call this operation, take note of the following items:'."\n" .'- To create a custom image, use a cloud phone instance as the template. You only need to specify the instance ID (InstanceId). The instance must be in the Running or Stopped state.'."\n" .'- Wait until the image enters the Available state before you use the image resource.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2022-03-07T03:27:50.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cloudphone:CreateImage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/*'], ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'DeleteImages' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ImageId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of image IDs. A maximum of 100 IDs are supported.', 'type' => 'array', 'items' => ['description' => 'The image ID.', 'type' => 'string', 'required' => false, 'example' => 'cpm-xxxxxxxx', 'title' => ''], 'required' => true, 'example' => 'cpm-xxxxxxxx', 'maxItems' => 101, 'title' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Force', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to force delete the image. Default value: false.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'ImageResponses' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'ImageResponse' => [ 'description' => 'The list of image deletion statuses.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Code' => ['description' => 'The response code for the image deletion.', 'type' => 'string', 'example' => '200', 'title' => ''], 'Message' => ['description' => 'The response message for the image deletion.', 'type' => 'string', 'example' => 'Success.', 'title' => ''], 'ImageId' => ['description' => 'The ID of the image that was requested to be deleted.', 'type' => 'string', 'example' => 'cpm-xxxxxxxx', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"ImageResponses\\": {\\n \\"ImageResponse\\": [\\n {\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success.\\",\\n \\"ImageId\\": \\"cpm-xxxxxxxx\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Batch delete custom images', 'summary' => 'Batch deletes custom images.', 'description' => '## Operation description'."\n" .'When you invoke this operation, take note of the following items:'."\n" .'- If an image has been shared with other users, cancel all sharing before you delete the image.'."\n" .'- If an image is being used by other instances, you must specify force delete.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cloudphone:DeleteImages', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#imageId}'], ], ], ], ], ], 'DeleteInstances' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region to which the cloud phone instances belong.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The instance ID of the cloud phone. Valid values of N: 1 to 100.', 'type' => 'array', 'items' => ['description' => 'The instance ID of the cloud phone. Valid values of N: 1 to 100.', 'type' => 'string', 'required' => false, 'example' => 'cp-xxxxxxxx', 'title' => ''], 'required' => true, 'maxItems' => 101, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region to which the cloud phone instances belong.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Force', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to forcibly release cloud phone instances that are in the Running state. Default value: false.'."\n" ."\n" .'- true: Forcibly releases instances that are in the Running state. A forcible release is equivalent to a power-off. All in-memory and temporary storage data of the instance is erased and cannot be recovered.'."\n" .'- false (default): Releases instances in the normal way. The instances must be in the Stopped state.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Delete cloud phone instances in batches', 'summary' => 'Deletes cloud phone instances in batches.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cloudphone:DeleteInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'DeleteKeyPairs' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'KeyPairName', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'Cloud phone key pair name. The value can be a JSON array composed of multiple key pair names, supporting up to 100 SSH key pairs. Names are separated by commas (,).', 'type' => 'array', 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'testKey', 'title' => ''], 'required' => true, 'example' => '[keyPairName1, keyPairNam2, keyPairName3]', 'maxItems' => 101, 'title' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Delete specified cloud phone key pairs', 'summary' => 'Delete one or more cloud phone key pairs.', 'description' => '- After deleting cloud phone key pairs, note the following:'."\n" .' - The deleted cloud phone key pairs cannot be queried through ListKeyPairs.'."\n" .' - If cloud phone instances are already bound to the key pair, Alibaba Cloud will no longer retain the key pair for you, but the instances can continue to use the key pair normally.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cloudphone:DeleteKeyPairs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/{#KeyPairName}'], ], ], ], ], ], 'FetchFile' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID of the instance on which to execute the command. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => true, 'example' => 'cp-acfmxazb4p***', 'title' => ''], ], [ 'name' => 'OssBucket', 'in' => 'query', 'schema' => ['description' => 'The OSS bucket where the file to be sent is stored.'."\n" ."\n" .'> Before importing an APK file to the OSS bucket for the first time, add a RAM authorization policy. Otherwise, the NoSetRoletoECSServiceAcount error is returned.', 'type' => 'string', 'required' => true, 'example' => 'cloudphone-fvt-cn-hangzhou', 'title' => ''], ], [ 'name' => 'OssObject', 'in' => 'query', 'schema' => ['description' => 'The name of the object to be saved in OSS.', 'type' => 'string', 'required' => true, 'example' => 'test.txt', 'title' => ''], ], [ 'name' => 'Path', 'in' => 'query', 'schema' => ['description' => 'The path of the file to be saved on the cloud phone.', 'type' => 'string', 'required' => true, 'example' => '/sdcard/test.txt', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 't-bp67acfmxazb4p****', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": \\"t-bp67acfmxazb4p****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Pull a file from a cloud phone and save it to OSS', 'summary' => 'Pulls a file from a cloud phone and saves it to Object Storage Service (OSS).', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:FetchFile', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'ImportImage' => [ 'summary' => 'Imports a local image to Cloud Phone as a custom image in the specified region.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '116009', 'abilityTreeNodes' => ['FEATUREcloudphoneO7T570'], 'autoTest' => false, 'notSupportAutoTestReason' => '客户专用接口,不支持自动化测试', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region to which the image is imported.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region to which the image is imported.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'OssBucket', 'in' => 'query', 'schema' => ['description' => 'The OSS bucket where the image file is stored.', 'type' => 'string', 'required' => true, 'example' => 'myOssBucket', 'title' => ''], ], [ 'name' => 'OssObject', 'in' => 'query', 'schema' => ['description' => 'The key of the OSS object where the image file is stored.', 'type' => 'string', 'required' => true, 'example' => 'myOssKeyForImage.raw', 'title' => ''], ], [ 'name' => 'ImageName', 'in' => 'query', 'schema' => ['description' => 'The image name. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). The name must start with a letter or a Chinese character and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'myCustomImage', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the image. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'testDescription', 'title' => ''], ], [ 'name' => 'Platform', 'in' => 'query', 'schema' => ['description' => 'The operating system distribution. Valid values:'."\n" .'- Android 9.0.', 'type' => 'string', 'required' => false, 'example' => 'Android 9.0', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'required' => false, 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ImageId' => ['description' => 'The ID of the imported Cloud Phone image.', 'type' => 'string', 'example' => 'cpm-xxxxxxxx', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ImageId\\": \\"cpm-xxxxxxxx\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Import a custom image', 'description' => 'When you invoke this operation, take note of the following items:'."\n" .'- Upload the image file to Object Storage Service (OSS) in advance. For more information about the steps, see [Upload files](~~31886~~).'."\n" .'- When you import an image for the first time, grant Cloud Phone the permissions to access your OSS bucket by using RAM authorization. Click [Authorize](https://ram.console.aliyun.com/role/authorization?request=%7B%22Services%22%3A%5B%7B%22Service%22%3A%22CloudPhone%22%2C%22Roles%22%3A%5B%7B%22RoleName%22%3A%22AliyunCloudPhoneDefaultRole%22%2C%22TemplateId%22%3A%22AliyunCloudPhoneDefaultRole%22%7D%5D%7D%5D%2C%22ReturnUrl%22%3A%22https%3A%2F%2Fcloudphone.console.aliyun.com%2F%23%2Finstances%22%7D) to complete the authorization.'."\n" .'- The region to which the image is imported must be the same as the region of the OSS bucket where the image file is stored.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-07-29T11:40:44.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cloudphone:ImportImage', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ImportKeyPair' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'KeyPairName', 'in' => 'query', 'schema' => ['description' => 'The name of the key pair. The name must be unique. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter. It cannot start with http:// or https://.', 'type' => 'string', 'required' => true, 'example' => 'testKeyPairName', 'title' => ''], ], [ 'name' => 'PublicKeyBody', 'in' => 'query', 'schema' => ['description' => 'The public key content of the key pair.', 'type' => 'string', 'required' => true, 'example' => 'ABC1234567', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'KeyPairName' => ['description' => 'The name of the key pair.', 'type' => 'string', 'example' => 'testKeyPairName', 'title' => ''], 'KeyPairFingerPrint' => ['description' => 'The fingerprint of the key pair. The public key fingerprint format is defined in RFC 4716 and uses the MD5 message digest algorithm.', 'type' => 'string', 'example' => '89:f0:ba:62:ac:b8:aa:e1:61:5e:fd:81:69:86:6d:6b:f0:c0:5a:**', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"KeyPairName\\": \\"testKeyPairName\\",\\n \\"KeyPairFingerPrint\\": \\"89:f0:ba:62:ac:b8:aa:e1:61:5e:fd:81:69:86:6d:6b:f0:c0:5a:**\\"\\n}","type":"json"}]', 'title' => 'Import a cloud phone key pair', 'summary' => 'Imports the public key portion of an RSA key pair generated by another tool.', 'description' => 'Operation description'."\n" .'When you call this operation, take note of the following items:'."\n" ."\n" .'- You can have a maximum of 500 key pairs in each region.'."\n" .'- The imported public key must be the public key of a key pair generated by ADB.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:ImportKeyPair', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/*'], ], ], ], ], ], 'InstallApplication' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The instance ID of the instance on which to execute the command. Valid values of N: 1 to 10.', 'type' => 'array', 'items' => ['description' => 'The instance ID of the instance on which to execute the command. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'cp-uf65l0q3voetmjazif25', 'title' => ''], 'required' => false, 'maxItems' => 51, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'OssBucket', 'in' => 'query', 'schema' => ['description' => 'The OSS bucket where the application file is stored.'."\n" ."\n" .'> Before importing an application file to the OSS bucket for the first time, add a RAM authorization policy. Otherwise, the NoSetRoletoECSServiceAcount error is returned.', 'type' => 'string', 'required' => true, 'example' => 'phoneapplication', 'title' => ''], ], [ 'name' => 'OssObject', 'in' => 'query', 'schema' => ['description' => 'The name (key) of the OSS object where the application file is stored.', 'type' => 'string', 'required' => true, 'example' => 'test.apk', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '55C15B1C-D507-45F0-B490-69D6E0F113C6', 'title' => ''], 'TaskId' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TaskId' => [ 'description' => 'The task ID.', 'type' => 'array', 'items' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 't-bp67acfmxazb4p****', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C15B1C-D507-45F0-B490-69D6E0F113C6\\",\\n \\"TaskId\\": {\\n \\"TaskId\\": [\\n \\"t-bp67acfmxazb4p****\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Install an application on a cloud phone', 'summary' => 'Installs an application on a cloud phone.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:InstallApplication', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'ListImageSharePermission' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ImageId', 'in' => 'query', 'schema' => ['description' => 'The ID of the newly imported cloud phone image.', 'type' => 'string', 'required' => true, 'example' => 'cpm-bp1g8jvdu1v073wt9urx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F6037E25-FE1F-5423-A4BC-08BE09B81D16', 'title' => ''], 'Accounts' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Account' => [ 'description' => 'The list of user IDs.', 'type' => 'array', 'items' => [ 'description' => 'The list of user IDs.', 'type' => 'object', 'properties' => [ 'AliyunId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '1765205448******', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F6037E25-FE1F-5423-A4BC-08BE09B81D16\\",\\n \\"Accounts\\": {\\n \\"Account\\": [\\n {\\n \\"AliyunId\\": \\"1765205448******\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query image sharing user list', 'summary' => 'Queries the list of users with whom a custom image has been shared.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListImageSharePermission', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#imageId}'], ], ], ], ], ], 'ListImages' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ImageId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The image IDs. Valid values of N: 1 to 100.', 'type' => 'array', 'items' => ['description' => 'The image ID.', 'type' => 'string', 'required' => false, 'example' => 'cpm-xxxxxxxx', 'title' => ''], 'required' => false, 'maxItems' => 100, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ImageName', 'in' => 'query', 'schema' => ['description' => 'The image name. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), or hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'testImageName', 'title' => ''], ], [ 'name' => 'ImageCategory', 'in' => 'query', 'schema' => [ 'description' => 'The source of the image. Valid values:'."\n" .'- system: a public image provided by Alibaba Cloud.'."\n" .'- self: a custom image that you created.'."\n" .'- others: an image shared to you by another Alibaba Cloud user.', 'enumValueTitles' => [], 'type' => 'string', 'required' => false, 'example' => 'system', 'title' => '', ], ], [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => ['description' => 'The instance type.', 'type' => 'string', 'required' => false, 'example' => 'ecp.ce.large', 'title' => ''], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['description' => 'The status of the image to query. Valid values:'."\n" .'- Waiting: The image is waiting in the task queue.'."\n" .'- Creating: The image is being created.'."\n" .'- Copying: The image is being copied.'."\n" .'- Importing: The image is being imported.'."\n" .'- Available (default): The image is available for use.'."\n" .'- CreateFailed: The image failed to be created.', 'type' => 'string', 'required' => false, 'default' => 'Available', 'example' => 'Available', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token. Set the value to the NextToken value returned in the previous API call. You do not need to set this parameter for the first request.', 'type' => 'string', 'required' => false, 'example' => 'ADBAAdDWBF2****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries to return. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '50', 'example' => '50', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextToken' => ['description' => 'The pagination token for the next page.', 'type' => 'string', 'example' => 'ADBAAdDWBF2****', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'TotalCount' => ['description' => 'The total number of images.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], 'MaxResults' => ['description' => 'The maximum number of entries to return. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], 'RegionId' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'Images' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Image' => [ 'description' => 'The list of images.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The status of the image.', 'type' => 'string', 'example' => 'Available', 'title' => ''], 'CreationTime' => ['description' => 'The time when the image was created. The time follows the ISO 8601 standard.', 'type' => 'string', 'example' => '2021-01-01T01:07Z', 'title' => ''], 'Progress' => ['description' => 'The progress of image creation.', 'type' => 'string', 'example' => '100%', 'title' => ''], 'Usage' => ['description' => 'Indicates whether the image is running on a cloud phone instance. Valid values:'."\n" .'- none: The image is idle and not used by any cloud phone instance.'."\n" .'- instance: The image is in use by a cloud phone instance.', 'type' => 'string', 'example' => 'none', 'title' => ''], 'IsSelfShared' => ['description' => 'Indicates whether the image has been shared to other users.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'Description' => ['description' => 'The description of the image.', 'type' => 'string', 'example' => 'testDescription', 'title' => ''], 'ImageName' => ['description' => 'The name of the image.', 'type' => 'string', 'example' => 'testImageName', 'title' => ''], 'OSNameEn' => ['description' => 'The display name of the operating system in English.', 'type' => 'string', 'example' => 'Android 9.0', 'title' => ''], 'Platform' => ['description' => 'The operating system distribution.', 'type' => 'string', 'example' => 'Android 9.0', 'title' => ''], 'ImageCategory' => ['description' => 'The type of the image.', 'type' => 'string', 'example' => 'system', 'title' => ''], 'OSName' => ['description' => 'The display name of the operating system in Chinese.', 'type' => 'string', 'example' => 'Android 9.0', 'title' => ''], 'ImageId' => ['description' => 'The image ID.', 'type' => 'string', 'example' => 'cpm-xxxxxxxx', 'title' => ''], 'OSType' => ['description' => 'The type of the operating system.', 'type' => 'string', 'example' => 'android', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"ADBAAdDWBF2****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TotalCount\\": 3,\\n \\"MaxResults\\": 50,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Images\\": {\\n \\"Image\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"CreationTime\\": \\"2021-01-01T01:07Z\\",\\n \\"Progress\\": \\"100%\\",\\n \\"Usage\\": \\"none\\",\\n \\"IsSelfShared\\": false,\\n \\"Description\\": \\"testDescription\\",\\n \\"ImageName\\": \\"testImageName\\",\\n \\"OSNameEn\\": \\"Android 9.0\\",\\n \\"Platform\\": \\"Android 9.0\\",\\n \\"ImageCategory\\": \\"system\\",\\n \\"OSName\\": \\"Android 9.0\\",\\n \\"ImageId\\": \\"cpm-xxxxxxxx\\",\\n \\"OSType\\": \\"android\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ListImages', 'summary' => 'Queries image resources that are available to you.', 'changeSet' => [ ['createdAt' => '2022-06-14T01:15:43.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListImages', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/*'], ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#imageId}'], ], ], ], ], ], 'ListInstanceTypes' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '116015', 'abilityTreeNodes' => ['FEATUREcloudphoneWUELYS', 'FEATUREcloudphoneHQLBD3', 'FEATUREcloudphone5TFBF5'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of instance type names. Valid values of N: 1 to 100.', 'type' => 'array', 'items' => ['description' => 'The instance type name.', 'type' => 'string', 'required' => false, 'example' => 'ecp.ce.xlarge', 'title' => ''], 'required' => false, 'maxItems' => 11, 'title' => '', 'example' => '', ], ], [ 'name' => 'InstanceTypeFamily', 'in' => 'query', 'schema' => ['description' => 'The instance family.', 'type' => 'string', 'required' => false, 'example' => 'ecp.ce', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '41345CE8-6FE8-505D-BCF8-B9D972C1873F', 'title' => ''], 'InstanceTypes' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'InstanceType' => [ 'description' => 'The list of instance types.', 'type' => 'array', 'items' => [ 'description' => 'The list of instance types.', 'type' => 'object', 'properties' => [ 'NameEn' => ['description' => 'The instance type name in English.', 'type' => 'string', 'example' => 'Performance Type', 'title' => ''], 'DefaultResolution' => ['description' => 'The default resolution of the instance type.', 'type' => 'string', 'example' => '720*1280', 'title' => ''], 'InstanceType' => ['description' => 'The cloud phone instance type.', 'type' => 'string', 'example' => 'ecp.ce.xlarge', 'title' => ''], 'Name' => ['description' => 'The instance type name in Chinese.', 'type' => 'string', 'example' => '性能型', 'title' => ''], 'InstanceTypeFamily' => ['description' => 'The cloud phone instance family.', 'type' => 'string', 'example' => 'ecp.ce', 'title' => ''], 'CpuCoreCount' => ['description' => 'The number of vCPU cores of the instance type.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'MemorySize' => ['description' => 'The memory size of the instance type. Unit: GiB.', 'type' => 'string', 'example' => '4096', 'title' => ''], 'Resolutions' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Resolution' => [ 'description' => 'The list of resolutions supported by the instance type.', 'type' => 'array', 'items' => ['description' => 'The resolution supported by the instance type.', 'type' => 'string', 'example' => '720*1280', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"41345CE8-6FE8-505D-BCF8-B9D972C1873F\\",\\n \\"InstanceTypes\\": {\\n \\"InstanceType\\": [\\n {\\n \\"NameEn\\": \\"Performance Type\\",\\n \\"DefaultResolution\\": \\"720*1280\\",\\n \\"InstanceType\\": \\"ecp.ce.xlarge\\",\\n \\"Name\\": \\"性能型\\",\\n \\"InstanceTypeFamily\\": \\"ecp.ce\\",\\n \\"CpuCoreCount\\": 2,\\n \\"MemorySize\\": \\"4096\\",\\n \\"Resolutions\\": {\\n \\"Resolution\\": [\\n \\"720*1280\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query instance types', 'summary' => 'Queries the list of cloud phone instance types.', 'changeSet' => [ ['createdAt' => '2024-08-09T02:35:04.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], ], 'ListInstanceVncUrl' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region in which the cloud phone instance resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region in which the cloud phone instance resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID of the cloud phone instance.', 'type' => 'string', 'required' => true, 'example' => 'cp-xxxxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'VncUrl' => ['description' => 'The VNC logon URL.', 'type' => 'string', 'example' => 'wss%3A%2F%2Fhz01-vncproxy.aliyun.com%2Fwebsockify%2F%3Fs%3DDvh%252FIA%252BYc73gWO48cBx2gBxUDVzaAnSKr74pq30mzqUYgeUMcB%252FbkNixDxdEA996 ', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'WebRtcToken' => ['description' => 'The token used for WebRTC logon.', 'type' => 'string', 'example' => 'D3EC1DE8C12E******', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VncUrl\\": \\"wss%3A%2F%2Fhz01-vncproxy.aliyun.com%2Fwebsockify%2F%3Fs%3DDvh%252FIA%252BYc73gWO48cBx2gBxUDVzaAnSKr74pq30mzqUYgeUMcB%252FbkNixDxdEA996\\\\t\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"WebRtcToken\\": \\"D3EC1DE8C12E******\\"\\n}","type":"json"}]', 'title' => 'Obtain instance VNC logon URL', 'summary' => 'Queries the web management terminal URL of a cloud phone instance.', 'description' => '## Operation description'."\n" ."\n" .'When you invoke this operation, note the following:'."\n" ."\n" .'- The management terminal URL is valid for 15 seconds. If you do not use the URL within 15 seconds after the invocation succeeds, the URL automatically expires and you must query it again.'."\n" .'- The persistent connection (KeepAlive) duration of a single management terminal URL is 60 seconds. If no interaction occurs in the management terminal window within 60 seconds, the connection is automatically closed.'."\n" .'- If the connection breaks, you can reconnect up to 30 times per minute.'."\n" .'- Append vncUrl=****, instanceId=****, and password=**** to the end of the URL https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?, and connect the parameters with &. In the URL:'."\n" .' - vncUrl: the value of VncUrl returned after a successful invocation.'."\n" .' - instanceId: the instance ID of your instance.'."\n" .' - (Optional) password: the remote connection password of the instance, which consists of six characters that can be digits or letters. If you specify this parameter, you do not need to enter the password when connecting to the management terminal.'."\n" ."\n" .'The following example shows a sample request:'."\n" ."\n" .'https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=cp-wz9hhwq5a6tm****'."\n" .' '."\n" .'Or:'."\n" ."\n" .'https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%****&instanceId=cp-wz9hhwq5a6tm****&password=****', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2021-12-22T10:27:28.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListInstanceVncUrl', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'ListInstances' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region where the cloud phone instances reside.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The instance IDs of the cloud phone instances. Valid values of N: 1 to 100.', 'type' => 'array', 'items' => ['description' => 'The instance ID of the cloud phone.', 'type' => 'string', 'required' => false, 'example' => 'cp-xxxxxxxxxx', 'title' => ''], 'required' => false, 'example' => 'cp-xxxxxxxxxx', 'maxItems' => 101, 'title' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region where the cloud phone instances reside.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['description' => 'The name of the cloud phone instance.', 'type' => 'string', 'required' => false, 'example' => 'phone', 'title' => ''], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['description' => 'The instance status. Valid values:'."\n" .'- Pending: being created.'."\n" .'- Running: running.'."\n" .'- Starting: being started.'."\n" .'- Stopping: being stopped.'."\n" .'- Stopped: stopped.'."\n" .'- Expired: expired.', 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''], ], [ 'name' => 'KeyPairName', 'in' => 'query', 'schema' => ['description' => 'The name of the key pair. The name must be unique. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). The name must start with a letter. The name cannot start with http:// or https://.', 'type' => 'string', 'required' => false, 'example' => 'testKeyPairName', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The query token. Set this parameter to the NextToken value returned in the previous API call. You do not need to set this parameter for the first call.', 'type' => 'string', 'required' => false, 'example' => 'ADBAAdDWBF2****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries to return. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => ['description' => 'The zone where the cloud phone resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i', 'title' => ''], ], [ 'name' => 'Resolution', 'in' => 'query', 'schema' => ['description' => 'The resolution used by the cloud phone.', 'type' => 'string', 'required' => false, 'example' => '1920*1080', 'title' => ''], ], [ 'name' => 'ChargeType', 'in' => 'query', 'schema' => ['description' => 'The billing method. Valid values:'."\n" .'- PrePaid: subscription.'."\n" .'- PostPaid: pay-as-you-go.', 'type' => 'string', 'required' => false, 'example' => 'PostPaid', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => ['description' => 'The instance type.', 'type' => 'string', 'required' => false, 'example' => 'ecp.ce.large', 'title' => ''], ], [ 'name' => 'ImageId', 'in' => 'query', 'schema' => ['description' => 'The image ID.', 'type' => 'string', 'required' => false, 'example' => 'cpm-xxxxxxxxx', 'title' => ''], ], [ 'name' => 'ShowWebRtcToken', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to return webRtcToken in the query results.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The tags used to filter instances.', 'type' => 'array', 'items' => [ 'description' => 'The tags.', 'type' => 'object', 'properties' => [ 'Key' => ['title' => '', 'description' => 'The tag key of the instance. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestKey'], 'Value' => ['title' => '', 'description' => 'The tag value of the instance. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestValue'], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'example' => '', ], ], [ 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The filter conditions for querying resources.', 'type' => 'array', 'items' => [ 'description' => 'The filter conditions.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The filter key for querying instances. Valid values:'."\n" ."\n" .'- ExpiredStartTime: queries resources that expire after the time specified by Filter.N.Value.'."\n" ."\n" .'- ExpiredEndTime: queries resources that expire before the time specified by Filter.N.Value.'."\n" ."\n" .'- CreationStartTime: queries resources created after the time specified by Filter.N.Value.'."\n" ."\n" .'- CreationEndTime: queries resources created before the time specified by Filter.N.Value.', 'type' => 'string', 'required' => false, 'example' => 'ExpiredStartTime', 'title' => ''], 'Value' => ['description' => 'The filter value for querying instances. When you specify this parameter, you must also specify Filter.N.Key. The value is in the yyyy-MM-ddTHH:mmZ format in UTC+0.', 'type' => 'string', 'required' => false, 'example' => '2023-11-05T00:00Z', 'title' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 10, 'title' => '', 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextToken' => ['description' => 'The query token for the next page.', 'type' => 'string', 'example' => 'ADBAAdDWBF2****', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'TotalCount' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], 'MaxResults' => ['description' => 'The maximum number of entries to return. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], 'Instances' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Instance' => [ 'description' => 'The instances.', 'type' => 'array', 'items' => [ 'description' => 'The instances.', 'type' => 'object', 'properties' => [ 'Status' => ['description' => 'The instance status. Valid values:'."\n" .'- Pending: being created.'."\n" .'- Running: running.'."\n" .'- Starting: being started.'."\n" .'- Stopping: being stopped.'."\n" .'- Stopped: stopped.', 'type' => 'string', 'example' => 'Running', 'title' => ''], 'CreationTime' => ['description' => 'The time when the image was created. The time is in ISO 8601 format.', 'type' => 'string', 'example' => '2021-01-01T01:07Z', 'title' => ''], 'KeyPairName' => ['description' => 'The name of the key pair bound to the instance.', 'type' => 'string', 'example' => 'testKeyPairName', 'title' => ''], 'SecurityGroupId' => ['description' => 'The security group ID. The same security group as ECS is used.', 'type' => 'string', 'example' => 'sg-xxxxx', 'title' => ''], 'AutoRenew' => ['description' => 'Indicates whether auto-renewal is enabled. This parameter takes effect only for subscription instances.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'ChargeType' => ['description' => 'The billing method of the instance.', 'type' => 'string', 'example' => 'PostPaid', 'title' => ''], 'OsName' => ['description' => 'The Chinese display name of the operating system.', 'type' => 'string', 'example' => 'Android 9.0', 'title' => ''], 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cp-xxxxxxxxxxx', 'title' => ''], 'InstanceType' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'ecp.ce.large', 'title' => ''], 'RegionId' => ['description' => 'The region of the cloud phone.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'Description' => ['description' => 'The description of the instance.', 'type' => 'string', 'example' => 'testDescription', 'title' => ''], 'ExpiredTime' => ['description' => 'The time when the upfront instance expires.', 'type' => 'string', 'example' => '2021-12-21T22:00Z', 'title' => ''], 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'testInstanceName', 'title' => ''], 'ZoneId' => ['description' => 'The zone.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], 'Resolution' => ['description' => 'The resolution of the cloud phone instance.', 'type' => 'string', 'example' => '1920*1080', 'title' => ''], 'ImageId' => ['description' => 'The image ID.', 'type' => 'string', 'example' => 'cpm-xxxxxxxx', 'title' => ''], 'OsNameEn' => ['description' => 'The English display name of the operating system.', 'type' => 'string', 'example' => 'Android 9.0', 'title' => ''], 'VpcAttributes' => [ 'description' => 'The VPC information of the instance.', 'type' => 'object', 'properties' => [ 'PrivateIpAddress' => ['description' => 'The private IP address.', 'type' => 'string', 'example' => '192.168.0.85', 'title' => ''], 'VSwitchId' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1kbwqxxxxx', 'title' => ''], ], 'title' => '', 'example' => '', ], 'EipAddress' => [ 'description' => 'The elastic IP address (EIP) information of the instance.', 'type' => 'object', 'properties' => [ 'InternetChargeType' => ['description' => 'The billing method of the EIP.', 'type' => 'string', 'example' => 'PayByTraffic', 'title' => ''], 'IpAddress' => ['description' => 'The EIP address.', 'type' => 'string', 'example' => '120.55.XX.XX', 'title' => ''], 'Bandwidth' => ['description' => 'The bandwidth of the EIP.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'AllocationId' => ['description' => 'The ID of the EIP associated with the cloud phone instance.', 'type' => 'string', 'example' => 'eip-bp1vctqgcoi6i9nxxxxxx', 'title' => ''], ], 'title' => '', 'example' => '', ], 'WebRtcToken' => ['description' => 'The webRtcToken information.', 'type' => 'string', 'example' => 'eDeybrh74h34***', 'title' => ''], 'Tags' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Tag' => [ 'description' => 'The tags of the instance.', 'type' => 'array', 'items' => [ 'description' => 'The tags of the instance.', 'type' => 'object', 'properties' => [ 'Key' => ['description' => 'The tag key of the instance.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''], 'Value' => ['description' => 'The tag value of the instance.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"ADBAAdDWBF2****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TotalCount\\": 3,\\n \\"MaxResults\\": 50,\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"Status\\": \\"Running\\",\\n \\"CreationTime\\": \\"2021-01-01T01:07Z\\",\\n \\"KeyPairName\\": \\"testKeyPairName\\",\\n \\"SecurityGroupId\\": \\"sg-xxxxx\\",\\n \\"AutoRenew\\": false,\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"OsName\\": \\"Android 9.0\\",\\n \\"InstanceId\\": \\"cp-xxxxxxxxxxx\\",\\n \\"InstanceType\\": \\"ecp.ce.large\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Description\\": \\"testDescription\\",\\n \\"ExpiredTime\\": \\"2021-12-21T22:00Z\\",\\n \\"InstanceName\\": \\"testInstanceName\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"Resolution\\": \\"1920*1080\\",\\n \\"ImageId\\": \\"cpm-xxxxxxxx\\",\\n \\"OsNameEn\\": \\"Android 9.0\\",\\n \\"VpcAttributes\\": {\\n \\"PrivateIpAddress\\": \\"192.168.0.85\\",\\n \\"VSwitchId\\": \\"vsw-bp1kbwqxxxxx\\"\\n },\\n \\"EipAddress\\": {\\n \\"InternetChargeType\\": \\"PayByTraffic\\",\\n \\"IpAddress\\": \\"120.55.XX.XX\\",\\n \\"Bandwidth\\": 2,\\n \\"AllocationId\\": \\"eip-bp1vctqgcoi6i9nxxxxxx\\"\\n },\\n \\"WebRtcToken\\": \\"eDeybrh74h34***\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"TestKey\\",\\n \\"Value\\": \\"TestValue\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query cloud phone instances', 'summary' => 'Queries a list of cloud phone instances.', 'description' => '- This operation supports only NextToken-based queries.'."\n" .'- Results are returned in ascending order of cloud phone creation time.'."\n" .'- Set the query token by specifying NextToken, whose value is the NextToken parameter value returned by the previous call to ListInstances. Set MaxResults to specify the maximum number of entries per page.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2023-11-08T01:59:24.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-02-18T08:35:22.000Z', 'description' => 'Request parameters changed, Response parameters changed, Error codes changed'], ['createdAt' => '2022-02-18T08:35:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-09-22T09:31:28.000Z', 'description' => 'Request parameters changed, Response parameters changed, Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/*'], ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'ListKeyPairs' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the key pair.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID of the key pair.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'KeyPairName', 'in' => 'query', 'schema' => ['description' => 'The name of the key pair.', 'type' => 'string', 'required' => false, 'example' => 'testKeyPair', 'title' => ''], ], [ 'name' => 'KeyPairFingerPrint', 'in' => 'query', 'schema' => ['description' => 'The fingerprint of the key pair. The fingerprint is in the public key fingerprint format defined in RFC 4716 and uses the MD5 message digest algorithm.', 'type' => 'string', 'required' => false, 'example' => 'ABC1234567', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token. Set this parameter to the NextToken value returned in the previous API call. You do not need to set this parameter for the first request.', 'type' => 'string', 'required' => false, 'example' => 'ADBAAdDWBF2****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries to return. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextToken' => ['description' => 'The pagination token for the next page.', 'type' => 'string', 'example' => 'ADBAAdDWBF2****', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'TotalCount' => ['description' => 'The total number of key pairs.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'MaxResults' => ['description' => 'The maximum number of entries to return. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'KeyPairs' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'KeyPair' => [ 'description' => 'The list of key pairs.', 'type' => 'array', 'items' => [ 'description' => 'The list of key pairs.', 'type' => 'object', 'properties' => [ 'CreationTime' => ['description' => 'The time when the key pair was created.', 'type' => 'string', 'example' => '2021-03-04T13:35Z', 'title' => ''], 'KeyPairName' => ['description' => 'The name of the key pair.', 'type' => 'string', 'example' => 'testKeyPairName', 'title' => ''], 'KeyPairFingerPrint' => ['description' => 'The fingerprint of the key pair.', 'type' => 'string', 'example' => 'ABC1234567', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"ADBAAdDWBF2****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TotalCount\\": 5,\\n \\"MaxResults\\": 100,\\n \\"KeyPairs\\": {\\n \\"KeyPair\\": [\\n {\\n \\"CreationTime\\": \\"2021-03-04T13:35Z\\",\\n \\"KeyPairName\\": \\"testKeyPairName\\",\\n \\"KeyPairFingerPrint\\": \\"ABC1234567\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query cloud phone key pairs', 'summary' => 'Queries one or more key pairs.', 'description' => 'You can call this operation to query cloud phone key pairs.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListKeyPairs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/*'], ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/{#KeyPairName}'], ], ], ], ], ], 'ListRegions' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '116018', 'abilityTreeNodes' => ['FEATUREcloudphoneYWRDCM'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'Regions' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Region' => [ 'description' => 'The list of regions.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RegionEndpoint' => ['description' => 'The endpoint of the region.', 'type' => 'string', 'example' => 'cloudphone.cn-hangzhou.aliyuncs.com', 'title' => ''], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionEndpoint\\": \\"cloudphone.cn-hangzhou.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query available regions', 'summary' => 'Queries the regions where Cloud Phone is available for purchase.', 'description' => '- Queries the regions where Cloud Phone is available for purchase.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-08-09T02:35:04.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], ], 'ListTagKeys' => [ 'summary' => 'Queries a list of tag keys.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The pagination token for the next query. If this parameter is not specified, the first page of results is returned.', 'type' => 'string', 'required' => false, 'example' => 'ADBAAdDWBF2****'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The resource type. Valid values:'."\n" .'- instance: Elastic Cloud Phone instance.', 'type' => 'string', 'required' => true, 'example' => 'instance'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextToken' => ['title' => '', 'description' => 'The pagination token for the next query. If this parameter is empty, no more results exist.', 'type' => 'string', 'example' => 'ADBAAdDWBF2****'], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'MaxResults' => ['description' => 'The maximum number of results per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], 'Keys' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Key' => [ 'title' => '', 'description' => 'The list of tag keys.', 'type' => 'array', 'items' => ['description' => 'The list of tag keys.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''], 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"ADBAAdDWBF2****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"MaxResults\\": 50,\\n \\"Keys\\": {\\n \\"Key\\": [\\n \\"TestKey\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query tag keys', 'changeSet' => [ ['createdAt' => '2022-03-24T08:11:25.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListTagKeys', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListTagResources' => [ 'summary' => 'Queries the tags bound to multiple cloud resources.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '130042', 'abilityTreeNodes' => ['FEATUREcloudphoneXDJIVR'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The token that determines the start point of the next query.', 'type' => 'string', 'required' => false, 'example' => 'ADBAAdDWBF2****'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The resource type. Valid values:'."\n" .'- instance: elastic cloud phone instance.', 'type' => 'string', 'required' => true, 'example' => 'instance'], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The resource ID. You can specify up to 50 resource IDs.', 'type' => 'array', 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cp-xxxx', 'title' => ''], 'required' => false, 'maxItems' => 51, 'example' => '', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The list of tags. You can specify up to 20 tags.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'TestKey'], 'Value' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'TestValue'], ], 'required' => false, 'description' => '', 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextToken' => ['title' => '', 'description' => 'The token for the next query. If NextToken is empty, no more results exist.', 'type' => 'string', 'example' => 'ADBAAdDWBF2****'], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83A', 'title' => ''], 'TagResources' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TagResource' => [ 'title' => '', 'description' => 'The resources.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ResourceType' => ['title' => '', 'description' => 'The resource type. Valid values:'."\n" .'- instance: elastic cloud phone instance.', 'type' => 'string', 'example' => 'instance'], 'TagValue' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'example' => 'TestValue'], 'ResourceId' => ['title' => '', 'description' => 'The resource ID.', 'type' => 'string', 'example' => 'cp-xxx'], 'TagKey' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'example' => 'TestKey'], ], 'description' => '', 'title' => '', 'example' => '', ], 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"ADBAAdDWBF2****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83A\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"ResourceType\\": \\"instance\\",\\n \\"TagValue\\": \\"TestValue\\",\\n \\"ResourceId\\": \\"cp-xxx\\",\\n \\"TagKey\\": \\"TestKey\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query resource tags', 'changeSet' => [ ['createdAt' => '2022-03-24T08:11:26.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListTagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListTagValues' => [ 'summary' => 'Queries the tag values that correspond to a specified tag key.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '130973', 'abilityTreeNodes' => ['FEATUREcloudphoneXDJIVR'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The token for the next query.', 'type' => 'string', 'required' => false, 'example' => 'ADBAAdDWBF2****'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The resource type. Valid values:'."\n" .'- instance: elastic cloud phone instance.', 'type' => 'string', 'required' => true, 'example' => 'instance'], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => ['description' => 'The tag key to query.', 'type' => 'string', 'required' => true, 'example' => 'TestKey', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextToken' => ['title' => '', 'description' => 'The token for the next query. If NextToken is empty, no more results exist.', 'type' => 'string', 'example' => 'ADBAAdDWBF2****'], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'MaxResults' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], 'Values' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Value' => [ 'title' => '', 'description' => 'The list of resources.', 'type' => 'array', 'items' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''], 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"ADBAAdDWBF2****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"MaxResults\\": 50,\\n \\"Values\\": {\\n \\"Value\\": [\\n \\"TestValue\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query tag values of a specified tag key', 'changeSet' => [ ['createdAt' => '2022-03-24T08:11:25.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2022-03-24T08:11:25.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListTagValues', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListTasks' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'TaskId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of task IDs. Valid values of N: 1 to 100.', 'type' => 'array', 'items' => ['description' => 'The list of task IDs. Valid values of N: 1 to 100.', 'type' => 'string', 'required' => false, 'example' => 't-bp67acfmxazb4p****', 'title' => ''], 'required' => false, 'maxItems' => 101, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'TaskStatus', 'in' => 'query', 'schema' => ['description' => 'The task status. Valid values:'."\n" .'- Finished: The task is completed.'."\n" .'- Processing: The task is running.'."\n" .'- Failed: The task has failed.'."\n" ."\n" .'Default value: none.'."\n" ."\n" .'> Only tasks in the Finished, Processing, or Failed state can be queried. Other values do not take effect.', 'type' => 'string', 'required' => false, 'example' => 'Finished', 'title' => ''], ], [ 'name' => 'TaskType', 'in' => 'query', 'schema' => ['description' => 'The name of the API operation for the task. Valid values:'."\n" .'- Shell: runs a shell command.'."\n" .'- InstallApplication: installs an application.'."\n" .'- UninstallApplication: uninstalls an application.'."\n" .'- SendFile: uploads a file.'."\n" .'- ImportImage: imports an image.', 'type' => 'string', 'required' => false, 'example' => 'Shell', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'cp-acfmxazb4p***', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token. Set this parameter to the NextToken value returned in the previous API call. You do not need to set this parameter for the first request.', 'type' => 'string', 'required' => false, 'example' => '55C15B1C-D507-45F0-B490-69D6E0F113C6', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => 'The maximum number of entries to return. Valid values: 1 to 100.'."\n" .'Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'NextToken' => ['description' => 'The pagination token for the next page.', 'type' => 'string', 'example' => 'ADBAAdDWBF2****', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'TotalCount' => ['description' => 'The total number of tasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'MaxResults' => ['description' => 'The maximum number of entries returned. Valid values: 1 to 200. Default value: 50.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'Tasks' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Task' => [ 'description' => 'The task list.', 'type' => 'array', 'items' => [ 'description' => 'The task list.', 'type' => 'object', 'properties' => [ 'TaskType' => ['description' => 'The task type.', 'type' => 'string', 'example' => 'Shell', 'title' => ''], 'Progress' => ['description' => 'The task execution progress.', 'type' => 'string', 'example' => '100%', 'title' => ''], 'TaskStatus' => ['description' => 'The task status.', 'type' => 'string', 'example' => 'Finished', 'title' => ''], 'ExecuteMsg' => ['description' => 'The task execution result. The maximum length is 1024 bytes.', 'type' => 'string', 'example' => 'file1 file2', 'title' => ''], 'CreateTime' => ['description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2021-04-15T10:10Z', 'title' => ''], 'FinishedTime' => ['description' => 'The time when the task was completed.', 'type' => 'string', 'example' => '2021-04-15T10:10Z', 'title' => ''], 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cp-acfmxazb4p***', 'title' => ''], 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 't-bp67acfmxazb4p****', 'title' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"ADBAAdDWBF2****\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 50,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Tasks\\": {\\n \\"Task\\": [\\n {\\n \\"TaskType\\": \\"Shell\\",\\n \\"Progress\\": \\"100%\\",\\n \\"TaskStatus\\": \\"Finished\\",\\n \\"ExecuteMsg\\": \\"file1 file2\\",\\n \\"CreateTime\\": \\"2021-04-15T10:10Z\\",\\n \\"FinishedTime\\": \\"2021-04-15T10:10Z\\",\\n \\"InstanceId\\": \\"cp-acfmxazb4p***\\",\\n \\"TaskId\\": \\"t-bp67acfmxazb4p****\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Get cloud phone instance task list', 'summary' => 'Retrieves the current task list of a cloud phone instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListTasks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListZones' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '116020', 'abilityTreeNodes' => ['FEATUREcloudphoneYWRDCM'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'Zones' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'Zone' => [ 'description' => 'The list of zones supported in the current region.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-i\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Query all zones in a specified region', 'summary' => 'Queries the list of zones supported in a specified region.', 'description' => '## Operation description'."\n" ."\n" .'- Queries the zones supported in a specified region.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2024-08-09T02:35:04.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], ], 'RebootInstances' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region to which the cloud phone instance belongs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The instance ID of the cloud phone.', 'type' => 'array', 'items' => ['description' => 'The instance ID of the cloud phone.', 'type' => 'string', 'required' => false, 'example' => 'cp-uf6dzwc1h1yaovov****', 'title' => ''], 'required' => true, 'maxItems' => 101, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region to which the cloud phone instance belongs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzou', 'title' => ''], ], [ 'name' => 'Force', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to forcibly restart the instance. Valid values:'."\n" ."\n" .'- true: forcibly restarts the instance. This is equivalent to a typical power-off operation. All cached data that has not been written to the storage device is lost.'."\n" .'- false: normally restarts the instance.'."\n" ."\n" .'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Restart an instance', 'summary' => 'Restarts an instance.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:RebootInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'RenewInstances' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of instance IDs to renew. The list can contain a maximum of 20 elements.', 'type' => 'array', 'items' => ['description' => 'The instance ID to renew.', 'type' => 'string', 'required' => false, 'example' => 'cp-xxxx', 'title' => ''], 'required' => true, 'example' => 'cp-xxxx', 'maxItems' => 101, 'title' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', 'schema' => ['description' => 'The renewal period. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PeriodUnit', 'in' => 'query', 'schema' => ['description' => 'The unit of the renewal period. Valid values:'."\n" .'- Year: subscription. Valid values for the period: 1, 2, 3, 4, and 5.'."\n" .'- Month: subscription. Valid values for the period: 1, 2, 3, and 6.'."\n" .'- Hour: pay-as-you-go. Valid value for the period: 1.'."\n" ."\n" .'Default value: Month.', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], ], [ 'name' => 'AutoPay', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable automatic payment. Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.', 'type' => 'string', 'required' => false, 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '10000', 'title' => ''], 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'InstanceIds' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'InstanceId' => [ 'description' => 'The list of renewed instance IDs.', 'type' => 'array', 'items' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'cp-xxxx', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"10000\\",\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"InstanceIds\\": {\\n \\"InstanceId\\": [\\n \\"cp-xxxx\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Batch renew Cloud phone instances', 'summary' => 'Renews multiple subscription Cloud Phone instances in a batch.', 'description' => '- Batch renewal operation.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:RenewInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'ResetInstances' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of cloud phone instance IDs. Valid values of N: 1 to 100.', 'type' => 'array', 'items' => ['description' => 'The cloud phone instance ID.', 'type' => 'string', 'required' => false, 'example' => 'cp-xxxxxx', 'title' => ''], 'required' => true, 'example' => 'cp-xxxxxx', 'maxItems' => 101, 'title' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ImageId', 'in' => 'query', 'schema' => ['description' => 'The cloud phone image ID. If this parameter is not specified, the instance is reset by using its current image.', 'type' => 'string', 'required' => false, 'example' => 'cpm-xxxxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Batch reset instances', 'summary' => 'Resets instances to their initial state at the time of creation.', 'description' => '## Operation description'."\n" ."\n" .'When you call this operation, take note of the following items:'."\n" .'- The cloud phone instance must be in the Stopped state.'."\n" .'- If the source image used to create the cloud phone instance has been deleted, the instance cannot be initialized.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:ResetInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'RunCommand' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The instance ID of the instance on which to execute the command. Valid values of N: 1 to 10.', 'type' => 'array', 'items' => ['description' => 'The cloud phone instance ID.', 'type' => 'string', 'required' => false, 'example' => 'cp-acfmxazb4p***', 'title' => ''], 'required' => false, 'maxItems' => 51, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Command', 'in' => 'query', 'schema' => ['description' => 'The command to execute. The command can be up to 1024 bytes in length and can contain only letters, digits, underscores (_), periods (.), forward slashes (/), colons (:), and hyphens (-).', 'type' => 'string', 'required' => true, 'example' => 'ls -al /', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '55C15B1C-D507-45F0-B490-69D6E0F113C6', 'title' => ''], 'TaskId' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TaskId' => [ 'description' => 'The task ID.', 'type' => 'array', 'items' => ['description' => 'The list of task IDs. Valid values of N: 1 to 100.', 'type' => 'string', 'example' => 't-bp67acfmxazb4p****', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55C15B1C-D507-45F0-B490-69D6E0F113C6\\",\\n \\"TaskId\\": {\\n \\"TaskId\\": [\\n \\"t-bp67acfmxazb4p****\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Execute a command on cloud phones', 'summary' => 'Executes a command on cloud phones.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RunCommand'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:RunCommand', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'RunInstances' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['description' => 'The instance name. The name must be 2 to 128 characters in length and must start with a letter or a Chinese character. It cannot start with `http://` or `https://`. The name can contain Chinese characters, letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). Default value: the value of InstanceId.', 'type' => 'string', 'required' => false, 'example' => 'instance', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the instance. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'cloudphone instance', 'title' => ''], ], [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => ['description' => 'The instance type.', 'type' => 'string', 'required' => true, 'example' => 'ecp.ce.large', 'title' => ''], ], [ 'name' => 'ImageId', 'in' => 'query', 'schema' => ['description' => 'The image ID.', 'type' => 'string', 'required' => true, 'example' => 'cpm-xxxx', 'title' => ''], ], [ 'name' => 'SecurityGroupId', 'in' => 'query', 'schema' => ['description' => 'The security group ID. The same security group as ECS is used.', 'type' => 'string', 'required' => true, 'example' => 'sg-xxxxx', 'title' => ''], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'required' => true, 'example' => 'vsw-xxxx', 'title' => ''], ], [ 'name' => 'EipBandwidth', 'in' => 'query', 'schema' => ['description' => 'The bandwidth value of the elastic IP address (EIP). Valid values: 1 to 200. Settings this parameter triggers the automatic creation of an EIP with the specified bandwidth, and the EIP is attached to the cloud phone instance. When the instance is released, the EIP is also released and revoked.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'Resolution', 'in' => 'query', 'schema' => ['description' => 'The resolution of the cloud phone instance. You can call the DescribeInstanceTypes operation to query the resolutions supported by the current instance type and select an appropriate resolution.', 'type' => 'string', 'required' => false, 'example' => '1920*1080', 'title' => ''], ], [ 'name' => 'Amount', 'in' => 'query', 'schema' => ['description' => 'The number of ECS instances that you want to create. Valid values: 1 to 100.'."\n" ."\n" .'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'KeyPairName', 'in' => 'query', 'schema' => ['description' => 'The name of the key pair for the cloud phone instance. You can call the ImportKeyPair operation to import a key pair.', 'type' => 'string', 'required' => false, 'example' => 'keypair', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.', 'type' => 'string', 'required' => false, 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], [ 'name' => 'ChargeType', 'in' => 'query', 'schema' => ['description' => 'The billing method of the instance. Valid values:'."\n" ."\n" .'- PrePaid: subscription.'."\n" .'- PostPaid (default): pay-as-you-go.', 'type' => 'string', 'required' => false, 'example' => 'PostPaid', 'title' => ''], ], [ 'name' => 'PeriodUnit', 'in' => 'query', 'schema' => ['description' => 'The unit of the subscription billing duration. Billable methods include subscription. Valid values:'."\n" ."\n" .'- Year'."\n" .'- Month (default).', 'type' => 'string', 'required' => false, 'example' => 'Month', 'title' => ''], ], [ 'name' => 'AutoRenew', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable auto-renewal. This parameter takes effect only when InstanceChargeType is set to PrePaid. Valid values:'."\n" ."\n" .'- true: enables auto-renewal.'."\n" .'- false (default): disables auto-renewal.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'AutoPay', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to enable automatic payment. Default value: true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'Period', 'in' => 'query', 'schema' => ['description' => 'The subscription duration. Default value: 1.'."\n" .'- If PeriodUnit is set to Month, valid values are 1, 2, 3, and 6.'."\n" .'- If PeriodUnit is set to Year, valid values are 1, 2, 3, 4, and 5.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The tags of the instance.', 'type' => 'array', 'items' => [ 'description' => 'The tags.', 'type' => 'object', 'properties' => [ 'Key' => ['title' => '', 'description' => 'The tag key of the instance. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestKey'], 'Value' => ['title' => '', 'description' => 'The tag value of the instance. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestValue'], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'example' => '', ], ], [ 'name' => 'PrivateIpAddress', 'in' => 'query', 'schema' => ['description' => 'The private IP address of the cloud phone instance. When you specify a private IP address for the cloud phone instance, select an available IP address from the idle CIDR block of the vSwitch (VSwitchId).'."\n" .'Note:'."\n" .'If you set PrivateIpAddress, you must set Amount to 1, which indicates that only one cloud phone instance with the specified private IP address is created.', 'type' => 'string', 'required' => false, 'example' => '192.168.157.224', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'example' => '9611111323245', 'title' => ''], 'TradePrice' => ['description' => 'The price.', 'type' => 'number', 'format' => 'float', 'example' => '133.32', 'title' => ''], 'InstanceIds' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'InstanceId' => [ 'description' => 'The list of instance IDs.', 'type' => 'array', 'items' => ['description' => 'The list of instance IDs.', 'type' => 'string', 'example' => 'cp-xxxxx', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [ 403 => [ ['errorCode' => 'QuotaExceed', 'errorMessage' => 'Instance quota exceed.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"OrderId\\": \\"9611111323245\\",\\n \\"TradePrice\\": 133.32,\\n \\"InstanceIds\\": {\\n \\"InstanceId\\": [\\n \\"cp-xxxxx\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Create and start instances in a batch', 'summary' => 'Creates and starts instances in a batch.', 'description' => 'Preparations:'."\n" ."\n" .'- Complete real-name verification. For more information, see [Chinese Chinese Chinese Chinese](~~428525~~).'."\n" ."\n" .'Before you begin:'."\n" ."\n" .'- You can create up to 100 instances in a single request.'."\n" .'- This operation creates and starts instances.'."\n" .'- If an instance fails to be created due to factors such as insufficient inventory, the instance is automatically rolled back and released.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2022-06-10T07:03:27.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-03-24T08:11:25.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:RunInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'SendFile' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The instance ID of the instance on which to execute the command. Valid values of N: 1 to 10.', 'type' => 'array', 'items' => ['description' => 'The instance ID of the instance on which to execute the command. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'cp-acfmxazb4p***', 'title' => ''], 'required' => false, 'maxItems' => 51, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'OssBucket', 'in' => 'query', 'schema' => ['description' => 'The OSS bucket where the file to be sent is stored.'."\n" ."\n" .'> Before importing an APK file to the OSS bucket for the first time, add a RAM authorization policy. Otherwise, the NoSetRoletoECSServiceAcount error is returned.', 'type' => 'string', 'required' => true, 'example' => 'cloudphone-fvt-cn-hangzhou', 'title' => ''], ], [ 'name' => 'OssObject', 'in' => 'query', 'schema' => ['description' => 'The name (key) of the OSS object where the file is stored.', 'type' => 'string', 'required' => true, 'example' => 'test.txt', 'title' => ''], ], [ 'name' => 'Path', 'in' => 'query', 'schema' => ['description' => 'The full path of the file on the cloud phone.', 'type' => 'string', 'required' => true, 'example' => '/sdcard', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], 'TaskId' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TaskId' => [ 'description' => 'The task ID list. Valid values of N: 1 to 100.', 'type' => 'array', 'items' => ['description' => 'The task ID list. Valid values of N: 1 to 100.', 'type' => 'string', 'example' => 't-bp67acfmxazb4p****', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"TaskId\\": {\\n \\"TaskId\\": [\\n \\"t-bp67acfmxazb4p****\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Push a file to a cloud phone', 'summary' => 'Pushes a file to a cloud phone.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:SendFile', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'StartInstances' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of instance IDs. You can start up to 100 cloud phones at a time.', 'type' => 'array', 'items' => ['description' => 'The list of instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'cp-bp14g2vueqq8aef6fx0c', 'title' => ''], 'required' => true, 'maxItems' => 101, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Start instances in batches', 'summary' => 'Starts instances in batches.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cloudphone:StartInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'StopInstances' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region to which the cloud phone instances belong.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of instance IDs. Valid values of N: 1 to 100.', 'type' => 'array', 'items' => ['description' => 'The list of instance IDs. Valid values of N: 1 to 100.', 'type' => 'string', 'required' => false, 'example' => 'cp-xxxx', 'title' => ''], 'required' => true, 'maxItems' => 101, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region to which the cloud phone instances belong.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'Force', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to forcefully stop the instances. Valid values:'."\n" ."\n" .'- true: Forcefully stops the instances. This is equivalent to a typical power-off operation. All cached data that has not been written to storage devices is lost.'."\n" .'- false: Normally stops the instances.'."\n" ."\n" .'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Stop instances in a batch', 'summary' => 'Stops multiple instances in a batch.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cloudphone:StopInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'TagResources' => [ 'summary' => 'Creates and attaches tags to multiple cloud resources at a time.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '130040', 'abilityTreeNodes' => ['FEATUREcloudphoneXDJIVR'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The resource type. Valid values:'."\n" .'- instance: elastic cloud phone instance.', 'type' => 'string', 'required' => true, 'example' => 'instance'], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The resource IDs. A maximum of 50 subkeys are supported.', 'type' => 'array', 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cp-xxxx', 'title' => ''], 'required' => true, 'maxItems' => 51, 'example' => '', ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The labels. A maximum of 20 subkeys are supported.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '', 'description' => 'The label key.', 'type' => 'string', 'required' => false, 'example' => 'TestKey'], 'Value' => ['title' => '', 'description' => 'The label value.', 'type' => 'string', 'required' => false, 'example' => 'TestValue'], ], 'required' => false, 'description' => '', 'title' => '', 'example' => '', ], 'required' => true, 'maxItems' => 21, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Create and attach tags to cloud resources', 'changeSet' => [ ['createdAt' => '2022-03-24T08:11:26.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'cloudphone:TagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'UninstallApplication' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The instance ID of the instance on which the command is to be executed. Valid values of N: 1 to 10.', 'type' => 'array', 'items' => ['description' => 'The instance ID of the instance on which the command is to be executed. Valid values of N: 1 to 10.', 'type' => 'string', 'required' => false, 'example' => 'cp-acfmxazb4p***', 'title' => ''], 'required' => false, 'maxItems' => 51, 'title' => '', 'example' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'PackageName', 'in' => 'query', 'schema' => ['description' => 'The name of the application to uninstall. The name can be up to 1024 bytes in length and can contain uppercase letters, lowercase letters, digits, underscores (_), periods (.), forward slashes (/), colons (:), and hyphens (-).', 'type' => 'string', 'required' => true, 'example' => 'com.theapp.test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5D9157CC-96A5-519E-80C0-D7047FF939D3', 'title' => ''], 'TaskId' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'TaskId' => [ 'description' => 'The task ID.', 'type' => 'array', 'items' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 't-bp67acfmxazb4p****', 'title' => ''], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5D9157CC-96A5-519E-80C0-D7047FF939D3\\",\\n \\"TaskId\\": {\\n \\"TaskId\\": [\\n \\"t-bp67acfmxazb4p****\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Uninstall a specified application', 'summary' => 'Uninstalls an application.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:UninstallApplication', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], 'UntagResources' => [ 'summary' => 'Unbinds tags from multiple cloud resources at a time.', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '130041', 'abilityTreeNodes' => ['FEATUREcloudphoneXDJIVR'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The resource type. Valid values:'."\n" .'- instance: elastic cloud phone instance.', 'type' => 'string', 'required' => true, 'example' => 'instance'], ], [ 'name' => 'All', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'Specifies whether to delete all tags. This parameter takes effect only when TagKey.N is empty. Valid values: true, false, True, and False. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The resource ID. You can specify up to 50 subkeys.', 'type' => 'array', 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'cp-xxx', 'title' => ''], 'required' => true, 'maxItems' => 51, 'example' => '', ], ], [ 'name' => 'TagKey', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The tag key. You can specify up to 20 subkeys.', 'type' => 'array', 'items' => ['description' => 'The tag key. Valid values of N: **1** to **20**.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], 'required' => false, 'maxItems' => 21, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Unbind tags from cloud resources', 'changeSet' => [ ['createdAt' => '2022-03-24T08:11:26.000Z', 'description' => 'OpenAPI offline'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cloudphone:UntagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'UpdateImageAttribute' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'AddAccount', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of Alibaba Cloud account IDs for authorization of the shared image. The list can contain up to 10 elements.', 'type' => 'array', 'items' => ['description' => 'The Alibaba Cloud account ID for authorization of the shared image.', 'type' => 'string', 'required' => false, 'example' => '123456******', 'title' => ''], 'required' => false, 'example' => '123456******', 'maxItems' => 11, 'title' => '', ], ], [ 'name' => 'RemoveAccount', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => 'The list of Alibaba Cloud account IDs from which you want to remove the image sharing permissions. The list can contain up to 10 elements.', 'type' => 'array', 'items' => ['description' => 'The Alibaba Cloud account ID from which you want to remove the image sharing permissions.', 'type' => 'string', 'required' => false, 'example' => '987654******', 'title' => ''], 'required' => false, 'example' => '987654******', 'maxItems' => 11, 'title' => '', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ImageId', 'in' => 'query', 'schema' => ['description' => 'The image ID.', 'type' => 'string', 'required' => true, 'example' => 'cpm-xxxxxxxx', 'title' => ''], ], [ 'name' => 'ImageName', 'in' => 'query', 'schema' => ['description' => 'The name of the custom image. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and can contain digits, colons (:), underscores (_), or hyphens (-). It cannot start with `http://` or `https://`. Default value: null, which indicates that the original name is retained.', 'type' => 'string', 'required' => false, 'example' => 'newImageName', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the custom image. The description must be 2 to 256 characters in length. It cannot start with `http://` or `https://`. Default value: null, which indicates that the original description is retained.', 'type' => 'string', 'required' => false, 'example' => 'newDescription', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'errorCodes' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', 'title' => 'Modify custom image information', 'summary' => 'Modifies the name and description of a custom image and manages the sharing permissions of the image.', 'description' => 'When you call this operation, take note of the following items:'."\n" .'- You can share only your own custom images with other Alibaba Cloud accounts.'."\n" .'- Each custom image can be shared with up to 10 Alibaba Cloud accounts at a time.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cloudphone:UpdateImageAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#imageId}'], ], ], ], ], ], 'UpdateInstanceAttribute' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => ['description' => 'The instance ID of the cloud phone.', 'type' => 'string', 'required' => true, 'example' => 'cp-bp67acfmxazb4p***', 'title' => ''], ], [ 'name' => 'InstanceName', 'in' => 'query', 'schema' => ['description' => 'The name of the cloud phone instance. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). The name must start with a letter or a Chinese character and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'myInstanceName', 'title' => ''], ], [ 'name' => 'KeyPairName', 'in' => 'query', 'schema' => ['description' => 'The name of the key pair for the cloud phone. To improve instance security, use a key pair for connection.', 'type' => 'string', 'required' => false, 'example' => 'myKeyPairName', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The description of the cloud phone instance. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'myDescription', 'title' => ''], ], [ 'name' => 'VncPassword', 'in' => 'query', 'schema' => ['description' => 'The VNC password of the cloud phone. The password must be exactly six characters in length and must contain uppercase letters, lowercase letters, and digits.', 'type' => 'string', 'required' => false, 'example' => 'Cp1234', 'title' => ''], ], [ 'name' => 'Resolution', 'in' => 'query', 'schema' => ['description' => 'The resolution of the cloud phone, such as 1920×1080.', 'type' => 'string', 'required' => false, 'example' => '1920*1080', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The list of tags.', 'type' => 'array', 'items' => [ 'description' => 'The list of tags.', 'type' => 'object', 'properties' => [ 'Key' => ['title' => '', 'description' => 'The tag key of the instance. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestKey'], 'Value' => ['title' => '', 'description' => 'The tag value of the instance. Valid values of N: 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestValue'], ], 'required' => false, 'title' => '', 'example' => '', ], 'required' => false, 'maxItems' => 21, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'FDB6C963-9CE8-4B7F-BCA3-845F6BD29AFC', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FDB6C963-9CE8-4B7F-BCA3-845F6BD29AFC\\"\\n}","type":"json"}]', 'title' => 'Modify cloud phone instance attributes', 'summary' => 'Modifies the attributes of a cloud phone instance.', 'description' => 'Calls this operation to modify the instance name, key pair, description, VNC password, or resolution of a cloud phone instance. Changes to the key pair and resolution take effect only after the instance is restarted.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2022-03-24T08:11:25.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'cloudphone:UpdateInstanceAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudphone.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudphone.ap-southeast-1.aliyuncs.com', 'vpc' => 'cloudphone-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudphone.cn-beijing.aliyuncs.com', 'endpoint' => 'cloudphone.cn-beijing.aliyuncs.com', 'vpc' => 'cloudphone-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudphone.cn-hangzhou.aliyuncs.com', 'endpoint' => 'cloudphone.cn-hangzhou.aliyuncs.com', 'vpc' => 'cloudphone-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudphone.cn-shanghai.aliyuncs.com', 'endpoint' => 'cloudphone.cn-shanghai.aliyuncs.com', 'vpc' => 'cloudphone-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cloudphone.eu-central-1.aliyuncs.com', 'endpoint' => 'cloudphone.eu-central-1.aliyuncs.com', 'vpc' => 'cloudphone-vpc.eu-central-1.aliyuncs.com'], ], 'errorCodes' => [], 'changeSet' => [ [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'ListInstanceTypes'], ['description' => 'Error codes changed', 'api' => 'ListRegions'], ['description' => 'Error codes changed', 'api' => 'ListZones'], ], 'createdAt' => '2024-08-09T02:35:11.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Error codes changed', 'api' => 'ImportImage'], ], 'createdAt' => '2024-07-29T11:40:56.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListInstances'], ], 'createdAt' => '2023-11-08T02:00:26.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ListImages'], ], 'createdAt' => '2022-06-14T03:05:51.000Z', 'description' => 'ListImages增加InstanceType入参,根据实例规格查询可用镜像列表。', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'RunInstances'], ], 'createdAt' => '2022-06-10T07:04:26.000Z', 'description' => '1. 新增查询串口日志接口(隐藏)2. 支持用户配置私网IP', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListTagValues'], ], 'createdAt' => '2022-03-28T03:18:47.000Z', 'description' => '弹性云手机: 优化 TAG API', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListInstances'], ['description' => 'OpenAPI offline', 'api' => 'ListTagKeys'], ['description' => 'OpenAPI offline', 'api' => 'ListTagResources'], ['description' => 'OpenAPI offline', 'api' => 'ListTagValues'], ['description' => 'Request parameters changed', 'api' => 'RunInstances'], ['description' => 'OpenAPI offline', 'api' => 'TagResources'], ['description' => 'OpenAPI offline', 'api' => 'UntagResources'], ['description' => 'Request parameters changed, Error codes changed', 'api' => 'UpdateInstanceAttribute'], ], 'createdAt' => '2022-03-24T09:09:39.000Z', 'description' => '弹性云手机添加 TAG 支持.', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateImage'], ], 'createdAt' => '2022-03-07T03:29:08.000Z', 'description' => '支持TF对接,CreateImage接口InstanceId改为非必填', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed, Error codes changed', 'api' => 'ListInstances'], ], 'createdAt' => '2022-02-21T02:55:56.000Z', 'description' => '新增查询WebRtcToken能力', ], [ 'apis' => [ ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ListInstanceVncUrl'], ], 'createdAt' => '2021-12-22T10:29:09.000Z', 'description' => '将参数改为私有', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed, Error codes changed', 'api' => 'ListInstances'], ], 'createdAt' => '2021-09-22T10:08:56.000Z', 'description' => 'ListInstances支持可用区、分辨率、付费类型等过滤条件', ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'], ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RunCommand'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'], ], ], 'ram' => [ 'productCode' => 'ECP', 'productName' => 'Cloud Phone', 'ramCodes' => ['cloudphone'], 'ramLevel' => 'RESOURCE', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'ListImageSharePermission', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListImageSharePermission', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#imageId}'], ], ], ], [ 'apiName' => 'UninstallApplication', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:UninstallApplication', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'ListTasks', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListTasks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListKeyPairs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListKeyPairs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/*'], ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/{#KeyPairName}'], ], ], ], [ 'apiName' => 'DeleteImages', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cloudphone:DeleteImages', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#imageId}'], ], ], ], [ 'apiName' => 'StopInstances', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cloudphone:StopInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'RunCommand', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:RunCommand', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'ListImages', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListImages', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/*'], ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#imageId}'], ], ], ], [ 'apiName' => 'DeleteInstances', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cloudphone:DeleteInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'RebootInstances', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:RebootInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'UntagResources', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cloudphone:UntagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RunInstances', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:RunInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'StartInstances', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cloudphone:StartInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'RenewInstances', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:RenewInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'ListTagKeys', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListTagKeys', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CopyImage', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:CopyImage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#ImageId}'], ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/*'], ], ], ], [ 'apiName' => 'TagResources', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cloudphone:TagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTagResources', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListTagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CancelTask', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:CancelTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'FetchFile', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:FetchFile', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'UpdateImageAttribute', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cloudphone:UpdateImageAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#imageId}'], ], ], ], [ 'apiName' => 'ImportImage', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cloudphone:ImportImage', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'InstallApplication', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:InstallApplication', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'ResetInstances', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:ResetInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'SendFile', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:SendFile', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'UpdateInstanceAttribute', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'cloudphone:UpdateInstanceAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'DeleteKeyPairs', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'cloudphone:DeleteKeyPairs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/{#KeyPairName}'], ], ], ], [ 'apiName' => 'ListTagValues', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListTagValues', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ImportKeyPair', 'description' => '', 'operationType' => '', 'ramAction' => [ 'action' => 'cloudphone:ImportKeyPair', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/*'], ], ], ], [ 'apiName' => 'CreateImage', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'cloudphone:CreateImage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/*'], ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'ListInstanceVncUrl', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListInstanceVncUrl', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], [ 'apiName' => 'ListInstances', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'cloudphone:ListInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/*'], ['validationType' => 'conditional', 'product' => 'ECP', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/{#imageId}'], ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/{#instanceId}'], ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:instance/*'], ['validationType' => 'conditional', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/*'], ['validationType' => 'conditional', 'resourceType' => 'KeyPair', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:keypair/{#KeyPairName}'], ['validationType' => 'conditional', 'resourceType' => 'Image', 'arn' => 'acs:cloudphone:{#regionId}:{#accountId}:image/*'], ['validationType' => 'always', 'resourceType' => 'SecurityGroup', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}'], ['validationType' => 'always', 'resourceType' => 'VSwitch', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}'], ], ], ];