ManagedInstancesClient Interface

Implements

public interface ManagedInstancesClient
extends InnerSupportsGet<ManagedInstanceInner>, InnerSupportsListing<ManagedInstanceInner>, InnerSupportsDelete<Void>

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

Method Summary

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

Creates or updates a managed instance.

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

Creates or updates a managed instance.

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

Creates or updates a managed instance.

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

Deletes a managed instance.

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

Deletes a managed instance.

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

Deletes a managed instance.

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

Failovers a managed instance.

abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String managedInstanceName, ReplicaType replicaType, Context context)

Failovers a managed instance.

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

Failovers a managed instance.

abstract PollerFlux<PollResult<Void>,Void> beginFailoverAsync(String resourceGroupName, String managedInstanceName, ReplicaType replicaType)

Failovers a managed instance.

abstract SyncPoller<PollResult<RefreshExternalGovernanceStatusOperationResultMIInner>,RefreshExternalGovernanceStatusOperationResultMIInner> beginRefreshStatus(String resourceGroupName, String managedInstanceName)

Refresh external governance enablement status.

abstract SyncPoller<PollResult<RefreshExternalGovernanceStatusOperationResultMIInner>,RefreshExternalGovernanceStatusOperationResultMIInner> beginRefreshStatus(String resourceGroupName, String managedInstanceName, Context context)

Refresh external governance enablement status.

abstract PollerFlux<PollResult<RefreshExternalGovernanceStatusOperationResultMIInner>,RefreshExternalGovernanceStatusOperationResultMIInner> beginRefreshStatusAsync(String resourceGroupName, String managedInstanceName)

Refresh external governance enablement status.

abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStart(String resourceGroupName, String managedInstanceName)

Starts the managed instance.

abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStart(String resourceGroupName, String managedInstanceName, Context context)

Starts the managed instance.

abstract PollerFlux<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStartAsync(String resourceGroupName, String managedInstanceName)

Starts the managed instance.

abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStop(String resourceGroupName, String managedInstanceName)

Stops the managed instance.

abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStop(String resourceGroupName, String managedInstanceName, Context context)

Stops the managed instance.

abstract PollerFlux<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStopAsync(String resourceGroupName, String managedInstanceName)

Stops the managed instance.

abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginUpdate(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters)

Updates a managed instance.

abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginUpdate(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters, Context context)

Updates a managed instance.

abstract PollerFlux<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginUpdateAsync(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters)

Updates a managed instance.

abstract ManagedInstanceInner createOrUpdate(String resourceGroupName, String managedInstanceName, ManagedInstanceInner parameters)

Creates or updates a managed instance.

abstract ManagedInstanceInner createOrUpdate(String resourceGroupName, String managedInstanceName, ManagedInstanceInner parameters, Context context)

Creates or updates a managed instance.

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

Creates or updates a managed instance.

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

Creates or updates a managed instance.

abstract void delete(String resourceGroupName, String managedInstanceName)

Deletes a managed instance.

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

Deletes a managed instance.

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

Deletes a managed instance.

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

Deletes a managed instance.

abstract void failover(String resourceGroupName, String managedInstanceName)

Failovers a managed instance.

abstract void failover(String resourceGroupName, String managedInstanceName, ReplicaType replicaType, Context context)

Failovers a managed instance.

abstract Mono<Void> failoverAsync(String resourceGroupName, String managedInstanceName)

Failovers a managed instance.

abstract Mono<Void> failoverAsync(String resourceGroupName, String managedInstanceName, ReplicaType replicaType)

Failovers a managed instance.

abstract Mono<Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupName, String managedInstanceName, ReplicaType replicaType)

Failovers a managed instance.

abstract ManagedInstanceInner getByResourceGroup(String resourceGroupName, String managedInstanceName)

Gets a managed instance.

abstract Mono<ManagedInstanceInner> getByResourceGroupAsync(String resourceGroupName, String managedInstanceName)

Gets a managed instance.

abstract Response<ManagedInstanceInner> getByResourceGroupWithResponse(String resourceGroupName, String managedInstanceName, String expand, Context context)

Gets a managed instance.

abstract Mono<Response<ManagedInstanceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String managedInstanceName, String expand)

Gets a managed instance.

abstract PagedIterable<ManagedInstanceInner> list()

