Create Reservation Policy

Create Reservation Policy

Create and save a reservation policy upon validation on reservation policy fields.

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

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


Request Body
reservationPolicy of type(s) application/json
Optional
{
    "lastUpdated": "string",
    "createdDate": "string",
    "reservationPolicyTypeId": "string",
    "name": "string",
    "description": "string",
    "id": "string",
    "version": 0
}
string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
createdDate
Optional

createdDate

string
reservationPolicyTypeId
Optional

reservationPolicyTypeId

string
name
Optional

name

string
description
Optional

description

string
id
Optional

id

integer As int64 As int64
version
Optional

version

Responses
200

successful operation

Returns reservationPolicy of type(s) */*
{
    "lastUpdated": "string",
    "createdDate": "string",
    "reservationPolicyTypeId": "string",
    "name": "string",
    "description": "string",
    "id": "string",
    "version": 0
}
string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
createdDate
Optional

createdDate

string
reservationPolicyTypeId
Optional

reservationPolicyTypeId

string
name
Optional

name

string
description
Optional

description

string
id
Optional

id

integer As int64 As int64
version
Optional

version


201

The reservation policy is created.

Returns reservationPolicy of type(s) */*
{
    "lastUpdated": "string",
    "createdDate": "string",
    "reservationPolicyTypeId": "string",
    "name": "string",
    "description": "string",
    "id": "string",
    "version": 0
}
string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
createdDate
Optional

createdDate

string
reservationPolicyTypeId
Optional

reservationPolicyTypeId

string
name
Optional

name

string
description
Optional

description

string
id
Optional

id

integer As int64 As int64
version
Optional

version