查询无地域策略的详细信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
下表是API对应的授权信息,可以在RAM权限策略语句的Action
元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:
- 操作:是指具体的权限点。
- 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
- 资源类型:是指操作中支持授权的资源类型。具体说明如下:
- 对于必选的资源类型,用前面加 * 表示。
- 对于不支持资源级授权的操作,用
全部资源
表示。
- 条件关键字:是指云产品自身定义的条件关键字。
- 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作 | 访问级别 | 资源类型 | 条件关键字 | 关联操作 |
---|---|---|---|---|
ecd:DescribeCenterPolicyList | get | *全部资源 * |
| 无 |
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
PageNumber | integer | 否 | 分页查询时,当前页的页码。 | 1 |
PageSize | integer | 否 | 分页查询时,每页最大行数。 | 20 |
PolicyGroupId | array | 否 | 云电脑策略 ID 列表。 | |
string | 否 | 云电脑策略 ID。 | pg-53iyi2aar0nd6**** | |
Scope | string | 否 | 云电脑策略的生效范围。 枚举值:
| GLOBAL |
BusinessType | integer | 是 | 业务类型。 枚举值:
| 1 |
ResourceType | string | 是 | 资源类型。 枚举值:
| desktop |
返回参数
示例
正常返回示例
JSON
格式
{
"TotalCount": 20,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"DescribePolicyGroups": [
{
"PolicyStatus": "AVAILABLE",
"Html5Access": "off",
"WatermarkType": "EndUserId",
"WatermarkCustomText": "custom-watermark",
"Clipboard": "off",
"PolicyGroupId": "pg-gx2x1dhsmthe9****",
"PrinterRedirection": "off",
"Html5FileTransfer": "off",
"UsbRedirect": "off",
"PolicyGroupType": "SYSTEM",
"Watermark": "on",
"VisualQuality": "medium",
"Name": "testPolicyGroupName",
"LocalDrive": "readwrite",
"AuthorizeSecurityPolicyRules": [
{
"Type": "inflow",
"Policy": "accept",
"Description": "test",
"PortRange": "22/22",
"IpProtocol": "tcp",
"Priority": "1",
"CidrIp": "47.100.XX.XX/16"
}
],
"AuthorizeAccessPolicyRules": [
{
"Description": "test",
"CidrIp": "47.100.XX.XX/16"
}
],
"ClientTypes": [
{
"Status": "on",
"ClientType": "windows"
}
],
"GpuAcceleration": "off",
"UsbSupplyRedirectRule": [
{
"VendorId": "04**",
"ProductId": "08**",
"Description": "测试规则",
"UsbRedirectType": 1,
"UsbRuleType": 1
}
],
"DomainResolveRuleType": "on",
"DomainResolveRule": [
{
"Domain": "*.example.com",
"Policy": "allow",
"Description": "测试规则"
}
],
"NetRedirectRule": [
{
"Domain": "*.example.com",
"RuleType": "domain",
"Policy": "allow"
}
],
"Recording": "off",
"RecordingStartTime": "08:00:00",
"RecordingEndTime": "08:59:00",
"RecordingFps": 5,
"RecordingExpires": 15,
"CameraRedirect": "on",
"NetRedirect": "off",
"AppContentProtection": "off",
"RecordContent": "off",
"RecordContentExpires": 30,
"RemoteCoordinate": "fullControl",
"RecordingDuration": 10,
"Scope": "GLOBAL",
"ScopeValue": [
"47.100.XX.XX/24"
],
"RecordingAudio": "on",
"InternetCommunicationProtocol": "tcp",
"VideoRedirect": "off",
"WatermarkTransparencyValue": 10,
"WatermarkColor": 0,
"WatermarkFontSize": 10,
"WatermarkFontStyle": "plain",
"WatermarkDegree": -10,
"WatermarkRowAmount": 3,
"EndUserApplyAdminCoordinate": "off",
"EndUserGroupCoordinate": "off",
"CpuProtectedMode": "on",
"CpuRateLimit": 70,
"CpuSampleDuration": 10,
"CpuSingleRateLimit": 70,
"CpuDownGradeDuration": 30,
"CpuProcessors": [
"chrome.exe"
],
"MemoryProtectedMode": "off",
"MemoryRateLimit": 70,
"MemorySampleDuration": 30,
"MemorySingleRateLimit": 30,
"MemoryDownGradeDuration": 30,
"MemoryProcessors": [
"notepad.exe"
],
"WatermarkSecurity": "on",
"WatermarkAntiCam": "off",
"WatermarkPower": "medium",
"RecordingUserNotify": "off",
"RecordingUserNotifyMessage": "录屏已开启",
"AdminAccess": "deny",
"MaxReconnectTime": 120,
"DisplayMode": "adminCustom",
"StreamingMode": "smooth",
"ColorEnhancement": "off",
"SmoothEnhancement": "off",
"QualityEnhancement": "off",
"VideoEncPolicy": "qualityFirst",
"TargetFps": 30,
"VideoEncMinQP": 20,
"VideoEncMaxQP": 20,
"VideoEncAvgKbps": 1000,
"VideoEncPeakKbps": 2000,
"DeviceRedirects": [
{
"DeviceType": "camera",
"RedirectType": "usbRedirect"
}
],
"DeviceRules": [
{
"DeviceType": "storage",
"DeviceName": "sandisk",
"DeviceVid": "0x0781",
"DevicePid": "0x55b1",
"RedirectType": "usbRedirect",
"OptCommand": "2:0"
}
],
"WyAssistant": "on",
"StatusMonitor": "on",
"MobileRestart": "off",
"MobileShutdown": "off",
"DesktopCount": 1,
"DesktopGroupCount": 1,
"ResourceGroupCount": 1,
"ResolutionModel": "adaptive",
"ResolutionWidth": 1920,
"ResolutionHeight": 1280,
"Taskbar": "off",
"NoOperationDisconnect": "off",
"NoOperationDisconnectTime": 120,
"DisconnectKeepSession": "persistent",
"DisconnectKeepSessionTime": 120,
"DomainRegisterValue": "xxxx",
"RecordEventFilePaths": [
"d:/data"
],
"RecordEventRegisters": [
"计算机\\HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR"
],
"RecordEventDuration": 10
}
]
}
错误码
访问错误中心查看更多错误码。