Gets a list of all managed instances in the subscription.

abstract PagedIterable<ManagedInstanceInner> list(String expand, Context context)

Gets a list of all managed instances in the subscription.

abstract PagedFlux<ManagedInstanceInner> listAsync()

Gets a list of all managed instances in the subscription.

abstract PagedFlux<ManagedInstanceInner> listAsync(String expand)

Gets a list of all managed instances in the subscription.

abstract PagedIterable<ManagedInstanceInner> listByInstancePool(String resourceGroupName, String instancePoolName)

Gets a list of all managed instances in an instance pool.

abstract PagedIterable<ManagedInstanceInner> listByInstancePool(String resourceGroupName, String instancePoolName, String expand, Context context)

Gets a list of all managed instances in an instance pool.

abstract PagedFlux<ManagedInstanceInner> listByInstancePoolAsync(String resourceGroupName, String instancePoolName)

Gets a list of all managed instances in an instance pool.

abstract PagedFlux<ManagedInstanceInner> listByInstancePoolAsync(String resourceGroupName, String instancePoolName, String expand)

Gets a list of all managed instances in an instance pool.

abstract PagedIterable<TopQueriesInner> listByManagedInstance(String resourceGroupName, String managedInstanceName)

Get top resource consuming queries of a managed instance.

abstract PagedIterable<TopQueriesInner> listByManagedInstance(String resourceGroupName, String managedInstanceName, Integer numberOfQueries, String databases, String startTime, String endTime, QueryTimeGrainType interval, AggregationFunctionType aggregationFunction, MetricType observationMetric, Context context)

Get top resource consuming queries of a managed instance.

abstract PagedFlux<TopQueriesInner> listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName)

Get top resource consuming queries of a managed instance.

abstract PagedFlux<TopQueriesInner> listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName, Integer numberOfQueries, String databases, String startTime, String endTime, QueryTimeGrainType interval, AggregationFunctionType aggregationFunction, MetricType observationMetric)

Get top resource consuming queries of a managed instance.

abstract PagedIterable<ManagedInstanceInner> listByResourceGroup(String resourceGroupName)

Gets a list of managed instances in a resource group.

abstract PagedIterable<ManagedInstanceInner> listByResourceGroup(String resourceGroupName, String expand, Context context)

Gets a list of managed instances in a resource group.

abstract PagedFlux<ManagedInstanceInner> listByResourceGroupAsync(String resourceGroupName)

Gets a list of managed instances in a resource group.

abstract PagedFlux<ManagedInstanceInner> listByResourceGroupAsync(String resourceGroupName, String expand)

Gets a list of managed instances in a resource group.

abstract PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesByManagedInstance(String resourceGroupName, String managedInstanceName)

Gets the collection of outbound network dependencies for the given managed instance.

abstract PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesByManagedInstance(String resourceGroupName, String managedInstanceName, Context context)

Gets the collection of outbound network dependencies for the given managed instance.

abstract PagedFlux<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesByManagedInstanceAsync(String resourceGroupName, String managedInstanceName)

Gets the collection of outbound network dependencies for the given managed instance.

abstract RefreshExternalGovernanceStatusOperationResultMIInner refreshStatus(String resourceGroupName, String managedInstanceName)

Refresh external governance enablement status.

abstract RefreshExternalGovernanceStatusOperationResultMIInner refreshStatus(String resourceGroupName, String managedInstanceName, Context context)

Refresh external governance enablement status.

abstract Mono<RefreshExternalGovernanceStatusOperationResultMIInner> refreshStatusAsync(String resourceGroupName, String managedInstanceName)

Refresh external governance enablement status.

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

Refresh external governance enablement status.

abstract ManagedInstanceInner start(String resourceGroupName, String managedInstanceName)

Starts the managed instance.

abstract ManagedInstanceInner start(String resourceGroupName, String managedInstanceName, Context context)

Starts the managed instance.

abstract Mono<ManagedInstanceInner> startAsync(String resourceGroupName, String managedInstanceName)

Starts the managed instance.

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

Starts the managed instance.

abstract ManagedInstanceInner stop(String resourceGroupName, String managedInstanceName)

Stops the managed instance.

abstract ManagedInstanceInner stop(String resourceGroupName, String managedInstanceName, Context context)

Stops the managed instance.

abstract Mono<ManagedInstanceInner> stopAsync(String resourceGroupName, String managedInstanceName)

