ManagedInstancesOperationsExtensions.ListByManagedInstanceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get top resource consuming queries of a managed instance.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.TopQueries>> ListByManagedInstanceAsync (this Microsoft.Azure.Management.Sql.IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, int? numberOfQueries = default, string databases = default, string startTime = default, string endTime = default, string interval = default, string aggregationFunction = default, string observationMetric = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByManagedInstanceAsync : Microsoft.Azure.Management.Sql.IManagedInstancesOperations * string * string * Nullable<int> * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.TopQueries>>
<Extension()>
Public Function ListByManagedInstanceAsync (operations As IManagedInstancesOperations, resourceGroupName As String, managedInstanceName As String, Optional numberOfQueries As Nullable(Of Integer) = Nothing, Optional databases As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional interval As String = Nothing, Optional aggregationFunction As String = Nothing, Optional observationMetric As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of TopQueries))
Parameters
- operations
- IManagedInstancesOperations
The operations group for this extension method.
- resourceGroupName
- String
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
- String
The name of the managed instance.
- databases
- String
Comma separated list of databases to be included into search. All DB's are included if this parameter is not specified.
- startTime
- String
Start time for observed period.
- endTime
- String
End time for observed period.
- interval
- String
The time step to be used to summarize the metric values. Default value is PT1H. Possible values include: 'PT1H', 'P1D'
- aggregationFunction
- String
Aggregation function to be used, default value is 'sum'. Possible values include: 'avg', 'min', 'max', 'stdev', 'sum'
- observationMetric
- String
Metric to be used for ranking top queries. Default is 'cpu'. Possible values include: 'cpu', 'io', 'logIo', 'duration', 'dtu'
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기