Partager via


DistributedAvailabilityGroupsClient Interface

public interface DistributedAvailabilityGroupsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DistributedAvailabilityGroupInner>,DistributedAvailabilityGroupInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract SyncPoller<PollResult<DistributedAvailabilityGroupInner>,DistributedAvailabilityGroupInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters, Context context)

Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract PollerFlux<PollResult<DistributedAvailabilityGroupInner>,DistributedAvailabilityGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, Context context)

Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract SyncPoller<PollResult<DistributedAvailabilityGroupInner>,DistributedAvailabilityGroupInner> beginUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

abstract SyncPoller<PollResult<DistributedAvailabilityGroupInner>,DistributedAvailabilityGroupInner> beginUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters, Context context)

Updates a distributed availability group replication mode.

abstract PollerFlux<PollResult<DistributedAvailabilityGroupInner>,DistributedAvailabilityGroupInner> beginUpdateAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

abstract DistributedAvailabilityGroupInner createOrUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract DistributedAvailabilityGroupInner createOrUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters, Context context)

Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract Mono<DistributedAvailabilityGroupInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract void delete(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract void delete(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, Context context)

Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract Mono<Void> deleteAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.

abstract DistributedAvailabilityGroupInner get(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Gets a distributed availability group info.

abstract Mono<DistributedAvailabilityGroupInner> getAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Gets a distributed availability group info.

abstract Response<DistributedAvailabilityGroupInner> getWithResponse(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, Context context)

Gets a distributed availability group info.

abstract Mono<Response<DistributedAvailabilityGroupInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Gets a distributed availability group info.

abstract PagedIterable<DistributedAvailabilityGroupInner> listByInstance(String resourceGroupName, String managedInstanceName)

Gets a list of a distributed availability groups in instance.

abstract PagedIterable<DistributedAvailabilityGroupInner> listByInstance(String resourceGroupName, String managedInstanceName, Context context)

Gets a list of a distributed availability groups in instance.

abstract PagedFlux<DistributedAvailabilityGroupInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName)

Gets a list of a distributed availability groups in instance.

abstract DistributedAvailabilityGroupInner update(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

abstract DistributedAvailabilityGroupInner update(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters, Context context)

Updates a distributed availability group replication mode.

abstract Mono<DistributedAvailabilityGroupInner> updateAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,DistributedAvailabilityGroupInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

the SyncPoller<T,U> for polling of distributed availability group between box and Sql Managed Instance.

beginCreateOrUpdate

public abstract SyncPoller,DistributedAvailabilityGroupInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters, Context context)

Creates a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of distributed availability group between box and Sql Managed Instance.

beginCreateOrUpdateAsync

public abstract PollerFlux,DistributedAvailabilityGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

the PollerFlux<T,U> for polling of distributed availability group between box and Sql Managed Instance.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, Context context)

Drops a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
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 managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.

Returns:

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

beginUpdate

public abstract SyncPoller,DistributedAvailabilityGroupInner> beginUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

the SyncPoller<T,U> for polling of distributed availability group between box and Sql Managed Instance.

beginUpdate

public abstract SyncPoller,DistributedAvailabilityGroupInner> beginUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters, Context context)

Updates a distributed availability group replication mode.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of distributed availability group between box and Sql Managed Instance.

beginUpdateAsync

public abstract PollerFlux,DistributedAvailabilityGroupInner> beginUpdateAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

the PollerFlux<T,U> for polling of distributed availability group between box and Sql Managed Instance.

createOrUpdate

public abstract DistributedAvailabilityGroupInner createOrUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

distributed availability group between box and Sql Managed Instance.

createOrUpdate

public abstract DistributedAvailabilityGroupInner createOrUpdate(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters, Context context)

Creates a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.
context - The context to associate with this operation.

Returns:

distributed availability group between box and Sql Managed Instance.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

distributed availability group between box and Sql Managed Instance on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Creates a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

distributed availability group between box and Sql Managed Instance along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.

delete

public abstract void delete(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, Context context)

Drops a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Drops a distributed availability group between Sql On-Prem and Sql 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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract DistributedAvailabilityGroupInner get(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Gets a distributed availability group info.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.

Returns:

a distributed availability group info.

getAsync

public abstract Mono getAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Gets a distributed availability group info.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.

Returns:

a distributed availability group info on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, Context context)

Gets a distributed availability group info.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
context - The context to associate with this operation.

Returns:

a distributed availability group info along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName)

Gets a distributed availability group info.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.

Returns:

a distributed availability group info along with Response<T> on successful completion of Mono.

listByInstance

public abstract PagedIterable listByInstance(String resourceGroupName, String managedInstanceName)

Gets a list of a distributed availability groups in 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.
managedInstanceName - The name of the managed instance.

Returns:

a list of a distributed availability groups in instance as paginated response with PagedIterable<T>.

listByInstance

public abstract PagedIterable listByInstance(String resourceGroupName, String managedInstanceName, Context context)

Gets a list of a distributed availability groups in 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.
managedInstanceName - The name of the managed instance.
context - The context to associate with this operation.

Returns:

a list of a distributed availability groups in instance as paginated response with PagedIterable<T>.

listByInstanceAsync

public abstract PagedFlux listByInstanceAsync(String resourceGroupName, String managedInstanceName)

Gets a list of a distributed availability groups in 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.
managedInstanceName - The name of the managed instance.

Returns:

a list of a distributed availability groups in instance as paginated response with PagedFlux<T>.

update

public abstract DistributedAvailabilityGroupInner update(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

distributed availability group between box and Sql Managed Instance.

update

public abstract DistributedAvailabilityGroupInner update(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters, Context context)

Updates a distributed availability group replication mode.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.
context - The context to associate with this operation.

Returns:

distributed availability group between box and Sql Managed Instance.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

distributed availability group between box and Sql Managed Instance on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String managedInstanceName, String distributedAvailabilityGroupName, DistributedAvailabilityGroupInner parameters)

Updates a distributed availability group replication mode.

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.
managedInstanceName - The name of the managed instance.
distributedAvailabilityGroupName - The distributed availability group name.
parameters - The distributed availability group info.

Returns:

distributed availability group between box and Sql Managed Instance along with Response<T> on successful completion of Mono.

Applies to