Stops the managed instance.

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

Stops the managed instance.

abstract ManagedInstanceInner update(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters)

Updates a managed instance.

abstract ManagedInstanceInner update(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters, Context context)

Updates a managed instance.

abstract Mono<ManagedInstanceInner> updateAsync(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters)

Updates a managed instance.

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

Updates a managed instance.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, ManagedInstanceInner parameters)

Creates or updates a 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.
parameters - The requested managed instance resource state.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL managed instance.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, ManagedInstanceInner parameters, Context context)

Creates or updates a 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.
parameters - The requested managed instance resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL managed instance.

beginCreateOrUpdateAsync

public abstract PollerFlux<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, ManagedInstanceInner parameters)

Creates or updates a 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.
parameters - The requested managed instance resource state.

Returns:

the PollerFlux<T,U> for polling of an Azure SQL managed instance.

beginDelete

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

Deletes a 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.

Returns:

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

beginDelete

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

Deletes a 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.
context - The context to associate with this operation.

Returns:

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

beginDeleteAsync

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

Deletes a 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.

Returns:

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

beginFailover

public abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String managedInstanceName)

Failovers a 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 to failover.

Returns:

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

beginFailover

public abstract SyncPoller<PollResult<Void>,Void> beginFailover(String resourceGroupName, String managedInstanceName, ReplicaType replicaType, Context context)

Failovers a 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 to failover.
replicaType - The type of replica to be failed over.
context - The context to associate with this operation.

Returns:

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

beginFailoverAsync

public abstract PollerFlux<PollResult<Void>,Void> beginFailoverAsync(String resourceGroupName, String managedInstanceName)

Failovers a 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 to failover.

Returns:

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

beginFailoverAsync

public abstract PollerFlux<PollResult<Void>,Void> beginFailoverAsync(String resourceGroupName, String managedInstanceName, ReplicaType replicaType)

Failovers a 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 to failover.
replicaType - The type of replica to be failed over.

Returns:

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

beginRefreshStatus

public abstract SyncPoller<PollResult<RefreshExternalGovernanceStatusOperationResultMIInner>,RefreshExternalGovernanceStatusOperationResultMIInner> beginRefreshStatus(String resourceGroupName, String managedInstanceName)

Refresh external governance enablement status.

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:

the SyncPoller<T,U> for polling of an RefreshExternalGovernanceStatus operation result resource.

beginRefreshStatus

public abstract SyncPoller<PollResult<RefreshExternalGovernanceStatusOperationResultMIInner>,RefreshExternalGovernanceStatusOperationResultMIInner> beginRefreshStatus(String resourceGroupName, String managedInstanceName, Context context)

Refresh external governance enablement status.

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:

the SyncPoller<T,U> for polling of an RefreshExternalGovernanceStatus operation result resource.

beginRefreshStatusAsync

public abstract PollerFlux<PollResult<RefreshExternalGovernanceStatusOperationResultMIInner>,RefreshExternalGovernanceStatusOperationResultMIInner> beginRefreshStatusAsync(String resourceGroupName, String managedInstanceName)

Refresh external governance enablement status.

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:

the PollerFlux<T,U> for polling of an RefreshExternalGovernanceStatus operation result resource.

beginStart

public abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStart(String resourceGroupName, String managedInstanceName)

Starts the 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.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL managed instance.

beginStart

public abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStart(String resourceGroupName, String managedInstanceName, Context context)

Starts the 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.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL managed instance.

beginStartAsync

public abstract PollerFlux<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStartAsync(String resourceGroupName, String managedInstanceName)

Starts the 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.

Returns:

the PollerFlux<T,U> for polling of an Azure SQL managed instance.

beginStop

public abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStop(String resourceGroupName, String managedInstanceName)

Stops the 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.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL managed instance.

beginStop

public abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStop(String resourceGroupName, String managedInstanceName, Context context)

Stops the 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.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL managed instance.

beginStopAsync

public abstract PollerFlux<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginStopAsync(String resourceGroupName, String managedInstanceName)

Stops the 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.

Returns:

the PollerFlux<T,U> for polling of an Azure SQL managed instance.

beginUpdate

public abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginUpdate(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters)

Updates a 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.
parameters - The requested managed instance resource state.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL managed instance.

