InstanceFailoverGroupsClient Interface

public interface InstanceFailoverGroupsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<InstanceFailoverGroupInner>,InstanceFailoverGroupInner> beginCreateOrUpdate(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

abstract SyncPoller<PollResult<InstanceFailoverGroupInner>,InstanceFailoverGroupInner> beginCreateOrUpdate(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters, Context context)

Creates or updates a failover group.

abstract PollerFlux<PollResult<InstanceFailoverGroupInner>,InstanceFailoverGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String locationName, String failoverGroupName)

Deletes a failover group.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Deletes a failover group.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String locationName, String failoverGroupName)

Deletes a failover group.

abstract SyncPoller<PollResult<InstanceFailoverGroupInner>,InstanceFailoverGroupInner> beginFailover(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract SyncPoller<PollResult<InstanceFailoverGroupInner>,InstanceFailoverGroupInner> beginFailover(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Fails over from the current primary managed instance to this managed instance.

abstract PollerFlux<PollResult<InstanceFailoverGroupInner>,InstanceFailoverGroupInner> beginFailoverAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract SyncPoller<PollResult<InstanceFailoverGroupInner>,InstanceFailoverGroupInner> beginForceFailoverAllowDataLoss(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract SyncPoller<PollResult<InstanceFailoverGroupInner>,InstanceFailoverGroupInner> beginForceFailoverAllowDataLoss(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Fails over from the current primary managed instance to this managed instance.

abstract PollerFlux<PollResult<InstanceFailoverGroupInner>,InstanceFailoverGroupInner> beginForceFailoverAllowDataLossAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract InstanceFailoverGroupInner createOrUpdate(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

abstract InstanceFailoverGroupInner createOrUpdate(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters, Context context)

Creates or updates a failover group.

abstract Mono<InstanceFailoverGroupInner> createOrUpdateAsync(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

abstract void delete(String resourceGroupName, String locationName, String failoverGroupName)

Deletes a failover group.

abstract void delete(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Deletes a failover group.

abstract Mono<Void> deleteAsync(String resourceGroupName, String locationName, String failoverGroupName)

Deletes a failover group.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName)

Deletes a failover group.

abstract InstanceFailoverGroupInner failover(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract InstanceFailoverGroupInner failover(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Fails over from the current primary managed instance to this managed instance.

abstract Mono<InstanceFailoverGroupInner> failoverAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract Mono<Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract InstanceFailoverGroupInner forceFailoverAllowDataLoss(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract InstanceFailoverGroupInner forceFailoverAllowDataLoss(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Fails over from the current primary managed instance to this managed instance.

abstract Mono<InstanceFailoverGroupInner> forceFailoverAllowDataLossAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract Mono<Response<Flux<ByteBuffer>>> forceFailoverAllowDataLossWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

abstract InstanceFailoverGroupInner get(String resourceGroupName, String locationName, String failoverGroupName)

Gets a failover group.

abstract Mono<InstanceFailoverGroupInner> getAsync(String resourceGroupName, String locationName, String failoverGroupName)

Gets a failover group.

abstract Response<InstanceFailoverGroupInner> getWithResponse(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Gets a failover group.

abstract Mono<Response<InstanceFailoverGroupInner>> getWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName)

Gets a failover group.

abstract PagedIterable<InstanceFailoverGroupInner> listByLocation(String resourceGroupName, String locationName)

Lists the failover groups in a location.

abstract PagedIterable<InstanceFailoverGroupInner> listByLocation(String resourceGroupName, String locationName, Context context)

Lists the failover groups in a location.

abstract PagedFlux<InstanceFailoverGroupInner> listByLocationAsync(String resourceGroupName, String locationName)

Lists the failover groups in a location.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,InstanceFailoverGroupInner> beginCreateOrUpdate(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
parameters - The failover group parameters.

Returns:

the SyncPoller<T,U> for polling of an instance failover group.

beginCreateOrUpdate

public abstract SyncPoller,InstanceFailoverGroupInner> beginCreateOrUpdate(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters, Context context)

Creates or updates a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
parameters - The failover group parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an instance failover group.

beginCreateOrUpdateAsync

public abstract PollerFlux,InstanceFailoverGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
parameters - The failover group parameters.

Returns:

the PollerFlux<T,U> for polling of an instance failover group.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String locationName, String failoverGroupName)

Deletes a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Deletes a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
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 locationName, String failoverGroupName)

Deletes a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

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

beginFailover

public abstract SyncPoller,InstanceFailoverGroupInner> beginFailover(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

the SyncPoller<T,U> for polling of an instance failover group.

beginFailover

public abstract SyncPoller,InstanceFailoverGroupInner> beginFailover(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Fails over from the current primary managed instance to this managed instance.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an instance failover group.

beginFailoverAsync

public abstract PollerFlux,InstanceFailoverGroupInner> beginFailoverAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

the PollerFlux<T,U> for polling of an instance failover group.

beginForceFailoverAllowDataLoss

public abstract SyncPoller,InstanceFailoverGroupInner> beginForceFailoverAllowDataLoss(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance. This operation might result in data loss.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

the SyncPoller<T,U> for polling of an instance failover group.

beginForceFailoverAllowDataLoss

public abstract SyncPoller,InstanceFailoverGroupInner> beginForceFailoverAllowDataLoss(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Fails over from the current primary managed instance to this managed instance. This operation might result in data loss.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an instance failover group.

beginForceFailoverAllowDataLossAsync

public abstract PollerFlux,InstanceFailoverGroupInner> beginForceFailoverAllowDataLossAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance. This operation might result in data loss.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

the PollerFlux<T,U> for polling of an instance failover group.

createOrUpdate

public abstract InstanceFailoverGroupInner createOrUpdate(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
parameters - The failover group parameters.

Returns:

an instance failover group.

createOrUpdate

public abstract InstanceFailoverGroupInner createOrUpdate(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters, Context context)

Creates or updates a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
parameters - The failover group parameters.
context - The context to associate with this operation.

Returns:

an instance failover group.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
parameters - The failover group parameters.

Returns:

an instance failover group on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName, InstanceFailoverGroupInner parameters)

Creates or updates a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
parameters - The failover group parameters.

Returns:

an instance failover group along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String locationName, String failoverGroupName)

Deletes a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

delete

public abstract void delete(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Deletes a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String locationName, String failoverGroupName)

Deletes a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName)

Deletes a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

the Response<T> on successful completion of Mono.

failover

public abstract InstanceFailoverGroupInner failover(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

an instance failover group.

failover

public abstract InstanceFailoverGroupInner failover(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Fails over from the current primary managed instance to this managed instance.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
context - The context to associate with this operation.

Returns:

an instance failover group.

failoverAsync

public abstract Mono failoverAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

an instance failover group on successful completion of Mono.

failoverWithResponseAsync

public abstract Mono>> failoverWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

an instance failover group along with Response<T> on successful completion of Mono.

forceFailoverAllowDataLoss

public abstract InstanceFailoverGroupInner forceFailoverAllowDataLoss(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance. This operation might result in data loss.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

an instance failover group.

forceFailoverAllowDataLoss

public abstract InstanceFailoverGroupInner forceFailoverAllowDataLoss(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Fails over from the current primary managed instance to this managed instance. This operation might result in data loss.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
context - The context to associate with this operation.

Returns:

an instance failover group.

forceFailoverAllowDataLossAsync

public abstract Mono forceFailoverAllowDataLossAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance. This operation might result in data loss.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

an instance failover group on successful completion of Mono.

forceFailoverAllowDataLossWithResponseAsync

public abstract Mono>> forceFailoverAllowDataLossWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName)

Fails over from the current primary managed instance to this managed instance. This operation might result in data loss.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

an instance failover group along with Response<T> on successful completion of Mono.

get

public abstract InstanceFailoverGroupInner get(String resourceGroupName, String locationName, String failoverGroupName)

Gets a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

a failover group.

getAsync

public abstract Mono getAsync(String resourceGroupName, String locationName, String failoverGroupName)

Gets a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

a failover group on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String locationName, String failoverGroupName, Context context)

Gets a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.
context - The context to associate with this operation.

Returns:

a failover group along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String locationName, String failoverGroupName)

Gets a failover group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
failoverGroupName - The name of the failover group.

Returns:

a failover group along with Response<T> on successful completion of Mono.

listByLocation

public abstract PagedIterable listByLocation(String resourceGroupName, String locationName)

Lists the failover groups in a location.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.

Returns:

a list of instance failover groups as paginated response with PagedIterable<T>.

listByLocation

public abstract PagedIterable listByLocation(String resourceGroupName, String locationName, Context context)

Lists the failover groups in a location.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.
context - The context to associate with this operation.

Returns:

a list of instance failover groups as paginated response with PagedIterable<T>.

listByLocationAsync

public abstract PagedFlux listByLocationAsync(String resourceGroupName, String locationName)

Lists the failover groups in a location.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
locationName - The name of the region where the resource is located.

Returns:

a list of instance failover groups as paginated response with PagedFlux<T>.

Applies to