summaryrefslogtreecommitdiff
path: root/data/en_us/eds-aic/2023-09-30
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/eds-aic/2023-09-30
downloadacs-metadata-full-main.tar.gz
acs-metadata-full-main.zip
Diffstat (limited to 'data/en_us/eds-aic/2023-09-30')
-rw-r--r--data/en_us/eds-aic/2023-09-30/api-docs.php15242
1 files changed, 15242 insertions, 0 deletions
diff --git a/data/en_us/eds-aic/2023-09-30/api-docs.php b/data/en_us/eds-aic/2023-09-30/api-docs.php
new file mode 100644
index 0000000..3f4c4f2
--- /dev/null
+++ b/data/en_us/eds-aic/2023-09-30/api-docs.php
@@ -0,0 +1,15242 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'eds-aic',
+ 'version' => '2023-09-30',
+ ],
+ 'directories' => [
+ [
+ 'id' => 365432,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateCloudPhoneNode',
+ 'DescribeCloudPhoneNodes',
+ 'ModifyCloudPhoneNode',
+ 'RenewCloudPhoneNodes',
+ 'ChangeCloudPhoneNode',
+ 'ExpandDataVolume',
+ 'DeleteCloudPhoneNodes',
+ ],
+ ],
+ [
+ 'id' => 365440,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeRegions',
+ 'DescribeSpec',
+ 'CheckResourceStock',
+ 'CreateAndroidInstanceGroup',
+ 'DescribeAndroidInstanceGroups',
+ 'ModifyAndroidInstanceGroup',
+ 'UpgradeAndroidInstanceGroup',
+ 'DowngradeAndroidInstanceGroup',
+ 'RenewAndroidInstanceGroups',
+ 'UpdateInstanceGroupImage',
+ 'DeleteAndroidInstanceGroup',
+ ],
+ ],
+ [
+ 'id' => 365452,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeAndroidInstances',
+ 'ModifyAndroidInstance',
+ 'AuthorizeAndroidInstance',
+ 'StartAndroidInstance',
+ 'StopAndroidInstance',
+ 'RebootAndroidInstancesInGroup',
+ 'ResetAndroidInstancesInGroup',
+ 'ModifyInstanceChargeType',
+ 'UpdateInstanceImage',
+ 'ExpandPhoneDataVolume',
+ 'InstanceHealer',
+ 'StartInstanceAdb',
+ 'StopInstanceAdb',
+ 'ListInstanceAdbAttributes',
+ [
+ 'id' => 365467,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'BatchGetAcpConnectionTicket',
+ 'DisconnectAndroidInstance',
+ ],
+ ],
+ [
+ 'id' => 365470,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'RunCommand',
+ 'DescribeInvocations',
+ ],
+ ],
+ [
+ 'id' => 365473,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'SendFile',
+ 'FetchFile',
+ ],
+ ],
+ [
+ 'id' => 365476,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateScreenshot',
+ ],
+ ],
+ [
+ 'id' => 365478,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'GenerateCoordinationCode',
+ 'EndCoordination',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'id' => 365481,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateCustomImage',
+ 'DescribeImageList',
+ 'UpdateCustomImageName',
+ 'DistributeImage',
+ 'DeleteImages',
+ ],
+ ],
+ [
+ 'id' => 365487,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateApp',
+ 'DescribeApps',
+ 'ModifyApp',
+ 'DeleteApps',
+ 'InstallApp',
+ 'UninstallApp',
+ 'OperateApp',
+ ],
+ ],
+ [
+ 'id' => 365495,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateKeyPair',
+ 'ImportKeyPair',
+ 'DescribeKeyPairs',
+ 'ModifyKeyPairName',
+ 'DeleteKeyPairs',
+ 'AttachKeyPair',
+ 'DetachKeyPair',
+ ],
+ ],
+ [
+ 'id' => 365503,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'BackupAndroidInstance',
+ 'BackupApp',
+ 'RecoverAndroidInstance',
+ 'RecoverApp',
+ 'BackupFile',
+ 'RecoveryFile',
+ 'DescribeBackupFiles',
+ 'DeleteBackupFile',
+ ],
+ ],
+ [
+ 'id' => 365512,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreatePolicyGroup',
+ 'ListPolicyGroups',
+ 'ModifyPolicyGroup',
+ 'DeletePolicyGroup',
+ ],
+ ],
+ [
+ 'id' => 365517,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateSystemPropertyTemplate',
+ 'SendSystemPropertyTemplate',
+ 'DescribeSystemPropertyTemplates',
+ 'GetInstanceProperties',
+ 'ModifySystemPropertyTemplate',
+ 'DeleteSystemPropertyTemplates',
+ ],
+ ],
+ [
+ 'id' => 365524,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeTasks',
+ ],
+ ],
+ [
+ 'id' => 365526,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'InstallMonitorAgent',
+ 'UninstallMonitorAgent',
+ 'DescribeMetricLast',
+ 'DescribeMetricList',
+ 'DescribeMetricTop',
+ ],
+ ],
+ [
+ 'id' => 365532,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'TagResources',
+ 'UntagResources',
+ 'ListTagResources',
+ ],
+ ],
+ [
+ 'id' => 365536,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeBuckets',
+ 'SetAdbSecure',
+ 'ModifyDisplayConfig',
+ 'DescribeDisplayConfig',
+ 'ImportImage',
+ ],
+ ],
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => [
+ 'GetNetworkBlacklist',
+ 'SetNetworkBlacklist',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'CreateCloudPhoneNode' => [
+ 'summary' => 'Creates a cloud phone matrix.',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneTVG3Y7',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'NodeName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the cloud phone matrix.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'node_name',
+ ],
+ ],
+ [
+ 'name' => 'ServerType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The matrix specification.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* cpm.gn6.gx1'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'cpm.gn6.gx1' => 'cpm.gn6.gx1',
+ ],
+ 'example' => 'cpm.gn6.gx1',
+ ],
+ ],
+ [
+ 'name' => 'InstanceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance specification.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* ac.max: By default, this specification allows up to 25 instances. You can adjust this number by using PhoneCount (Value range: 4 to 40).'."\n"
+ .'* ac.plus: By default, this specification allows up to 40 instances. You can adjust this number by using PhoneCount (Value range: 4 to 40).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'ac.max' => '',
+ 'ac.plus' => '',
+ ],
+ 'example' => 'ac.max',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method. Only the subscription billing method is supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'PrePaid' => '',
+ ],
+ 'example' => 'PrePaid',
+ ],
+ ],
+ [
+ 'name' => 'PeriodUnit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The unit of the subscription duration.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Month (default)'."\n"
+ .'* Year'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Month' => '',
+ 'Year' => '',
+ ],
+ 'example' => 'Month',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The subscription duration. The unit is specified by `PeriodUnit`. Valid values:'."\n"
+ ."\n"
+ .'* When `PeriodUnit` is set to **year**: 1.'."\n"
+ .'* When `PeriodUnit` is set to **month**: 1, 2, 3, and 6.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto-payment feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* False (default): You must manually complete the payment in the Alibaba Cloud Expenses and Costs console.'."\n"
+ .'* true: enables the auto-payment feature.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'flase' => '',
+ 'true' => '',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'AutoRenew',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto-renewal feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true: enables the auto-renewal feature. In this case, the system automatically renews instances upon expiration.'."\n"
+ .'* false (default): disables the auto-renewal feature. In this case, you need to manually renew instances upon expiration.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ImageId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The image ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'imgc-075cllfeuazh0****',
+ ],
+ ],
+ [
+ 'name' => 'Count',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of cloud phone matrixes you want to purchase.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'NetworkId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The office network ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou+dir-5mwr9azebliva****',
+ ],
+ ],
+ [
+ 'name' => 'VSwitchId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The vSwitch ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-2zeekryyc1q3sm72l****',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The resource tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'keyname',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'valuename',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ ],
+ ],
+ [
+ 'name' => 'PhoneDataVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'ServerShareDataVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The shared storage size Unit: GiB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '4000',
+ 'minimum' => '100',
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'ResolutionHeight',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resolution height. Unit: pixel.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1280',
+ ],
+ ],
+ [
+ 'name' => 'ResolutionWidth',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resolution width. Unit: pixel.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '720',
+ ],
+ ],
+ [
+ 'name' => 'PhoneCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of instances per cloud phone matrix.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '25',
+ ],
+ ],
+ [
+ 'name' => 'DisplayConfig',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Dpi' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'Fps' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'LockResolution' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'off',
+ 'on',
+ ],
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'StreamMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'NetworkType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'NetworkInfo',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'BandwidthPackageName' => [
+ 'type' => 'string',
+ ],
+ 'CidrBlock' => [
+ 'type' => 'string',
+ ],
+ 'LimitedBandwidth' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'InternetChargeType' => [
+ 'type' => 'string',
+ ],
+ 'IpRatio' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Isp' => [
+ 'type' => 'string',
+ ],
+ 'PayType' => [
+ 'type' => 'string',
+ ],
+ 'VisibleType' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'name' => 'BandwidthPackageType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'BandwidthPackageId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'UpBandwidthLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'DownBandwidthLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'UseTemplate',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'PromotionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'SwapSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'IsSingleImgDisk',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '69BCBBE4-FCF2-59B8-AD9D-531EB422****',
+ ],
+ 'OrderId' => [
+ 'description' => 'The order ID.'."\n",
+ 'type' => 'string',
+ 'example' => '223684716098****',
+ ],
+ 'NodeInfos' => [
+ 'description' => 'The cloud phone matrixes.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The cloud phone matrix.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'description' => 'The ID of the cloud phone matrix.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpn-e5kxgjyt8s1mb****',
+ ],
+ 'InstanceIds' => [
+ 'description' => 'The IDs of the cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpn-e5kxgjyt8s1mb****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'NetworkPackageOrderModel' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'BandwidthPackageOrderId' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"69BCBBE4-FCF2-59B8-AD9D-531EB422****\\",\\n \\"OrderId\\": \\"223684716098****\\",\\n \\"NodeInfos\\": [\\n {\\n \\"NodeId\\": \\"cpn-e5kxgjyt8s1mb****\\",\\n \\"InstanceIds\\": [\\n \\"cpn-e5kxgjyt8s1mb****\\"\\n ]\\n }\\n ],\\n \\"NetworkPackageOrderModel\\": {\\n \\"BandwidthPackageOrderId\\": \\"25954415983*****\\",\\n \\"BandwidthPackageId\\": \\"cbwp-uf63gsv8j0ir53*****\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateCloudPhoneNode',
+ ],
+ 'DescribeCloudPhoneNodes' => [
+ 'summary' => 'Queries the details of a cloud phone matrix.',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneTVG3Y7',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If a query doesn\'t return all results, the response includes a NextToken value for pagination. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****',
+ ],
+ ],
+ [
+ 'name' => 'NodeIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The matrix IDs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The matrix ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-192c32356ft1ov1m****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'NodeName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The matrix name.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'node_name',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The matrix status.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* FAILED: The matrix failed to be created.'."\n"
+ .'* RUNNING: The matrix is available.'."\n"
+ .'* DELETING: The matrix is being deleted.'."\n"
+ .'* NODE_READY: The matrix is ready, and cloud phone instances are being created.'."\n"
+ .'* DELETED: The matrix is deleted.'."\n"
+ .'* CREATING: The matrix is being created.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'FAILED' => '',
+ 'RUNNING' => '',
+ 'DELETING' => '',
+ 'NODE_READY' => '',
+ 'DELETED' => '',
+ 'CREATING' => '',
+ ],
+ 'example' => 'CREATING',
+ ],
+ ],
+ [
+ 'name' => 'ServerType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The matrix specification.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* cpm.gn6.gx1'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'cpm.gn6.gx1' => 'cpm.gn6.gx1',
+ ],
+ 'example' => 'cpm.gn6.gx1',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method. Only the subscription billing method is supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'PrePaid' => '',
+ ],
+ 'example' => 'PrePaid',
+ ],
+ ],
+ [
+ 'name' => 'BandwidthPackageId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'NodeNameList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'F07A1DA1-E1EB-5CCA-8EED-12F85D32****',
+ ],
+ 'NodeModel' => [
+ 'description' => 'The matrixes.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The matrix status.'."\n",
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ 'ServerType' => [
+ 'description' => 'The matrix specification.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpm.gn6.gx1',
+ ],
+ 'ResolutionWidth' => [
+ 'description' => 'The width of the resolution. Unit: pixel.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '720',
+ ],
+ 'NodeName' => [
+ 'description' => 'The matrix name.'."\n",
+ 'type' => 'string',
+ 'example' => 'node_name',
+ ],
+ 'Memory' => [
+ 'description' => 'The memory size. Unit: GB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '32',
+ ],
+ 'VSwitchId' => [
+ 'description' => 'The vSwitch ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-2zeekryyc1q3sm72l****',
+ ],
+ 'GmtModified' => [
+ 'description' => 'The last modification time.'."\n",
+ 'type' => 'string',
+ 'example' => '2025-02-13 02:03:14',
+ ],
+ 'Cpu' => [
+ 'description' => 'The number of CPU cores.'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'ResolutionHeight' => [
+ 'description' => 'The height of the resolution. Unit: pixel.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1280',
+ ],
+ 'NetworkId' => [
+ 'description' => 'The network ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou+dir-5mwr9azebliva****',
+ ],
+ 'GmtExpired' => [
+ 'description' => 'The expiration time of the subscription matrix.'."\n",
+ 'type' => 'string',
+ 'example' => '2025-03-09 02:00:34',
+ ],
+ 'PhoneCount' => [
+ 'description' => 'The number of cloud phone instances per matrix.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '25',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'The creation time.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-11-13 02:03:14',
+ ],
+ 'ChargeType' => [
+ 'description' => 'The billing method.'."\n",
+ 'type' => 'string',
+ 'example' => 'PrePaid',
+ ],
+ 'NodeId' => [
+ 'description' => 'The matrix ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpn-ehs0yoedq8ntm****',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'InstanceType' => [
+ 'type' => 'string',
+ ],
+ 'ShareDataVolume' => [
+ 'description' => 'The size of the shared storage. Unit: GiB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'PhoneDataInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PhoneDataId' => [
+ 'type' => 'string',
+ ],
+ 'PhoneDataVolume' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ 'NetworkInfos' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VSwitchId' => [
+ 'type' => 'string',
+ ],
+ 'NetworkId' => [
+ 'type' => 'string',
+ ],
+ 'NetworkType' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageType' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'NetworkType' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageType' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageId' => [
+ 'type' => 'string',
+ ],
+ 'BizTags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'BandwidthPackageStatus' => [
+ 'type' => 'string',
+ ],
+ 'SwapSize' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of cloud phone instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '31',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:'."\n"
+ ."\n"
+ .'* If **NextToken** is empty, no next page exists.'."\n"
+ .'* ****'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The maximum number of entries per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F07A1DA1-E1EB-5CCA-8EED-12F85D32****\\",\\n \\"NodeModel\\": [\\n {\\n \\"Status\\": \\"RUNNING\\",\\n \\"ServerType\\": \\"cpm.gx7.10xlarge\\",\\n \\"ResolutionWidth\\": 720,\\n \\"NodeName\\": \\"node_name\\",\\n \\"Memory\\": 32,\\n \\"VSwitchId\\": \\"vsw-2zeekryyc1q3sm72l****\\",\\n \\"GmtModified\\": \\"2025-02-13 02:03:14\\",\\n \\"Cpu\\": \\"2\\",\\n \\"ResolutionHeight\\": 1280,\\n \\"NetworkId\\": \\"cn-hangzhou+dir-5mwr9azebliva****\\",\\n \\"GmtExpired\\": \\"2025-03-09 02:00:34\\",\\n \\"PhoneCount\\": 25,\\n \\"GmtCreate\\": \\"2024-11-13 02:03:14\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"NodeId\\": \\"cpn-ehs0yoedq8ntm****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"InstanceType\\": \\"ac.max\\",\\n \\"ShareDataVolume\\": 100,\\n \\"PhoneDataInfo\\": {\\n \\"PhoneDataId\\": \\"pd-dhusabisshj****\\",\\n \\"PhoneDataVolume\\": 20\\n },\\n \\"NetworkInfos\\": [\\n {\\n \\"VSwitchId\\": \\"vsw-j6cjgev6fv3ftw4f0****\\",\\n \\"NetworkId\\": \\"cn-hangzhou+dir-avcuocx9805oq****\\",\\n \\"NetworkType\\": \\"network_pro_ecd\\",\\n \\"BandwidthPackageType\\": \\"cbwp_ecd\\",\\n \\"BandwidthPackageId\\": \\"cbwp-hn3tj409amvamz8mf****\\"\\n }\\n ],\\n \\"NetworkType\\": \\"network_pro_ecd\\",\\n \\"BandwidthPackageType\\": \\"cbwp_ecd\\",\\n \\"BandwidthPackageId\\": \\"cbwp-7xvrl7axet2qg6yia******\\",\\n \\"BizTags\\": [\\n {\\n \\"Key\\": \\"keyname\\",\\n \\"Value\\": \\"valuename\\"\\n }\\n ],\\n \\"BandwidthPackageStatus\\": \\"1\\",\\n \\"SwapSize\\": 0\\n }\\n ],\\n \\"TotalCount\\": 31,\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]',
+ 'title' => 'DescribeCloudPhoneNodes',
+ ],
+ 'ModifyCloudPhoneNode' => [
+ 'summary' => 'Modifies a cloud phone matrix. Currently, you can only modify the name of a cloud phone matrix.',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneE7UBTJ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NodeId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cloud phone matrix.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-0ugbptfu473fy****',
+ ],
+ ],
+ [
+ 'name' => 'NewNodeName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name that you want to assign to the cloud phone matrix.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'node_name_new',
+ ],
+ ],
+ [
+ 'name' => 'StreamMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7B9EFA4F-4305-5968-BAEE-BD8B8DE5****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7B9EFA4F-4305-5968-BAEE-BD8B8DE5****\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyCloudPhoneNode',
+ ],
+ 'RenewCloudPhoneNodes' => [
+ 'summary' => 'Renews a cloud mobile matrix.',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone3XZF7I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NodeIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The cloud phone matrix IDs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The cloud phone matrix ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-csbdhjcbvfd****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'PeriodUnit',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The unit of the subscription duration.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Month (default)'."\n"
+ .'* Year'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Month' => '',
+ 'Year' => '',
+ ],
+ 'example' => 'Month',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The subscription duration. The unit is specified by `PeriodUnit`. Valid values:'."\n"
+ ."\n"
+ .'* When `PeriodUnit` is set to **year**: 1.'."\n"
+ .'* When `PeriodUnit` is set to **month**: 1, 2, 3, and 6.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'AutoRenew',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto-renewal feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true: enables the auto-renewal feature. In this case, the system automatically renews the instance upon expiration.'."\n"
+ .'* false (default): disables the auto-renewal feature. In this case, you need to manually renew the instance upon expiration.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ [
+ 'name' => 'PromotionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC****',
+ ],
+ 'OrderId' => [
+ 'description' => 'The order ID.'."\n",
+ 'type' => 'string',
+ 'example' => '22365781890****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC****\\",\\n \\"OrderId\\": \\"22365781890****\\"\\n}","type":"json"}]',
+ 'title' => 'RenewCloudPhoneNodes',
+ ],
+ 'ChangeCloudPhoneNode' => [
+ 'summary' => '修改云手机矩阵的配置',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneUQT9QO',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NodeId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-0ugbptfu473fy****',
+ ],
+ ],
+ [
+ 'name' => 'InstanceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'ac.max' => '8vCPU 12GiB',
+ 'ac.plus' => '4vCPU 6GiB',
+ ],
+ 'example' => 'ac.max',
+ ],
+ ],
+ [
+ 'name' => 'PhoneCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'UpBandwidthLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'DownBandwidthLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'PhoneDataVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ [
+ 'name' => 'PromotionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'DisplayConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'SwapSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'ShareDataVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '4610632D-D661-5982-B3D7-5D3FD183F****',
+ ],
+ 'NodeInfos' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cpn-e5kxgjyt8s1mb****',
+ ],
+ 'InstanceInfos' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cpn-jewjt8xryuitu****',
+ ],
+ 'PhoneDataVolume' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ 'ShareDataVolume' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ 'OrderId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4610632D-D661-5982-B3D7-5D3FD183F****\\",\\n \\"NodeInfos\\": [\\n {\\n \\"NodeId\\": \\"cpn-e5kxgjyt8s1mb****\\",\\n \\"InstanceInfos\\": [\\n {\\n \\"InstanceId\\": \\"cpn-jewjt8xryuitu****\\",\\n \\"PhoneDataVolume\\": 200\\n }\\n ],\\n \\"ShareDataVolume\\": 100\\n }\\n ],\\n \\"OrderId\\": \\"223684716098****\\"\\n}","type":"json"}]',
+ ],
+ 'ExpandDataVolume' => [
+ 'summary' => '存储扩容',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneUQT9QO',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'NodeIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-csbdhjcbvfd****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'ShareDataVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ [
+ 'name' => 'PhoneDataVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => 'true',
+ 'false' => 'false',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'PromotionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '5C5CEF0A-D6E1-58D3-8750-67DB4F82****',
+ ],
+ 'OrderId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '22326560487****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5C5CEF0A-D6E1-58D3-8750-67DB4F82****\\",\\n \\"OrderId\\": \\"22326560487****\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteCloudPhoneNodes' => [
+ 'summary' => 'Deletes a cloud phone matrix.',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneZCSVZQ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NodeIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The cloud phone matrix IDs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The cloud phone matrix ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-05e4d1cec2urdh1j****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC****\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteCloudPhoneNodes',
+ 'description' => 'Before you proceed, make sure that the cloud phone matrix that you want to delete expired.'."\n",
+ ],
+ 'DescribeRegions' => [
+ 'summary' => 'Query available regions.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneTVG3Y7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The display language of the console. Valid values:'."\n"
+ ."\n"
+ .'* cn: Simplified Chinese'."\n"
+ .'* en: English',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'en' => 'en',
+ 'cn' => 'cn',
+ ],
+ 'example' => 'en',
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The sales mode.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Instance: the instance group mode. [Default]'."\n"
+ .'* Node: the matrix mode. [Whitelist required]',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Instance' => 'Instance',
+ 'Node' => 'Node',
+ ],
+ 'example' => 'Instance',
+ 'enum' => [
+ 'Instance',
+ 'Node',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Return parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'A87B3769-0D05-5383-B236-5798B455****',
+ ],
+ 'RegionModels' => [
+ 'description' => 'Available regions.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionId' => [
+ 'description' => 'The region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'RegionName' => [
+ 'description' => 'The region name.',
+ 'type' => 'string',
+ 'example' => 'China (Hangzhou)',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A87B3769-0D05-5383-B236-5798B455****\\",\\n \\"RegionModels\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RegionName\\": \\"华东1(杭州)\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'Query Available Regions',
+ ],
+ 'DescribeSpec' => [
+ 'summary' => 'Query available specifications.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneQ1CSHT',
+ 'FEATUREcloudphoneM9M7K0',
+ 'FEATUREcloudphone3VSOTB',
+ 'FEATUREcloudphone32DVRA',
+ 'FEATUREcloudphoneVYV97B',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'SpecIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'List of specification IDs.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Specification ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'acp.perf.large' => 'Performance',
+ 'acp.basic.small' => 'Lightweight',
+ 'acp.std.small' => 'General',
+ 'acp.std.large' => 'Standard',
+ 'acp.perf.small' => 'Enhanced',
+ ],
+ 'example' => 'acp.basic.small',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'SpecType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specification type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'CPU' => '',
+ 'GPU' => '',
+ ],
+ 'example' => 'ARM',
+ ],
+ ],
+ [
+ 'name' => 'SpecStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specification status.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Unsupported' => 'Unsupported',
+ 'Available' => 'Available',
+ ],
+ 'example' => 'Available',
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The purchase mode of cloud mobile phones.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Instance (default): the instance group mode.'."\n"
+ .'* Node: the matrix mode \\[whitelisted].'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Instance' => '',
+ 'Node' => '',
+ ],
+ 'example' => 'Instance',
+ 'enum' => [
+ 'Instance',
+ 'Node',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of items to return per page in a paginated query. The value range is 1 to 100, with a default value of 100.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '0',
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Indicates the starting position for reading. If left empty, it starts from the beginning.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****',
+ ],
+ ],
+ [
+ 'name' => 'MatrixSpec',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The matrix specification.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* cpm.gn6.gx1'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'cpm.gn6.gx1' => 'cpm.gn6.gx1',
+ ],
+ 'example' => 'cpm.gn6.gx1',
+ 'enum' => [
+ 'cpm.gn6.gx2',
+ 'cpm.gn6.gx1',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'D9888DAD-331E-5FBC-B5A0-F2445115****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'Total number of items.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'NextToken' => [
+ 'description' => 'Indicates the current read position returned by this call. An empty value means that all data has been read.',
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kw9dGL5jves2FS9RLq****',
+ ],
+ 'SpecInfoModel' => [
+ 'description' => 'The specifications.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SpecId' => [
+ 'description' => 'Specification ID.',
+ 'type' => 'string',
+ 'example' => 'acp.basic.small',
+ ],
+ 'Core' => [
+ 'description' => 'Number of CPU cores.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'Memory' => [
+ 'description' => 'Memory size.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '16',
+ ],
+ 'SystemDiskSize' => [
+ 'description' => 'System disk size, in GB.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '32',
+ ],
+ 'SpecType' => [
+ 'description' => 'Specification type.',
+ 'type' => 'string',
+ 'example' => 'ARM',
+ ],
+ 'SpecStatus' => [
+ 'description' => 'Specification status.',
+ 'type' => 'string',
+ 'example' => 'Available',
+ ],
+ 'PhoneCount' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'Resolution' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1920*1080',
+ ],
+ 'MaxPhoneCount' => [
+ 'description' => 'The maximum number of cloud phone instances.'."\n",
+ 'type' => 'string',
+ 'example' => '40',
+ ],
+ 'MinPhoneCount' => [
+ 'description' => 'The minimum number of cloud phone instances.'."\n",
+ 'type' => 'string',
+ 'example' => '4',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D9888DAD-331E-5FBC-B5A0-F2445115****\\",\\n \\"TotalCount\\": 4,\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kw9dGL5jves2FS9RLq****\\",\\n \\"SpecInfoModel\\": [\\n {\\n \\"SpecId\\": \\"acp.basic.small\\",\\n \\"Core\\": 8,\\n \\"Memory\\": 16,\\n \\"SystemDiskSize\\": 32,\\n \\"SpecType\\": \\"ARM\\",\\n \\"SpecStatus\\": \\"Available\\",\\n \\"PhoneCount\\": \\"2\\",\\n \\"Resolution\\": \\"1920*1080\\",\\n \\"MaxPhoneCount\\": \\"40\\",\\n \\"MinPhoneCount\\": \\"4\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeSpec',
+ ],
+ 'CheckResourceStock' => [
+ 'summary' => 'Check the resource inventory.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneQ1CSHT',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The availability zone of the resource.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou-i',
+ ],
+ ],
+ [
+ 'name' => 'AcpSpecId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specification ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'acp.perf.large' => 'Performance',
+ 'acp.basic.small' => 'Lightweight',
+ 'acp.std.small' => 'General',
+ 'acp.std.large' => 'Standard',
+ 'acp.perf.small' => 'Enhanced',
+ ],
+ 'example' => 'acp.basic.small',
+ 'enum' => [
+ 'acp.basic.small',
+ 'acp.std.small',
+ 'acp.std.large',
+ 'acp.perf.small',
+ 'acp.perf.large',
+ 'acp.basic-v3.small',
+ 'acp.basic-g1.small',
+ 'acp.basic-g2.small',
+ 'acp.std-g3.large',
+ 'acp.perf-g4.large',
+ 'acp.pro.large',
+ 'acp.pro-g6.large',
+ 'cps.std',
+ 'cps.std.64c256g',
+ 'cps.perf.gn6ia',
+ 'cps.std.gn6ia',
+ 'cps.std.r8ys',
+ 'cpm.gn6.gx1',
+ 'cpm.gn6.gx2',
+ 'ac.se',
+ 'ac.plus',
+ 'ac.pro',
+ 'ac.max',
+ 'ac1.plus',
+ 'acp.std.medium',
+ 'acp.basic-g2r.small',
+ 'acp.std-g3.medium',
+ 'acp.std-g3s.large',
+ 'acp.std-g3r.large',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'GpuAcceleration',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Amount',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Return parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '805D8FB6-512A-531C-9E4D-2A807D3C****',
+ ],
+ 'ResourceStockModels' => [
+ 'description' => 'Details of resource inventory.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionId' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ ],
+ 'ZoneId' => [
+ 'description' => 'Zone ID.',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai-b',
+ ],
+ 'StockStatus' => [
+ 'description' => 'Inventory status of the instance group.',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'SoldOut' => 'Sold out',
+ 'Available' => 'Available',
+ ],
+ 'example' => 'Available',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"805D8FB6-512A-531C-9E4D-2A807D3C****\\",\\n \\"ResourceStockModels\\": [\\n {\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"StockStatus\\": \\"Available\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'Check Resource Stock Status',
+ ],
+ 'CreateAndroidInstanceGroup' => [
+ 'summary' => 'Creates pay-as-you-go or subscription instance groups.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneYWRDCM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region. You can call the DescribeRegions operation to query the regions where Cloud Phone is supported.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* cn-shenzhen: China (Shenzhen).'."\n"
+ .'* cn-beijing: China (Beijing).'."\n"
+ .'* cn-shanghai: China (Shanghai).'."\n"
+ .'* cn-hongkong: China (Hong Kong).'."\n"
+ .'* ap-southeast-1: Singapore.'."\n"
+ .'* cn-hangzhou: China (Hangzhou).',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'cn-shenzhen' => '',
+ 'cn-beijing' => '',
+ 'cn-shanghai' => '',
+ 'cn-hongkong' => '',
+ 'ap-southeast-1' => '',
+ 'cn-hangzhou' => '',
+ ],
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'InstanceGroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the instance group.'."\n"
+ ."\n"
+ .'> The name can be up to 30 characters in length. It can contain letters, digits, colons (:), underscores (\\_), periods (.), or hyphens (-). It must start with letters but cannot start with `http://` or `https://`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaultInstanceGroup',
+ ],
+ ],
+ [
+ 'name' => 'NumberOfInstances',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of cloud phones in the instance group. Maximum value: 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '1000',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* PostPaid: pay-as-you-go.'."\n"
+ .'* PrePaid: subscription.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'PostPaid' => '',
+ 'PrePaid' => '',
+ ],
+ 'example' => 'PostPaid',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The subscription duration. The unit is specified by PeriodUnit.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PeriodUnit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The unit of the subscription duration.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Month'."\n"
+ .'* Year'."\n"
+ .'* Hour (Note that this unit is supported only by pay-as-you-go.)'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Month' => '',
+ 'Year' => '',
+ 'Hour' => '',
+ ],
+ 'example' => 'Month',
+ ],
+ ],
+ [
+ 'name' => 'InstanceGroupSpec',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The specifications of the instance group. You can call the [DescribeSpec](~~2807299~~) operation to query the available specifications.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* acp.perf.large: Performance (8 vCPUs, 16 GiB of memory, and 32 GiB of storage.'."\n"
+ .'* acp.basic.small: Lightweight (2 vCPUs, 4 GiB of memory, and 32 GiB of storage).'."\n"
+ .'* acp.std.large: Standard (4 vCPUs, 8 GiB of memory, and 32 GiB of storage).',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'acp.perf.large' => '',
+ 'acp.basic.small' => '',
+ 'acp.std.large' => '',
+ ],
+ 'example' => 'acp.basic.small',
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable automatic payment. Default value: false.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true: enables automatic payment. Make sure that your Alibaba Cloud account has sufficient balance.'."\n"
+ .'* false: disables automatic payment. You must manually complete the payment.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'AutoRenew',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable auto-renewal. Default value: false.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true: automatically renew resource upon expiration.'."\n"
+ .'* false: manually renew resources upon expiration.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'OfficeSiteId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the network.'."\n"
+ ."\n"
+ .'* This parameter is required if you assign a shared network to cloud phones. You can go to the [Network](https://wya.wuying.aliyun.com/network) page of the Cloud Phone console to retrieve the ID of a **shared network**. If no shared network is available in the Cloud Phone console, you can leave this parameter empty. The system automatically creates one when you create an instance group.'."\n"
+ .'* This parameter is required if you assign a virtual private cloud (VPC) to cloud phones. You can go to the [Network](https://wya.wuying.aliyun.com/network) page of the Cloud Phone console to retrieve the ID of a **VPC**. If no VPC is available in the Cloud Phone console, you must first create one.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou+dir-745976****',
+ ],
+ ],
+ [
+ 'name' => 'VSwitchId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the vSwitch. You can call the [DescribeVSwitches](~~448774~~) operation to query vSwitches.'."\n"
+ ."\n"
+ .'* This parameter is not required if you assign a shared network to cloud phones.'."\n"
+ .'* This parameter is required if you assign a VPC to cloud phones. The vSwitch specified by this parameter is used to create cloud phones.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-uf61uvzhz8ejaw776****',
+ ],
+ ],
+ [
+ 'name' => 'PolicyGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the policy. You can call the [ListPolicyGroups](~~2807352~~) operation to query policies.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pg-b7bxrrwxkijjh****',
+ ],
+ ],
+ [
+ 'name' => 'ImageId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the image. You can call the [DescribeImageList](~~2807324~~) operation to query images.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'imgc-06zyt9m93zwax****',
+ ],
+ ],
+ [
+ 'name' => 'Amount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of instance groups. Default value: 1. Maximum value: 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '8',
+ ],
+ ],
+ [
+ 'name' => 'GpuAcceleration',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable GPU acceleration.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true: enables GPU acceleration.'."\n"
+ .'* false (default): disables GPU acceleration.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'KeyPairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the key pair. When you create an instance group and specify a valid key pair ID, all cloud phone instances within the group will automatically be bound to that key pair upon creation. This eliminates the need to manually bind key pairs to individual cloud phone instances.'."\n"
+ ."\n"
+ .'> Binding key pairs to cloud phone instances is currently not supported during instance group resizing.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'kp-7o9xywwfutc1l****',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The client token that is used to ensure the idempotence of the request. The value cannot exceed 100 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'asadbuvwiabdbvchjsbj',
+ ],
+ ],
+ [
+ 'name' => 'EnableIpv6',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '> This parameter is not publicly available.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ ],
+ [
+ 'name' => 'Ipv6Bandwidth',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '> This parameter is not publicly available.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The tags'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'value',
+ ],
+ 'Key' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'key',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ ],
+ ],
+ [
+ 'name' => 'NetworkInfo',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'BandwidthPackageName' => [
+ 'type' => 'string',
+ ],
+ 'CidrBlock' => [
+ 'type' => 'string',
+ ],
+ 'LimitedBandwidth' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'InternetChargeType' => [
+ 'type' => 'string',
+ ],
+ 'IpRatio' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Isp' => [
+ 'type' => 'string',
+ ],
+ 'PayType' => [
+ 'type' => 'string',
+ ],
+ 'Period' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'PeriodUnit' => [
+ 'type' => 'string',
+ ],
+ 'AutoPay' => [
+ 'type' => 'boolean',
+ ],
+ 'AutoRenew' => [
+ 'type' => 'boolean',
+ ],
+ 'VisibleType' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'name' => 'BandwidthPackageType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'BandwidthPackageId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'NetworkType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'PromotionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'StreamMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '1A923337-44D9-5CAD-9A53-95084BD4****',
+ ],
+ 'InstanceGroupInfos' => [
+ 'description' => 'The instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceGroupId' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'ag-cuv4scs4obxch****',
+ ],
+ 'InstanceIds' => [
+ 'description' => 'The IDs of the instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-g40b9at5nhjo9****',
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'OrderId' => [
+ 'description' => 'The ID of the order.'."\n",
+ 'type' => 'string',
+ 'example' => '22365781890****',
+ ],
+ 'InstanceGroupIds' => [
+ 'description' => 'The IDs of the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'ag-cuv4scs4obxch****',
+ ],
+ ],
+ 'NetworkPackageOrderModel' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'BandwidthPackageOrderId' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1A923337-44D9-5CAD-9A53-95084BD4****\\",\\n \\"InstanceGroupInfos\\": [\\n {\\n \\"InstanceGroupId\\": \\"ag-cuv4scs4obxch****\\",\\n \\"InstanceIds\\": [\\n \\"acp-g40b9at5nhjo9****\\"\\n ]\\n }\\n ],\\n \\"OrderId\\": \\"22365781890****\\",\\n \\"InstanceGroupIds\\": [\\n \\"ag-cuv4scs4obxch****\\"\\n ],\\n \\"NetworkPackageOrderModel\\": {\\n \\"BandwidthPackageOrderId\\": \\"\\",\\n \\"BandwidthPackageId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateAndroidInstanceGroup',
+ 'description' => 'Before creating an instance group, ensure you understand the [billing methods](~~2807121~~) supported by Cloud Phone.'."\n"
+ ."\n"
+ .'* If the billing method of an instance group is PrePaid, AutoPay is set to false by default. In this case, you need to go to [Expenses and Costs](https://usercenter2-intl.aliyun.com/order/list) to manually complete the payment.'."\n"
+ .'* You can also set AutoPay to true based on your business requirements.'."\n",
+ ],
+ 'DescribeAndroidInstanceGroups' => [
+ 'summary' => 'Queries the details of an instance group.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneQNMLJ7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'InstanceGroupIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-25nt4kk9whhdh****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'InstanceGroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the instance group. Instance groups support fuzzy search by name.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaultInstanceGroup',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The status of the instance group.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* UPDATING_FAILED: The image update for the instance group failed.'."\n"
+ .'* FAILED: The instance group failed to be created.'."\n"
+ .'* RUNNING: The instance group is available.'."\n"
+ .'* EXPIRED: The instance group expired.'."\n"
+ .'* DELETING: The instance group is being deleted.'."\n"
+ .'* DELETED: The instance group is deleted.'."\n"
+ .'* UPDATING: The instance group is undergoing an image update.'."\n"
+ .'* CREATING: The instance group is being created.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'UPDATING_FAILED' => 'Update failed',
+ 'FAILED' => 'Create failed',
+ 'RUNNING' => 'Running',
+ 'EXPIRED' => 'Expired',
+ 'DELETING' => 'Deleting',
+ 'DELETED' => 'Deleted',
+ 'UPDATING' => 'Updating',
+ 'CREATING' => 'Creating',
+ ],
+ 'example' => 'CREATING',
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The purchase mode of cloud phone instances.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Instance (default): the instance group mode.'."\n"
+ .'* Node: the matrix mode \\[whitelisted].'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Instance' => '',
+ 'Node' => '',
+ ],
+ 'example' => 'standard',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* PrePaid: subscription'."\n"
+ .'* PostPaid: pay-as-you-go'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ ' PrePaid' => 'Subscription',
+ 'PostPaid' => 'Pay-as-you-go',
+ ],
+ 'example' => 'PostPaid',
+ ],
+ ],
+ [
+ 'name' => 'PolicyGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pg-1b77w6xrqfubi****',
+ ],
+ ],
+ [
+ 'name' => 'KeyPairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the key pair.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'kp-5htf0ymsrnb7q****',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page. Value range: 0 to 100. Default value: 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****',
+ ],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'maxItems' => 20,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'F07A1DA1-E1EB-5CCA-8EED-12F85D32****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****',
+ ],
+ 'InstanceGroupModel' => [
+ 'description' => 'The instance group.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceGroupId' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'ag-h67a2cs0zprfdh****'."\n",
+ ],
+ 'InstanceGroupName' => [
+ 'description' => 'The name of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'defaultInstanceGroup'."\n",
+ ],
+ 'InstanceGroupStatus' => [
+ 'description' => 'The status of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ 'InstanceGroupSpec' => [
+ 'description' => 'The specifications of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp.basic.small',
+ ],
+ 'InstanceGroupSpecDescribe' => [
+ 'description' => 'The description of the instance group specifications.'."\n",
+ 'type' => 'string',
+ 'example' => 'ARM-2vCPU4GiB 32GiB',
+ ],
+ 'OfficeSiteId' => [
+ 'description' => 'The ID of the network.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shanghai+dir-030598****',
+ ],
+ 'ImageId' => [
+ 'description' => 'The ID of the image.'."\n",
+ 'type' => 'string',
+ 'example' => 'imgc-06zyt9m93zwax****',
+ ],
+ 'NumberOfInstances' => [
+ 'description' => 'The number of instances in the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'ChargeType' => [
+ 'description' => 'The billing method.'."\n",
+ 'type' => 'string',
+ 'example' => 'PrePaid',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'The time when the instance group was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-02-01 10:56:36',
+ ],
+ 'GmtModified' => [
+ 'description' => 'The time when the instance group was updated.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-02-01 10:56:36',
+ ],
+ 'SaleMode' => [
+ 'description' => 'The sales mode.'."\n",
+ 'type' => 'string',
+ 'example' => 'standard',
+ ],
+ 'InstalledAppList' => [
+ 'description' => 'The list of installed applications.'."\n",
+ 'type' => 'string',
+ 'example' => '"TikTok","WeChat"',
+ ],
+ 'GmtExpired' => [
+ 'description' => 'The time when the subscription instance group expires.'."\n",
+ 'type' => 'string',
+ 'example' => '2027-06-29 07:25:31',
+ ],
+ 'AppInstanceGroupId' => [
+ 'description' => 'The ID of the delivery group.'."\n",
+ 'type' => 'string',
+ 'example' => 'aig-48xr63m4dybjk****',
+ ],
+ 'PolicyGroupId' => [
+ 'description' => 'The ID of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'pg-c6n38xucps8kl****',
+ ],
+ 'VSwitchId' => [
+ 'description' => 'The ID of the vSwitch.'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-t4n0yqs009ho024wt****',
+ ],
+ 'ResolutionHeight' => [
+ 'description' => 'The height of the resolution.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1280',
+ ],
+ 'ResolutionWidth' => [
+ 'description' => 'The width of the resolution.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '720',
+ ],
+ 'SystemVersion' => [
+ 'description' => 'The version of the operating system.'."\n",
+ 'type' => 'string',
+ 'example' => 'Android 12',
+ ],
+ 'ArchitectureType' => [
+ 'description' => 'The type of the architecture.'."\n",
+ 'type' => 'string',
+ 'example' => 'ARM',
+ ],
+ 'Memory' => [
+ 'description' => 'The memory size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'Cpu' => [
+ 'description' => 'The number of vCPUs.'."\n",
+ 'type' => 'string',
+ 'example' => '8',
+ ],
+ 'Disks' => [
+ 'description' => 'The disks.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DiskType' => [
+ 'description' => 'The type of the disk.'."\n",
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'DiskSize' => [
+ 'description' => 'The size of the disk. Unit: GB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '32',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'ErrorCode' => [
+ 'description' => 'The cause of the creation failure.'."\n",
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'RenderingType' => [
+ 'description' => 'The rendering mode of the instance group.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* GPURemote: GPU remote rendering.'."\n"
+ .'* CPU: CPU rendering.'."\n"
+ .'* GPUocal: GPU local rendering.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'GPURemote' => '',
+ 'CPU' => '',
+ 'GPULocal' => '',
+ ],
+ 'example' => 'CPU',
+ ],
+ 'AvailableInstanceAmount' => [
+ 'description' => 'The number of available instances.'."\n"
+ ."\n"
+ .'> Available instances are those not in the Deleting or Deleted state.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'EnableIpv6' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Ipv6Bandwidth' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '50',
+ ],
+ 'BandwidthPackageId' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageType' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageStatus' => [
+ 'type' => 'string',
+ ],
+ 'NetworkType' => [
+ 'type' => 'string',
+ ],
+ 'ImageVersion' => [
+ 'type' => 'string',
+ ],
+ 'BindQosRules' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'totalCount' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'InstanceQosRule' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ 'QosRuleId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ZoneId' => [
+ 'type' => 'string',
+ ],
+ 'Tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F07A1DA1-E1EB-5CCA-8EED-12F85D32****\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****\\",\\n \\"InstanceGroupModel\\": [\\n {\\n \\"InstanceGroupId\\": \\"ag-h67a2cs0zprfdh****\\\\n\\",\\n \\"InstanceGroupName\\": \\"云手机A\\",\\n \\"InstanceGroupStatus\\": \\"RUNNING\\",\\n \\"InstanceGroupSpec\\": \\"acp.basic.small\\",\\n \\"InstanceGroupSpecDescribe\\": \\"ARM-2vCPU4GiB 32GiB\\",\\n \\"OfficeSiteId\\": \\"cn-shanghai+dir-030598****\\",\\n \\"ImageId\\": \\"imgc-06zyt9m93zwax****\\",\\n \\"NumberOfInstances\\": \\"10\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreate\\": \\"2024-02-01 10:56:36\\",\\n \\"GmtModified\\": \\"2024-02-01 10:56:36\\",\\n \\"SaleMode\\": \\"standard\\",\\n \\"InstalledAppList\\": \\"\\\\\\"抖音\\\\\\",\\\\\\"淘宝\\\\\\"\\",\\n \\"GmtExpired\\": \\"2027-06-29 07:25:31\\",\\n \\"AppInstanceGroupId\\": \\"aig-48xr63m4dybjk****\\",\\n \\"PolicyGroupId\\": \\"pg-c6n38xucps8kl****\\",\\n \\"VSwitchId\\": \\"vsw-t4n0yqs009ho024wt****\\",\\n \\"ResolutionHeight\\": 1280,\\n \\"ResolutionWidth\\": 720,\\n \\"SystemVersion\\": \\"Android 12\\",\\n \\"ArchitectureType\\": \\"ARM\\",\\n \\"Memory\\": 8,\\n \\"Cpu\\": \\"8\\",\\n \\"Disks\\": [\\n {\\n \\"DiskType\\": \\"SYSTEM\\",\\n \\"DiskSize\\": 32\\n }\\n ],\\n \\"ErrorCode\\": \\"InternalError\\",\\n \\"RenderingType\\": \\"CPU\\",\\n \\"AvailableInstanceAmount\\": 2,\\n \\"EnableIpv6\\": true,\\n \\"Ipv6Bandwidth\\": 50,\\n \\"BandwidthPackageId\\": \\"np-0q6ixs7vpxciz****\\",\\n \\"BandwidthPackageType\\": \\"cbwp_ecd\\",\\n \\"BandwidthPackageStatus\\": \\"Creating\\",\\n \\"NetworkType\\": \\"network_pro_ecd\\",\\n \\"ImageVersion\\": \\"25.09.2\\",\\n \\"BindQosRules\\": {\\n \\"totalCount\\": 2,\\n \\"InstanceQosRule\\": [\\n {\\n \\"InstanceId\\": \\"acp-h3m8b5dusopp5****\\",\\n \\"QosRuleId\\": \\"qos-3kh93uu0vdbka****\\"\\n }\\n ]\\n },\\n \\"ZoneId\\": \\"cn-hangzhou-j\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"phone\\",\\n \\"Value\\": \\"2025\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeAndroidInstanceGroups',
+ ],
+ 'ModifyAndroidInstanceGroup' => [
+ 'summary' => 'Modifies attributes of an instance group.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVGR0HK',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-cuv4scs4obxhs****'."\n",
+ ],
+ ],
+ [
+ 'name' => 'NewInstanceGroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new name of the instance group.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* The name can be up to 30 characters in length. It can contain letters, digits, colons (:), underscores (\\_), periods (.), or hyphens (-). It must start with letters but cannot start with http:// or https://.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'newName',
+ ],
+ ],
+ [
+ 'name' => 'PolicyGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pg-2w97kp89gnsif****',
+ ],
+ ],
+ [
+ 'name' => 'StreamMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '6C83EBE3-F267-5F11-ABF8-4E7B90B****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6C83EBE3-F267-5F11-ABF8-4E7B90B****\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyAndroidInstanceGroup',
+ ],
+ 'UpgradeAndroidInstanceGroup' => [
+ 'summary' => 'Upgrades an instance group. Currently, this operation allows you to only increase the number of instances in an instance group.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMGJBSL',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-asguicdjh****',
+ ],
+ ],
+ [
+ 'name' => 'IncreaseNumberOfInstance',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of instances that you want to increase.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto-payment feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true: enables the auto-payment feature. Make sure that your Alibaba Cloud account has sufficient balance.'."\n"
+ .'* false: disables the auto-payment feature. You need to manually complete the payment process.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'PromotionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '310A783E-CC46-5452-A8A3-71AE5DB59****',
+ ],
+ 'OrderId' => [
+ 'description' => 'The ID of the order.'."\n",
+ 'type' => 'string',
+ 'example' => '223684716098****',
+ ],
+ 'InstanceIds' => [
+ 'type' => 'string',
+ 'description' => 'The instance ID.'."\n",
+ 'example' => '[\'acp-3vzqq4y3f31f3z3df\']',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"310A783E-CC46-5452-A8A3-71AE5DB59****\\",\\n \\"OrderId\\": \\"223684716098****\\",\\n \\"InstanceIds\\": \\"[\'acp-2iowaqjyw9nrd****\', \'acp-2iowaqjyw9nrd****\']\\"\\n}","type":"json"}]',
+ 'title' => 'UpgradeAndroidInstanceGroup',
+ 'description' => 'Currently, this operation allows you to only increase the size of an instance group.'."\n",
+ ],
+ 'DowngradeAndroidInstanceGroup' => [
+ 'summary' => 'Downgrades an instance group. Currently, this operation allows you to only delete specific cloud phone instances from an instance group.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMGJBSL',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ag-cuv4scs4obxhs****',
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances that you want to delete.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance that you want to delete.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-hangzhouarmw****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto-payment feature. Default value: false.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true: enables the auto-payment feature. Ensure your account has sufficient balance to use this feature.'."\n"
+ .'* false: disables the auto-payment feature. This requires manual payment each time you place an order.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '3AF82CE1-2801-52CE-BF64-B491DD7C****',
+ ],
+ 'OrderId' => [
+ 'description' => 'The ID of the order.'."\n",
+ 'type' => 'string',
+ 'example' => '22326560487****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3AF82CE1-2801-52CE-BF64-B491DD7C****\\",\\n \\"OrderId\\": \\"22326560487****\\"\\n}","type":"json"}]',
+ 'title' => 'DowngradeAndroidInstanceGroup',
+ 'description' => 'This operation only allows you to scale down an instance group.'."\n",
+ ],
+ 'RenewAndroidInstanceGroups' => [
+ 'summary' => 'Renews instance groups.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMR1L7E',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceGroupIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-aobj3xwnvexhs****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The duration of the renewal, measured in units defined by PeriodUnit.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '6',
+ ],
+ ],
+ [
+ 'name' => 'PeriodUnit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The unit of the renewal duration. Default value: Month.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Month'."\n"
+ .'* Year'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Month' => '',
+ 'Year' => '',
+ ],
+ 'example' => 'Month',
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto-payment feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true: enables the auto-payment feature. Ensure your account has sufficient balance to use this feature.'."\n"
+ .'* false: disables the auto-payment feature. You need to manually complete the payment process.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => '',
+ 'false' => '',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'PromotionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4B886792-2051-5DB4-8AE6-C8E45D3B4****',
+ ],
+ 'OrderId' => [
+ 'description' => 'The ID of the order.'."\n",
+ 'type' => 'string',
+ 'example' => '22326560487****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4B886792-2051-5DB4-8AE6-C8E45D3B4****\\",\\n \\"OrderId\\": \\"22326560487****\\"\\n}","type":"json"}]',
+ 'title' => 'RenewAndroidInstanceGroups',
+ ],
+ 'UpdateInstanceGroupImage' => [
+ 'summary' => 'Changes the image of an instance group.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneE7UBTJ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceGroupIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-3kzpiqqsjwpy9****',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'ImageId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the image.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'imgc-075cllfeuazh****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '55726272-E40B-530D-914F-5126B19C79B3',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55726272-E40B-530D-914F-5126B19C79B3\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateInstanceGroupImage',
+ 'description' => 'Before you call this operation, make sure the image is in the Available state and the region of the image is included in the region list of the desired instance group. In addition, the instance group itself is available.'."\n",
+ ],
+ 'DeleteAndroidInstanceGroup' => [
+ 'summary' => 'Delete an instance group.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceGroupIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-h67a2cs0zpruy****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'CB95E410-FD1D-53C5-9F7D-93CC44D7****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB95E410-FD1D-53C5-9F7D-93CC44D7****\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteAndroidInstanceGroup',
+ 'description' => 'You can delete only pay-as-you-go instance groups.'."\n"
+ ."\n"
+ .'You can delete subscription instance groups only after they expire.'."\n",
+ ],
+ 'DescribeAndroidInstances' => [
+ 'summary' => 'Queries cloud phone instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneTVG3Y7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-25nt4kk9whjh****',
+ ],
+ ],
+ [
+ 'name' => 'KeyPairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the bound key pair.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'kp-5hh431emkpuoi****',
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-25nt4kk9whhok****',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'name',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The state of the instance.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* BACKUPING: The instance is being backed up.'."\n"
+ .'* STARTING: The instance is being started.'."\n"
+ .'* RUNNING: The instance group is available.'."\n"
+ .'* DELETING: The instance is being deleted.'."\n"
+ .'* BACKUP_FAILED: The backup operation failed.'."\n"
+ .'* DELETED: The instance is deleted.'."\n"
+ .'* FAILED: The instance failed to be created.'."\n"
+ .'* STOPPED: The instance is stopped.'."\n"
+ .'* RECOVERING: The instance has an ongoing file recovery task.'."\n"
+ .'* UNAVAILABLE: The instance has an exception.'."\n"
+ .'* REBOOTING: The instance is being restarted.'."\n"
+ .'* RESETTING: The instance is being reset.'."\n"
+ .'* STOPPING: The instance is being stopped.'."\n"
+ .'* RECOVER_FAILED: The file recovery task failed.'."\n"
+ .'* CREATING: The instance is being created.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'BACKUPING' => '',
+ 'STARTING' => '',
+ 'RUNNING' => '',
+ 'DELETING' => '',
+ 'BACKUP_FAILED' => '',
+ 'DELETED' => '',
+ 'FAILED' => '',
+ 'STOPPED' => '',
+ 'RECOVERING' => '',
+ 'UNAVAILABLE' => '',
+ 'REBOOTING' => '',
+ 'RESETTING' => '',
+ 'STOPPING' => '',
+ 'RECOVER_FAILED' => '',
+ 'CREATING' => '',
+ ],
+ 'example' => 'RUNNING',
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The sales mode.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Instance: the standard mode.'."\n"
+ .'* Node: the node mode.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Instance' => '',
+ 'Node' => '',
+ ],
+ 'example' => 'Instance',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page. Valid values: 1 to 100. Default value: 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the parameter is left empty, the data is queried from the first entry.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kw9dGL5jves2FS9RLq****',
+ ],
+ ],
+ [
+ 'name' => 'InstanceGroupIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-25nt4kk9whhdh****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'InstanceGroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* PostPaid: pay-as-you-go.'."\n"
+ .'* PrePaid: subscription.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'PostPaid' => '',
+ 'PrePaid' => '',
+ ],
+ 'example' => 'PostPaid',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The tags of the resources.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag of the resource.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'key',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'value',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ ],
+ ],
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID. You can call the [DescribeRegions](~~2807298~~) operation to query the regions where Cloud Phone is supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'NodeId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the node.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'node_id',
+ ],
+ ],
+ [
+ 'name' => 'NodeName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the node.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'node_name',
+ ],
+ ],
+ [
+ 'name' => 'OfficeSiteIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'AuthorizedUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'QosRuleIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'AppManagePolicyId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'PrivateIpAddress',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'F07A1DA1-E1EB-5CCA-8EED-12F85D32****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kmma/xxE9WtwL/ADvZ****',
+ ],
+ 'InstanceModel' => [
+ 'description' => 'The cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The cloud phone instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceGroupId' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'ag-ayyhomlal7po****',
+ ],
+ 'AndroidInstanceGroupName' => [
+ 'description' => 'The name of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'AndroidInstanceGroupName',
+ ],
+ 'AndroidInstanceId' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-8at8h6ejkadjh****',
+ ],
+ 'AndroidInstanceName' => [
+ 'description' => 'The name of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'name',
+ ],
+ 'AndroidInstanceStatus' => [
+ 'description' => 'The state of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ 'NetworkInterfaceIp' => [
+ 'description' => 'The IP address of the ENI.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.22.48',
+ ],
+ 'AuthorizedUserId' => [
+ 'description' => 'The ID of the user to whom the instance is assigned.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'BindUserId' => [
+ 'description' => 'The ID of the bound user.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'PersistentAppInstanceId' => [
+ 'description' => 'The ID of the persistent session.'."\n",
+ 'type' => 'string',
+ 'example' => 'p-0btrd5zj8epo****',
+ ],
+ 'AppInstanceId' => [
+ 'description' => 'The ID of the physical instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'ai-9ey6io0q58rcd****',
+ ],
+ 'KeyPairId' => [
+ 'description' => 'The ID of the key pair.'."\n",
+ 'type' => 'string',
+ 'example' => 'kp-5hh431emkpucs****',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'The time when the instance was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-05-06 10:42:10',
+ ],
+ 'GmtModified' => [
+ 'description' => 'The time when the instance was modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-05-06 10:42:10',
+ ],
+ 'AppInstanceGroupId' => [
+ 'description' => 'The ID of the delivery group.'."\n",
+ 'type' => 'string',
+ 'example' => 'aig-i7yv6tkn7kh8dv****',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'Rate' => [
+ 'description' => 'The progress of instance data backup or restoration.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'The cause of the instance data backup failure or restoration failure.'."\n",
+ 'type' => 'string',
+ 'example' => 'FilePathNotFound',
+ ],
+ 'RenderingType' => [
+ 'description' => 'The rendering type.'."\n",
+ 'type' => 'string',
+ 'example' => 'local',
+ ],
+ 'InstanceType' => [
+ 'description' => 'The type of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp.basic.small',
+ ],
+ 'ChargeType' => [
+ 'description' => 'The billing method of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'PrePaid',
+ ],
+ 'GmtExpired' => [
+ 'description' => 'The time when the subscription instance group expires.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-07-15T02:03:33Z',
+ ],
+ 'PolicyGroupId' => [
+ 'description' => 'The ID of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'pg-0bszojpu0seql****',
+ ],
+ 'OfficeSiteId' => [
+ 'description' => 'The office network ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shenzhen+dir-211620****',
+ ],
+ 'VSwitchId' => [
+ 'type' => 'string',
+ ],
+ 'Memory' => [
+ 'description' => 'The memory size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1024',
+ ],
+ 'Cpu' => [
+ 'description' => 'The number of vCPUs.'."\n",
+ 'type' => 'string',
+ 'example' => '4',
+ ],
+ 'Disks' => [
+ 'description' => 'The disks.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The disk.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DiskType' => [
+ 'description' => 'The type of the disk.'."\n",
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'DiskSize' => [
+ 'description' => 'The disk size. Unit: GB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '32',
+ ],
+ ],
+ ],
+ ],
+ 'Tags' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the tag.'."\n",
+ 'type' => 'string',
+ 'example' => 'key',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'example' => 'value',
+ ],
+ ],
+ ],
+ ],
+ 'ImageVersion' => [
+ 'description' => 'The version of the image.'."\n",
+ 'type' => 'string',
+ 'example' => '3.5.3.867',
+ ],
+ 'PublicIpAddress' => [
+ 'description' => 'The public IP address.'."\n",
+ 'type' => 'string',
+ 'example' => '10.32.1.41',
+ ],
+ 'SessionStatus' => [
+ 'description' => 'The session status.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* disConnect: The session is disconnected.'."\n"
+ .'* connect: The session is connected.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'disConnect' => '',
+ 'connect' => '',
+ ],
+ 'example' => 'connect',
+ ],
+ 'NetworkInterfaceIpv6Address' => [
+ 'description' => '> This parameter is not publicly available.'."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'PublicIpv6Address' => [
+ 'description' => '> This parameter is not publicly available.'."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'ImageId' => [
+ 'type' => 'string',
+ ],
+ 'DisplayConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResolutionHeight' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'ResolutionWidth' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Dpi' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Fps' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'LockResolution' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'QosRuleId' => [
+ 'type' => 'string',
+ ],
+ 'AppManagePolicy' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AppManagePolicyId' => [
+ 'type' => 'string',
+ ],
+ 'AppManagePolicyName' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'ZoneId' => [
+ 'type' => 'string',
+ ],
+ 'PhoneDataInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PhoneDataId' => [
+ 'type' => 'string',
+ ],
+ 'PhoneDataVolume' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ 'StreamMode' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'NetworkType' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageType' => [
+ 'type' => 'string',
+ ],
+ 'BandwidthPackageId' => [
+ 'type' => 'string',
+ ],
+ 'UpBandwidthLimit' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'DownBandwidthLimit' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'ServerType' => [
+ 'type' => 'string',
+ ],
+ 'BizTags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'ServerStatus' => [
+ 'type' => 'string',
+ ],
+ 'SystemVersion' => [
+ 'type' => 'string',
+ ],
+ 'InternetStatus' => [
+ 'type' => 'string',
+ ],
+ 'BizImageType' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F07A1DA1-E1EB-5CCA-8EED-12F85D32****\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kmma/xxE9WtwL/ADvZ****\\",\\n \\"InstanceModel\\": [\\n {\\n \\"AndroidInstanceGroupId\\": \\"ag-ayyhomlal7po****\\",\\n \\"AndroidInstanceGroupName\\": \\"AndroidInstanceGroupName\\",\\n \\"AndroidInstanceId\\": \\"acp-8at8h6ejkadjh****\\",\\n \\"AndroidInstanceName\\": \\"name\\",\\n \\"AndroidInstanceStatus\\": \\"RUNNING\\",\\n \\"NetworkInterfaceIp\\": \\"192.168.22.48\\",\\n \\"AuthorizedUserId\\": \\"test\\",\\n \\"BindUserId\\": \\"test\\",\\n \\"PersistentAppInstanceId\\": \\"p-0btrd5zj8epo****\\",\\n \\"AppInstanceId\\": \\"ai-9ey6io0q58rcd****\\",\\n \\"KeyPairId\\": \\"kp-5hh431emkpucs****\\",\\n \\"GmtCreate\\": \\"2023-05-06 10:42:10\\",\\n \\"GmtModified\\": \\"2023-05-06 10:42:10\\",\\n \\"AppInstanceGroupId\\": \\"aig-i7yv6tkn7kh8dv****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Rate\\": 100,\\n \\"ErrorCode\\": \\"FilePathNotFound\\",\\n \\"RenderingType\\": \\"local\\",\\n \\"InstanceType\\": \\"acp.basic.small\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"GmtExpired\\": \\"2024-07-15T02:03:33Z\\",\\n \\"PolicyGroupId\\": \\"pg-0bszojpu0seql****\\",\\n \\"OfficeSiteId\\": \\"cn-shenzhen+dir-211620****\\",\\n \\"VSwitchId\\": \\"vsw-2zepmau2hsbhos42****\\",\\n \\"Memory\\": 1024,\\n \\"Cpu\\": \\"4\\",\\n \\"Disks\\": [\\n {\\n \\"DiskType\\": \\"SYSTEM\\",\\n \\"DiskSize\\": 32\\n }\\n ],\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"key\\",\\n \\"Value\\": \\"value\\"\\n }\\n ],\\n \\"ImageVersion\\": \\"3.5.3.867\\",\\n \\"PublicIpAddress\\": \\"10.32.1.41\\",\\n \\"SessionStatus\\": \\"connect\\",\\n \\"NetworkInterfaceIpv6Address\\": \\"null\\",\\n \\"PublicIpv6Address\\": \\"null\\",\\n \\"ImageId\\": \\"imgc-075cllfeuazh0****\\",\\n \\"DisplayConfig\\": {\\n \\"ResolutionHeight\\": 1280,\\n \\"ResolutionWidth\\": 720,\\n \\"Dpi\\": 240,\\n \\"Fps\\": 30,\\n \\"LockResolution\\": \\"off\\"\\n },\\n \\"QosRuleId\\": \\"qos-5605u0gelk200****\\",\\n \\"AppManagePolicy\\": {\\n \\"AppManagePolicyId\\": \\"amp-dgiavcvibfdds****\\",\\n \\"AppManagePolicyName\\": \\"应用组1\\"\\n },\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"PhoneDataInfo\\": {\\n \\"PhoneDataId\\": \\"pd-sbcudgidbhb****\\",\\n \\"PhoneDataVolume\\": 20\\n },\\n \\"StreamMode\\": 1,\\n \\"NetworkType\\": \\"network_pro_ecd\\",\\n \\"BandwidthPackageType\\": \\"cbwp_ecd\\",\\n \\"BandwidthPackageId\\": \\"np-0q6ixs7vpxcizp***\\",\\n \\"UpBandwidthLimit\\": 5,\\n \\"DownBandwidthLimit\\": 30,\\n \\"ServerType\\": \\"cpm.gx7.10xlarge\\",\\n \\"BizTags\\": [\\n {\\n \\"Key\\": \\"releaseFlag\\",\\n \\"Value\\": \\"on\\"\\n }\\n ],\\n \\"ServerStatus\\": \\"RUNNING\\",\\n \\"SystemVersion\\": \\"Android 11\\",\\n \\"InternetStatus\\": \\"\\",\\n \\"BizImageType\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeAndroidInstances',
+ ],
+ 'ModifyAndroidInstance' => [
+ 'summary' => 'Modifies attributes of a cloud phone instance. Currently, this operation allows you to modify only the name of a cloud phone instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVGR0HK',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-8v5bjld0r7tkl****'."\n",
+ ],
+ ],
+ [
+ 'name' => 'NewAndroidInstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The new name of the cloud phone instance.'."\n"
+ ."\n"
+ .'> The name can be up to 30 characters in length. It can contain letters, digits, colons (:), underscores (\\_), periods (.), or hyphens (-). It must start with letters but cannot start with http:// or https://.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'new_name',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'UpBandwidthLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'DownBandwidthLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'E5138F7E-46B5-526A-8C99-82DEAE6B****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5138F7E-46B5-526A-8C99-82DEAE6B****\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyAndroidInstance',
+ ],
+ 'AuthorizeAndroidInstance' => [
+ 'summary' => 'Authorize/unauthorize Android instances for users.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'List of instance IDs.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Instance ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-8v5bjld0r7pl****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'AuthorizeUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'User ID to be assigned.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'UnAuthorizeUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'User ID to be unassigned.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Return parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '1A923337-44D9-5CAD-9A53-95084BD4****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1A923337-44D9-5CAD-9A53-95084BD4****\\"\\n}","type":"json"}]',
+ 'title' => 'Assign Users to Instances & Unassign',
+ 'description' => 'Instance states that support user assignment: Available, Shutting Down, Stopped, Starting, Backing Up, Restoring, Backup Failed, Restore Failed.'."\n"
+ ."\n"
+ .'Instance states that support unassignment: Available, Shutting Down, Stopped, Starting, Backing Up, Restoring, Backup Failed, Restore Failed, Expired, Overdue, Deleted.',
+ ],
+ 'StartAndroidInstance' => [
+ 'summary' => 'Start instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone5C0MVL',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'List of instances.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Instance ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-hk34lbnw0qhi7****',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'enum' => [
+ 'Instance',
+ 'Node',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Return parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '17C731AB-AAEE-5844-A352-D8D0352D****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"17C731AB-AAEE-5844-A352-D8D0352D****\\"\\n}","type":"json"}]',
+ 'title' => 'Start Instance',
+ 'description' => 'Only supports starting when the instance is in the **Stopped, Backup Failed, or Recovery Failed** state.',
+ ],
+ 'StopAndroidInstance' => [
+ 'summary' => 'Stops a cloud phone instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneRXVHCU',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-3kzpiqqsjwtw7****',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ ],
+ ],
+ [
+ 'name' => 'ForceStop',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enforce a stop operation. If a cloud phone instance fails to stop due to system or network issues, a forced stop can be triggered, though it may result in data loss.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'enum' => [
+ 'Instance',
+ 'Node',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'E38B41A8-8E00-5AE4-A957-6636ACB8****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E38B41A8-8E00-5AE4-A957-6636ACB8****\\"\\n}","type":"json"}]',
+ 'title' => 'StopAndroidInstance',
+ 'description' => 'Before you stop a cloud phone instance, make sure it is in one of the following states: **Available, Backup failure, and Restoration failure**.'."\n",
+ ],
+ 'RebootAndroidInstancesInGroup' => [
+ 'summary' => 'Restarts one or more cloud phone instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneO96MC6',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-sgicbcdadjs****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'ForceStop',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enforce a restart operation. If a cloud phone instance fails to stop due to system or network issues, a forced restart can be triggered, though it may result in data loss.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => 'true',
+ 'false' => 'false',
+ ],
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'enum' => [
+ 'Instance',
+ 'Node',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'IgnoreParamValidation',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '227CBB4C-F5DC-589D-A667-C5CA3D52****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"227CBB4C-F5DC-589D-A667-C5CA3D52****\\"\\n}","type":"json"}]',
+ 'title' => 'RebootAndroidInstancesInGroup',
+ 'description' => 'Before you restart a cloud phone instance, make sure it is in one of the following states: **Available, Abnormal, Backup failure, and Restoration failure**.'."\n",
+ ],
+ 'ResetAndroidInstancesInGroup' => [
+ 'summary' => 'Resets one or more cloud phone instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneEDCJTJ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-scaucydkl****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'enum' => [
+ 'Instance',
+ 'Node',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'SettingResetType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'IgnoreParamValidation',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '69BCBBE4-FCF2-59B8-AD9D-531EB422****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"69BCBBE4-FCF2-59B8-AD9D-531EB422****\\"\\n}","type":"json"}]',
+ 'title' => 'ResetAndroidInstancesInGroup',
+ 'description' => 'Before you reset a cloud phone instance, make sure it is in one of the following states: **Available, Stopped, Abnormal, Backup failure, and Restoration failure**.'."\n",
+ ],
+ 'ModifyInstanceChargeType' => [
+ 'summary' => 'Modifies the billing method. Currently, this operation only allows you to change the billing method from pay-as-you-go to subscription.',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneTVG3Y7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceGroupIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-25nt4kk9whhdh****',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method. Valid values:'."\n"
+ ."\n"
+ .'> Currently, this operation only allows you to change the billing method from **pay-as-you-go to subscription**.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'PrePaid' => '',
+ ],
+ 'example' => 'PrePaid',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The subscription duration. The unit is specified by PeriodUnit. Valid values: 1 Month, 2 Months, 3 Months, 6 Months, and 1 Year.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PeriodUnit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The unit of the subscription duration. Valid values:'."\n"
+ ."\n"
+ .'* **Month**'."\n"
+ .'* **Year**'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Month',
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto-payment feature. Default value: false.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'AutoRenew',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto-renewal feature. Default value: false.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'PromotionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '1A923337-44D9-5CAD-9A53-95084BD4****',
+ ],
+ 'InstanceGroupIds' => [
+ 'description' => 'The IDs of the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'ag-cuv4scs4obxch****',
+ ],
+ ],
+ 'OrderId' => [
+ 'description' => 'The ID of the order.'."\n",
+ 'type' => 'string',
+ 'example' => '22326560487****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1A923337-44D9-5CAD-9A53-95084BD4****\\",\\n \\"InstanceGroupIds\\": [\\n \\"ag-cuv4scs4obxch****\\"\\n ],\\n \\"OrderId\\": \\"22326560487****\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyInstanceChargeType',
+ ],
+ 'UpdateInstanceImage' => [
+ 'summary' => '更新实例镜像',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone3OZQF8',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-dvbhknfasf123****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'ImageId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'imgc-075cllfeuazh0****',
+ ],
+ ],
+ [
+ 'name' => 'Reset',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ [
+ 'name' => 'IgnoreParamValidation',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1A923337-44D9-5CAD-9A53-95084BD4****',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-1ljew7on6ay0j****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1A923337-44D9-5CAD-9A53-95084BD4****\\",\\n \\"TaskId\\": \\"t-1ljew7on6ay0j****\\"\\n}","type":"json"}]',
+ ],
+ 'ExpandPhoneDataVolume' => [
+ 'summary' => '扩容实例的独立机身存储',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneUQT9QO',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-aw14zoevk6809****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'PhoneDataVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'AutoPay',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'PromotionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '50003308011****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DB070C80-45AC-52CA-8101-937C25DA****',
+ ],
+ 'OrderId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '223684716098****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB070C80-45AC-52CA-8101-937C25DA****\\",\\n \\"OrderId\\": \\"223684716098****\\"\\n}","type":"json"}]',
+ ],
+ 'InstanceHealer' => [
+ 'summary' => '实例诊断',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneYYGTDB',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-42do7k******-001',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '30',
+ ],
+ ],
+ [
+ 'name' => 'Strategy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Clean' => '',
+ ],
+ 'example' => 'Clean',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7B9EFA4F-4305-5968-BAEE-BD8B8DE5****',
+ ],
+ 'InstanceHealerModel' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Result' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7B9EFA4F-4305-5968-BAEE-BD8B8DE5****\\",\\n \\"InstanceHealerModel\\": {\\n \\"Result\\": \\"True\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'StartInstanceAdb' => [
+ 'summary' => '开启实例ADB端口并创建端口转发条目',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneLYX9LP',
+ ],
+ 'autoTest' => true,
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-5hh431emkt6u*****',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '69BCBBE4-FCF2-59B8-AD9D-531EB422****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"69BCBBE4-FCF2-59B8-AD9D-531EB422****\\"\\n}","type":"json"}]',
+ ],
+ 'StopInstanceAdb' => [
+ 'summary' => '停止实例ADB端口并删除端口转发条目',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneLYX9LP',
+ ],
+ 'autoTest' => true,
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-5hh4a31emkt6u****',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC******',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC******\\"\\n}","type":"json"}]',
+ ],
+ 'ListInstanceAdbAttributes' => [
+ 'summary' => '查询ADB端口连接信息',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone89PVC7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-5hh431emkt6u*****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'ExternalIp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '106.38.188.223',
+ ],
+ ],
+ [
+ 'name' => 'InternalIp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10.0.3.23',
+ ],
+ ],
+ [
+ 'name' => 'InternalPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '5555',
+ ],
+ ],
+ [
+ 'name' => 'IpProtocol',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TCP',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '0',
+ 'example' => '20',
+ 'default' => '20',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreated' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-15 17:33:59',
+ ],
+ 'GmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-15 17:33:59',
+ ],
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-uto81vfd8t8z****',
+ ],
+ 'ExternalIp' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '183.201.219.157',
+ ],
+ 'ExternalPort' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '14840/14849',
+ ],
+ 'InternalIp' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10.0.0.239',
+ ],
+ 'InternalPort' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '5555/5555',
+ ],
+ 'IpProtocol' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TCP',
+ ],
+ ],
+ ],
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CB95E410-FD1D-53C5-9F7D-93CC44D7****',
+ ],
+ 'NextToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ 'MaxResults' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"GmtCreated\\": \\"2024-05-15 17:33:59\\",\\n \\"GmtModified\\": \\"2024-05-15 17:33:59\\",\\n \\"InstanceId\\": \\"acp-uto81vfd8t8z****\\",\\n \\"ExternalIp\\": \\"183.201.219.157\\",\\n \\"ExternalPort\\": \\"14840/14849\\",\\n \\"InternalIp\\": \\"10.0.0.239\\",\\n \\"InternalPort\\": \\"5555/5555\\",\\n \\"IpProtocol\\": \\"TCP\\"\\n }\\n ],\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"CB95E410-FD1D-53C5-9F7D-93CC44D7****\\",\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****\\",\\n \\"MaxResults\\": 100\\n}","type":"json"}]',
+ ],
+ 'BatchGetAcpConnectionTicket' => [
+ 'summary' => 'Retrieves connection tickets in batch.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMEHI4H',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-25nt4kk9whjh****',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances. You can specify 1 to 100 IDs of cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-bj9t2gmys****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'EndUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the user to whom the cloud phone instance is assigned.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'user',
+ ],
+ ],
+ [
+ 'name' => 'ConnectionMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'InstanceTasks',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The instance connection tasks.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The instance connection task.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-fkuit0cmyfvzz****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou@c9f5c2e8-f5c4-4b01-8602-000cae94****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '7B9EFA4F-4305-5968-BAEE-BD8B8DE5****',
+ ],
+ 'InstanceConnectionModels' => [
+ 'description' => 'The results of the instance connection tasks.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The result of the instance connection task.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppInstanceGroupId' => [
+ 'description' => 'The ID of the delivery group.'."\n",
+ 'type' => 'string',
+ 'example' => 'aig-1uzb6heg797z3****',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-ajxvwo1u0hqvd****',
+ ],
+ 'TaskStatus' => [
+ 'description' => 'The state of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'FINISHED',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou@c9f5c2e8-f5c4-4b01-8602-000cae94****',
+ ],
+ 'Ticket' => [
+ 'description' => 'The ticket used to connect to the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'piVE58_AdmVSVW7SEW3*AE5*p8mmO5gvItsNOmv4S_f_cNpoU_BOTwChTBoNM1ZJeedfK9zxYnbN5hossqIZCr6t7SGxRigm2Cb4fGaCdBZWIzmgdHq6sXXZQg4KFWufyvpeV*0*Cm58slMT1tJw3****',
+ ],
+ 'ErrorCode' => [
+ 'type' => 'string',
+ ],
+ 'PersistentAppInstanceId' => [
+ 'type' => 'string',
+ ],
+ 'AppInstanceId' => [
+ 'type' => 'string',
+ ],
+ 'Port' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7B9EFA4F-4305-5968-BAEE-BD8B8DE5****\\",\\n \\"InstanceConnectionModels\\": [\\n {\\n \\"AppInstanceGroupId\\": \\"aig-1uzb6heg797z3****\\",\\n \\"InstanceId\\": \\"acp-ajxvwo1u0hqvd****\\",\\n \\"TaskStatus\\": \\"FINISHED\\",\\n \\"TaskId\\": \\"cn-hangzhou@c9f5c2e8-f5c4-4b01-8602-000cae94****\\",\\n \\"Ticket\\": \\"piVE58_AdmVSVW7SEW3*AE5*p8mmO5gvItsNOmv4S_f_cNpoU_BOTwChTBoNM1ZJeedfK9zxYnbN5hossqIZCr6t7SGxRigm2Cb4fGaCdBZWIzmgdHq6sXXZQg4KFWufyvpeV*0*Cm58slMT1tJw3****\\",\\n \\"ErrorCode\\": \\"InvalidResourceId.NotFound\\",\\n \\"PersistentAppInstanceId\\": \\"p-abdywvcksdb****\\",\\n \\"AppInstanceId\\": \\"ai-0caoetkqi8kj****\\",\\n \\"Port\\": 10000\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'BatchGetAcpConnectionTicket',
+ ],
+ 'DisconnectAndroidInstance' => [
+ 'summary' => '实例断开连接',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMEHI4H',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-5hh4a31emkt6u****',
+ 'pattern' => '^[^\';<>=|\\(\\)]+$',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'EndUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E5138F7E-46B5-526A-8C99-82DEAE6B****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5138F7E-46B5-526A-8C99-82DEAE6B****\\"\\n}","type":"json"}]',
+ ],
+ 'RunCommand' => [
+ 'summary' => 'Executes a command on a cloud phone instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneYYGTDB',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances. You can specify a maximum of 50 cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-7b15ex96****',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'CommandContent',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The content of the command.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ls',
+ ],
+ ],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timeout period of the command execution. If the command execution exceeds the timeout period, it will be considered timed out. If you leave this parameter empty, it defaults to 60.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'AgentType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'ContentEncoding',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The encoding method of the command content (`CommandContent`). The value is not case-sensitive.'."\n"
+ ."\n"
+ .'> If you set the value to an invalid encoding method, the system will process the command content as `PlainText`.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Base64: encodes the command content in Base64.'."\n"
+ .'* PlainText (default): does not encode the command content. The command content is input as plain text.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Base64' => '',
+ 'PlainText' => '',
+ ],
+ 'example' => 'PlainText',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Response parameters'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '440D7342-5E7C-B2DB-D0B4EAC2BDF1****',
+ ],
+ 'InvokeId' => [
+ 'description' => 'The ID of the command execution. You can use the command execution ID to query the output of a command.'."\n",
+ 'type' => 'string',
+ 'example' => 't-gov2ujrk32v4****',
+ ],
+ 'RunCommandInfos' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InvokeId' => [
+ 'type' => 'string',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"440D7342-5E7C-B2DB-D0B4EAC2BDF1****\\",\\n \\"InvokeId\\": \\"t-gov2ujrk32v4****\\",\\n \\"RunCommandInfos\\": [\\n {\\n \\"InvokeId\\": \\"\\",\\n \\"InstanceId\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'RunCommand',
+ ],
+ 'DescribeInvocations' => [
+ 'summary' => 'Queries the execution results of commands.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances. You can specify a maximum of 50 cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-bj9t2gmys****',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'InvocationId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the execution. You can retrieve the output of a command once by using either the execution ID or the cloud phone instance ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't-4e98eeb5****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '440D7342-5E7C-B2DB-D0B4EAC2BDF1****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'Data' => [
+ 'description' => 'The objects that are returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InvocationId' => [
+ 'description' => 'The ID of the execution.'."\n",
+ 'type' => 'string',
+ 'example' => 't-15775dc8****',
+ ],
+ 'StartTime' => [
+ 'description' => 'The start time of the command execution.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-08-11 17:45:03',
+ ],
+ 'FinishTime' => [
+ 'description' => 'The end time of the command execution.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-08-11 17:45:03',
+ ],
+ 'Output' => [
+ 'description' => 'The output of the command execution.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the cloud phone instance on which the command is executed.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-uto81vfd8t8z****',
+ ],
+ 'InvocationStatus' => [
+ 'description' => 'The execution state of the command.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* Failed: The execution of the command failed.'."\n"
+ .'* Timeout: The execution of the command timed out.'."\n"
+ .'* Running: The command is being executed.'."\n"
+ .'* Success: The execution of the command is successful.'."\n"
+ .'* Pending: The command is waiting to be executed.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'Failed' => '',
+ 'Timeout' => '',
+ 'Running' => '',
+ 'Success' => '',
+ 'Pending' => '',
+ ],
+ 'example' => 'RUNNING',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"440D7342-5E7C-B2DB-D0B4EAC2BDF1****\\",\\n \\"TotalCount\\": \\"10\\",\\n \\"Data\\": [\\n {\\n \\"InvocationId\\": \\"t-15775dc8****\\",\\n \\"StartTime\\": \\"2022-08-11 17:45:03\\",\\n \\"FinishTime\\": \\"2022-08-11 17:45:03\\",\\n \\"Output\\": \\"success\\",\\n \\"InstanceId\\": \\"acp-uto81vfd8t8z****\\",\\n \\"InvocationStatus\\": \\"Running\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeInvocations',
+ ],
+ 'SendFile' => [
+ 'summary' => 'Pushes files from Object Storage Service (OSS) buckets to cloud phone instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone0959GM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'SourceFilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The path to which you want to upload the pushed file in the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/data',
+ ],
+ ],
+ [
+ 'name' => 'UploadType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The storage type of the file that you want to upload.'."\n"
+ ."\n"
+ .'* Set the value to OSS.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'DOWNLOAD_URL' => '',
+ 'OSS' => 'OSS',
+ ],
+ 'example' => 'OSS',
+ ],
+ ],
+ [
+ 'name' => 'UploadEndpoint',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The endpoint of the OSS bucket in which the file is stored.'."\n"
+ ."\n"
+ .'> Set the value to an internal endpoint when the cloud phone instance and the OSS bucket are in the same region to improve transfer speed without incurring public traffic fees. Sample endpoint: `oss-cn-hangzhou-internal.aliyuncs.com`. For more information, see [OSS regions and endpoints](~~31837~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss-cn-hangzhou.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'UploadUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The OSS URL of the file.'."\n"
+ ."\n"
+ .'> The OSS bucket name must start with "cloudphone-saved-bucket-", for example, "cloudphone-saved-bucket-example". You must also create an OSS directory to store the backup data. Set the value for UploadUrl in this format: oss://\\<BucketName>/\\<OSSDirectoryName>\\<FileName>.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss://cloudphone-saved-bucket-cn-hangzhou-165955035250****/backup/a.txt',
+ ],
+ ],
+ [
+ 'name' => 'TargetFileName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the file uploaded from the Object Storage Service (OSS) to the cloud phone instance.'."\n"
+ ."\n"
+ .'> If UploadType is set to OSS, you must specify TargetFileName. If TargetFileName is empty, the file uploaded from the OSS bucket to the cloud phone instance retains its original name. If TargetFileName is provided with a value, the uploaded file in the SourceFilePath directory uses the specified name (TargetFileName). If UploadType is set to DOWNLOAD_URL, TargetFileName does not take effect.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test.txt',
+ ],
+ ],
+ [
+ 'name' => 'AutoInstall',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The objects that are returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-4ks224ujixw****',
+ ],
+ ],
+ ],
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****'."\n",
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request. If the request fails, share this ID with technical support to help diagnose the issue.'."\n",
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the batch task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-ehs0yoedj0xe9****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AndroidInstanceId\\": \\"acp-34pqe4r0kd9kn****\\",\\n \\"TaskId\\": \\"t-4ks224ujixw****\\"\\n }\\n ],\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"TaskId\\": \\"t-ehs0yoedj0xe9****\\"\\n}","type":"json"}]',
+ 'title' => 'SendFile',
+ 'description' => 'Currently, this operation allows you to only push files or folders from OSS buckets to cloud phone instances.'."\n",
+ ],
+ 'FetchFile' => [
+ 'summary' => 'Pulls a file from a cloud phone instance and stores it in Object Storage Service (OSS).',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone0959GM',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-34pqe4r0kd9kn****'."\n",
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'SourceFilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The path to the file that you want to pull from the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/data/a.txt',
+ ],
+ ],
+ [
+ 'name' => 'UploadType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the storage service.'."\n"
+ ."\n"
+ .'> Currently, only OSS is supported.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'OSS',
+ ],
+ ],
+ [
+ 'name' => 'UploadEndpoint',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The endpoint of the OSS bucket in which you want to store the pulled file.'."\n"
+ ."\n"
+ .'> Set the value to an internal endpoint when the cloud phone instance and the OSS bucket are in the same region to improve upload speed without incurring public traffic fees. Sample endpoint: `oss-cn-hangzhou-internal.aliyuncs.com`. For more information, see [OSS regions and endpoints](~~31837~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss-cn-hangzhou.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'UploadUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The OSS URL of the pulled file.'."\n"
+ ."\n"
+ .'> The OSS bucket name must start with "cloudphone-saved-bucket-", for example, "cloudphone-saved-bucket-example". You must also create an OSS directory to store the backup data. Set the value for UploadUrl in this format: oss://\\<BucketName>/\\<OSSDirectoryName>.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss://cloudphone-saved-bucket-cn-hangzhou-165955035250****/backup/',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The objects that are returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-bp67acfmxazb4p****',
+ ],
+ ],
+ ],
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****'."\n",
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request. If the request fails, share this ID with technical support to help diagnose the issue.'."\n",
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the batch task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-ehs0yoedj0xe9****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AndroidInstanceId\\": \\"acp-34pqe4r0kd9kn****\\",\\n \\"TaskId\\": \\"t-bp67acfmxazb4p****\\"\\n }\\n ],\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"TaskId\\": \\"t-ehs0yoedj0xe9****\\"\\n}","type":"json"}]',
+ 'title' => 'FetchFile',
+ 'description' => 'Currently, this operation allows you to retrieve files or folders from cloud phone instances and save them directly to OSS.'."\n",
+ ],
+ 'CreateScreenshot' => [
+ 'summary' => 'Creates a screenshot of a cloud phone instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneQNMLJ7',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances. You can create multiple snapshots simultaneously.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'acp-ig2bdpk374l12****',
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'OssBucketName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the OSS bucket. The name must start with "cloudphone-saved-bucket-". The OSS bucket and the cloud phone instance must be in the same region. If you leave this parameter empty, the system will create a default OSS bucket named “cloudphone-saved-bucket-{Region of the cloud phone instance}-{AliUid}.”'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cloudphone-saved-bucket-cn-shanghai-default',
+ ],
+ ],
+ [
+ 'name' => 'SkipCheckPolicyConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to bypass the snapshot policy control. Default value: false.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ScreenshotId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'PlainResult'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request. If the request fails, share this ID with technical support to help diagnose the issue.'."\n",
+ 'type' => 'string',
+ 'example' => '3AF82CE1-2801-52CE-BF64-B491DD7C****',
+ ],
+ 'Tasks' => [
+ 'description' => 'The tasks.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The task.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-bwhtebzah2fse****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task. You can use the task ID with the DescribeTasks operation to get the download link for the screenshot.'."\n",
+ 'type' => 'string',
+ 'example' => 't-imr0fufqd7cle****',
+ ],
+ 'ScreenshotId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3AF82CE1-2801-52CE-BF64-B491DD7C****\\",\\n \\"Tasks\\": [\\n {\\n \\"AndroidInstanceId\\": \\"acp-bwhtebzah2fse****\\",\\n \\"TaskId\\": \\"t-imr0fufqd7cle****\\",\\n \\"ScreenshotId\\": \\"image\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'CreateScreenshot',
+ 'description' => 'You can call this operation to create a screenshot of a cloud phone instance and upload it to the default Object Storage Service (OSS) bucket. The operation returns a task ID, which you can use with the DescribeTasks operation to get the download link for the screenshot.'."\n",
+ ],
+ 'GenerateCoordinationCode' => [
+ 'summary' => 'Generates a collaboration code for the cloud phone being accessed by using the current convenience account, and shares this code with other convenience accounts to allow them to access the same cloud phone.',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMEHI4H',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OwnerUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the user to whom the current instance is assigned.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xiaoming',
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-2zecay9ponatdc4m****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '1A923337-44D9-5CAD-9A53-95084BD4****',
+ ],
+ 'CoordinatorCode' => [
+ 'description' => 'The collaboration code.'."\n",
+ 'type' => 'string',
+ 'example' => 'CSHGDK',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1A923337-44D9-5CAD-9A53-95084BD4****\\",\\n \\"CoordinatorCode\\": \\"CSHGDK\\"\\n}","type":"json"}]',
+ 'title' => 'GenerateCoordinationCode',
+ 'description' => 'You can call this operation to generate a collaboration code for a cloud phone accessed by your current account and share this code with other convenience users to allow them to access the same cloud phone over the desktop, mobile, or web client.',
+ ],
+ 'EndCoordination' => [
+ 'summary' => '结束协同',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMEHI4H',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OwnerUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xiaoming',
+ ],
+ ],
+ [
+ 'name' => 'CoordinatorUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'lina',
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-2zecay9ponatdc4m****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '5C5CEF0A-D6E1-58D3-8750-67DB4F82****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5C5CEF0A-D6E1-58D3-8750-67DB4F82****\\"\\n}","type":"json"}]',
+ ],
+ 'CreateCustomImage' => [
+ 'summary' => 'Creates a custom image from a cloud phone instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneCPBVX1',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '镜像id搜素',
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'acp-2zecay9ponatdc4m****',
+ ],
+ ],
+ [
+ 'name' => 'ImageName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '镜像类型',
+ 'description' => 'The name of the custom image.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'custom image name',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '镜像名称搜素',
+ 'description' => 'The description of the custom image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'create for cc5g group auth rules test',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The client token that is used to ensure the idempotence of the request. By default, this parameter is left empty. The token cannot exceed 64 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '20393E53-8FF1-524C-B494-B478A5369733',
+ 'maxLength' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PageListResult<ImageDTO>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '20393E53-8FF1-524C-B494-B478A5369733',
+ ],
+ 'ImageId' => [
+ 'description' => 'The ID of the custom image.'."\n",
+ 'type' => 'string',
+ 'example' => 'imgc-075cllfeuazh0****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"20393E53-8FF1-524C-B494-B478A5369733\\",\\n \\"ImageId\\": \\"imgc-075cllfeuazh0****\\"\\n}","type":"json"}]',
+ 'title' => 'CreateCustomImage',
+ ],
+ 'DescribeImageList' => [
+ 'summary' => 'Queries images.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone3OZQF8',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ImageId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '镜像id搜素',
+ 'description' => 'The ID of the image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'imgc-075cllfeuazh0****',
+ ],
+ ],
+ [
+ 'name' => 'ImageType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '镜像类型',
+ 'description' => 'The type of the image.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* User: custom images.'."\n"
+ .'* System: system images.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'User' => '',
+ 'System' => '',
+ ],
+ 'example' => 'System',
+ ],
+ ],
+ [
+ 'name' => 'ImageName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '镜像名称搜素',
+ 'description' => 'The name of the image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Android 12 image'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The state of the image.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* AVAILABLE: The image is available.'."\n"
+ .'* DELETE: The image is deleted.'."\n"
+ .'* INIT: The image is being initialized.'."\n"
+ .'* CREATE_FAILED: The image failed to be created.'."\n"
+ .'* CREATING: The image is being created.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'AVAILABLE' => '',
+ 'DELETE' => '',
+ 'INIT' => '',
+ 'CREATE_FAILED' => '',
+ 'CREATING' => '',
+ ],
+ 'example' => 'AVAILABLE',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the parameter is left empty, the data is queried from the first entry.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kw9dGL5jves2FS9RLq****',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '20',
+ 'default' => '20',
+ ],
+ ],
+ [
+ 'name' => 'ImagePackageType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Image package type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VM',
+ ],
+ ],
+ [
+ 'name' => 'InstanceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'ImageBizTags',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'SystemType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'NextTokenListResult<ImageDTO>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****',
+ ],
+ 'Data' => [
+ 'description' => 'The images.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The image.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AliUid' => [
+ 'description' => 'The ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '117819727354****',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the image.'."\n",
+ 'type' => 'string',
+ 'example' => 'description',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'The time when the image was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-02-01 10:56:36'."\n",
+ ],
+ 'GmtModified' => [
+ 'description' => 'The time when the image was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-02-01 10:56:36'."\n",
+ ],
+ 'ImageId' => [
+ 'description' => 'The ID of the image.'."\n",
+ 'type' => 'string',
+ 'example' => 'imgc-075cllfeuazh****',
+ ],
+ 'ImageType' => [
+ 'description' => 'The type of the image.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* User: custom images.'."\n"
+ .'* System: system images.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'User' => '',
+ 'System' => '',
+ ],
+ 'example' => 'System',
+ ],
+ 'Language' => [
+ 'description' => 'The language of the image.'."\n",
+ 'type' => 'string',
+ 'example' => 'zh',
+ ],
+ 'ImageName' => [
+ 'description' => 'The name of the image.'."\n",
+ 'type' => 'string',
+ 'example' => 'IMAGE',
+ ],
+ 'ImageRegionList' => [
+ 'description' => 'The list of regions.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ 'Status' => [
+ 'description' => 'The state of the image.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* AVAILABLE: The image is available.'."\n"
+ .'* DELETE: The image is deleted.'."\n"
+ .'* INIT: The image is being initialized.'."\n"
+ .'* CREATE_FAILED: The image failed to be created.'."\n"
+ .'* CREATING: The image is being created.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'AVAILABLE' => '',
+ 'DELETE' => '',
+ 'INIT' => '',
+ 'CREATE_FAILED' => '',
+ 'CREATING' => '',
+ ],
+ 'example' => 'AVAILABLE',
+ ],
+ 'SystemType' => [
+ 'title' => '操作系统类型,android 9, android 12',
+ 'description' => 'The OS type of the image.'."\n",
+ 'type' => 'string',
+ 'example' => 'Android 12',
+ ],
+ 'ImageRegionDistributeMap' => [
+ 'title' => '镜像分发地域Map',
+ 'description' => 'The region where the image is distributed. The key is the region and the value is the distribution information.'."\n",
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DistributeStatus' => [
+ 'title' => '分发状态',
+ 'description' => 'The status of the image distribution task.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* AVAILABLE: The task is ready.'."\n"
+ .'* DELETE: The task is deleted.'."\n"
+ .'* INIT: The task is being initialized.'."\n"
+ .'* CREATE_FAILED: The task failed to be created.'."\n"
+ .'* CREATING: The task is being created.'."\n",
+ 'type' => 'string',
+ 'example' => 'AVAILABLE',
+ 'enumValueTitles' => [
+ 'AVAILABLE' => '',
+ 'DELETE' => '',
+ 'INIT' => '',
+ 'CREATE_FAILED' => '',
+ 'CREATING' => '',
+ ],
+ ],
+ 'Progress' => [
+ 'title' => '进度',
+ 'description' => 'The distribution progress of the image.'."\n",
+ 'type' => 'string',
+ 'example' => '100%',
+ ],
+ ],
+ 'description' => 'The information about the image distribution task.'."\n",
+ ],
+ ],
+ 'ReleaseTime' => [
+ 'description' => 'The time when the image was published.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-07-25 10:06:45',
+ ],
+ 'RenderingType' => [
+ 'description' => 'The rendering type.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* GPURemote'."\n"
+ .'* CPU'."\n"
+ .'* GPULocal'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'GPURemote' => 'GPURemote',
+ 'CPU' => 'CPU',
+ 'GPULocal' => 'GPULocal',
+ ],
+ 'example' => 'CPU',
+ 'enum' => [
+ 'CPU',
+ 'GPULocal',
+ 'GPURemote',
+ ],
+ ],
+ 'ImageVersion' => [
+ 'type' => 'string',
+ ],
+ 'ImageBizTags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '30',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '620740FF-492F-5956-B1BA-361E966C0269',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****\\",\\n \\"Data\\": [\\n {\\n \\"AliUid\\": 0,\\n \\"Description\\": \\"description\\",\\n \\"GmtCreate\\": \\"2024-02-01 10:56:36\\\\n\\",\\n \\"GmtModified\\": \\"2024-02-01 10:56:36\\\\n\\",\\n \\"ImageId\\": \\"imgc-075cllfeuazh****\\",\\n \\"ImageType\\": \\"System\\",\\n \\"Language\\": \\"zh\\",\\n \\"ImageName\\": \\"IMAGE\\",\\n \\"ImageRegionList\\": [\\n \\"cn-hangzhou\\"\\n ],\\n \\"Status\\": \\"AVAILABLE\\",\\n \\"SystemType\\": \\"Android 12\\",\\n \\"ImageRegionDistributeMap\\": {\\n \\"key\\": {\\n \\"DistributeStatus\\": \\"AVAILABLE\\",\\n \\"Progress\\": \\"100%\\"\\n }\\n },\\n \\"ReleaseTime\\": \\"2024-07-25 10:06:45\\",\\n \\"RenderingType\\": \\"CPU\\",\\n \\"ImageVersion\\": \\"20241204102337\\",\\n \\"ImageBizTags\\": [\\n {\\n \\"Key\\": \\"key1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ]\\n }\\n ],\\n \\"TotalCount\\": 30,\\n \\"RequestId\\": \\"620740FF-492F-5956-B1BA-361E966C0269\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeImageList',
+ ],
+ 'UpdateCustomImageName' => [
+ 'summary' => 'Updates the name of a custom image.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneCPBVX1',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ImageId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'imgc-075cllfeuazh0****',
+ ],
+ ],
+ [
+ 'name' => 'ImageName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'imagename',
+ 'maxLength' => 30,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '552B7EED-D434-511F-B838-29EA4E906034',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"552B7EED-D434-511F-B838-29EA4E906034\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateCustomImageName',
+ ],
+ 'DistributeImage' => [
+ 'summary' => 'Distributes an image.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone3OZQF8',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DistributeRegionList',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The regions to which you want to distribute an image.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The region to which you want to distribute an image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'ImageId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the image that you want to distribute.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'imgc-075cllfeuazh0****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '440D7342-5FC2-5E7C-B2DB-D0B4EAC2BDF1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"440D7342-5FC2-5E7C-B2DB-D0B4EAC2BDF1\\"\\n}","type":"json"}]',
+ 'title' => 'DistributeImage',
+ 'description' => 'After you distribute an image in supported regions, the distribution cannot be canceled.'."\n",
+ ],
+ 'DeleteImages' => [
+ 'summary' => 'Deletes a custom image.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneXWUML7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ImageIds',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The IDs of the images.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'imgc-kjsdfkjsk****',
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<DeleteImagesResp>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The images.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SuccessDeleteImageIds' => [
+ 'title' => '成功删除的镜像id',
+ 'description' => 'The IDs of the images that are successfully deleted.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the image that is successfully deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'imgc-jkafjsjk****',
+ ],
+ ],
+ 'FailDeleteImageIds' => [
+ 'title' => '失败删除的镜像id',
+ 'description' => 'The IDs of the images that failed to be deleted.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the image that failed to be deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'imgc-sjkdfs8****',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4610632D-D661-5982-B3D7-5D3FD183F595',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"SuccessDeleteImageIds\\": [\\n \\"imgc-jkafjsjk****\\"\\n ],\\n \\"FailDeleteImageIds\\": [\\n \\"imgc-sjkdfs8****\\"\\n ]\\n },\\n \\"RequestId\\": \\"4610632D-D661-5982-B3D7-5D3FD183F595\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteImages',
+ 'description' => 'You cannot delete an image that is currently in use by an instance group.'."\n",
+ ],
+ 'CreateApp' => [
+ 'summary' => 'Creates an Android application.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneRPX4AN',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App名称',
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Application Name 1'."\n",
+ ],
+ ],
+ [
+ 'name' => 'FileName',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App文件名称',
+ 'description' => 'The name used by the app file in Object Storage Service (OSS). This parameter, combined with `FilePath`, uniquely identifies the OSS path of the app file.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* If you want to pass in an app from the Alibaba Cloud Workspace Application Center, configure the `FileName` and `FilePath` parameters. Alternatively, configure the `OssAppUrl` parameter. The FileName and FilePath parameters takes precedence over the OssAppUrl parameter.'."\n"
+ ."\n"
+ .'* Log on to the [Elastic Desktop Service (EDS) Enterprise](https://eds.console.aliyun.com/osshelp) console, upload the app file to the Application Center according to the on-screen instructions, and then retrieve the parameter value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testApp.apk',
+ ],
+ ],
+ [
+ 'name' => 'FilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App文件地址',
+ 'description' => 'The OSS bucket path to the app file. This parameter, combined with `FileName`, uniquely identifies the OSS path of the app file.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* If you want to pass in an app from the Alibaba Cloud Workspace Application Center, configure the `FileName` and `FilePath` parameters. Alternatively, configure the `OssAppUrl` parameter. The FileName and FilePath parameters takes precedence over the OssAppUrl parameter.'."\n"
+ ."\n"
+ .'* Log on to the [EDS Enterprise](https://eds.console.aliyun.com/osshelp) console, upload the app file to the Application Center according to the on-screen instructions, and then retrieve the parameter value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'tenant/1642150****/',
+ ],
+ ],
+ [
+ 'name' => 'IconUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App icon地址',
+ 'description' => 'The icon URL of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://www.example.com/icon.png',
+ ],
+ ],
+ [
+ 'name' => 'OssAppUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App oss地址',
+ 'description' => 'The OSS bucket endpoint of the app file.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* If you want to pass in an app from the Alibaba Cloud Workspace Application Center, configure the `FileName` and `FilePath` parameters. Alternatively, configure the `OssAppUrl` parameter. The FileName and FilePath parameters takes precedence over the OssAppUrl parameter.'."\n"
+ ."\n"
+ .'* Log on to the [EDS Enterprise](https://eds.console.aliyun.com/osshelp) console, upload the app file to the Application Center according to the on-screen instructions, and then retrieve the parameter value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://testApp.apk',
+ ],
+ ],
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'InstallParam',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The parameters used for installing the application. By default, the `-r` parameter is included when you install an application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-d',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'CustomAppInfo',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The information about the custom app.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* If you want to pass in a custom app, configure the `CustomAppInfo` parameter. Take note that the six fields within it are mandatory.'."\n"
+ ."\n"
+ .'* A custom app has a higher priority than an app from the Alibaba Cloud Workspace Application Center. If you configure the `CustomAppInfo` parameter, the `FileName` and `FilePath` pair or the `OssAppUrl` will not take effect.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DownloadUrl' => [
+ 'description' => 'The download URL of the app.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://testApp.apk',
+ 'maxLength' => 1024,
+ ],
+ 'Version' => [
+ 'description' => 'The version of the app.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1.0.0',
+ 'maxLength' => 64,
+ ],
+ 'VersionCode' => [
+ 'description' => 'The code of the app version.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10000',
+ 'maxLength' => 64,
+ ],
+ 'PackageName' => [
+ 'description' => 'The name of the app package.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.example.demo',
+ 'maxLength' => 128,
+ ],
+ 'ApkSize' => [
+ 'description' => 'The size of the .apk file. Unit: MB.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10',
+ 'maxLength' => 128,
+ ],
+ 'Md5' => [
+ 'description' => 'The MD5 value of the .apk file.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'df3f46ce5844ddb278f14c5a9cd2****',
+ 'maxLength' => 128,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SignApk',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1234',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'E5138F7E-46B5-526A-8C99-82DEAE6B****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AppId\\": 1234,\\n \\"RequestId\\": \\"E5138F7E-46B5-526A-8C99-82DEAE6B****\\"\\n}","type":"json"}]',
+ 'title' => 'CreateApp',
+ 'description' => 'When creating an app, you can provide app information to the system in one of the following ways:'."\n"
+ ."\n"
+ .'* Way 1: Apps from the Application Center'."\n"
+ ."\n"
+ .' * You can use one of the following methods:'."\n"
+ ."\n"
+ .' * Method 1: Pass in the `FileName` and `FilePath` parameters at the same time.'."\n"
+ .' * Method 2: Pass in the `OssAppUrl` parameter'."\n"
+ ."\n"
+ .' * Rule: If your app is from the Alibaba Cloud Workspace Application Center, you must use either Method 1 or Method 2. If both are used, Method 1 takes priority.'."\n"
+ ."\n"
+ .' * Condition: Before you proceed, log on to the [Elastic Desktop Service (EDS) Enterprise console](https://eds.console.aliyun.com/osshelp) and follow the on-screen instructions to upload the app file to the Application Center to obtain the values of the `FileName`, `FilePath`, and `OssAppUrl` parameters.'."\n"
+ ."\n"
+ .'* Way 2: Custom apps'."\n"
+ ."\n"
+ .' * Pass in the `CustomAppInfo` parameter.'."\n"
+ .' * Rule: If you pass in the `CustomAppInfo` parameter, all six fields within it are required.'."\n"
+ ."\n"
+ .'> If Way 1 and Way 2 are adopted simultaneously, the information from Way 2 takes priority.'."\n",
+ ],
+ 'DescribeApps' => [
+ 'summary' => 'Queries applications.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone4KHDE1',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the applications.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1234',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaultAppName',
+ ],
+ ],
+ [
+ 'name' => 'BizRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'description' => 'Region id.',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The status of the application.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* FAILED: The application failed to be created.'."\n"
+ .'* NORMAL: The application is available.'."\n"
+ .'* CREATING: The application is being created.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'FAILED' => '',
+ 'NORMAL' => '',
+ 'CREATING' => '',
+ ],
+ 'example' => 'NORMAL',
+ ],
+ ],
+ [
+ 'name' => 'InstallationStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The installation/uninstallation status of the application.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* INSTALLFAILED: The application failed to be installed.'."\n"
+ .'* UNINSTALLING: The application is being uninstalled.'."\n"
+ .'* INSTALLING: The application is being installed.'."\n"
+ .'* UNINSTALLED: The application is uninstalled.'."\n"
+ .'* INSTALLED: The application is installed.'."\n"
+ .'* UNINSTALLFAILED: The application failed to be uninstalled.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'INSTALLFAILED' => '',
+ 'UNINSTALLING' => '',
+ 'INSTALLING' => '',
+ 'UNINSTALLED' => '',
+ 'INSTALLED' => '',
+ 'UNINSTALLFAILED' => '',
+ ],
+ 'example' => 'INSTALLING',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page. Valid values: 1 to 100. Default value: 10.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the parameter is left empty, the data is queried from the first entry.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ ],
+ [
+ 'name' => 'MD5',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'description' => 'The value of MD5.',
+ 'example' => 'THCIEH73KEK3334',
+ ],
+ ],
+ [
+ 'name' => 'AppType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'CB95E410-FD1D-53C5-9F7D-93CC44D7****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****',
+ ],
+ 'Data' => [
+ 'description' => 'The objects that are returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'testapp',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10404',
+ ],
+ 'AndroidAppVersion' => [
+ 'description' => 'The version of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '1.0.0',
+ ],
+ 'IconUrl' => [
+ 'description' => 'The icon URL of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://test.png',
+ ],
+ 'InstanceGroupList' => [
+ 'description' => 'The list of instance groups where the application is installed.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group where the application is installed.'."\n",
+ 'type' => 'string',
+ 'example' => 'ag-fasf****',
+ ],
+ ],
+ 'GmtCreate' => [
+ 'description' => 'The time when the application was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-08-11 17:45:03',
+ ],
+ 'GmtModified' => [
+ 'description' => 'The time when the application was last modified.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-08-11 17:45:03',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'default description.',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the application.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* FAILED: The application failed to be created.'."\n"
+ .'* NORMAL: The application is available.'."\n"
+ .'* CREATING: The application is being created.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'FAILED' => '',
+ 'NORMAL' => '',
+ 'CREATING' => '',
+ ],
+ 'example' => 'NORMAL',
+ ],
+ 'InstallationStatus' => [
+ 'description' => 'The installation/uninstallation status of the application.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* INSTALLFAILED: The application failed to be installed.'."\n"
+ .'* UNINSTALLING: The application is being uninstalled.'."\n"
+ .'* INSTALLING: The application is being installed.'."\n"
+ .'* UNINSTALLED: The application is uninstalled.'."\n"
+ .'* INSTALLED: The application is installed.'."\n"
+ .'* UNINSTALLFAILED: The application failed to be uninstalled.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'INSTALLFAILED' => '',
+ 'UNINSTALLING' => '',
+ 'INSTALLING' => '',
+ 'UNINSTALLED' => '',
+ 'INSTALLED' => '',
+ 'UNINSTALLFAILED' => '',
+ ],
+ 'example' => 'INSTALLING',
+ ],
+ 'BizRegionId' => [
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ 'description' => 'Region id.',
+ ],
+ 'PackageName' => [
+ 'type' => 'string',
+ 'description' => 'The name of the application package.'."\n",
+ 'example' => 'cn.rdstar.rdstarandroid',
+ ],
+ 'ApkSize' => [
+ 'type' => 'string',
+ 'description' => 'Apk size.',
+ 'example' => '10244893',
+ ],
+ 'MD5' => [
+ 'type' => 'string',
+ 'description' => 'The value of MD5.',
+ 'example' => 'THCIEH73KEK3334',
+ ],
+ 'AppType' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB95E410-FD1D-53C5-9F7D-93CC44D7****\\",\\n \\"TotalCount\\": \\"10\\",\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****\\",\\n \\"Data\\": [\\n {\\n \\"AppName\\": \\"testapp\\",\\n \\"AppId\\": 10404,\\n \\"AndroidAppVersion\\": \\"1.0.0\\",\\n \\"IconUrl\\": \\"https://test.png\\",\\n \\"InstanceGroupList\\": [\\n \\"ag-fasf****\\"\\n ],\\n \\"GmtCreate\\": \\"2022-08-11 17:45:03\\",\\n \\"GmtModified\\": \\"2022-08-11 17:45:03\\",\\n \\"Description\\": \\"CustomApp\\",\\n \\"Status\\": \\"NORMAL\\",\\n \\"InstallationStatus\\": \\"INSTALLING\\",\\n \\"BizRegionId\\": \\"cn-hangzhou\\",\\n \\"PackageName\\": \\"com.example.chinalife\\",\\n \\"ApkSize\\": \\"2.7\\",\\n \\"MD5\\": \\"009ee07fe13a29fa0c180ed0b6bc****\\",\\n \\"AppType\\": \\"Normal\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'DescribeApps',
+ ],
+ 'ModifyApp' => [
+ 'summary' => 'Modify attributes of an application.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1234',
+ ],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaultAppName',
+ ],
+ ],
+ [
+ 'name' => 'IconUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URL of the icon.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://defaultIcon.png',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default description.',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '83418504-5A82-5896-A24C-B2D468F0****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"83418504-5A82-5896-A24C-B2D468F0****\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyApp',
+ ],
+ 'DeleteApps' => [
+ 'summary' => 'Deletes an application. Before you delete an application, make sure that the application is not installed on any instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the applications.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1234',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '310A783E-CC46-5452-A8A3-71AE5DB5****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"310A783E-CC46-5452-A8A3-71AE5DB5****\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteApps',
+ ],
+ 'InstallApp' => [
+ 'summary' => 'Installs an app on multiple cloud phone instances at the same time.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneL912BU',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the apps that you want to install.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the app that you want to install.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12345',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'InstanceGroupIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-ayyhomlal7mvm****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 0,
+ ],
+ ],
+ [
+ 'name' => 'InstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-dvbhknfasf123****',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ 'minItems' => 0,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'E5138F7E-46B5-526A-8C99-82DEAE6B****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-14xwibw7yp73q****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5138F7E-46B5-526A-8C99-82DEAE6B****\\",\\n \\"TaskId\\": \\"t-14xwibw7yp73q****\\"\\n}","type":"json"}]',
+ 'title' => 'InstallApp',
+ 'description' => 'This operation runs asynchronously. To check the operation result, visit the Task Center. To retrieve task details, call the [DescribeTasks](~~DescribeTasks~~) operation.'."\n",
+ ],
+ 'UninstallApp' => [
+ 'summary' => 'Uninstalls an app from multiple cloud phone instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphonePZ72CH',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the apps.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the app.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12345',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'InstanceGroupIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The ID of the instance groups. If you specify this parameter, you cannot specify InstanceIdList.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-ferag1vraw****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'minItems' => 0,
+ ],
+ ],
+ [
+ 'name' => 'InstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances. If you specify this parameter, you cannot specify InstanceGroupIdList.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-3eourrxapshn2****',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ 'minItems' => 0,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'E5138F7E-46B5-526A-8C99-82DEAE6B****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-1ljew7on6ay0j****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5138F7E-46B5-526A-8C99-82DEAE6B****\\",\\n \\"TaskId\\": \\"t-1ljew7on6ay0j****\\"\\n}","type":"json"}]',
+ 'title' => 'UninstallApp',
+ 'description' => 'This operation runs asynchronously. To check the operation result, you can visit the Task Center. To retrieve task details, call the [DescribeTasks](~~DescribeTasks~~) operation.'."\n",
+ ],
+ 'OperateApp' => [
+ 'summary' => 'Operates apps in a cloud phone, such as opening, closing, and reopening apps.',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneL912BU',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-dvbhknfasf123****',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ ],
+ ],
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the app.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1234',
+ ],
+ ],
+ [
+ 'name' => 'OperateType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the operation.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* stop: closes the app.'."\n"
+ .'* restart: reopens the app.'."\n"
+ .'* start: open the app.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'stop' => '',
+ 'restart' => '',
+ 'start' => '',
+ ],
+ 'example' => 'start',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-imr0fufqgac2z****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"TaskId\\": \\"t-imr0fufqgac2z****\\"\\n}","type":"json"}]',
+ 'title' => 'OperateApp',
+ 'description' => 'This operation runs asynchronously. To check the operation result, visit the Task Center. To retrieve task details, call the [DescribeTasks](~~DescribeTasks~~) operation.'."\n",
+ ],
+ 'CreateKeyPair' => [
+ 'summary' => 'Creates an Android Debug Bridge (ADB) key pair. The system retains the public key and provides a PEM-encoded private key in PKCS#8 format, adhering to the ADB connection specification. You must securely store the private key.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneDADB6I',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'KeyPairName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the key pair. 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 but cannot start with http:// or https://.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'testKeyPairName',
+ 'maxLength' => 128,
+ 'minLength' => 2,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<KeyPairModel>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The objects that are returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'KeyPairId' => [
+ 'description' => 'The ID of the key pair.'."\n",
+ 'type' => 'string',
+ 'example' => 'kp-6v2q33ae4tw3*****',
+ ],
+ 'KeyPairName' => [
+ 'description' => 'The name of the key pair.'."\n",
+ 'type' => 'string',
+ 'example' => 'testKeyPairName',
+ ],
+ 'PrivateKeyBody' => [
+ 'description' => 'The private key of the key pair. The PEM-encoded private key that is in PKCS#8 format and adheres to the ADB connection specification.'."\n",
+ 'type' => 'string',
+ 'example' => 'MIIEpAIBAAKCAQEAtReyMzLIcBH78EV2zj****',
+ ],
+ 'GmtCreated' => [
+ 'title' => '创建时间',
+ 'description' => 'The time when the key pair was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-06-30 08:45:09.0',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '69BCBBE4-FCF2-59B8-AD9D-531EB422****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"KeyPairId\\": \\"kp-6v2q33ae4tw3*****\\",\\n \\"KeyPairName\\": \\"testKeyPairName\\",\\n \\"PrivateKeyBody\\": \\"MIIEpAIBAAKCAQEAtReyMzLIcBH78EV2zj****\\",\\n \\"GmtCreated\\": \\"2024-06-30 08:45:09.0\\"\\n },\\n \\"RequestId\\": \\"69BCBBE4-FCF2-59B8-AD9D-531EB422****\\"\\n}","type":"json"}]',
+ 'title' => 'CreateKeyPair',
+ 'description' => 'In addition to using the CreateKeyPair operation to generate a key pair, you can also create one by using the ADB tool and upload it to the Cloud Phone console. The usage of this key pair is identical to that of a system-generated key pair.'."\n"
+ ."\n"
+ .'Each tenant can create up to 500 key pairs.'."\n",
+ ],
+ 'ImportKeyPair' => [
+ 'summary' => 'Imports the public key of an Android Debug Bridge (ADB) key pair.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneDADB6I',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'KeyPairName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TestKeyPairName',
+ 'maxLength' => 128,
+ 'minLength' => 1,
+ ],
+ ],
+ [
+ 'name' => 'PublicKeyBody',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The public key of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ABC1234567*****',
+ 'maxLength' => 1024,
+ 'minLength' => 1,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<KeyPairModel>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'KeyPairId' => [
+ 'description' => 'The ID of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'example' => 'kp-6v2q33ae4tw3*****',
+ ],
+ 'KeyPairName' => [
+ 'description' => 'The name of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'example' => 'TestKeyPairName',
+ ],
+ 'GmtCreated' => [
+ 'title' => '创建时间',
+ 'description' => 'The time when the ADB key pair was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2023-03-05T10:29:22Z',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '69BCBBE4-FCF2-59B8-AD9D-531EB422****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"KeyPairId\\": \\"kp-6v2q33ae4tw3*****\\",\\n \\"KeyPairName\\": \\"TestKeyPairName\\",\\n \\"GmtCreated\\": \\"2023-03-05T10:29:22Z\\"\\n },\\n \\"RequestId\\": \\"69BCBBE4-FCF2-59B8-AD9D-531EB422****\\"\\n}","type":"json"}]',
+ 'title' => 'ImportKeyPair',
+ 'description' => 'To avoid authorization errors that could cause ADB connection failures, you must import the public key of an ADB key pair.'."\n",
+ ],
+ 'DescribeKeyPairs' => [
+ 'summary' => 'Queries one or more key pairs.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneDADB6I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'KeyPairIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the ADB key pairs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'kp-6v2q33ae4tw3*****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'KeyPairName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testKeyPairName',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page. Valid values: 1 to 100. Default value: 10.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '0',
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the parameter is left empty, the data is queried from the first entry.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAYRHtOLVQzCYj17y+OP7LZQBUVVbi0GTu8g5****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<NextTokenListResult<KeyPairModel>>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'example' => 'FFbc8N4E1iOlcSxC+8boa0HHH2LKWbggYUinyrZWvtS1oTrMYCg1HuMLGuftj0****',
+ ],
+ 'Data' => [
+ 'description' => 'The objects that are returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'KeyPairId' => [
+ 'description' => 'The ID of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'example' => 'kp-6v2q33ae4tw3a****',
+ ],
+ 'KeyPairName' => [
+ 'description' => 'The name of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'example' => 'testKeyPairName',
+ ],
+ 'GmtCreated' => [
+ 'title' => '创建时间',
+ 'description' => 'The time when the ADB key pair was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-10-11T08:53:32Z',
+ ],
+ ],
+ ],
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '565FB06A-AE04-5AD0-8A32-5BA92CA5****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"FFbc8N4E1iOlcSxC+8boa0HHH2LKWbggYUinyrZWvtS1oTrMYCg1HuMLGuftj0****\\",\\n \\"Data\\": [\\n {\\n \\"KeyPairId\\": \\"kp-6v2q33ae4tw3a****\\",\\n \\"KeyPairName\\": \\"testKeyPairName\\",\\n \\"GmtCreated\\": \\"2022-10-11T08:53:32Z\\"\\n }\\n ],\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"565FB06A-AE04-5AD0-8A32-5BA92CA5****\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeKeyPairs',
+ ],
+ 'ModifyKeyPairName' => [
+ 'summary' => 'Modifies Android Debug Bridge (ADB) key pairs.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneDADB6I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'KeyPairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'kp-6v2q33ae4tw3a****',
+ ],
+ ],
+ [
+ 'name' => 'NewKeyPairName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'newKeyPairName',
+ 'minLength' => 2,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'BaseResult',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '69BCBBE4-FCF2-59B8-AD9D-531EB422****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"69BCBBE4-FCF2-59B8-AD9D-531EB422****\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyKeyPairName',
+ ],
+ 'DeleteKeyPairs' => [
+ 'summary' => 'Deletes Android Debug Bridge (ADB) key pairs.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'KeyPairIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the ADB key pairs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'kp-6v2q33ae4tw3a****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'BaseResult',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '5C5CEF0A-D6E1-58D3-8750-67DB4F82****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5C5CEF0A-D6E1-58D3-8750-67DB4F82****\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteKeyPairs',
+ 'description' => '* If a cloud phone instance is currently associated with the ADB key pair you intend to delete, the ADB key pair cannot be deleted.'."\n"
+ .'* Once an ADB key pair is deleted, it cannot be retrieved or queried by using the DescribeKeyPairs operation.'."\n",
+ ],
+ 'AttachKeyPair' => [
+ 'summary' => 'Attaches an Android Debug Bridge (ADB) key pair to one or more cloud phone instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone377ZZK',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'KeyPairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'kp-6v2q33ae4tw3a****',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances. You can specify a maximum of 50 cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-5hh4a31emkt6u****',
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<AttachKeyPairResult>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'KeyPairId' => [
+ 'description' => 'The ID of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'example' => 'kp-6v2q33ae4tw3a****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of the cloud phone instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'FailCount' => [
+ 'description' => 'The number of the cloud phone instances to which the ADB key pair failed to be attached.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'AttachedInstanceIds' => [
+ 'description' => 'The IDs of the cloud phone instances to which the ADB key pair is successfully attached.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-5hh431emkt6ua****',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '69BCBBE4-FCF2-59B8-AD9D-531EB422****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"KeyPairId\\": \\"kp-6v2q33ae4tw3a****\\",\\n \\"TotalCount\\": 100,\\n \\"FailCount\\": 0,\\n \\"AttachedInstanceIds\\": [\\n \\"acp-5hh431emkt6ua****\\"\\n ]\\n },\\n \\"RequestId\\": \\"69BCBBE4-FCF2-59B8-AD9D-531EB422****\\"\\n}","type":"json"}]',
+ 'title' => 'AttachKeyPair',
+ 'description' => '* You can attach to an ADB key pair only to cloud phone instances in the Running state.'."\n"
+ .'* After you attach an ADB key pair, make sure the private key of the ADB key pair is copied to the ~/.android directory (macOS or Linux operating systems) or the C:\\Users\\Username.android directory (Windows operating systems). In addition, you must run the adb kill-server command to restart the ADB process to ensure correct ADB connection. Otherwise, ADB connection may fail due to authentication exceptions.',
+ ],
+ 'DetachKeyPair' => [
+ 'summary' => 'Detaches an Android Debug Bridge (ADB) key pair from one or more cloud phone instances.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone0AEVFG',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'KeyPairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'kp-6v2q33ae4tw3a****',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances. You can specify a maximum of 50 cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-5hh431emkt6ua****',
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'KeyPairId' => [
+ 'description' => 'The ID of the ADB key pair.'."\n",
+ 'type' => 'string',
+ 'example' => 'kp-6v2q33ae4tw3a****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of the cloud phone instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'FailCount' => [
+ 'description' => 'The number of the cloud phone instances from which the ADB key pair failed to be detached.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'DetachedInstanceIds' => [
+ 'description' => 'The IDs of the cloud phone instances from which the ADB key pair is successfully detached.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-5hh431emkt6ua****',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '69BCBBE4-FCF2-59B8-AD9D-531EB422****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"KeyPairId\\": \\"kp-6v2q33ae4tw3a****\\",\\n \\"TotalCount\\": 10,\\n \\"FailCount\\": 0,\\n \\"DetachedInstanceIds\\": [\\n \\"acp-5hh431emkt6ua****\\"\\n ]\\n },\\n \\"RequestId\\": \\"69BCBBE4-FCF2-59B8-AD9D-531EB422****\\"\\n}","type":"json"}]',
+ 'title' => 'DetachKeyPair',
+ 'description' => '* After you detach an ADB key pair from a cloud phone instance, the ADB connection will fail. This occurs because the system can no longer authenticate using a valid ADB public key, leading to authentication errors.'."\n",
+ ],
+ 'BackupAndroidInstance' => [
+ 'summary' => '整机备份',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneE62QJ7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'aic-ig2bdpk374l12****',
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App文件名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'this is a backup android instance',
+ ],
+ ],
+ [
+ 'name' => 'UploadEndpoint',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss-cn-hangzhou-internal.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'BackupFilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss://cloudphone-saved-bucket-cn-hangzhou-****/backupDir/acp-ig2bdpk374l12****_2024052014****.ab',
+ ],
+ ],
+ [
+ 'name' => 'BackupFileName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'PlainResult<Integer>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BackupFileId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'bf-b0qbg3pbpjkn7****',
+ ],
+ 'BackupFileName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'a-58ftsoo90p0qa****.ab',
+ ],
+ 'AndroidInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-bp67acfmxazb4p****',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '440D7342-5FC2-5E7C-B2DB-D0B4EAC2BDF1',
+ ],
+ 'Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-14xwibw7pyrjd****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"BackupFileId\\": \\"bf-b0qbg3pbpjkn7****\\",\\n \\"BackupFileName\\": \\"a-58ftsoo90p0qa****.ab\\",\\n \\"AndroidInstanceId\\": \\"acp-34pqe4r0kd9kn****\\",\\n \\"TaskId\\": \\"t-bp67acfmxazb4p****\\"\\n }\\n ],\\n \\"RequestId\\": \\"440D7342-5FC2-5E7C-B2DB-D0B4EAC2BDF1\\",\\n \\"Count\\": 1,\\n \\"TaskId\\": \\"t-14xwibw7pyrjd****\\"\\n}","type":"json"}]',
+ ],
+ 'BackupApp' => [
+ 'summary' => '应用备份',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneE62QJ7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-34pqe4r0kd9kn****'."\n",
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App文件名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'this is a backup app',
+ ],
+ ],
+ [
+ 'name' => 'UploadEndpoint',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss-cn-shanghai-internal.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'BackupFilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss://cloudphone-saved-bucket-****/backupDir/',
+ ],
+ ],
+ [
+ 'name' => 'BackupFileName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MyBackup',
+ ],
+ ],
+ [
+ 'name' => 'SourceAppList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.example.xhs',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'PlainResult<Integer>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BackupFileId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'bf-b0qbg3pbpjkn7****',
+ ],
+ 'BackupFileName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MyBackup',
+ ],
+ 'AndroidInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-4ks224ujixw****',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-14xwibw7pyrjd****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"BackupFileId\\": \\"bf-b0qbg3pbpjkn7****\\",\\n \\"BackupFileName\\": \\"MyBackup\\",\\n \\"AndroidInstanceId\\": \\"acp-34pqe4r0kd9kn****\\",\\n \\"TaskId\\": \\"t-4ks224ujixw****\\"\\n }\\n ],\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"Count\\": 1,\\n \\"TaskId\\": \\"t-14xwibw7pyrjd****\\"\\n}","type":"json"}]',
+ ],
+ 'RecoverAndroidInstance' => [
+ 'summary' => '整机恢复',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneWDBBSN',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BackupFileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App oss地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'bf-azhps4rdyi2th****',
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-ig2bdpk374l12****',
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'UploadEndpoint',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss-cn-hangzhou-internal.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'UploadType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'OSS',
+ ],
+ ],
+ [
+ 'name' => 'BackupFilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss://cloudphone-saved-bucket-cn-hangzhou-****/backupDir/acp-ig2bdpk374l12****_2024052014****.ab',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'PlainResult<Integer>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-bp67acfmxazb4p****',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-1ljew7on6ay0j****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AndroidInstanceId\\": \\"acp-34pqe4r0kd9kn****\\",\\n \\"TaskId\\": \\"t-bp67acfmxazb4p****\\"\\n }\\n ],\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"Count\\": 1,\\n \\"TaskId\\": \\"t-1ljew7on6ay0j****\\"\\n}","type":"json"}]',
+ ],
+ 'RecoverApp' => [
+ 'summary' => '恢复应用',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneWDBBSN',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BackupFileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App oss地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'bf-azhps4rdyi2th****',
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'UploadEndpoint',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss-cn-shanghai-internal.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'UploadType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'OSS',
+ ],
+ ],
+ [
+ 'name' => 'BackupFilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss://cloudphone-saved-bucket-cn-hangzhou-****/backupDir/acp-ig2bdpk374l12****_2024052014****.ab',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'PlainResult<Integer>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-22ex666a653gq****',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6C8439B9-7DBF-57F4-92AE-55A9B9D3****',
+ ],
+ 'Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-1ljew7on6ay0j****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AndroidInstanceId\\": \\"acp-34pqe4r0kd9kn****\\",\\n \\"TaskId\\": \\"t-22ex666a653gq****\\"\\n }\\n ],\\n \\"RequestId\\": \\"6C8439B9-7DBF-57F4-92AE-55A9B9D3****\\",\\n \\"Count\\": 1,\\n \\"TaskId\\": \\"t-1ljew7on6ay0j****\\"\\n}","type":"json"}]',
+ ],
+ 'BackupFile' => [
+ 'summary' => 'Generates and uploads backup files.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneE62QJ7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'aic-ig2bdpk374l12****',
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App文件名称',
+ 'description' => 'The description of the backup file.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'This is a backup file description.',
+ ],
+ ],
+ [
+ 'name' => 'SourceFilePathList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The paths to the source files.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The absolute path to the source file.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/data',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'SourceAppList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The names of the application packages that you want to back up.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The name of the application package that you want to back up.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.ss.android.ugc.aweme',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'UploadType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the backup.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* OSS: uploads the backup file to an OSS bucket.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'OSS' => '',
+ ],
+ 'example' => 'OSS',
+ ],
+ ],
+ [
+ 'name' => 'UploadEndpoint',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The endpoint of the OSS bucket to which you want to upload the backup file.'."\n"
+ ."\n"
+ .'> : When calling the DescribeBuckets operation to query buckets, retrieve the IntranetEndpoint value if the cloud phone and the OSS bucket are in the same region. If they are in different regions, retrieve the ExtranetEndpoint value instead.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss-cn-shanghai-internal.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'BackupFilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The OSS path of the backup file.'."\n"
+ ."\n"
+ .'> To upload a backup file to an OSS bucket, you must obtain the name of the bucket. When calling the describeBuckets operation to retrieve a bucket name, you must also call the ossObjectList operation to obtain the object key. Combine these to form the full path: oss://${bucketName}/${key}.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'oss://cloudphone-saved-bucket-****/mabo/aic-i3b83gk0rw6p24jx3_2024051409****.ab',
+ ],
+ ],
+ [
+ 'name' => 'BackupFileName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the backup file.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaultBackupFile'."\n",
+ ],
+ ],
+ [
+ 'name' => 'BackupAll',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to back up the whole instance.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeSourceFilePathList',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'BackupFileId' => [
+ 'description' => 'The ID of the backup file.'."\n",
+ 'type' => 'string',
+ 'example' => 'bf-b0qbg3pbpjkn7****',
+ ],
+ 'BackupFileName' => [
+ 'description' => 'The name of the backup file.'."\n",
+ 'type' => 'string',
+ 'example' => 'a-58ftsoo90p0qa****.ab',
+ ],
+ 'AndroidInstanceId' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'example' => 't-22ex666a5mco5****',
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'example' => '6C8439B9-7DBF-57F4-92AE-55A9B9D3****'."\n",
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '6C8439B9-7DBF-57F4-92AE-55A9B9D3****',
+ ],
+ 'Count' => [
+ 'description' => 'The number of instances that are backed up.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the batch task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-22ex666a5mco5****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"BackupFileId\\": \\"bf-b0qbg3pbpjkn7****\\",\\n \\"BackupFileName\\": \\"MyBackup\\",\\n \\"AndroidInstanceId\\": \\"acp-34pqe4r0kd9kn****\\",\\n \\"TaskId\\": \\"t-22ex666a653gq****\\"\\n }\\n ],\\n \\"RequestId\\": \\"6C8439B9-7DBF-57F4-92AE-55A9B9D3****\\",\\n \\"Count\\": 1,\\n \\"TaskId\\": \\"t-14xwibw7pyrjd****\\"\\n}","type":"json"}]',
+ 'title' => 'BackupFile',
+ 'description' => 'Currently, this operation allows you to upload only backup files generated by cloud phones to Object Storage Service (OSS) buckets.'."\n",
+ ],
+ 'RecoveryFile' => [
+ 'summary' => 'Restores backup files.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMPR6T6',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BackupFileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App oss地址',
+ 'description' => 'The ID of the backup file.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'bf-azhps4rdyi2th****',
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-ig2bdpk374l12****',
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'UploadType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the backup.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* OSS: backup files are stored in OSS buckets.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'OSS' => '',
+ ],
+ 'example' => 'OSS',
+ ],
+ ],
+ [
+ 'name' => 'UploadEndpoint',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The endpoint of the OSS bucket that stores the backup file.'."\n"
+ ."\n"
+ .'> : When calling the DescribeBuckets operation to query buckets, retrieve the IntranetEndpoint value if the cloud phone and the OSS bucket are in the same region. If they are in different regions, retrieve the ExtranetEndpoint value instead.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss-cn-hangzhou-internal.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'BackupFilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The OSS path to which the backup file is uploaded.'."\n"
+ ."\n"
+ .'> When calling the describeBuckets operation to retrieve a bucket name, you must also call the ossObjectList operation to obtain the object key. Combine these to form the full path: oss://${bucketName}/${key}.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss://cloudphone-saved-bucket-cn-hangzhou-****/aaa/acp-ig2bdpk374l12****_2024052014****.ab',
+ ],
+ ],
+ [
+ 'name' => 'BackupAll',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to back up the whole instance.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The backup file that is restored.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => 'The instance ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'example' => 't-5prhfo7wv1gjx****',
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'example' => '6AD56E39-430B-5401-AB4A-7B086454****'."\n",
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '6AD56E39-430B-5401-AB4A-7B086454****',
+ ],
+ 'Count' => [
+ 'description' => 'The number of restored instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '97',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the batch task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-5prhfo7wv1gjx****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AndroidInstanceId\\": \\"acp-34pqe4r0kd9kn****\\",\\n \\"TaskId\\": \\"t-ehs0yoedsskom****\\"\\n }\\n ],\\n \\"RequestId\\": \\"6AD56E39-430B-5401-AB4A-7B086454****\\",\\n \\"Count\\": 1,\\n \\"TaskId\\": \\"t-3eourrxaoliqq****\\"\\n}","type":"json"}]',
+ 'title' => 'RecoveryFile',
+ 'description' => 'Currently, this operation allows you to restore only backup files generated by cloud phones that are stored in Object Storage Service (OSS) buckets.'."\n",
+ ],
+ 'DescribeBackupFiles' => [
+ 'summary' => 'Queries backup files.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMPR6T6',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BackupFileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App文件地址',
+ 'description' => 'The ID of the backup file.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'bf-dxrh5jrv0zpb8****',
+ ],
+ ],
+ [
+ 'name' => 'BackupFileName',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App文件名称',
+ 'description' => 'The name of the backup file. Fuzzy match is supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaulBackupFile'."\n",
+ ],
+ ],
+ [
+ 'name' => 'InstanceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App oss地址',
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ag-fxdx91jsfyiy3****',
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the instance. Fuzzy match is supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the backup file. Fuzzy match is supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default description.',
+ ],
+ ],
+ [
+ 'name' => 'StatusList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The status of the backup files.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The state of the backup file.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* AVAILABLE: The backup file is available.'."\n"
+ .'* BACKUPING: The backup is in progress.'."\n"
+ .'* RECOVERING: Data is being restored by using the backup file.'."\n"
+ .'* DELETING: The backup file is being deleted.'."\n"
+ .'* BACKUP_FAILED: The backup operation failed.'."\n"
+ .'* RECOVERY_FAILED: The restoration operation failed.'."\n"
+ .'* PART_BACKUP_FINISHED: The backup operation is partially successful.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'AVAILABLE' => '',
+ 'BACKUPING' => '',
+ 'RECOVERING' => '',
+ 'DELETING' => '',
+ 'BACKUP_FAILED' => '',
+ 'RECOVERY_FAILED' => '',
+ 'PART_BACKUP_FINISHED' => '',
+ ],
+ 'example' => 'AVAILABLE',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The beginning of the period for querying generated backup files.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-05-23 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The end of the period for querying generated backup files.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-05-20 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The owner of the backup file.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test1',
+ ],
+ ],
+ [
+ 'name' => 'BackupAll',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether the whole instance is backed up.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => 'true',
+ 'false' => 'false',
+ ],
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 10.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '0',
+ 'example' => '10',
+ 'default' => '20',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****',
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The backup files that are returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The backup file that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreated' => [
+ 'description' => 'The time when the backup file was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-05-15 17:33:59',
+ ],
+ 'GmtModified' => [
+ 'description' => 'The time when the backup file was last updated.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-05-15 17:33:59',
+ ],
+ 'BackupFileId' => [
+ 'description' => 'The ID of the backup file.'."\n",
+ 'type' => 'string',
+ 'example' => 'bf-b0qbg3pbpjkn7****',
+ ],
+ 'BackupFileName' => [
+ 'description' => 'The name of the backup file.'."\n",
+ 'type' => 'string',
+ 'example' => 'a-58ftsoo90p0qa****.ab',
+ ],
+ 'InstanceGroupId' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'ag-58ftsoo90p0qi****',
+ ],
+ 'AndroidInstanceId' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-34pqe4r0kd9kn****',
+ ],
+ 'AndroidInstanceName' => [
+ 'description' => 'The name of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'defaultInstanceName',
+ ],
+ 'TaskId' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'example' => 't-bp67acfmxazb4p****',
+ ],
+ 'EndUserId' => [
+ 'description' => 'The owner of the backup file.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the backup file.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* AVAILABLE'."\n"
+ .'* RECOVERING'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'AVAILABLE' => '',
+ 'RECOVERING' => '',
+ ],
+ 'example' => 'AVAILABLE',
+ ],
+ 'SourceFilePathList' => [
+ 'description' => 'The directories of the source files.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The directory of the source file.'."\n",
+ 'type' => 'string',
+ 'example' => '/data/media',
+ ],
+ ],
+ 'SourceAppInfoList' => [
+ 'description' => 'The names of the application packages that are backed up.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The name of the application package that is backed up.'."\n",
+ 'type' => 'string',
+ 'example' => 'com.ss.android.ugc.aweme'."\n",
+ ],
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'FileSize' => [
+ 'description' => 'The total size of the source files.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10227168',
+ ],
+ 'UploadType' => [
+ 'description' => 'The type of the backup.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* OSS: backup files are stored in OSS buckets. .'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'OSS' => '',
+ ],
+ 'example' => 'OSS',
+ ],
+ 'UploadEndpoint' => [
+ 'description' => 'The endpoint of the OSS bucket that stores the backup file.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss-cn-hangzhou.aliyuncs.com',
+ ],
+ 'BackupFilePath' => [
+ 'description' => 'The directory in which the backup file is stored.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss://cloudphone-saved-bucket-cn-shanghai/backup/aic-58ftsoo90p0qa****.ab',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the backup file.'."\n",
+ 'type' => 'string',
+ 'example' => 'This is default description.',
+ ],
+ 'BackupAll' => [
+ 'description' => 'Indicates whether the whole instance is backed up.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'SystemVersion' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request. If the request fails, provide this ID to technical support to assist in diagnosing the issue.'."\n",
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '91',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"GmtCreated\\": \\"2024-05-15 17:33:59\\",\\n \\"GmtModified\\": \\"2024-05-15 17:33:59\\",\\n \\"BackupFileId\\": \\"bf-b0qbg3pbpjkn7****\\",\\n \\"BackupFileName\\": \\"a-58ftsoo90p0qa****.ab\\",\\n \\"InstanceGroupId\\": \\"ag-58ftsoo90p0qi****\\",\\n \\"AndroidInstanceId\\": \\"acp-34pqe4r0kd9kn****\\",\\n \\"AndroidInstanceName\\": \\"测试云手机\\",\\n \\"TaskId\\": \\"t-bp67acfmxazb4p****\\",\\n \\"EndUserId\\": \\"test\\",\\n \\"Status\\": \\"AVAILABLE\\",\\n \\"SourceFilePathList\\": [\\n \\"/data/media\\"\\n ],\\n \\"SourceAppInfoList\\": [\\n \\"com.example.xhs\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"FileSize\\": 10227168,\\n \\"UploadType\\": \\"OSS\\",\\n \\"UploadEndpoint\\": \\"oss-cn-hangzhou.aliyuncs.com\\",\\n \\"BackupFilePath\\": \\"oss://cloudphone-saved-bucket-cn-shanghai/backup/aic-58ftsoo90p0qa****.ab\\",\\n \\"Description\\": \\"这是备份/data/media目录的备份文件。\\",\\n \\"BackupAll\\": false,\\n \\"SystemVersion\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****\\",\\n \\"MaxResults\\": \\"10\\",\\n \\"TotalCount\\": 91\\n}","type":"json"}]',
+ 'title' => 'DescribeBackupFiles',
+ 'description' => 'Currently, this operation allows you to query only backup files generated by cloud phones that are stored in Object Storage Service (OSS) buckets.'."\n",
+ ],
+ 'DeleteBackupFile' => [
+ 'summary' => '删除备份文件',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMPR6T6',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'BackupFileIdList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'bf-islptramvb730****',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'PlainResult<Integer>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\"\\n}","type":"json"}]',
+ ],
+ 'CreatePolicyGroup' => [
+ 'summary' => 'Creates a policy.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneS5VM56',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Html5FileTransfer',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The file transfer policy of the Alibaba Cloud Workspace web client.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* all: File upload and download are supported.'."\n"
+ .'* download: Only file download is supported.'."\n"
+ .'* upload: Only file upload is supported.'."\n"
+ .'* off: File upload or download is forbidden.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'all' => '',
+ 'download' => '',
+ 'upload' => '',
+ 'off' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ [
+ 'name' => 'LocalDrive',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The read/write permissions on the on-premises drive.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* read: read-only.'."\n"
+ .'* readwrite: ready and write.'."\n"
+ .'* off: read/write disabled.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'read' => '',
+ 'readwrite' => '',
+ 'off' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ [
+ 'name' => 'PolicyGroupName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaultPolicy',
+ ],
+ ],
+ [
+ 'name' => 'CameraRedirect',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the webcam redirection feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ [
+ 'name' => 'Clipboard',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The read/write permissions on the clipboard.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* read: read-only.'."\n"
+ .'* readwrite: read and write.'."\n"
+ .'* off: read/write disabled.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'read' => '',
+ 'readwrite' => '',
+ 'off' => '',
+ ],
+ 'example' => 'readwrite',
+ ],
+ ],
+ [
+ 'name' => 'ResolutionHeight',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The height of the resolution. Unit: pixels.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1280',
+ ],
+ ],
+ [
+ 'name' => 'ResolutionWidth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The width of the resolution. Unit: pixels.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '720',
+ ],
+ ],
+ [
+ 'name' => 'LockResolution',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to lock the resolution.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ [
+ 'name' => 'NetRedirectPolicy',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The network redirection policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NetRedirect' => [
+ 'description' => 'Specifies whether to enable the network redirection feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ 'CustomProxy' => [
+ 'description' => 'Specifies whether to manually configure a custom proxy.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ 'ProxyType' => [
+ 'description' => 'The type of the proxy protocol.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* socks5.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'socks5' => 'socks5',
+ ],
+ 'example' => 'socks5',
+ ],
+ 'HostAddr' => [
+ 'description' => 'The IPv4 address of the custom proxy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '47.100.XX.XX',
+ ],
+ 'Port' => [
+ 'description' => 'The port of the custom proxy. Valid values: 1 to 65535.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1145',
+ ],
+ 'ProxyUserName' => [
+ 'description' => 'The username of the proxy. The name must be 1 to 256 in length and cannot contain Chinese character or space characters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'username',
+ ],
+ 'ProxyPassword' => [
+ 'description' => 'The password of the proxy. The password must be 1 to 256 in length and cannot contain Chinese character or space characters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'password',
+ ],
+ 'Rules' => [
+ 'description' => 'The proxy rules. You can create up to 100 proxy rules.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The proxy rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Target' => [
+ 'description' => 'The name of the application package or domain name.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '*.example.com',
+ ],
+ 'RuleType' => [
+ 'description' => 'The type of the rule.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* prc: an application package name.'."\n"
+ .'* domain: a domain name.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'prc' => '',
+ 'domain' => '',
+ ],
+ 'example' => 'domain',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'enum' => [
+ 'Instance',
+ 'Node',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Watermark',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'WatermarkSwitch' => [
+ 'type' => 'string',
+ ],
+ 'WatermarkTypes' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'WatermarkCustomText' => [
+ 'type' => 'string',
+ ],
+ 'WatermarkFontSize' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'WatermarkColor' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'WatermarkTransparencyValue' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC******',
+ ],
+ 'PolicyGroupId' => [
+ 'description' => 'The ID of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'pg-exbuu6yrpvb******',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC******\\",\\n \\"PolicyGroupId\\": \\"pg-exbuu6yrpvb******\\"\\n}","type":"json"}]',
+ 'title' => 'CreatePolicyGroup',
+ ],
+ 'ListPolicyGroups' => [
+ 'summary' => 'Queries policies.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneS5VM56',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyGroupIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the policies.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pg-jc31jdxfdcsclk****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'PolicyGroupName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaultPolicyGroup',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page. Value range: 1 to 100. Default value: 20.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the request to retrieve a new page of results. If the parameter is left empty, the data is queried from the first entry.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ ],
+ [
+ 'name' => 'PolicyType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'enum' => [
+ 'Instance',
+ 'Node',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '7B9EFA4F-4305-5968-BAEE-BD8B8DE5****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '31',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****',
+ ],
+ 'PolicyGroupModel' => [
+ 'description' => 'The policies.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyGroupId' => [
+ 'description' => 'The ID of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'pg-9q6o8qpiy8opkj****',
+ ],
+ 'PolicyGroupName' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'Default Policy'."\n",
+ ],
+ 'GmtCreate' => [
+ 'description' => 'The time when the policy was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2024-06-04 10:28:54',
+ ],
+ 'Clipboard' => [
+ 'description' => 'The read/write permissions on the clipboard.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* read: read-only.'."\n"
+ .'* readwrite: read and write.'."\n"
+ .'* off: read/write disabled.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'read' => '',
+ 'readwrite' => '',
+ 'off' => '',
+ ],
+ 'example' => 'readwrite',
+ ],
+ 'Html5FileTransfer' => [
+ 'description' => 'The file transfer policy of the HTML5 client.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* all: File upload and download are supported.'."\n"
+ .'* download: Only file download is supported.'."\n"
+ .'* upload: Only file upload is supported.'."\n"
+ .'* off: File upload or download is forbidden.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'all' => '',
+ 'download' => '',
+ 'upload' => '',
+ 'off' => '',
+ ],
+ 'example' => 'download',
+ ],
+ 'CameraRedirect' => [
+ 'description' => 'Specifies whether to enable the webcam redirection feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'on',
+ ],
+ 'LocalDrive' => [
+ 'description' => 'The read/write permissions on the on-premises drive.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* read: read-only.'."\n"
+ .'* readwrite: ready and write.'."\n"
+ .'* off: read/write denied.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'read' => '',
+ 'readwrite' => '',
+ 'off' => '',
+ ],
+ 'example' => 'off',
+ ],
+ 'LockResolution' => [
+ 'description' => 'Identifies whether the resolution is locked.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ 'NetRedirectPolicy' => [
+ 'description' => 'The network redirection policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NetRedirect' => [
+ 'description' => 'Indicates whether the network redirection feature is enabled. When this feature is enabled, network traffic is automatically redirected to the on-premises network by default.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ 'CustomProxy' => [
+ 'description' => 'Indicates whether a custom proxy is manually configured.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ 'ProxyType' => [
+ 'description' => 'The type of the proxy protocol.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* socks5.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'socks5' => 'socks5',
+ ],
+ 'example' => 'socks5',
+ ],
+ 'HostAddr' => [
+ 'description' => 'The IPv4 address of the custom proxy.'."\n",
+ 'type' => 'string',
+ 'example' => '47.100.XX.XX',
+ ],
+ 'Port' => [
+ 'description' => 'The port of the custom proxy. Valid values: 1 to 65535.'."\n",
+ 'type' => 'string',
+ 'example' => '1145',
+ ],
+ 'ProxyUserName' => [
+ 'description' => 'The username of the proxy. The name must be 1 to 256 in length and cannot contain Chinese character or space characters.'."\n",
+ 'type' => 'string',
+ 'example' => 'username',
+ ],
+ 'ProxyPassword' => [
+ 'description' => 'The password of the proxy. The password must be 1 to 256 in length and cannot contain Chinese character or space characters.'."\n",
+ 'type' => 'string',
+ 'example' => 'password',
+ ],
+ 'Rules' => [
+ 'description' => 'The proxy rules.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The proxy rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Target' => [
+ 'description' => 'The name of the application package or domain name.'."\n",
+ 'type' => 'string',
+ 'example' => '*.example.com',
+ ],
+ 'RuleType' => [
+ 'description' => 'The type of the rule.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* prc: an application package name.'."\n"
+ .'* domain: a domain name.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'prc' => '',
+ 'domain' => '',
+ ],
+ 'example' => 'domain',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SessionResolutionHeight' => [
+ 'description' => 'The height of the resolution.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1080',
+ ],
+ 'SessionResolutionWidth' => [
+ 'description' => 'The width of the resolution.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1920',
+ ],
+ 'PolicyRelatedResources' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceGroupIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'CloudPhoneMatrixIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'Watermark' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'WatermarkSwitch' => [
+ 'type' => 'string',
+ ],
+ 'WatermarkTypes' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'WatermarkCustomText' => [
+ 'type' => 'string',
+ ],
+ 'WatermarkFontSize' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'WatermarkColor' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'WatermarkTransparencyValue' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7B9EFA4F-4305-5968-BAEE-BD8B8DE5****\\",\\n \\"TotalCount\\": 31,\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****\\",\\n \\"PolicyGroupModel\\": [\\n {\\n \\"PolicyGroupId\\": \\"pg-9q6o8qpiy8opkj****\\",\\n \\"PolicyGroupName\\": \\"默认策略。\\",\\n \\"GmtCreate\\": \\"2024-06-04 10:28:54\\",\\n \\"Clipboard\\": \\"readwrite\\",\\n \\"Html5FileTransfer\\": \\"download\\",\\n \\"CameraRedirect\\": \\"on\\",\\n \\"LocalDrive\\": \\"off\\",\\n \\"LockResolution\\": \\"off\\",\\n \\"NetRedirectPolicy\\": {\\n \\"NetRedirect\\": \\"off\\",\\n \\"CustomProxy\\": \\"off\\",\\n \\"ProxyType\\": \\"socks5\\",\\n \\"HostAddr\\": \\"47.100.XX.XX\\",\\n \\"Port\\": \\"1145\\",\\n \\"ProxyUserName\\": \\"username\\",\\n \\"ProxyPassword\\": \\"password\\",\\n \\"Rules\\": [\\n {\\n \\"Target\\": \\"*.baidu.com\\",\\n \\"RuleType\\": \\"domain\\"\\n }\\n ]\\n },\\n \\"SessionResolutionHeight\\": 1080,\\n \\"SessionResolutionWidth\\": 1920,\\n \\"PolicyRelatedResources\\": {\\n \\"AndroidInstanceGroupIds\\": [\\n \\"ag-2dzpub83srxt*****\\"\\n ],\\n \\"CloudPhoneMatrixIds\\": [\\n \\"cpn-3dskdfjj245s*****\\"\\n ]\\n },\\n \\"Watermark\\": {\\n \\"WatermarkSwitch\\": \\"off\\",\\n \\"WatermarkTypes\\": [\\n \\"Username\\"\\n ],\\n \\"WatermarkCustomText\\": \\"custom text\\",\\n \\"WatermarkFontSize\\": 12,\\n \\"WatermarkColor\\": 0,\\n \\"WatermarkTransparencyValue\\": 25\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListPolicyGroups',
+ ],
+ 'ModifyPolicyGroup' => [
+ 'summary' => 'Modifies a policy.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVB2A7J',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Html5FileTransfer',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The file transfer policy of the Alibaba Cloud Workspace web client.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* all: File upload and download are supported.'."\n"
+ .'* download: Only file download is supported.'."\n"
+ .'* upload: Only file upload is supported.'."\n"
+ .'* off: File upload or download is forbidden.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'all' => '',
+ 'download' => '',
+ 'upload' => '',
+ 'off' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ [
+ 'name' => 'LocalDrive',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The read/write permissions on the on-premises drive.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* read: read-only.'."\n"
+ .'* readwrite: ready and write.'."\n"
+ .'* off: read/write disabled.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'read' => '',
+ 'readwrite' => '',
+ 'off' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ [
+ 'name' => 'CameraRedirect',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the webcam redirection feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ [
+ 'name' => 'Clipboard',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The read/write permissions on the clipboard.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* read: read-only.'."\n"
+ .'* readwrite: ready and write.'."\n"
+ .'* off: read/write disabled.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'read' => '',
+ 'readwrite' => '',
+ 'off' => '',
+ ],
+ 'example' => 'readwrite',
+ ],
+ ],
+ [
+ 'name' => 'PolicyGroupId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pg-4bi18ebi9tfjh****',
+ ],
+ ],
+ [
+ 'name' => 'PolicyGroupName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaultPolicyGroup',
+ ],
+ ],
+ [
+ 'name' => 'ResolutionHeight',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The height of the resolution. Unit: pixels.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1280',
+ ],
+ ],
+ [
+ 'name' => 'ResolutionWidth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The width of the resolution. Unit: pixels.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '720',
+ ],
+ ],
+ [
+ 'name' => 'LockResolution',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to lock the resolution.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ [
+ 'name' => 'NetRedirectPolicy',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The network redirection policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NetRedirect' => [
+ 'description' => 'Specifies whether to enable network redirection.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ 'CustomProxy' => [
+ 'description' => 'Specifies whether to manually configure a custom proxy.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* off'."\n"
+ .'* on'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ 'ProxyType' => [
+ 'description' => 'The type of the proxy protocol.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* socks5.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'socks5' => 'socks5',
+ ],
+ 'example' => 'socks5',
+ ],
+ 'HostAddr' => [
+ 'description' => 'The IPv4 address of the custom proxy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '47.100.XX.XX',
+ ],
+ 'Port' => [
+ 'description' => 'The port of the custom proxy. Valid values: 1 to 65535.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1145',
+ ],
+ 'ProxyUserName' => [
+ 'description' => 'The username of the proxy. The name must be 1 to 256 in length and cannot contain Chinese character or space characters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'username',
+ ],
+ 'ProxyPassword' => [
+ 'description' => 'The password of the proxy. The password must be 1 to 256 in length and cannot contain Chinese character or space characters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'password',
+ ],
+ 'Rules' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Target' => [
+ 'type' => 'string',
+ ],
+ 'RuleType' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Watermark',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'WatermarkSwitch' => [
+ 'type' => 'string',
+ ],
+ 'WatermarkTypes' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'WatermarkCustomText' => [
+ 'type' => 'string',
+ ],
+ 'WatermarkFontSize' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'WatermarkColor' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'WatermarkTransparencyValue' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '552B7EED-D434-511F-B838-29EA4E906034',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"552B7EED-D434-511F-B838-29EA4E906034\\"\\n}","type":"json"}]',
+ 'title' => 'ModifyPolicyGroup',
+ ],
+ 'DeletePolicyGroup' => [
+ 'summary' => 'Deletes a policy.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyGroupIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the policies.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pg-gx4ger9hynfov****',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '17C731AB-AAEE-5844-A352-D8D0352D3F0B',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"17C731AB-AAEE-5844-A352-D8D0352D3F0B\\"\\n}","type":"json"}]',
+ 'title' => 'DeletePolicyGroup',
+ ],
+ 'CreateSystemPropertyTemplate' => [
+ 'summary' => '创建系统属性模板',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone3OZQF8',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TemplateName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'SystemPropertyInfo',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RoBuildFingerprint' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductModel' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductManufacturer' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductBrand' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildUser' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBootloader' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildTags' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductBoard' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductDevice' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildProduct' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildHost' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildDisplayId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RwRoSerialNo' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'CustomPropertyInfos' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PropertyName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'propKey',
+ ],
+ 'PropertyValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'propValue',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'FilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://filepath****.com'."\n",
+ 'maxLength' => 512,
+ ],
+ ],
+ [
+ 'name' => 'EnableAuto',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'TemplateId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ap-g6gyv4a4xlf****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"TemplateId\\": \\"ap-g6gyv4a4xlf****\\"\\n}","type":"json"}]',
+ ],
+ 'SendSystemPropertyTemplate' => [
+ 'summary' => '发送属性模板',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVQDPK9',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ap-angyvganxlf****',
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-25nt4kk9whhok****',
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ ],
+ ],
+ [
+ 'name' => 'TemplateIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ap-0caoenwutkkxb0****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC******',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC******\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSystemPropertyTemplates' => [
+ 'summary' => '查询系统属性模板',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVQDPK9',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '0',
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6k****',
+ ],
+ ],
+ [
+ 'name' => 'TemplateIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ap-0caoenwutkkx****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'TemplateName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '5C5CEF0A-D6E1-58D3-8750-67DB4F82****',
+ ],
+ 'NextToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU****',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'SystemPropertyTemplateModel' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TemplateId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ap-0caoenwutkkx****',
+ ],
+ 'TemplateName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'init',
+ ],
+ 'SystemPropertyInfo' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RoProductDevice' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'CustomPropertyInfos' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PropertyName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'propKey',
+ ],
+ 'PropertyValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'propValue',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'FilePath' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://filepath****.com',
+ ],
+ 'EnableAuto' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5C5CEF0A-D6E1-58D3-8750-67DB4F82****\\",\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kU****\\",\\n \\"TotalCount\\": 10,\\n \\"SystemPropertyTemplateModel\\": [\\n {\\n \\"TemplateId\\": \\"ap-0caoenwutkkx****\\",\\n \\"TemplateName\\": \\"模板1\\",\\n \\"Status\\": \\"init\\",\\n \\"SystemPropertyInfo\\": {\\n \\"RoProductDevice\\": \\"null\\",\\n \\"CustomPropertyInfos\\": [\\n {\\n \\"PropertyName\\": \\"propKey\\",\\n \\"PropertyValue\\": \\"propValue\\"\\n }\\n ]\\n },\\n \\"FilePath\\": \\"https://filepath****.com\\",\\n \\"EnableAuto\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetInstanceProperties' => [
+ 'summary' => '获取属性模板信息',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneA5LZN6',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-2ofr9kf41apy3****-014',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC******',
+ ],
+ 'PropertyTemplateModel' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Content' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{ "propties":{"key1":"value1"}}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC******\\",\\n \\"PropertyTemplateModel\\": {\\n \\"Content\\": \\"{ \\\\\\"propties\\\\\\":{\\\\\\"key1\\\\\\":\\\\\\"value1\\\\\\"}}\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ModifySystemPropertyTemplate' => [
+ 'summary' => '修改属性模板',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVQDPK9',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ap-angyvganxlf****',
+ ],
+ ],
+ [
+ 'name' => 'TemplateName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'SystemPropertyInfo',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RoBuildFingerprint' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductModel' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductManufacturer' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductBrand' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildUser' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBootloader' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildTags' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductBoard' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoProductDevice' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildProduct' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildHost' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RoBuildDisplayId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'RwRoSerialNo' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'CustomPropertyInfos' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PropertyName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'propKey',
+ ],
+ 'PropertyValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'propValue',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'FilePath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://filepath****.com',
+ 'maxLength' => 512,
+ ],
+ ],
+ [
+ 'name' => 'EnableAuto',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '5C5CEF0A-D6E1-58D3-8750-67DB4F82****',
+ ],
+ 'TemplateId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ap-angyvganxlf****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5C5CEF0A-D6E1-58D3-8750-67DB4F82****\\",\\n \\"TemplateId\\": \\"ap-angyvganxlf****\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSystemPropertyTemplates' => [
+ 'summary' => '删除系统属性模板',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVQDPK9',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TemplateIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ap-6f1z5z9d85qq7****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '5C5CEF0A-D6E1-58D3-8750-67DB4F82****',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success.',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5C5CEF0A-D6E1-58D3-8750-67DB4F82****\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success.\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeTasks' => [
+ 'summary' => 'Queries tasks created for a cloud phone instance.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneWDBBSN',
+ 'FEATUREcloudphoneDY533B',
+ 'FEATUREcloudphoneQ3V7AF',
+ 'FEATUREcloudphoneE62QJ7',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InvokeId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the command execution. You can set the value to the last returned request ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'B8ED2BA9-0C6A-5643-818F-B5D60A64****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the resources.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the resource. To check the status of a start, stop, restart, or reset task on a cloud phone instance, set the value to the ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-25nt4kk9whhok****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'TaskIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the tasks.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 't-bp67acfmxazb4p****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'ParentTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the parent task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 't-iaej5dkbnmivx****',
+ ],
+ ],
+ [
+ 'name' => 'TaskType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the task.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* BackupFile: backs up files.'."\n"
+ .'* StopInstance: stops cloud phone instances.'."\n"
+ .'* RebootInstance: restarts cloud phone instances.'."\n"
+ .'* StartApp: starts apps.'."\n"
+ .'* SendFile: uploads files.'."\n"
+ .'* RunCommand: sends remote command.'."\n"
+ .'* RestartApp: restarts apps.'."\n"
+ .'* ResetInstance: resets cloud phone instances.'."\n"
+ .'* RecoverFile: recovers files.'."\n"
+ .'* UninstallApp: uninstalls apps.'."\n"
+ .'* StopApp: stops apps.'."\n"
+ .'* Screenshot: takes screenshots.'."\n"
+ .'* InstallApp: installs apps.'."\n"
+ .'* FetchFile: downloads files.'."\n"
+ .'* UpdateGroupImage: replaces images.'."\n"
+ .'* StartInstance: starts instances.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'BackupFile' => '',
+ 'StopInstance' => '',
+ 'RebootInstance' => '',
+ 'StartApp' => '',
+ 'SendFile' => '',
+ 'RunCommand' => '',
+ 'RestartApp' => '',
+ 'ResetInstance' => '',
+ 'RecoverFile' => '',
+ 'UninstallApp' => '',
+ 'StopApp' => '',
+ 'Screenshot' => '',
+ 'InstallApp' => '',
+ 'FetchFile' => '',
+ 'UpdateGroupImage' => '',
+ 'StartInstance' => '',
+ ],
+ 'example' => 'StartInstance',
+ ],
+ ],
+ [
+ 'name' => 'TaskTypes',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The types of the tasks.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The type of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'StartInstance',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'TaskStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The state of the task.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* PartFinished: The task is partially successful.'."\n"
+ .'* Finished: The task is completed.'."\n"
+ .'* Failed: The task failed.'."\n"
+ .'* Skipped: The task is skipped.'."\n"
+ .'* Processing: The task is running.'."\n"
+ .'* Waiting: The task is in queue.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'PartFinished' => '',
+ 'Finished' => '',
+ 'Failed' => '',
+ 'Skipped' => '',
+ 'Processing' => '',
+ 'Waiting' => '',
+ ],
+ 'example' => 'Processing',
+ ],
+ ],
+ [
+ 'name' => 'TaskStatuses',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The status of the tasks.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The state of the task.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Finished',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'Level',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The level of the task. A value of 1 specifies a batch task. A value of 2 specifies an instance-level task.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-2zecay9ponatdc4m****',
+ ],
+ ],
+ [
+ 'name' => 'InstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'defaultInstanceName',
+ ],
+ ],
+ [
+ 'name' => 'Param',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The extension field.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'param',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page. Valid values: 1 to 100. Default value: 10.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'minimum' => '0',
+ 'enumValueTitles' => [],
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the parameter is left empty, the data is queried from the first entry.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FFbc8N4E1iOlcSxC+8boa0HHH2LKWbggYUinyrZWvtS1oTrMYCg1HuMLGuftj0****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ 'Data' => [
+ 'description' => 'The objects that are returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-bp67acfmxazb4p****',
+ ],
+ 'InvokeId' => [
+ 'description' => 'The ID of the command execution.'."\n",
+ 'type' => 'string',
+ 'example' => 'B8ED2BA9-0C6A-5643-818F-B5D60A64****',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-25nt4kk9whhok****',
+ ],
+ 'TaskType' => [
+ 'description' => 'The type of the task.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [],
+ 'example' => 'StartInstance',
+ ],
+ 'TaskStatus' => [
+ 'description' => 'The state of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'Processing',
+ ],
+ 'StartTime' => [
+ 'title' => '创建时间',
+ 'description' => 'The start time of the task.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-10-11T08:53:32Z',
+ ],
+ 'FinishTime' => [
+ 'title' => '修改时间',
+ 'description' => 'The end time of the task.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-10-11T08:53:32Z',
+ ],
+ 'Param' => [
+ 'description' => 'The parameters of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'param',
+ ],
+ 'Result' => [
+ 'description' => 'The execution result of the task.'."\n",
+ 'type' => 'string',
+ 'example' => '{\'Success\': True}',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'The error code.'."\n",
+ 'type' => 'string',
+ 'example' => 'SendFileFailed',
+ ],
+ 'ErrorMsg' => [
+ 'description' => 'The error message.'."\n",
+ 'type' => 'string',
+ 'example' => 'connect error.',
+ ],
+ 'Level' => [
+ 'description' => 'The level of the task.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'FailedChildCount' => [
+ 'description' => 'The total number of failed subtasks.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'SuccessChildCount' => [
+ 'description' => 'The total number of successfully executed subtasks.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '98',
+ ],
+ 'RunningChildCount' => [
+ 'description' => 'The total number of the subtasks that are running.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'TotalChildCount' => [
+ 'description' => 'The total number of subtasks of the current batch task.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'acp-uto81vfd8t8z****',
+ ],
+ 'InstanceName' => [
+ 'description' => 'The name of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'defaultInstanceName',
+ ],
+ 'InstanceStatus' => [
+ 'description' => 'The state of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ 'Operator' => [
+ 'description' => 'The operator.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ParentTaskId' => [
+ 'description' => 'The ID of the parent task.'."\n",
+ 'type' => 'string',
+ 'example' => 't-41oan3tza16vs****',
+ ],
+ ],
+ ],
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of entries returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'B8ED2BA9-0C6A-5643-818F-B5D60A64****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****\\",\\n \\"Data\\": [\\n {\\n \\"TaskId\\": \\"t-bp67acfmxazb4p****\\",\\n \\"InvokeId\\": \\"B8ED2BA9-0C6A-5643-818F-B5D60A64****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceId\\": \\"acp-25nt4kk9whhok****\\",\\n \\"TaskType\\": \\"StartInstance\\",\\n \\"TaskStatus\\": \\"Processing\\",\\n \\"StartTime\\": \\"2022-10-11T08:53:32Z\\",\\n \\"FinishTime\\": \\"2022-10-11T08:53:32Z\\",\\n \\"Param\\": \\"param\\",\\n \\"Result\\": \\"{\'Success\': True}\\",\\n \\"ErrorCode\\": \\"SendFileFailed\\",\\n \\"ErrorMsg\\": \\"connect error.\\",\\n \\"Level\\": 1,\\n \\"FailedChildCount\\": 2,\\n \\"SuccessChildCount\\": 98,\\n \\"RunningChildCount\\": 0,\\n \\"TotalChildCount\\": 100,\\n \\"InstanceId\\": \\"acp-uto81vfd8t8z****\\",\\n \\"InstanceName\\": \\"defaultInstanceName\\",\\n \\"InstanceStatus\\": \\"RUNNING\\",\\n \\"Operator\\": \\"test\\",\\n \\"ParentTaskId\\": \\"t-41oan3tza16vs****\\"\\n }\\n ],\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"B8ED2BA9-0C6A-5643-818F-B5D60A64****\\"\\n}","type":"json"}]',
+ 'title' => 'DescribeTasks',
+ 'description' => '* You can call the DescribeTasks operation to query the tasks created for one or more cloud phone instances.'."\n"
+ .'* The system currently supports various tasks, including starting, stopping, restarting, and resetting cloud phone instances; backing up and restoring data; installing apps; and executing remote commands.'."\n"
+ .'* You can use the Level field to specify the type of task. If Level is set to 1, it represents a batch task. If Level is set to 2, it represents an instance-level task.'."\n"
+ ."\n"
+ .'**Example**'."\n"
+ ."\n"
+ .'Assume you restart two cloud phone instances with the instance IDs acp-25nt4kk9whhok\\*\\*\\*\\* and acp-j2taq887orj8l\\*\\*\\*\\*, and the returned request ID is B8ED2BA9-0C6A-5643-818F-B5D60A64\\*\\*\\*\\*. If you want to check the operation outcomes of the two cloud phone instances, you can call the DescribeTasks operation. You need to set the InvokeId request parameter to B8ED2BA9-0C6A-5643-818F-B5D60A64\\*\\*\\*\\*. If you only want to check the cloud phone instance with the ID acp-25nt4kk9whhok\\*\\*\\*\\*, you must set the ParentTaskId request parameter to the ID of the batch task and the AndroidInstanceId request parameter to acp-25nt4kk9whhok\\*\\*\\*\\* when calling the DescribeTasks operation.'."\n",
+ ],
+ 'InstallMonitorAgent' => [
+ 'summary' => '安装监控插件',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVQDPK9',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-a1qp88ohp3a8g****-040',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Instance' => '',
+ 'Node' => '',
+ ],
+ 'example' => 'NODE',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DB070C80-45AC-52CA-8101-937C25DA****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB070C80-45AC-52CA-8101-937C25DA****\\"\\n}","type":"json"}]',
+ ],
+ 'UninstallMonitorAgent' => [
+ 'summary' => '卸载监控插件',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVQDPK9',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-9y1nwysxr9d6l****-016',
+ ],
+ 'required' => false,
+ 'maxItems' => 1000,
+ ],
+ ],
+ [
+ 'name' => 'SaleMode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Instance' => '',
+ 'Node' => '',
+ ],
+ 'example' => 'Node',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6C8439B9-7DBF-57F4-92AE-55A9B9D3****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6C8439B9-7DBF-57F4-92AE-55A9B9D3****\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeMetricLast' => [
+ 'summary' => '查询指定监控项的最新监控数据',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVQDPK9',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MetricNames',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'disk_read_bps' => '',
+ 'disk_read_iops' => '',
+ 'cpu_utilization' => '',
+ 'disk_write_iops' => '',
+ 'disk_write_bps' => '',
+ 'diskusage_utilization' => '',
+ 'memory_used_utilization' => '',
+ 'intranet_out_rate' => '',
+ 'process_memory' => '',
+ 'intranet_in_rate' => '',
+ 'process_cpu' => '',
+ ],
+ 'example' => 'cpu_utilization',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-6nongia0tuev7****',
+ ],
+ 'required' => false,
+ 'maxItems' => 50,
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 15 => '15',
+ 60 => '60',
+ 900 => '900',
+ 3600 => '3600',
+ ],
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-31 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-31 11:00:00',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****',
+ ],
+ ],
+ [
+ 'name' => 'Length',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'title' => '指定监控资源的维度'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '实例id',
+ 'type' => 'string',
+ ],
+ 'maxItems' => 50,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2B9E6946-0E2A-5D2B-B275-361DF81F****',
+ ],
+ 'Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'NextToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ 'MetricTotalModel' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-fkuit0cmyru4p****',
+ ],
+ 'MetricModelList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cpu_utilization',
+ ],
+ 'DataPoints' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Timestamp' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1548777660000',
+ ],
+ 'Minimum' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '93.1',
+ ],
+ 'Average' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '99.52',
+ ],
+ 'Maximum' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'GpuId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'ProcessLastInfos' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Timestamp' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1548777660000',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'com.offerup',
+ ],
+ 'ProcessIds' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100056',
+ ],
+ ],
+ 'MemoryUsage' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '50',
+ ],
+ 'CpuUsage' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '50',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2B9E6946-0E2A-5D2B-B275-361DF81F****\\",\\n \\"Count\\": 100,\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****\\",\\n \\"MetricTotalModel\\": [\\n {\\n \\"AndroidInstanceId\\": \\"acp-fkuit0cmyru4p****\\",\\n \\"MetricModelList\\": [\\n {\\n \\"MetricName\\": \\"cpu_utilization\\",\\n \\"DataPoints\\": [\\n {\\n \\"Timestamp\\": 1548777660000,\\n \\"Minimum\\": 93.1,\\n \\"Average\\": 99.52,\\n \\"Maximum\\": 100,\\n \\"GpuId\\": \\"cpn-1t1bxvp9az2pk****-gpu-0\\"\\n }\\n ],\\n \\"ProcessLastInfos\\": [\\n {\\n \\"Timestamp\\": 1548777660000,\\n \\"Name\\": \\"com.offerup\\",\\n \\"ProcessIds\\": [\\n 100056\\n ],\\n \\"MemoryUsage\\": 50,\\n \\"CpuUsage\\": 50\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeMetricList' => [
+ 'summary' => '查询指定监控项的监控数据',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVQDPK9',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MetricNames',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'cpu_utilization' => '',
+ 'bandwidth_package_usage_out' => '',
+ 'diskusage_utilization' => '',
+ 'memory_used_utilization' => '',
+ 'intranet_out_rate' => '',
+ 'gpu_memory_used_utilization' => '',
+ 'bandwidth_package_usage_in' => '',
+ 'process_memory' => '',
+ 'intranet_in_rate' => '',
+ 'process_cpu' => '',
+ 'gpu_used_utilization' => '',
+ ],
+ 'example' => 'bandwidth_package_usage_in',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-25nt4kk9whhok****',
+ ],
+ 'required' => false,
+ 'maxItems' => 50,
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'np-5hh4a31emkt6u****',
+ ],
+ 'required' => false,
+ 'maxItems' => 50,
+ ],
+ ],
+ [
+ 'name' => 'ProcessInfos',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProcessName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'php-fpm',
+ ],
+ 'ProcessIds' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => 'approval-process-c47080c1f238e889',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-31 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-31 11:00:00',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kw9dGL5jves2FS9RLq****',
+ ],
+ ],
+ [
+ 'name' => 'Length',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1000',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NextToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ 'MetricTotalModel' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-fkuit0cmyru4p****',
+ ],
+ 'MetricModelList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cpu_utilization',
+ ],
+ 'ProcessName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'DataPoints' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Timestamp' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1548777660000',
+ ],
+ 'Minimum' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '93.1',
+ ],
+ 'Average' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '99.52',
+ ],
+ 'Maximum' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'Value' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => 'tf-testacc-oos-parameter',
+ ],
+ 'GpuId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cpn-1t1bxvp9az2pk****-gpu-0'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'np-5hh4a31emkt6u****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"Count\\": 1,\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****\\",\\n \\"MetricTotalModel\\": [\\n {\\n \\"AndroidInstanceId\\": \\"acp-fkuit0cmyru4p****\\",\\n \\"MetricModelList\\": [\\n {\\n \\"MetricName\\": \\"cpu_utilization\\",\\n \\"ProcessName\\": \\"需要\\",\\n \\"DataPoints\\": [\\n {\\n \\"Timestamp\\": 1548777660000,\\n \\"Minimum\\": 93.1,\\n \\"Average\\": 99.52,\\n \\"Maximum\\": 100,\\n \\"Value\\": 0,\\n \\"GpuId\\": \\"cpn-1t1bxvp9az2pk****-gpu-0\\\\n\\"\\n }\\n ]\\n }\\n ],\\n \\"InstanceId\\": \\"np-5hh4a31emkt6u****\\\\n\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeMetricTop' => [
+ 'summary' => '查询指定监控项的最新监控数据',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVQDPK9',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MetricNames',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'instance_out_traffic' => '',
+ 'instance_in_traffic' => '',
+ ],
+ 'example' => 'instance_in_traffic',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-sgicbcdadjs****',
+ ],
+ 'required' => false,
+ 'maxItems' => 50,
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-31 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-31 11:00:00',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****',
+ ],
+ ],
+ [
+ 'name' => 'Length',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'np-5hh4a31emkt6u****',
+ ],
+ 'required' => false,
+ 'maxItems' => 50,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '4610632D-D661-5982-B3D7-5D3FD183F****',
+ ],
+ 'Count' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NextToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ 'MetricTotalModel' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-fkuit0cmyru4p****',
+ ],
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'np-5hh4a31emkt6u****',
+ ],
+ 'MetricModelList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'instance_in_traffic',
+ ],
+ 'DataPoints' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Timestamp' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1548777660000',
+ ],
+ 'Minimum' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '93.1',
+ ],
+ 'Average' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '99.52',
+ ],
+ 'Maximum' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ ],
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-fkuit0cmyru4p****'."\n",
+ ],
+ 'Properties' => [
+ 'description' => '',
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4610632D-D661-5982-B3D7-5D3FD183F****\\",\\n \\"Count\\": 1,\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****\\",\\n \\"MetricTotalModel\\": [\\n {\\n \\"AndroidInstanceId\\": \\"acp-fkuit0cmyru4p****\\",\\n \\"InstanceId\\": \\"np-5hh4a31emkt6u****\\",\\n \\"MetricModelList\\": [\\n {\\n \\"MetricName\\": \\"instance_in_traffic\\",\\n \\"DataPoints\\": [\\n {\\n \\"Timestamp\\": 1548777660000,\\n \\"Minimum\\": 93.1,\\n \\"Average\\": 99.52,\\n \\"Maximum\\": 100,\\n \\"Name\\": \\"cloudPhone-****\\",\\n \\"Id\\": \\"acp-fkuit0cmyru4p****\\\\n\\",\\n \\"Properties\\": \\"{\\\\\\"IP\\\\\\":\\\\\\"192.168.*.***\\\\\\"}\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'TagResources' => [
+ 'summary' => '给资源打标签',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneDADB6I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ALIYUN::ACP::INSTANCE',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-123456ab****',
+ ],
+ 'required' => true,
+ 'maxItems' => 50,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'department',
+ 'maxLength' => 128,
+ ],
+ 'Value' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'design ',
+ 'maxLength' => 256,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 20,
+ 'minItems' => 1,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'F07A1DA1-E1EB-5CCA-8EED-12F85D32****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F07A1DA1-E1EB-5CCA-8EED-12F85D32****\\"\\n}","type":"json"}]',
+ ],
+ 'UntagResources' => [
+ 'summary' => '删除资源标签',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneDADB6I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ALIYUN::ACP::INSTANCE',
+ ],
+ ],
+ [
+ 'name' => 'All',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-123456ab****',
+ ],
+ 'required' => true,
+ 'maxItems' => 50,
+ ],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'department',
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1A923337-44D9-5CAD-9A53-95084BD4****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1A923337-44D9-5CAD-9A53-95084BD4****\\"\\n}","type":"json"}]',
+ ],
+ 'ListTagResources' => [
+ 'summary' => '查询资源标签',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneDADB6I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ALIYUN::ACP::INSTANCE',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-123456abc****',
+ ],
+ 'required' => false,
+ 'maxItems' => 50,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'department',
+ ],
+ 'Value' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'design',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20393E53-8FF1-524C-B494-B478A5369733',
+ ],
+ 'TagResources' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TF',
+ ],
+ 'ResourceType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ALIYUN::ACP::INSTANC',
+ ],
+ 'ResourceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acp-123456abc****',
+ ],
+ 'TagKey' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'For',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uONHqPtDLM2U8s****\\",\\n \\"RequestId\\": \\"20393E53-8FF1-524C-B494-B478A5369733\\",\\n \\"TagResources\\": [\\n {\\n \\"TagValue\\": \\"TF\\",\\n \\"ResourceType\\": \\"ALIYUN::ACP::INSTANCE\\",\\n \\"ResourceId\\": \\"acp-8jwttemxb4t6y****\\",\\n \\"TagKey\\": \\"department\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeBuckets' => [
+ 'summary' => '查询bucket信息',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneMPR6T6',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FileType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [],
+ 'example' => 'docx',
+ 'enum' => [
+ 'FILE',
+ 'DIR',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<Integer>',
+ 'description' => 'PlainResult<Integer>',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GmtCreated' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-15 17:33:59',
+ ],
+ 'RegionId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'BucketName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zydctest',
+ ],
+ 'ExtranetEndpoint' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'oss-cn-hangzhou.aliyuncs.com',
+ ],
+ 'IntranetEndpoint' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'oss-cn-hangzhou-internal.aliyuncs.com'."\n"
+ ."\n",
+ ],
+ 'Location' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'center',
+ ],
+ 'OssObjectList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BucketName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'tf-testacceu-central-1ensbucketlifecycle44222',
+ ],
+ 'Key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'con',
+ ],
+ 'ETag' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '5B3C1A2E053D763E1B002CC607C5A0FE1****'."\n"
+ ."\n",
+ ],
+ 'Size' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '9',
+ ],
+ 'LastModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2012-02-24T08:42:32.000Z',
+ ],
+ 'StorageClass' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ARCHIVE',
+ ],
+ 'Owner' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '395',
+ ],
+ ],
+ ],
+ 'Type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InstanceGroup',
+ ],
+ 'RestoreInfo' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ongoing-request="true"',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success.',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"GmtCreated\\": \\"2024-05-15 17:33:59\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"BucketName\\": \\"zydctest\\",\\n \\"ExtranetEndpoint\\": \\"oss-cn-hangzhou.aliyuncs.com\\",\\n \\"IntranetEndpoint\\": \\"oss-cn-hangzhou-internal.aliyuncs.com\\\\n\\\\n\\",\\n \\"Location\\": \\"center\\",\\n \\"OssObjectList\\": [\\n {\\n \\"BucketName\\": \\"tf-testacceu-central-1ensbucketlifecycle44222\\",\\n \\"Key\\": \\"con\\",\\n \\"ETag\\": \\"5B3C1A2E053D763E1B002CC607C5A0FE1****\\\\n\\\\n\\",\\n \\"Size\\": 9,\\n \\"LastModified\\": \\"2012-02-24T08:42:32.000Z\\",\\n \\"StorageClass\\": \\"ARCHIVE\\",\\n \\"Owner\\": {\\n \\"DisplayName\\": \\"佳钰\\",\\n \\"Id\\": \\"395\\"\\n },\\n \\"Type\\": \\"InstanceGroup\\",\\n \\"RestoreInfo\\": \\"ongoing-request=\\\\\\"true\\\\\\"\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success.\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]',
+ ],
+ 'SetAdbSecure' => [
+ 'summary' => 'Sets the authentication status for cloud phone instances. If you enable Android Debug Bridge (ADB) authentication for cloud phone instances, the system will verify the validity of the ADB key pairs provided by end users when they connect to the instances over ADB. To ensure successful authentication and a proper connection, we recommend that you attach ADB key pairs to cloud phone instances. If you disable ADB authentication for cloud phone instances, the system will no longer verify the validity of any ADB key pairs. As a result, end users can connect to the cloud phone instances over ADB without authentication, provided the network connection is functioning properly.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneDADB6I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The IDs of the cloud phone instances. You can specify a maximum of 50 cloud phone instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acp-5hh431emkt6ua****',
+ ],
+ 'required' => false,
+ 'maxItems' => 50,
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '安全模式',
+ 'description' => 'The status of the ADB authentication feature.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* 0: The ADB authentication feature is disabled.'."\n"
+ .'* 1: The ADB authentication feature is enabled.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'enumValueTitles' => [
+ '',
+ '',
+ ],
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PlainResult<SetAdbSecureResult>',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => 'The returned object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => 'The total number of the cloud phone instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'FailCount' => [
+ 'description' => 'The number of the cloud phone instances for which the ADB authentication feature failed to be enabled.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'InstanceIds' => [
+ 'description' => 'The IDs of the cloud phone instances for which the ADB authentication feature is enabled.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the cloud phone instance.'."\n",
+ 'type' => 'string',
+ 'enumValueTitles' => [],
+ 'example' => 'acp-5hh431emkt6ua****',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '69BCBBE4-FCF2-59B8-AD9D-531EB422****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TotalCount\\": 100,\\n \\"FailCount\\": 0,\\n \\"InstanceIds\\": [\\n \\"acp-5hh431emkt6ua****\\"\\n ]\\n },\\n \\"RequestId\\": \\"69BCBBE4-FCF2-59B8-AD9D-531EB422****\\"\\n}","type":"json"}]',
+ 'title' => 'SetAdbSecure',
+ 'description' => 'Before you call this operation, make sure that the desired cloud phone instance is in the Running state.'."\n",
+ ],
+ 'ModifyDisplayConfig' => [
+ 'summary' => '修改显示设置',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVB2A7J',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-9y1nwysxr9d6lk2xq-****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'DisplayConfig',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResolutionHeight' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1920',
+ ],
+ 'ResolutionWidth' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '720',
+ ],
+ 'Dpi' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '240',
+ ],
+ 'Fps' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'LockResolution' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'A578AD3A-8E7C-54FE-A09F-B060941*****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A578AD3A-8E7C-54FE-A09F-B060941*****\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeDisplayConfig' => [
+ 'summary' => '查询显示设置',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneVB2A7J',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AndroidInstanceIds',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpn-jewjt8xryuituz4qn-****',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FFEF7EFE-1E36-56D1-B5BF-5BACE43B****',
+ ],
+ 'DisplayConfigModel' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AndroidInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cpn-jewjt8xryuituz4qn-****',
+ ],
+ 'ResolutionHeight' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1280',
+ ],
+ 'ResolutionWidth' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '720',
+ ],
+ 'Dpi' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '240',
+ ],
+ 'Fps' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'null',
+ ],
+ 'LockResolution' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'off' => '',
+ 'on' => '',
+ ],
+ 'example' => 'off',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFEF7EFE-1E36-56D1-B5BF-5BACE43B****\\",\\n \\"DisplayConfigModel\\": [\\n {\\n \\"AndroidInstanceId\\": \\"cpn-jewjt8xryuituz4qn-****\\",\\n \\"ResolutionHeight\\": 1280,\\n \\"ResolutionWidth\\": 720,\\n \\"Dpi\\": 240,\\n \\"Fps\\": 0,\\n \\"LockResolution\\": \\"off\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ImportImage' => [
+ 'summary' => '导入自定义镜像',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneLJI39N',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ImageFileURL',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://xxx.oss-xxx/xxxx.tgz',
+ ],
+ ],
+ [
+ 'name' => 'ImageName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'import custom image',
+ ],
+ ],
+ [
+ 'name' => 'ImageDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'android 12 custom image',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '425F351C-3F8E-5218-A520-B6311D0D****',
+ ],
+ 'ImageId' => [
+ 'title' => 'ImageId',
+ 'description' => 'ImageId',
+ 'type' => 'string',
+ 'example' => 'imgc-06zyt9m93zwax****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"425F351C-3F8E-5218-A520-B6311D0D****\\",\\n \\"ImageId\\": \\"imgc-06zyt9m93zwax****\\"\\n}","type":"json"}]',
+ ],
+ 'GetNetworkBlacklist' => [
+ 'summary' => '网络黑名单列表查询',
+ 'path' => '',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphone89PVC7',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'IP',
+ 'enum' => [
+ 'Domain',
+ 'IP',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'A578AD3A-8E7C-54FE-A09F-B060941*****',
+ ],
+ 'NetworkBlacklistModel' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IpBlacklist' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12.34.56.78',
+ ],
+ ],
+ 'DomainBlacklist' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'malicious.com',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A578AD3A-8E7C-54FE-A09F-B060941*****\\",\\n \\"NetworkBlacklistModel\\": {\\n \\"IpBlacklist\\": [\\n \\"12.34.56.78\\"\\n ],\\n \\"DomainBlacklist\\": [\\n \\"malicious.com\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'SetNetworkBlacklist' => [
+ 'summary' => '设置网络黑名单',
+ 'path' => '/instances/{instanceId}',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREcloudphoneLYX9LP',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'IpBlacklist',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"12.34.56.78"、"172.16.0.0/16"、""',
+ 'maxLength' => 20,
+ 'minLength' => 1,
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ ],
+ ],
+ [
+ 'name' => 'DomainBlacklist',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'www.malicious.net、malicious.com、""',
+ 'maxLength' => 100,
+ 'minLength' => 1,
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2B9E6946-0E2A-5D2B-B275-361DF81F****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2B9E6946-0E2A-5D2B-B275-361DF81F****\\"\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'eds-aic.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'eds-aic.cn-shanghai.aliyuncs.com',
+ ],
+ ],
+];