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<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 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,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,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,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,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,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,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,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,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,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,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.

beginUpdate

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

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 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>> 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