[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Get All

Description

Get all Active Directory configurations.Non-super users can only query for their own org IDs. This will return all records for which the caller has ‘read’ permission. Please refer to the ActiveDirectoryTO Model for searchable fields.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/admin/v1/active-directories
Copy

Query Parameters

Query Parameters

boolean
expanded Optional

If true, results will include additional data (e.g. join user name)


string
org_id Optional

Filter by orgId: non-super users can only query for their own orgIds


string
page Optional

Page number to retrieve.


string
search Optional

Search Criteria. Please see model definition for list of searchable fields.

search example
map[code:"id $eq id-1"
]

string
size Optional

Size of each page.


array of string
sort Optional

Ascending/Descending. Format is property,{asc|desc} and default is ascending.

Parameter Serialization Style: form Explode:true

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns PageActiveDirectoryTO of type */*

Successfully retrieved active directory records

{
	"content": [
		{
			"createdAt": "string",
			"credentialId": "5fb352ed5b19360006d8fd93",
			"defaultOU": "OU=Computers",
			"dnsDomainName": "example.com",
			"id": "0123456789",
			"joinUsername": "user",
			"location": "US",
			"netBIOSName": "EXAMPLE",
			"orgId": "0123456789",
			"primaryDNS": "127.0.0.1",
			"secondaryDNS": "127.0.0.2",
			"updatedAt": "string",
			"version": 0
		}
	],
	"empty": false,
	"first": false,
	"last": false,
	"number": 0,
	"numberOfElements": 0,
	"pageable": {
		"offset": 0,
		"pageNumber": 0,
		"pageSize": 0,
		"paged": false,
		"sort": {
			"empty": false,
			"sorted": false,
			"unsorted": false
		},
		"unpaged": false
	},
	"size": 0,
	"sort": {
		"empty": false,
		"sorted": false,
		"unsorted": false
	},
	"totalElements": 0,
	"totalPages": 0
}
content Optional

Searchable fields are “id”, “netBIOSName”, “dnsDomainName”, “primaryDNS”, “secondaryDNS”, “defaultOU”


boolean
empty Optional

boolean
first Optional

boolean
last Optional

integer as int32
number Optional

integer as int32
numberOfElements Optional

pageable Optional

integer as int32
size Optional

sort Optional

integer as int64
totalElements Optional

integer as int32
totalPages Optional
Errors

Errors

401

Unauthorized


403

Forbidden

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/admin/v1/active-directories


[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Feedback

Was this page helpful?