CapacityReservationsClient Interface
public interface CapacityReservationsClient
An instance of this class provides access to all the operations defined in CapacityReservationsClient.
Method Summary
Method Details
beginCreateOrUpdate
public abstract SyncPoller<PollResult<CapacityReservationInner>,CapacityReservationInner> beginCreateOrUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)
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.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller<PollResult<CapacityReservationInner>,CapacityReservationInner> beginCreateOrUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters, Context context)
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.
Parameters:
Returns:
beginCreateOrUpdateAsync
public abstract PollerFlux<PollResult<CapacityReservationInner>,CapacityReservationInner> beginCreateOrUpdateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)
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.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)
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. Note: Block capacity reservations cannot be deleted after it has been successfully allocated until the schedule end time.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, Context context)
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. Note: Block capacity reservations cannot be deleted after it has been successfully allocated until the schedule end time.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)
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. Note: Block capacity reservations cannot be deleted after it has been successfully allocated until the schedule end time.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<CapacityReservationInner>,CapacityReservationInner> beginUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)
The operation to update a capacity reservation.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<CapacityReservationInner>,CapacityReservationInner> beginUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters, Context context)
The operation to update a capacity reservation.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux<PollResult<CapacityReservationInner>,CapacityReservationInner> beginUpdateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)
The operation to update a capacity reservation.
Parameters:
Returns:
createOrUpdate
public abstract CapacityReservationInner createOrUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)
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.
Parameters:
Returns:
createOrUpdate
public abstract CapacityReservationInner createOrUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters, Context context)
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.
Parameters:
Returns:
createOrUpdateAsync
public abstract Mono<CapacityReservationInner> createOrUpdateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)
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.
Parameters:
Returns:
createOrUpdateWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)
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.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)
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. Note: Block capacity reservations cannot be deleted after it has been successfully allocated until the schedule end time.
Parameters:
delete
public abstract void delete(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, Context context)
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. Note: Block capacity reservations cannot be deleted after it has been successfully allocated until the schedule end time.
Parameters:
deleteAsync
public abstract Mono<Void> deleteAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)
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. Note: Block capacity reservations cannot be deleted after it has been successfully allocated until the schedule end time.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)
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. Note: Block capacity reservations cannot be deleted after it has been successfully allocated until the schedule end time.
Parameters:
Returns:
get
public abstract CapacityReservationInner get(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)
The operation that retrieves information about the capacity reservation.
Parameters:
Returns:
getAsync
public abstract Mono<CapacityReservationInner> getAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)
The operation that retrieves information about the capacity reservation.
Parameters:
Returns:
getWithResponse
public abstract Response<CapacityReservationInner> getWithResponse(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInstanceViewTypes expand, Context context)
The operation that retrieves information about the capacity reservation.
Parameters:
Returns:
getWithResponseAsync
public abstract Mono<Response<CapacityReservationInner>> getWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInstanceViewTypes expand)
The operation that retrieves information about the capacity reservation.
Parameters:
Returns:
listByCapacityReservationGroup
public abstract PagedIterable<CapacityReservationInner> listByCapacityReservationGroup(String resourceGroupName, String capacityReservationGroupName)
Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations.
Parameters:
Returns:
listByCapacityReservationGroup
public abstract PagedIterable<CapacityReservationInner> listByCapacityReservationGroup(String resourceGroupName, String capacityReservationGroupName, Context context)
Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations.
Parameters:
Returns:
listByCapacityReservationGroupAsync
public abstract PagedFlux<CapacityReservationInner> listByCapacityReservationGroupAsync(String resourceGroupName, String capacityReservationGroupName)
Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations.
Parameters:
Returns:
update
public abstract CapacityReservationInner update(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)
The operation to update a capacity reservation.
Parameters:
Returns:
update
public abstract CapacityReservationInner update(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters, Context context)
The operation to update a capacity reservation.
Parameters:
Returns:
updateAsync
public abstract Mono<CapacityReservationInner> updateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)
The operation to update a capacity reservation.
Parameters:
Returns:
updateWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)
The operation to update a capacity reservation.
Parameters:
Returns: