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

Get Resource Groups

Description

getResourceGroups

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/admin/v2/providers/azure/instances/{id}/resource-groups
Copy

Path Parameters

Path Parameters

string
id Required

id


Query Parameters

Query Parameters

string
org_id Optional

Organization ID: non-super users can only access their own organization


string
page Optional

Page number to retrieve.


string
size Optional

Size of each page.


string
sort Optional

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


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns PageInfrastructureResource of type */*

Successfully returned azure resource groups

{
	"content": [
		{
			"data": {},
			"id": "string",
			"infrastructureLinks": {},
			"kind": "string"
		}
	],
	"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

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


ErrorResponse
403

Forbidden


ErrorResponse
404

Provider instance not found

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/admin/v2/providers/azure/instances/{id}/resource-groups


Feedback

Was this page helpful?