CapacityReservationsClient Interface

public interface CapacityReservationsClient

An instance of this class provides access to all the operations defined in CapacityReservationsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<CapacityReservationInner>,CapacityReservationInner> beginCreateOrUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)

The operation to create or update a capacity reservation.

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.

abstract PollerFlux<PollResult<CapacityReservationInner>,CapacityReservationInner> beginCreateOrUpdateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)

The operation to create or update a capacity reservation.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)

The operation to delete a capacity reservation.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, Context context)

The operation to delete a capacity reservation.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)

The operation to delete a capacity reservation.

abstract SyncPoller<PollResult<CapacityReservationInner>,CapacityReservationInner> beginUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

abstract SyncPoller<PollResult<CapacityReservationInner>,CapacityReservationInner> beginUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters, Context context)

The operation to update a capacity reservation.

abstract PollerFlux<PollResult<CapacityReservationInner>,CapacityReservationInner> beginUpdateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

abstract CapacityReservationInner createOrUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)

The operation to create or update a capacity reservation.

abstract CapacityReservationInner createOrUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters, Context context)

The operation to create or update a capacity reservation.

abstract Mono<CapacityReservationInner> createOrUpdateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)

The operation to create or update a capacity reservation.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInner parameters)

The operation to create or update a capacity reservation.

abstract void delete(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)

The operation to delete a capacity reservation.

abstract void delete(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, Context context)

The operation to delete a capacity reservation.

abstract Mono<Void> deleteAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)

The operation to delete a capacity reservation.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)

The operation to delete a capacity reservation.

abstract CapacityReservationInner get(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)

The operation that retrieves information about the capacity reservation.

abstract Mono<CapacityReservationInner> getAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)

The operation that retrieves information about the capacity reservation.

abstract Response<CapacityReservationInner> getWithResponse(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInstanceViewTypes expand, Context context)

The operation that retrieves information about the capacity reservation.

abstract Mono<Response<CapacityReservationInner>> getWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInstanceViewTypes expand)

The operation that retrieves information about the capacity reservation.

abstract PagedIterable<CapacityReservationInner> listByCapacityReservationGroup(String resourceGroupName, String capacityReservationGroupName)

Lists all of the capacity reservations in the specified capacity reservation group.

abstract PagedIterable<CapacityReservationInner> listByCapacityReservationGroup(String resourceGroupName, String capacityReservationGroupName, Context context)

Lists all of the capacity reservations in the specified capacity reservation group.

abstract PagedFlux<CapacityReservationInner> listByCapacityReservationGroupAsync(String resourceGroupName, String capacityReservationGroupName)

Lists all of the capacity reservations in the specified capacity reservation group.

abstract CapacityReservationInner update(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

abstract CapacityReservationInner update(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters, Context context)

The operation to update a capacity reservation.

abstract Mono<CapacityReservationInner> updateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Create capacity reservation.

Returns:

the SyncPoller<T,U> for polling of specifies information about the capacity reservation.

beginCreateOrUpdate

public abstract SyncPoller,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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Create capacity reservation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of specifies information about the capacity reservation.

beginCreateOrUpdateAsync

public abstract PollerFlux,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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Create capacity reservation.

Returns:

the PollerFlux<T,U> for polling of specifies information about the capacity reservation.

beginDelete

public abstract SyncPoller,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.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,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.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,CapacityReservationInner> beginUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Update capacity reservation operation.

Returns:

the SyncPoller<T,U> for polling of specifies information about the capacity reservation.

beginUpdate

public abstract SyncPoller,CapacityReservationInner> beginUpdate(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters, Context context)

The operation to update a capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Update capacity reservation operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of specifies information about the capacity reservation.

beginUpdateAsync

public abstract PollerFlux,CapacityReservationInner> beginUpdateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Update capacity reservation operation.

Returns:

the PollerFlux<T,U> for polling of specifies information about the capacity reservation.

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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Create capacity reservation.

Returns:

specifies information about the capacity reservation.

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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Create capacity reservation.
context - The context to associate with this operation.

Returns:

specifies information about the capacity reservation.

createOrUpdateAsync

public abstract Mono 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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Create capacity reservation.

Returns:

specifies information about the capacity reservation on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> 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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Create capacity reservation.

Returns:

specifies information about the capacity reservation along with Response<T> on successful completion of Mono.

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.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.

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.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
context - The context to associate with this operation.

deleteAsync

public abstract Mono 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.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> 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.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract CapacityReservationInner get(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)

The operation that retrieves information about the capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.

Returns:

specifies information about the capacity reservation.

getAsync

public abstract Mono getAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName)

The operation that retrieves information about the capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.

Returns:

specifies information about the capacity reservation on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInstanceViewTypes expand, Context context)

The operation that retrieves information about the capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
expand - The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations.
context - The context to associate with this operation.

Returns:

specifies information about the capacity reservation along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationInstanceViewTypes expand)

The operation that retrieves information about the capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
expand - The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations.

Returns:

specifies information about the capacity reservation along with Response<T> on successful completion of Mono.

listByCapacityReservationGroup

public abstract PagedIterable 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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.

Returns:

the list capacity reservation operation response as paginated response with PagedIterable<T>.

listByCapacityReservationGroup

public abstract PagedIterable 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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
context - The context to associate with this operation.

Returns:

the list capacity reservation operation response as paginated response with PagedIterable<T>.

listByCapacityReservationGroupAsync

public abstract PagedFlux 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:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.

Returns:

the list capacity reservation operation response as paginated response with PagedFlux<T>.

update

public abstract CapacityReservationInner update(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Update capacity reservation operation.

Returns:

specifies information about the capacity reservation.

update

public abstract CapacityReservationInner update(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters, Context context)

The operation to update a capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Update capacity reservation operation.
context - The context to associate with this operation.

Returns:

specifies information about the capacity reservation.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Update capacity reservation operation.

Returns:

specifies information about the capacity reservation on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String capacityReservationGroupName, String capacityReservationName, CapacityReservationUpdate parameters)

The operation to update a capacity reservation.

Parameters:

resourceGroupName - The name of the resource group.
capacityReservationGroupName - The name of the capacity reservation group.
capacityReservationName - The name of the capacity reservation.
parameters - Parameters supplied to the Update capacity reservation operation.

Returns:

specifies information about the capacity reservation along with Response<T> on successful completion of Mono.

Applies to