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

Post TBRS

Description

Retreive all reservations for all SDDCs in this org

Request

Request

URL

URL


post
https://vmc.vmware.com/vmc/api/orgs/{org}/tbrs/reservation
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


Request Body

Request Body

SddcStateRequest of type(s) application/json Optional

SDDCs and/or states to query

{
	"sddcs": [
		"string"
	],
	"states": [
		"SCHEDULED"
	]
}
array of string as uuid
sddcs Optional

array of string
states Optional

Possible values are: SCHEDULEDRUNNINGCANCELEDCOMPLETED

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns map of ReservationWindow of type(s) application/json

Successful response

{
	"duration_hours": 0,
	"emergency": false,
	"estimated_duration_hours_maximum": 0,
	"estimated_duration_hours_minimum": 0,
	"maintenance_properties": {
		"status": "string"
	},
	"manifest_id": "string",
	"metadata": {
		"key": "string"
	},
	"reservation_state": "SCHEDULED",
	"reserve_id": "string",
	"sddc_id": "string",
	"start_date": "string",
	"start_hour": 0
}
integer as int64
duration_hours Optional

boolean
emergency Optional

integer as int64
estimated_duration_hours_maximum Optional

integer as int64
estimated_duration_hours_minimum Optional

maintenance_properties Optional

string
manifest_id Optional

map of string
metadata Optional

Metadata for reservation window, in key-value form


string
reservation_state Optional

Possible values are: SCHEDULEDRUNNINGCANCELEDCOMPLETEDTERMINATED


string
reserve_id Optional

string
sddc_id Optional

string
start_date Optional

integer as int32
start_hour Optional
Errors

Errors

400

Bad Call


401

Unauthorized


403

Forbidden

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"sddcs":["string"],"states":["SCHEDULED"]}' https://vmc.vmware.com/vmc/api/orgs/{org}/tbrs/reservation
Vendor Extensions

Vendor Extensions

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


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

Was this page helpful?