beginUpdate

public abstract SyncPoller<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginUpdate(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters, Context context)

Updates a 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.
parameters - The requested managed instance resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure SQL managed instance.

beginUpdateAsync

public abstract PollerFlux<PollResult<ManagedInstanceInner>,ManagedInstanceInner> beginUpdateAsync(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters)

Updates a 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.
parameters - The requested managed instance resource state.

Returns:

the PollerFlux<T,U> for polling of an Azure SQL managed instance.

createOrUpdate

public abstract ManagedInstanceInner createOrUpdate(String resourceGroupName, String managedInstanceName, ManagedInstanceInner parameters)

Creates or updates a 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.
parameters - The requested managed instance resource state.

Returns:

an Azure SQL managed instance.

createOrUpdate

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

Creates or updates a 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.
parameters - The requested managed instance resource state.
context - The context to associate with this operation.

Returns:

an Azure SQL managed instance.

createOrUpdateAsync

public abstract Mono<ManagedInstanceInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, ManagedInstanceInner parameters)

Creates or updates a 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.
parameters - The requested managed instance resource state.

Returns:

an Azure SQL managed instance on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, ManagedInstanceInner parameters)

Creates or updates a 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.
parameters - The requested managed instance resource state.

Returns:

an Azure SQL managed instance along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String managedInstanceName)

Deletes a 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.

delete

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

Deletes a 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.
context - The context to associate with this operation.

deleteAsync

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

Deletes a 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.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

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

Deletes a 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.

Returns:

the Response<T> on successful completion of Mono.

failover

public abstract void failover(String resourceGroupName, String managedInstanceName)

Failovers a 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 to failover.

failover

public abstract void failover(String resourceGroupName, String managedInstanceName, ReplicaType replicaType, Context context)

Failovers a 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 to failover.
replicaType - The type of replica to be failed over.
context - The context to associate with this operation.

failoverAsync

public abstract Mono<Void> failoverAsync(String resourceGroupName, String managedInstanceName)

Failovers a 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 to failover.

Returns:

A Mono that completes when a successful response is received.

failoverAsync

public abstract Mono<Void> failoverAsync(String resourceGroupName, String managedInstanceName, ReplicaType replicaType)

Failovers a 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 to failover.
replicaType - The type of replica to be failed over.

Returns:

A Mono that completes when a successful response is received.

failoverWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupName, String managedInstanceName, ReplicaType replicaType)

Failovers a 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 to failover.
replicaType - The type of replica to be failed over.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract ManagedInstanceInner getByResourceGroup(String resourceGroupName, String managedInstanceName)

Gets a 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.

Returns:

a managed instance.

getByResourceGroupAsync

public abstract Mono<ManagedInstanceInner> getByResourceGroupAsync(String resourceGroupName, String managedInstanceName)

Gets a 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.

Returns:

a managed instance on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response<ManagedInstanceInner> getByResourceGroupWithResponse(String resourceGroupName, String managedInstanceName, String expand, Context context)

Gets a 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.
expand - The child resources to include in the response.
context - The context to associate with this operation.

Returns:

a managed instance along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono<Response<ManagedInstanceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String managedInstanceName, String expand)

Gets a 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.
expand - The child resources to include in the response.

Returns:

a managed instance along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable<ManagedInstanceInner> list()

Gets a list of all managed instances in the subscription.

Returns:

a list of all managed instances in the subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ManagedInstanceInner> list(String expand, Context context)

Gets a list of all managed instances in the subscription.

Parameters:

expand - The child resources to include in the response.
context - The context to associate with this operation.

Returns:

a list of all managed instances in the subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux<ManagedInstanceInner> listAsync()

Gets a list of all managed instances in the subscription.

Returns:

a list of all managed instances in the subscription as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux<ManagedInstanceInner> listAsync(String expand)

Gets a list of all managed instances in the subscription.

Parameters:

expand - The child resources to include in the response.

Returns:

a list of all managed instances in the subscription as paginated response with PagedFlux<T>.

listByInstancePool

public abstract PagedIterable<ManagedInstanceInner> listByInstancePool(String resourceGroupName, String instancePoolName)

Gets a list of all managed instances in an instance pool.

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.
instancePoolName - The instance pool name.

Returns:

a list of all managed instances in an instance pool as paginated response with PagedIterable<T>.

