Queries all properties of office networks, including ID, name, status, and creation time.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:DescribeOfficeSites |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Call DescribeRegions to query supported regions. |
cn-hangzhou |
| OfficeSiteType |
string |
No |
The type of account for the office network. Valid values:
|
SIMPLE |
| MaxResults |
integer |
No |
The number of entries to return on each page.
|
10 |
| NextToken |
string |
No |
The token used to retrieve the next page of results. |
caeba0bbb2be03f84eb48b699f0a4883 |
| OfficeSiteId |
array |
No |
The office network IDs. You can specify 1 to 100 IDs. |
cn-hangzhou+dir-363353**** |
|
string |
No |
The office network ID. |
cn-hangzhou+dir-363353**** |
|
| Status |
string |
No |
The office network status. Valid values:
|
REGISTERED |
| SecurityProtection |
string |
No |
The security protection setting for the office network. Valid values:
|
SASE |
| VpcId |
string |
No |
The VPC ID. |
|
| AccountType |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| NextToken |
string |
The token for the next page. Empty if all results are returned. |
caeba0bbb2be03f84eb48b699f0a4883 |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| TotalCount |
integer |
The total number of entries returned. |
20 |
| OfficeSites |
array<object> |
A list of office networks. |
|
|
array<object> |
An office network. |
||
| Status |
string |
The status of the office network. Valid values:
|
REGISTERED |
| CreationTime |
string |
The creation time of the office network. |
2021-05-06T05:58Z |
| VpcId |
string |
The VPC ID of the office network. |
vpc-uf6tz5k67puge5jn8**** |
| VpcType |
string |
The VPC type. Valid values:
|
Basic |
| EnableAdminAccess |
boolean |
Whether local administrator permissions are granted to cloud computer users in the office network. Valid values:
|
true |
| EnableCrossDesktopAccess |
boolean |
Whether cloud computers in the office network can access each other. |
false |
| DesktopVpcEndpoint |
string |
The VPC endpoint for connecting to cloud computers. |
http://ep-bp1s2vmbj55r5rzc****.epsrv-bp1pcfhpwvlpny01****.cn-hangzhou.privatelink.aliyuncs.com |
| DesktopAccessType |
string |
The connection method for Elastic Desktop Service clients. Note
VPC connections use Alibaba Cloud PrivateLink (free of charge). PrivateLink is enabled when this parameter returns Valid values:
|
INTERNET |
| SsoEnabled |
boolean |
Whether SSO is enabled. |
false |
| CidrBlock |
string |
The IPv4 CIDR block of the office network VPC. |
47.100.XX.XX |
| Bandwidth |
integer |
The peak public bandwidth in Mbit/s. Valid values: 0 to 1000. |
10 |
| TrustPassword |
string |
Note
This parameter is not available. |
To be hidden. |
| Name |
string |
The office network name. Must be unique within the region. |
test |
| EnableInternetAccess |
boolean |
Whether internet access is enabled. |
false |
| DomainPassword |
string |
The password of the domain administrator. |
testPassword |
| CustomSecurityGroupId |
string |
The security group ID. |
sg-bp1ce64o4g9mdf5u**** |
| OuName |
string |
The OU in the AD domain. |
example.com/Domain Controllers |
| DomainUserName |
string |
The username of the domain administrator. |
Administrator |
| SubDomainName |
string |
The AD subdomain name. |
testSubDnsUserName |
| OfficeSiteId |
string |
The office network ID. |
cn-hangzhou+dir-363353**** |
| CenId |
string |
The CEN instance ID. |
cen-3gwy16dojz1m65**** |
| CenAttachStatus |
string |
The CEN instance attachment status. |
attached |
| MfaEnabled |
boolean |
Whether MFA is enabled. |
false |
| NetworkPackageId |
string |
The ID of the premium bandwidth plan. |
np-amtp8e8q1o9e4**** |
| DnsUserName |
string |
The DNS username. |
testDnsUserName |
| OfficeSiteType |
string |
The account type of the office network. Valid values:
|
AD_CONNECTOR |
| ADConnectors |
array<object> |
A list of AD connectors. |
|
|
object |
An AD connector. |
||
| ConnectorStatus |
string |
The AD connector status. Valid values:
|
RUNNING |
| VSwitchId |
string |
The vSwitch ID of the AD connector network. |
vsw-bp19ocz3erfx15uon**** |
| ADConnectorAddress |
string |
The connection address of the AD connector. |
172.24.*.* |
| TrustKey |
string |
The trust password for the AD trust relationship. |
password123*** |
| NetworkInterfaceId |
string |
The ENI ID of the AD connector. |
eni-bp1i4wx78lgosrj6**** |
| Specification |
string |
The AD connector specification. Valid values:
|
1 |
| Logs |
array<object> |
The registration logs. |
|
|
object |
A registration log entry. |
||
| Step |
string |
The registration step. |
CREATE_CONNECTOR |
| Message |
string |
The log message. |
code:success | message:Create Connector complete |
| TimeStamp |
string |
The timestamp of the log entry. |
2021-05-12T09:42Z |
| Level |
string |
The log level. Valid values:
|
INFO |
| VSwitchIds |
array |
The vSwitch IDs. |
|
|
string |
The vSwitch ID. |
vsw-bp19ocz3erfx15uon**** |
|
| FileSystemIds |
array |
The NAS file system IDs. |
|
|
string |
The NAS file system ID. |
["05b534****"] |
|
| SubDnsAddress |
array |
The DNS addresses of the AD subdomains. |
|
|
string |
The DNS address of the AD subdomain. |
["172.24.XX.XX"] |
|
| DnsAddress |
array |
The DNS addresses of the AD domain. |
|
|
string |
The DNS address of the AD domain. |
["172.24.XX.XX"] |
|
| CustomDnsAddress |
array |
The custom DNS addresses. |
|
|
string |
The custom DNS address. |
["172.24.XX.XX"] |
|
| NeedVerifyLoginRisk |
boolean |
Whether risk-based logon verification is enabled. Applies only to convenience account office networks. When enabled, the system checks for security risks at logon and may require email verification. |
false |
| DesktopCount |
integer |
The number of individually provisioned cloud computers. |
1 |
| TotalEdsCount |
integer |
The total cloud computer count, including individual and shared. |
0 |
| TotalEdsCountForGroup |
integer |
The number of shared cloud computers. |
0 |
| NeedVerifyZeroDevice |
boolean |
Whether trusted device verification is enabled. Valid values:
|
true |
| CloudBoxOfficeSite |
boolean |
Whether this is a CloudBox-based office network. Valid values:
|
true |
| SsoType |
string |
The SSO type. Valid values:
|
SAML |
| ProtocolType |
string |
The streaming protocol. Valid values:
|
ASP |
| AdHostname |
string |
The domain controller hostname. Must follow Windows hostname naming conventions. |
beijing-ad01 |
| RdsLicenseStatus |
string |
The RDS license status. |
2 |
| RdsLicenseAddress |
string |
The IP address of the RDS license server. |
47.100.XX.XX |
| RdsLicenseDomainName |
string |
The domain name of the RDS license server. |
example.com |
| BackupDns |
string |
The DNS address of the backup domain controller. |
172.24.XX.XX |
| BackupDCHostname |
string |
The hostname of the backup domain controller. |
beijing-ad02 |
| EnableServiceRoute |
boolean |
Whether cloud service routing access control is enabled. |
false |
| SubnetMode |
string |
The subnet mode of the office network. Valid values:
|
0 |
| SecurityProtection |
string |
The security protection configuration for the office network. Valid values:
|
SASE |
| CustomAccessPoint |
string |
The address of the custom access gateway. |
gw-****.com |
| ResourceAmounts |
array<object> |
A list of resource quantities. |
|
|
object |
|||
| resourceType |
string |
The resource type. Valid values:
|
desktop |
| amount |
integer |
The number of resources of this type. |
1 |
| TotalResourceAmount |
integer |
The total resource count, including individual and shared cloud computers. |
1 |
| NmVersion |
string |
The network version. The new version supports App Streaming. Valid values:
|
NM |
| AcceleratorId |
string |
The GA instance ID. |
ga-bp1astu3yrplkzoo2**** |
| LdapUrl |
string |
||
| IsLdap |
boolean |
||
| DomainName |
string |
The domain name of the enterprise AD. |
example.com |
| AccountType |
string |
||
| AuthorityHost |
string |
||
| TenantId |
string |
||
| ClientId |
string |
||
| EnvType |
string |
||
| VplVersion |
string |
||
| ClientSecret |
string |
||
| Eid |
string |
||
| AccessAttribute |
string |
Examples
Success response
JSON format
{
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"TotalCount": 20,
"OfficeSites": [
{
"Status": "REGISTERED",
"CreationTime": "2021-05-06T05:58Z",
"VpcId": "vpc-uf6tz5k67puge5jn8****",
"VpcType": "Basic",
"EnableAdminAccess": true,
"EnableCrossDesktopAccess": false,
"DesktopVpcEndpoint": "http://ep-bp1s2vmbj55r5rzc****.epsrv-bp1pcfhpwvlpny01****.cn-hangzhou.privatelink.aliyuncs.com",
"DesktopAccessType": "INTERNET",
"SsoEnabled": false,
"CidrBlock": "47.100.XX.XX",
"Bandwidth": 10,
"TrustPassword": "To be hidden.",
"Name": "test",
"EnableInternetAccess": false,
"DomainPassword": "testPassword",
"CustomSecurityGroupId": "sg-bp1ce64o4g9mdf5u****",
"OuName": "example.com/Domain Controllers",
"DomainUserName": "Administrator",
"SubDomainName": "testSubDnsUserName",
"OfficeSiteId": "cn-hangzhou+dir-363353****",
"CenId": "cen-3gwy16dojz1m65****",
"CenAttachStatus": "attached",
"MfaEnabled": false,
"NetworkPackageId": "np-amtp8e8q1o9e4****",
"DnsUserName": "testDnsUserName\t",
"OfficeSiteType": "AD_CONNECTOR",
"ADConnectors": [
{
"ConnectorStatus": "RUNNING",
"VSwitchId": "vsw-bp19ocz3erfx15uon****",
"ADConnectorAddress": "172.24.*.*",
"TrustKey": "password123***",
"NetworkInterfaceId": "eni-bp1i4wx78lgosrj6****",
"Specification": "1"
}
],
"Logs": [
{
"Step": "CREATE_CONNECTOR",
"Message": "code:success | message:Create Connector complete",
"TimeStamp": "2021-05-12T09:42Z",
"Level": "INFO"
}
],
"VSwitchIds": [
"vsw-bp19ocz3erfx15uon****"
],
"FileSystemIds": [
"[\"05b534****\"]"
],
"SubDnsAddress": [
" [\"172.24.XX.XX\"]"
],
"DnsAddress": [
" [\"172.24.XX.XX\"]"
],
"CustomDnsAddress": [
" [\"172.24.XX.XX\"]"
],
"NeedVerifyLoginRisk": false,
"DesktopCount": 1,
"TotalEdsCount": 0,
"TotalEdsCountForGroup": 0,
"NeedVerifyZeroDevice": true,
"CloudBoxOfficeSite": true,
"SsoType": "SAML",
"ProtocolType": "ASP",
"AdHostname": "beijing-ad01",
"RdsLicenseStatus": "2",
"RdsLicenseAddress": "47.100.XX.XX",
"RdsLicenseDomainName": "example.com",
"BackupDns": "172.24.XX.XX",
"BackupDCHostname": "beijing-ad02",
"EnableServiceRoute": false,
"SubnetMode": "0",
"SecurityProtection": "SASE",
"CustomAccessPoint": "gw-****.com",
"ResourceAmounts": [
{
"resourceType": "desktop",
"amount": 1
}
],
"TotalResourceAmount": 1,
"NmVersion": "NM",
"AcceleratorId": "ga-bp1astu3yrplkzoo2****",
"LdapUrl": "",
"IsLdap": false,
"DomainName": "example.com",
"AccountType": "",
"AuthorityHost": "",
"TenantId": "",
"ClientId": "",
"EnvType": "",
"VplVersion": "",
"ClientSecret": "",
"Eid": "",
"AccessAttribute": ""
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.