Share via


CapacityReservationsCreateOrUpdate interface

Methods

delete(CapacityReservationsDeleteParameters)

The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details.

get(CapacityReservationsGetParameters)

The operation that retrieves information about the capacity reservation.

patch(CapacityReservationsUpdateParameters)

The operation to update a capacity reservation.

put(CapacityReservationsCreateOrUpdateParameters)

The operation to create or update a capacity reservation. Please note some properties can be set only during capacity reservation creation. Please refer to https://aka.ms/CapacityReservation for more details.

Method Details

delete(CapacityReservationsDeleteParameters)

The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details.

function delete(options: CapacityReservationsDeleteParameters): StreamableMethod<CapacityReservationsDelete200Response | CapacityReservationsDelete202Response | CapacityReservationsDelete204Response | CapacityReservationsDeleteDefaultResponse>

Parameters

Returns

get(CapacityReservationsGetParameters)

The operation that retrieves information about the capacity reservation.

function get(options: CapacityReservationsGetParameters): StreamableMethod<CapacityReservationsGet200Response | CapacityReservationsGetDefaultResponse>

Parameters

Returns

patch(CapacityReservationsUpdateParameters)

The operation to update a capacity reservation.

function patch(options: CapacityReservationsUpdateParameters): StreamableMethod<CapacityReservationsUpdate200Response | CapacityReservationsUpdate202Response | CapacityReservationsUpdateDefaultResponse>

Parameters

Returns

put(CapacityReservationsCreateOrUpdateParameters)

The operation to create or update a capacity reservation. Please note some properties can be set only during capacity reservation creation. Please refer to https://aka.ms/CapacityReservation for more details.

function put(options: CapacityReservationsCreateOrUpdateParameters): StreamableMethod<CapacityReservationsCreateOrUpdate200Response | CapacityReservationsCreateOrUpdate201Response | CapacityReservationsCreateOrUpdateDefaultResponse>

Parameters

Returns