listByInstancePool

public abstract PagedIterable<ManagedInstanceInner> listByInstancePool(String resourceGroupName, String instancePoolName, String expand, Context context)

Gets a list of all managed instances in an instance pool.

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.
instancePoolName - The instance pool name.
expand - The child resources to include in the response.
context - The context to associate with this operation.

Returns:

a list of all managed instances in an instance pool as paginated response with PagedIterable<T>.

listByInstancePoolAsync

public abstract PagedFlux<ManagedInstanceInner> listByInstancePoolAsync(String resourceGroupName, String instancePoolName)

Gets a list of all managed instances in an instance pool.

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.
instancePoolName - The instance pool name.

Returns:

a list of all managed instances in an instance pool as paginated response with PagedFlux<T>.

listByInstancePoolAsync

public abstract PagedFlux<ManagedInstanceInner> listByInstancePoolAsync(String resourceGroupName, String instancePoolName, String expand)

Gets a list of all managed instances in an instance pool.

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.
instancePoolName - The instance pool name.
expand - The child resources to include in the response.

Returns:

a list of all managed instances in an instance pool as paginated response with PagedFlux<T>.

listByManagedInstance

public abstract PagedIterable<TopQueriesInner> listByManagedInstance(String resourceGroupName, String managedInstanceName)

Get top resource consuming queries of a 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.

Returns:

top resource consuming queries of a managed instance as paginated response with PagedIterable<T>.

listByManagedInstance

public abstract PagedIterable<TopQueriesInner> listByManagedInstance(String resourceGroupName, String managedInstanceName, Integer numberOfQueries, String databases, String startTime, String endTime, QueryTimeGrainType interval, AggregationFunctionType aggregationFunction, MetricType observationMetric, Context context)

Get top resource consuming queries of a 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.
numberOfQueries - How many 'top queries' to return. Default is 5.
databases - Comma separated list of databases to be included into search. All DB's are included if this parameter is not specified.
startTime - Start time for observed period.
endTime - End time for observed period.
interval - The time step to be used to summarize the metric values. Default value is PT1H.
aggregationFunction - Aggregation function to be used, default value is 'sum'.
observationMetric - Metric to be used for ranking top queries. Default is 'cpu'.
context - The context to associate with this operation.

Returns:

top resource consuming queries of a managed instance as paginated response with PagedIterable<T>.

listByManagedInstanceAsync

public abstract PagedFlux<TopQueriesInner> listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName)

Get top resource consuming queries of a 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.

Returns:

top resource consuming queries of a managed instance as paginated response with PagedFlux<T>.

listByManagedInstanceAsync

public abstract PagedFlux<TopQueriesInner> listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName, Integer numberOfQueries, String databases, String startTime, String endTime, QueryTimeGrainType interval, AggregationFunctionType aggregationFunction, MetricType observationMetric)

Get top resource consuming queries of a 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.
numberOfQueries - How many 'top queries' to return. Default is 5.
databases - Comma separated list of databases to be included into search. All DB's are included if this parameter is not specified.
startTime - Start time for observed period.
endTime - End time for observed period.
interval - The time step to be used to summarize the metric values. Default value is PT1H.
aggregationFunction - Aggregation function to be used, default value is 'sum'.
observationMetric - Metric to be used for ranking top queries. Default is 'cpu'.

Returns:

top resource consuming queries of a managed instance as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable<ManagedInstanceInner> listByResourceGroup(String resourceGroupName)

Gets a list of managed instances in a resource 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.

Returns:

a list of managed instances in a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ManagedInstanceInner> listByResourceGroup(String resourceGroupName, String expand, Context context)

Gets a list of managed instances in a resource 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.
expand - The child resources to include in the response.
context - The context to associate with this operation.

Returns:

a list of managed instances in a resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux<ManagedInstanceInner> listByResourceGroupAsync(String resourceGroupName)

Gets a list of managed instances in a resource 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.

Returns:

a list of managed instances in a resource group as paginated response with PagedFlux<T>.

listByResourceGroupAsync

public abstract PagedFlux<ManagedInstanceInner> listByResourceGroupAsync(String resourceGroupName, String expand)

Gets a list of managed instances in a resource 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.
expand - The child resources to include in the response.

Returns:

a list of managed instances in a resource group as paginated response with PagedFlux<T>.

