C# 클래스 Microsoft.Azure.Commands.Sql.Service.AzureSqlDatabaseIndexRecommendationCommunicator

This class is responsible for all the REST communication with the server upgrade REST endpoints
파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

공개 메소드들

메소드 설명
AzureSqlDatabaseIndexRecommendationCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Creates a communicator for Azure Sql Databases

ListRecommendedIndexes ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : List

List all recommended indexes. If database name is null get recommendations for all databases on server.

UpdateRecommendedIndexState ( string resourceGroupName, string serverName, string databaseName, string schema, string table, string recommendedIndexName, string state, string clientRequestId ) : void

Update recommended index state

비공개 메소드들

메소드 설명
GetCurrentSqlClient ( String clientRequestId ) : Microsoft.Azure.Management.Sql.SqlManagementClient

Retrieve the SQL Management client for the currently selected subscription, adding the session and request id tracing headers for the current cmdlet invocation.

메소드 상세

AzureSqlDatabaseIndexRecommendationCommunicator() 공개 메소드

Creates a communicator for Azure Sql Databases
public AzureSqlDatabaseIndexRecommendationCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
리턴 Microsoft.Azure.Commands.Common.Authentication

ListRecommendedIndexes() 공개 메소드

List all recommended indexes. If database name is null get recommendations for all databases on server.
public ListRecommendedIndexes ( string resourceGroupName, string serverName, string databaseName, string clientRequestId ) : List
resourceGroupName string Resource group
serverName string Server name
databaseName string Database name
clientRequestId string Request id
리턴 List

UpdateRecommendedIndexState() 공개 메소드

Update recommended index state
public UpdateRecommendedIndexState ( string resourceGroupName, string serverName, string databaseName, string schema, string table, string recommendedIndexName, string state, string clientRequestId ) : void
resourceGroupName string Resource group
serverName string Server name
databaseName string Database name
schema string Schema name
table string Table name
recommendedIndexName string Recommended index
state string State
clientRequestId string Request id
리턴 void