[{"label":"Latest (v1.1)","version":"latest"}]
vmc
List Reservations Deprecated
DescriptionGet all reservations for this org
Request
URLURL
https://vmc.vmware.com/vmc/api/orgs/{org}/reservations
Path Parameters
Path Parameters
string
org
Required
Organization identifier
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse 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
string as uuid
sddc_id
Optional
SDDC ID for this reservation
Errors
401
Unauthorized
ErrorResponse
403
Access not allowed to the operation for the current user
Code Samples
PowerCLI Client SDK Example
Invoke-OrgsOrgReservationsGet -Org "MyOrg"
cURL Command
curl https://vmc.vmware.com/vmc/api/orgs/{org}/reservations
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