Update Or create Reservation
Returns the updated reservation or RestEntity which wraps the newly created reservation.
Request
URI
PUT
https://{api_host}/iaas-proxy-provider/api/services/{serviceId}/reservations/{id}
COPY
Path Parameters
string
serviceId
Required
The ID of the IaaS service as registered in the component registry service.
string
id
Required
Unique identifier of the reservation to be updated.
Request Body
The id of the reservation to be updated.
reservation of type(s) application/json
Required
{
"alertPolicy": {
"alerts": [
{
"referenceResourceId": "string",
"alertPercentLevel": 0
}
],
"recipients": [
"string"
],
"frequencyReminder": 0,
"emailBgMgr": false,
"enabled": false
},
"reservationTypeId": "string",
"reservationPolicyId": "string",
"priority": 0,
"version": 0,
"extensionData": {
"entries": [
{
"key": "string"
}
]
},
"enabled": false,
"lastUpdated": "string",
"subTenantId": "string",
"createdDate": "string",
"name": "string",
"tenantId": "string",
"id": "string"
}
string
reservationTypeId
Optional
reservationTypeId
string
reservationPolicyId
Optional
reservationPolicyId
integer As int32 As int32
priority
Optional
priority
integer As int64 As int64
version
Optional
version
boolean
enabled
Optional
enabled
string As date-time As date-time
lastUpdated
Optional
lastUpdated
string
subTenantId
Optional
subTenantId
string As date-time As date-time
createdDate
Optional
createdDate
string
name
Optional
name
string
tenantId
Optional
tenantId
string
id
Optional
id
Responses
200
successful operation
Operation doesn't return any data structure
204
Reservation is updated.
Returns reservation of type(s) */*
{
"alertPolicy": {
"alerts": [
{
"referenceResourceId": "string",
"alertPercentLevel": 0
}
],
"recipients": [
"string"
],
"frequencyReminder": 0,
"emailBgMgr": false,
"enabled": false
},
"reservationTypeId": "string",
"reservationPolicyId": "string",
"priority": 0,
"version": 0,
"extensionData": {
"entries": [
{
"key": "string"
}
]
},
"enabled": false,
"lastUpdated": "string",
"subTenantId": "string",
"createdDate": "string",
"name": "string",
"tenantId": "string",
"id": "string"
}
string
reservationTypeId
Optional
reservationTypeId
string
reservationPolicyId
Optional
reservationPolicyId
integer As int32 As int32
priority
Optional
priority
integer As int64 As int64
version
Optional
version
boolean
enabled
Optional
enabled
string As date-time As date-time
lastUpdated
Optional
lastUpdated
string
subTenantId
Optional
subTenantId
string As date-time As date-time
createdDate
Optional
createdDate
string
name
Optional
name
string
tenantId
Optional
tenantId
string
id
Optional
id