listOutboundNetworkDependenciesByManagedInstance

public abstract PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesByManagedInstance(String resourceGroupName, String managedInstanceName)

Gets the collection of outbound network dependencies for the given 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.

Returns:

the collection of outbound network dependencies for the given managed instance as paginated response with PagedIterable<T>.

listOutboundNetworkDependenciesByManagedInstance

public abstract PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesByManagedInstance(String resourceGroupName, String managedInstanceName, Context context)

Gets the collection of outbound network dependencies for the given 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.
context - The context to associate with this operation.

Returns:

the collection of outbound network dependencies for the given managed instance as paginated response with PagedIterable<T>.

listOutboundNetworkDependenciesByManagedInstanceAsync

public abstract PagedFlux<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesByManagedInstanceAsync(String resourceGroupName, String managedInstanceName)

Gets the collection of outbound network dependencies for the given 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.

Returns:

the collection of outbound network dependencies for the given managed instance as paginated response with PagedFlux<T>.

refreshStatus

public abstract RefreshExternalGovernanceStatusOperationResultMIInner refreshStatus(String resourceGroupName, String managedInstanceName)

Refresh external governance enablement status.

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:

an RefreshExternalGovernanceStatus operation result resource.

refreshStatus

public abstract RefreshExternalGovernanceStatusOperationResultMIInner refreshStatus(String resourceGroupName, String managedInstanceName, Context context)

Refresh external governance enablement status.

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:

an RefreshExternalGovernanceStatus operation result resource.

refreshStatusAsync

public abstract Mono<RefreshExternalGovernanceStatusOperationResultMIInner> refreshStatusAsync(String resourceGroupName, String managedInstanceName)

Refresh external governance enablement status.

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:

an RefreshExternalGovernanceStatus operation result resource on successful completion of Mono.

refreshStatusWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> refreshStatusWithResponseAsync(String resourceGroupName, String managedInstanceName)

Refresh external governance enablement status.

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:

an RefreshExternalGovernanceStatus operation result resource along with Response<T> on successful completion of Mono.

start

public abstract ManagedInstanceInner start(String resourceGroupName, String managedInstanceName)

Starts the 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.

Returns:

an Azure SQL managed instance.

start

public abstract ManagedInstanceInner start(String resourceGroupName, String managedInstanceName, Context context)

Starts the 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.
context - The context to associate with this operation.

Returns:

an Azure SQL managed instance.

startAsync

public abstract Mono<ManagedInstanceInner> startAsync(String resourceGroupName, String managedInstanceName)

Starts the 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.

Returns:

an Azure SQL managed instance on successful completion of Mono.

startWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String managedInstanceName)

Starts the 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.

Returns:

an Azure SQL managed instance along with Response<T> on successful completion of Mono.

stop

public abstract ManagedInstanceInner stop(String resourceGroupName, String managedInstanceName)

Stops the 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.

Returns:

an Azure SQL managed instance.

stop

public abstract ManagedInstanceInner stop(String resourceGroupName, String managedInstanceName, Context context)

Stops the 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.
context - The context to associate with this operation.

Returns:

an Azure SQL managed instance.

stopAsync

public abstract Mono<ManagedInstanceInner> stopAsync(String resourceGroupName, String managedInstanceName)

Stops the 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.

Returns:

an Azure SQL managed instance on successful completion of Mono.

stopWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> stopWithResponseAsync(String resourceGroupName, String managedInstanceName)

Stops the 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.

Returns:

an Azure SQL managed instance along with Response<T> on successful completion of Mono.

update

public abstract ManagedInstanceInner update(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters)

Updates a 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.
parameters - The requested managed instance resource state.

Returns:

an Azure SQL managed instance.

update

public abstract ManagedInstanceInner update(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters, Context context)

Updates a 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.
parameters - The requested managed instance resource state.
context - The context to associate with this operation.

Returns:

an Azure SQL managed instance.

updateAsync

public abstract Mono<ManagedInstanceInner> updateAsync(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters)

Updates a 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.
parameters - The requested managed instance resource state.

Returns:

an Azure SQL managed instance on successful completion of Mono.

updateWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String managedInstanceName, ManagedInstanceUpdate parameters)

Updates a 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.
parameters - The requested managed instance resource state.

Returns:

an Azure SQL managed instance along with Response<T> on successful completion of Mono.

Applies to