[{"label":"Latest (v1.1)","version":"latest"}]
vmc

List Reservations Deprecated

Description

Get all reservations for this org

Request

Request

URL

URL


get
https://vmc.vmware.com/vmc/api/orgs/{org}/reservations
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns array of MaintenanceWindowEntry of type(s) application/json
{
	"in_maintenance_mode": false,
	"in_maintenance_window": false,
	"reservation_id": "string",
	"reservation_schedule": {
		"day_of_week": "SUNDAY",
		"duration_min": 0,
		"hour_of_day": 0,
		"reservations": [
			{
				"create_time": "string",
				"duration": 0,
				"metadata": {
					"key": "string"
				},
				"rid": "string",
				"start_time": "2018-05-01'T'05:00:00'Z'"
			}
		],
		"reservations_mw": [
			{
				"create_time": "string",
				"metadata": {
					"key": "string"
				},
				"rid": "string",
				"week_of": "string"
			}
		],
		"version": 0
	},
	"sddc_id": "string"
}
boolean
in_maintenance_mode Optional

true if the SDDC is currently undergoing maintenance


boolean
in_maintenance_window Optional

true if the SDDC is in the defined Mainentance Window


string as uuid
reservation_id Optional

ID for reservation


reservation_schedule Optional

string as uuid
sddc_id Optional

SDDC ID for this reservation

Errors

Errors

401

Unauthorized


ErrorResponse
403

Access not allowed to the operation for the current user

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-OrgsOrgReservationsGet -Org "MyOrg"

cURL Command

curl https://vmc.vmware.com/vmc/api/orgs/{org}/reservations
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: reservations
x-vmw-vapi-methodname: list


[{"label":"Latest (v1.1)","version":"latest"}]
vmc
Feedback

Was this page helpful?