'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'gws', 'version' => '2019-06-18', ], 'directories' => [ [ 'id' => 64023, 'title' => null, 'type' => 'directory', 'children' => [ 'CreateServiceLinkedRole', ], ], [ 'id' => 64025, 'title' => null, 'type' => 'directory', 'children' => [ 'DescribeClusterADDomain', 'IsUserAdmin', ], ], [ 'id' => 64028, 'title' => null, 'type' => 'directory', 'children' => [ 'CreateInstance', 'DeleteInstance', 'SetInstanceName', 'SetInstancePolicy', 'SetInstanceUser', 'StartInstance', 'StopInstance', 'DescribeInstancePolicy', 'DescribeInstances', 'GetConnectTicket', 'RestartInstance', ], ], [ 'id' => 64040, 'title' => null, 'type' => 'directory', 'children' => [ 'CreateImage', 'DeleteImage', 'SetImageName', 'DescribeImages', ], ], [ 'id' => 64045, 'title' => null, 'type' => 'directory', 'children' => [ 'CreateCluster', 'DeleteCluster', 'SetClusterDnat', 'SetClusterName', 'SetClusterADDomain', 'SetClusterPolicy', 'DescribeClusterConnections', 'DescribeClusterPolicy', 'DescribeClusters', 'DescribeAvailableResource', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateServiceLinkedRole' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'create', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AlreadyExists' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX-XXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"AlreadyExists\\": true,\\n \\"RequestId\\": \\"XXX-XXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXX-XXX\\ntrue","errorExample":""}]', 'title' => 'CreateServiceLinkedRole', ], 'DescribeClusterADDomain' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws-rhzlyl5zx3ua**** ', ], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 't-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '7FCC0CD3-53C2-508E-9E1C-39BF14F0E75A', ], 'IsSupported' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'TaskFinished' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'DomainDnsIp' => [ 'description' => '', 'type' => 'string', 'example' => '192.168.XX.XX', ], 'TaskId' => [ 'description' => '', 'type' => 'string', 'example' => 't-xxx', ], 'DomainName' => [ 'description' => '', 'type' => 'string', 'example' => 'example.com', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7FCC0CD3-53C2-508E-9E1C-39BF14F0E75A\\",\\n \\"IsSupported\\": true,\\n \\"TaskFinished\\": true,\\n \\"DomainDnsIp\\": \\"192.168.XX.XX\\",\\n \\"TaskId\\": \\"t-xxx\\",\\n \\"DomainName\\": \\"example.com\\"\\n}","errorExample":""},{"type":"xml","example":"\\n t-xxx\\n 7FCC0CD3-53C2-508E-9E1C-39BF14F0E75A\\n example.com\\n true\\n true\\n 192.168.XX.XX\\n","errorExample":""}]', 'title' => 'DescribeClusterADDomain', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'IsUserAdmin' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'IsAllow' => [ 'description' => '', 'type' => 'boolean', 'example' => 'false', ], 'IsAdmin' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"IsAllow\\": false,\\n \\"IsAdmin\\": true,\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"true\\ntrue\\nC8760FD7-61AD-47EA-AAC3-F4E6A973DF51","errorExample":""}]', 'title' => 'IsUserAdmin', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'CreateInstance' => [ 'summary' => '创建实例', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws-xxx', ], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'vsw-xxx', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'desktop-xxx', ], ], [ 'name' => 'ImageId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'm-xxx', ], ], [ 'name' => 'SystemDiskSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '500', 'minimum' => '20', 'example' => '100', ], ], [ 'name' => 'SystemDiskCategory', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cloud_ssd', ], ], [ 'name' => 'AllocatePublicAddress', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'true', 'default' => 'true', ], ], [ 'name' => 'InternetChargeType', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'PayByBandwidth', 'default' => 'PayByTraffic', ], ], [ 'name' => 'InternetMaxBandwidthIn', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '4', ], ], [ 'name' => 'InternetMaxBandwidthOut', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'example' => '4', 'default' => '4', ], ], [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'ecs.g6.large', ], ], [ 'name' => 'InstanceChargeType', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'PostPaid', 'default' => 'PostPaid', ], ], [ 'name' => 'AutoRenew', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'True', 'default' => 'false', ], ], [ 'name' => 'Period', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'PeriodUnit', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'Week', ], ], [ 'name' => 'WorkMode', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'Desktop', ], ], [ 'name' => 'AppList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'AppName' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'notepad', ], 'AppPath' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'C:\\Windows\\System32\\notepad.exe', ], 'AppArgs' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'c:/temp.txt', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 10, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'InstanceId' => [ 'description' => '', 'type' => 'string', 'example' => 'i-xxx', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX-XXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"InstanceId\\": \\"i-xxx\\",\\n \\"RequestId\\": \\"XXX-XXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXX-XXX\\ni-xxx","errorExample":""}]', 'title' => 'CreateInstance', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DeleteInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX-XXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXX-XXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXX-XXX","errorExample":""}]', 'title' => 'DeleteInstance', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'SetInstanceName' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'desktop-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXXX","errorExample":""}]', 'title' => 'SetInstanceName', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'SetInstancePolicy' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], [ 'name' => 'VisualLossless', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'on', 'default' => 'off', 'enum' => [ 'on', 'off', ], ], ], [ 'name' => 'OptimizeFor3d', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'on', 'default' => 'off', 'enum' => [ 'on', 'off', ], ], ], [ 'name' => 'AsyncMode', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TaskId' => [ 'description' => '', 'type' => 'string', 'example' => 't-xxx', ], 'RequestId' => [ 'description' => 'Request id。', 'type' => 'string', 'example' => 'XXX-XXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": \\"t-xxx\\",\\n \\"RequestId\\": \\"XXX-XXX\\"\\n}","errorExample":""},{"type":"xml","example":"t-xxx\\nXXX-XXX","errorExample":""}]', 'title' => 'SetInstancePolicy', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'SetInstanceUser' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], [ 'name' => 'UserUid', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1234', ], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'user_xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXXX","errorExample":""}]', 'title' => 'SetInstanceUser', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'StartInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXXX","errorExample":""}]', 'title' => 'StartInstance', ], 'StopInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXXX","errorExample":""}]', 'title' => 'StopInstance', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeInstancePolicy' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 't-xxx', ], ], [ 'name' => 'AsyncMode', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'OptimizeFor3d' => [ 'description' => '', 'type' => 'string', 'example' => 'on', ], 'TaskFinished' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'VisualLossless' => [ 'description' => '', 'type' => 'string', 'example' => 'off', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX-XXX', ], 'TaskId' => [ 'description' => '', 'type' => 'string', 'example' => 't-xxx', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"OptimizeFor3d\\": \\"on\\",\\n \\"TaskFinished\\": true,\\n \\"VisualLossless\\": \\"off\\",\\n \\"RequestId\\": \\"XXX-XXX\\",\\n \\"TaskId\\": \\"t-xxx\\"\\n}","errorExample":""},{"type":"xml","example":"t-xxx\\nXXX-XXX\\noff\\ntrue\\non","errorExample":""}]', 'title' => 'DescribeInstancePolicy', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeInstances' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'default' => '20', ], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'gws-xxx', ], ], [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-xxx', ], ], [ 'name' => 'UserUid', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12345', ], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'user01', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'PageSize' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX-XXX', ], 'PageNumber' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'TotalCount' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Instances' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Status' => [ 'description' => '', 'type' => 'string', 'example' => 'Stopped', ], 'ExpireTime' => [ 'description' => '', 'type' => 'string', 'example' => '2099-12-31T15:59Z', ], 'WorkMode' => [ 'description' => '', 'type' => 'string', 'example' => 'Application', ], 'CreateTime' => [ 'description' => '', 'type' => 'string', 'example' => '2019-10-12T07:35Z', ], 'StoppedMode' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'UserUid' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1234', ], 'HostName' => [ 'description' => '', 'type' => 'string', 'example' => 'c0-i01-xx-t6', ], 'InstanceId' => [ 'description' => '', 'type' => 'string', 'example' => 'i-xxx', ], 'InstanceType' => [ 'description' => '', 'type' => 'string', 'example' => 'ecs.g6.large', ], 'DomainName' => [ 'description' => '', 'type' => 'string', 'example' => 'abc.com', ], 'InstanceChargeType' => [ 'description' => '', 'type' => 'string', 'example' => 'PostPaid', ], 'MaxBandwidthIn' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'IsBoundUser' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'MaxBandwidthOut' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'Name' => [ 'description' => '', 'type' => 'string', 'example' => 'c0-i01-xx-t6-2c8g', ], 'UserName' => [ 'description' => '', 'type' => 'string', 'example' => 'user-xxx', ], 'ImageId' => [ 'description' => '', 'type' => 'string', 'example' => 'm-xxx', ], 'ClusterId' => [ 'description' => '', 'type' => 'string', 'example' => 'gws-xxx', ], 'AppList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'AppName' => [ 'description' => '', 'type' => 'string', 'example' => 'notepad', ], 'AppArgs' => [ 'description' => '', 'type' => 'string', 'example' => 'c:\\temp.txt', ], 'AppPath' => [ 'description' => '', 'type' => 'string', 'example' => 'c:\\windows\\system32\\nodepad.exe', ], ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"XXX-XXX\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Instances\\": [\\n {\\n \\"Status\\": \\"Stopped\\",\\n \\"ExpireTime\\": \\"2099-12-31T15:59Z\\",\\n \\"WorkMode\\": \\"Application\\",\\n \\"CreateTime\\": \\"2019-10-12T07:35Z\\",\\n \\"StoppedMode\\": \\"停止\\",\\n \\"UserUid\\": 1234,\\n \\"HostName\\": \\"c0-i01-xx-t6\\",\\n \\"InstanceId\\": \\"i-xxx\\",\\n \\"InstanceType\\": \\"ecs.g6.large\\",\\n \\"DomainName\\": \\"abc.com\\",\\n \\"InstanceChargeType\\": \\"PostPaid\\",\\n \\"MaxBandwidthIn\\": 100,\\n \\"IsBoundUser\\": true,\\n \\"MaxBandwidthOut\\": 100,\\n \\"Name\\": \\"c0-i01-xx-t6-2c8g\\",\\n \\"UserName\\": \\"user-xxx\\",\\n \\"ImageId\\": \\"m-xxx\\",\\n \\"ClusterId\\": \\"gws-xxx\\",\\n \\"AppList\\": [\\n {\\n \\"AppName\\": \\"notepad\\",\\n \\"AppArgs\\": \\"c:\\\\\\\\temp.txt\\",\\n \\"AppPath\\": \\"c:\\\\\\\\windows\\\\\\\\system32\\\\\\\\nodepad.exe\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n Stopped\\n 100\\n 100\\n user-xxx\\n abc.com\\n gws-xxx\\n i-xxx\\n PostPaid\\n 停止\\n 2019-10-12T07:35Z\\n true\\n c0-i01-xx-t6-2c8g\\n 1234\\n m-xxx\\n 2099-12-31T15:59Z\\n ecs.g6.large\\n Application\\n c0-i01-xx-t6\\n \\n c:\\\\temp.txt\\n c:\\\\windows\\\\system32\\\\nodepad.exe\\n notepad\\n \\n\\n1\\n10\\nXXX-XXX\\n1","errorExample":""}]', 'title' => 'DescribeInstances', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'GetConnectTicket' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], [ 'name' => 'AppName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'app-xxx', ], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'user01', ], ], [ 'name' => 'Password', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 't-xxx', ], ], [ 'name' => 'AsyncMode', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false', ], ], [ 'name' => 'UsePrivateIp', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TaskFinished' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX-XXX', ], 'Ticket' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXXXXXXX', ], 'TaskId' => [ 'description' => '', 'type' => 'string', 'example' => 't-xxx', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskFinished\\": true,\\n \\"RequestId\\": \\"XXX-XXX\\",\\n \\"Ticket\\": \\"XXXXXXXXX\\",\\n \\"TaskId\\": \\"t-xxx\\"\\n}","errorExample":""},{"type":"xml","example":"XXXXXXXXX\\nt-xxx\\nXXX-XXX\\ntrue","errorExample":""}]', 'title' => 'GetConnectTicket', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'RestartInstance' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"908AB064-2453-49E9-B062-9B6CC09FA25C","errorExample":""}]', 'title' => 'RestartInstance', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'CreateImage' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-xxx', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'image-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ImageId' => [ 'description' => '', 'type' => 'string', 'example' => 'm-xxx', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ImageId\\": \\"m-xxx\\",\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"m-xxx\\nXXXX","errorExample":""}]', 'title' => 'CreateImage', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DeleteImage' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', ], 'parameters' => [ [ 'name' => 'ImageId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'm-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXXX","errorExample":""}]', 'title' => 'DeleteImage', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'SetImageName' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'ImageId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'm-xxx', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'image-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXXX","errorExample":""}]', 'title' => 'SetImageName', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeImages' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'InstanceType', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.large', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'PageSize' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '20', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX-XXXX', ], 'PageNumber' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'TotalCount' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Images' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Status' => [ 'description' => '', 'type' => 'string', 'example' => 'Available', ], 'ImageType' => [ 'description' => '', 'type' => 'string', 'example' => 'system', ], 'Progress' => [ 'description' => '', 'type' => 'string', 'example' => '100%', ], 'Size' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '40', ], 'CreateTime' => [ 'description' => '', 'type' => 'string', 'example' => 'Mon May 27 13:33:42 CST 2019', ], 'Name' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'ImageId' => [ 'description' => '', 'type' => 'string', 'example' => 'm-bp125mb261tmk6tqvoni', ], 'ProductCode' => [ 'description' => '', 'type' => 'string', 'example' => 'cmjj00042097', ], ], ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"XXXX-XXXX\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Images\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"ImageType\\": \\"system\\",\\n \\"Progress\\": \\"100%\\",\\n \\"Size\\": 40,\\n \\"CreateTime\\": \\"Mon May 27 13:33:42 CST 2019\\",\\n \\"Name\\": \\"windows 2016 标准版 citrix 1903\\",\\n \\"ImageId\\": \\"m-bp125mb261tmk6tqvoni\\",\\n \\"ProductCode\\": \\"cmjj00042097\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"1\\n20\\nXXXX-XXXX\\n1\\n\\n Available\\n 100%\\n cmjj00042097\\n 40\\n Mon May 27 13:33:42 CST 2019\\n m-bp125mb261tmk6tqvoni\\n system\\n windows 2016 标准版 citrix 1903\\n","errorExample":""}]', 'title' => 'DescribeImages', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'CreateCluster' => [ 'summary' => '创建集群', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid', ], 'parameters' => [ [ 'name' => 'VpcId', 'in' => 'query', 'schema' => [ 'description' => 'VPC id', 'type' => 'string', 'required' => true, 'example' => 'vpc-xxx', ], ], [ 'name' => 'ClusterType', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws.s1.standard', ], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'vsw-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'ClusterId' => [ 'description' => '', 'type' => 'string', 'example' => 'gws-xxx', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ClusterId\\": \\"gws-xxx\\",\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"gws-xxx\\nXXXX","errorExample":""}]', 'title' => 'CreateCluster', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DeleteCluster' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXXX","errorExample":""}]', 'title' => 'DeleteCluster', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'SetClusterDnat' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws-xxx', ], ], [ 'name' => 'NatId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxx', ], ], [ 'name' => 'NatEip', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1.2.3.4', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX-XXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXX-XXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXX-XXX","errorExample":""}]', 'title' => 'SetClusterDnat', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'SetClusterName' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws-xxx', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cluster-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"XXXX","errorExample":""}]', 'title' => 'SetClusterName', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'SetClusterADDomain' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws-rhzlyl5zx3ua****', ], ], [ 'name' => 'DomainDnsIp', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '192.168.XX.XX', ], ], [ 'name' => 'DomainName', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'example.com', ], ], [ 'name' => 'DomainPassword', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'password***', ], ], [ 'name' => 'DomainAdmin', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'administrator', 'default' => 'administrator', ], ], [ 'name' => 'DomainDelete', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TaskId' => [ 'description' => '', 'type' => 'string', 'example' => 't-xxx', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '7FCC0CD3-53C2-508E-9E1C-39BF14F0E75A', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": \\"t-xxx\\",\\n \\"RequestId\\": \\"7FCC0CD3-53C2-508E-9E1C-39BF14F0E75A\\"\\n}","errorExample":""},{"type":"xml","example":"\\n t-xxx\\n 7FCC0CD3-53C2-508E-9E1C-39BF14F0E75A\\n","errorExample":""}]', 'title' => 'SetClusterADDomain', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'SetClusterPolicy' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws-xxx', ], ], [ 'name' => 'UsbRedirect', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'on', 'enum' => [ 'off', 'on', ], ], ], [ 'name' => 'Watermark', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'off', 'enum' => [ 'off', 'on', ], ], ], [ 'name' => 'LocalDrive', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'readwrite', 'enum' => [ 'off', 'read', 'readwrite', ], ], ], [ 'name' => 'Clipboard', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'read', 'enum' => [ 'off', 'read', 'readwrite', 'write', ], ], ], [ 'name' => 'UdpPort', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'off', 'default' => 'on', 'enum' => [ 'off', 'on', ], ], ], [ 'name' => 'Audio', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'on', 'default' => 'on', 'enum' => [ 'off', 'on', ], ], ], [ 'name' => 'DomainList', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '*.abc.com,*.xyz.com', ], ], [ 'name' => 'AsyncMode', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'TaskId' => [ 'description' => '', 'type' => 'string', 'example' => 't-xxx', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXXX', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": \\"t-xxx\\",\\n \\"RequestId\\": \\"XXXX\\"\\n}","errorExample":""},{"type":"xml","example":"t-xxx\\nXXXX","errorExample":""}]', 'title' => 'SetClusterPolicy', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeClusterConnections' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws-xxx', ], ], [ 'name' => 'StartTime', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '2020-09-07', ], ], [ 'name' => 'EndTime', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '2020-09-01', ], ], [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 't-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'XXX-XXX', ], 'TaskFinished' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'TotalCount' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'TaskId' => [ 'description' => '', 'type' => 'string', 'example' => 't-xxx', ], 'Connections' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LogoffStatus' => [ 'description' => '', 'type' => 'string', 'example' => '0', ], 'InstanceName' => [ 'description' => '', 'type' => 'string', 'example' => 'test', ], 'LogonTime' => [ 'description' => '', 'type' => 'string', 'example' => '2020-09-01T01:02:03.456Z', ], 'HostName' => [ 'description' => '', 'type' => 'string', 'example' => 'hostname', ], 'LogoffTime' => [ 'description' => '', 'type' => 'string', 'example' => '2020-09-03T01:02:03.456Z', ], 'InstanceId' => [ 'description' => '', 'type' => 'string', 'example' => 'i-xxx', ], 'ClientName' => [ 'description' => '', 'type' => 'string', 'example' => 'client-xxx', ], ], ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXX-XXX\\",\\n \\"TaskFinished\\": true,\\n \\"TotalCount\\": 1,\\n \\"TaskId\\": \\"t-xxx\\",\\n \\"Connections\\": [\\n {\\n \\"LogoffStatus\\": \\"0\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"LogonTime\\": \\"2020-09-01T01:02:03.456Z\\",\\n \\"HostName\\": \\"hostname\\",\\n \\"LogoffTime\\": \\"2020-09-03T01:02:03.456Z\\",\\n \\"InstanceId\\": \\"i-xxx\\",\\n \\"ClientName\\": \\"client-xxx\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 0\\n 2020-09-03T01:02:03.456Z\\n client-xxx\\n 2020-09-01T01:02:03.456Z\\n i-xxx\\n\\n1\\nt-xxx\\nXXX-XXX\\ntrue","errorExample":""}]', 'title' => 'DescribeClusterConnections', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeClusterPolicy' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 't-xxx', ], ], [ 'name' => 'AsyncMode', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false', ], ], [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'gws-xxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'UdpPort' => [ 'description' => '', 'type' => 'string', 'example' => 'on', ], 'TaskFinished' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'RequestId' => [ 'description' => 'Request Id', 'type' => 'string', 'example' => 'XXX-XXX', ], 'UsbRedirect' => [ 'description' => '', 'type' => 'string', 'example' => 'off', ], 'Clipboard' => [ 'description' => '', 'type' => 'string', 'example' => 'readwrite', ], 'Watermark' => [ 'description' => '', 'type' => 'string', 'example' => 'off', ], 'TaskId' => [ 'description' => '', 'type' => 'string', 'example' => 't-xxx', ], 'DomainList' => [ 'description' => '', 'type' => 'string', 'example' => '*.abc.com,*.xyz.com', ], 'Audio' => [ 'description' => '', 'type' => 'string', 'example' => 'on', ], 'LocalDrive' => [ 'description' => '', 'type' => 'string', 'example' => 'readwrite', ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"UdpPort\\": \\"on\\",\\n \\"TaskFinished\\": true,\\n \\"RequestId\\": \\"XXX-XXX\\",\\n \\"UsbRedirect\\": \\"off\\",\\n \\"Clipboard\\": \\"readwrite\\",\\n \\"Watermark\\": \\"off\\",\\n \\"TaskId\\": \\"t-xxx\\",\\n \\"DomainList\\": \\"*.abc.com,*.xyz.com\\",\\n \\"Audio\\": \\"on\\",\\n \\"LocalDrive\\": \\"readwrite\\"\\n}","errorExample":""},{"type":"xml","example":"t-xxx\\non\\nXXX-XXX\\nreadwrite\\noff\\ntrue\\n*.abc.com,*.xyz.com\\nreadwrite\\n\\noff","errorExample":""}]', 'title' => 'DescribeClusterPolicy', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeClusters' => [ 'summary' => '查询gws集群列表', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'gws-rhzlyl5zx3ua****', ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'PageSize' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '7FCC0CD3-53C2-508E-9E1C-39BF14F0E75A', ], 'PageNumber' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'TotalCount' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Clusters' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'VpcId' => [ 'description' => 'VPC ID。', 'type' => 'string', 'example' => 'vpc-bp1vi54o1on2sijpm****', ], 'Status' => [ 'description' => '', 'type' => 'string', 'example' => 'running', ], 'NatId' => [ 'description' => '', 'type' => 'string', 'example' => 'ngw-uf63l0kkf73ieyf9k****', ], 'InstanceCount' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'CreateTime' => [ 'description' => '', 'type' => 'string', 'example' => '2020-09-17T02:02:25Z', ], 'NatEip' => [ 'description' => '', 'type' => 'string', 'example' => '192.168.XX.XX', ], 'SecurityGroup' => [ 'description' => '', 'type' => 'string', 'example' => 'sg-bp18ny7dvho4g0s7****', ], 'Name' => [ 'description' => '', 'type' => 'string', 'example' => 'cluster-xxx', ], 'DomainName' => [ 'description' => '', 'type' => 'string', 'example' => 'example.com', ], 'ClusterId' => [ 'description' => '', 'type' => 'string', 'example' => 'gws-rhzlyl5zx3ua****', ], ], ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"7FCC0CD3-53C2-508E-9E1C-39BF14F0E75A\\",\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Clusters\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1vi54o1on2sijpm****\\",\\n \\"Status\\": \\"running\\",\\n \\"NatId\\": \\"ngw-uf63l0kkf73ieyf9k****\\",\\n \\"InstanceCount\\": 1,\\n \\"CreateTime\\": \\"2020-09-17T02:02:25Z\\",\\n \\"NatEip\\": \\"192.168.XX.XX\\",\\n \\"SecurityGroup\\": \\"sg-bp18ny7dvho4g0s7****\\",\\n \\"Name\\": \\"cluster-xxx\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"ClusterId\\": \\"gws-rhzlyl5zx3ua****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 10\\n 7FCC0CD3-53C2-508E-9E1C-39BF14F0E75A\\n 1\\n \\n running\\n 1\\n ngw-uf63l0kkf73ieyf9k****\\n vpc-bp1vi54o1on2sijpm****\\n example.com\\n gws-rhzlyl5zx3ua****\\n 2020-09-17T02:02:25Z\\n sg-bp18ny7dvho4g0s7****\\n 192.168.XX.XX\\n cluster-xxx\\n \\n","errorExample":""}]', 'title' => 'DescribeClusters', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], 'DescribeAvailableResource' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => 'Request id。', 'type' => 'string', 'example' => 'XXX-XXX', ], 'AvailableResources' => [ 'description' => 'AvailableResources', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ClusterType' => [ 'description' => '', 'type' => 'string', 'example' => 'gws.s1.stardard', ], 'Zone' => [ 'description' => '', 'type' => 'string', 'example' => 'cn-hangzhou-i', ], ], ], ], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"XXX-XXX\\",\\n \\"AvailableResources\\": [\\n {\\n \\"ClusterType\\": \\"gws.s1.stardard\\",\\n \\"Zone\\": \\"cn-hangzhou-i\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"XXX-XXX\\n\\n cn-hangzhou-i\\n gws.s1.stardard\\n","errorExample":""}]', 'title' => 'DescribeAvailableResource', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], ], 'endpoints' => [ [ 'regionId' => 'ap-southeast-3', 'endpoint' => 'gws.ap-northeast-3.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-finance', 'endpoint' => 'ecd.cn-hangzhou-finance.aliyuncs.com', ], [ 'regionId' => 'cn-qingdao', 'endpoint' => 'gws.cn-qingdao.aliyuncs.com', ], [ 'regionId' => 'cn-beijing', 'endpoint' => 'gws.cn-beijing.aliyuncs.com', ], [ 'regionId' => 'cn-chengdu', 'endpoint' => 'gws.cn-chengdu.aliyuncs.com', ], [ 'regionId' => 'cn-zhangjiakou', 'endpoint' => 'gws.cn-zhangjiakou.aliyuncs.com', ], [ 'regionId' => 'cn-huhehaote', 'endpoint' => 'gws.cn-huhehaote.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'gws.cn-hangzhou.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'endpoint' => 'gws.cn-shanghai.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen', 'endpoint' => 'gws.cn-shenzhen.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong', 'endpoint' => 'gws.cn-hongkong.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-1', 'endpoint' => 'gws.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-2', 'endpoint' => 'gws.ap-southeast-2.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-5', 'endpoint' => 'gws.ap-southeast-5.aliyuncs.com', ], [ 'regionId' => 'ap-northeast-1', 'endpoint' => 'gws.ap-northeast-1.aliyuncs.com', ], [ 'regionId' => 'us-west-1', 'endpoint' => 'gws.us-west-1.aliyuncs.com', ], [ 'regionId' => 'us-east-1', 'endpoint' => 'gws.us-east-1.aliyuncs.com', ], [ 'regionId' => 'eu-central-1', 'endpoint' => 'gws.eu-central-1.aliyuncs.com', ], [ 'regionId' => 'ap-south-1', 'endpoint' => 'gws.ap-south-1.aliyuncs.com', ], [ 'regionId' => 'eu-west-1', 'endpoint' => 'gws.eu-west-1.aliyuncs.com', ], ], ];