Create Reservation

Create Reservation

Create and save a reservation upon validation on Reservation fields.

Request
URI
POST
https://{api_host}/iaas-proxy-provider/api/services/{serviceId}/reservations
COPY
Path Parameters
string
serviceId
Required

The ID of the IaaS service as registered in the component registry service.


Request Body

The reservation object

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"
}
alertPolicy
Optional

alertPolicy

string
reservationTypeId
Optional

reservationTypeId

string
reservationPolicyId
Optional

reservationPolicyId

integer As int32 As int32
priority
Optional

priority

integer As int64 As int64
version
Optional

version

extensionData
Optional

extensionData

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

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"
}
alertPolicy
Optional

alertPolicy

string
reservationTypeId
Optional

reservationTypeId

string
reservationPolicyId
Optional

reservationPolicyId

integer As int32 As int32
priority
Optional

priority

integer As int64 As int64
version
Optional

version

extensionData
Optional

extensionData

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


201

The reservation is created.

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"
}
alertPolicy
Optional

alertPolicy

string
reservationTypeId
Optional

reservationTypeId

string
reservationPolicyId
Optional

reservationPolicyId

integer As int32 As int32
priority
Optional

priority

integer As int64 As int64
version
Optional

version

extensionData
Optional

extensionData

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