MySQLManagementClient class

Extends

Constructors

MySQLManagementClient(TokenCredential, string, MySQLManagementClientOptionalParams)

Initializes a new instance of the MySQLManagementClient class.

Properties

$host
advisors
checkNameAvailability
configurations
databases
firewallRules
locationBasedPerformanceTier
locationBasedRecommendedActionSessionsOperationStatus
locationBasedRecommendedActionSessionsResult
logFiles
operations
privateEndpointConnections
privateLinkResources
queryTexts
recommendedActions
recoverableServers
replicas
serverAdministrators
serverBasedPerformanceTier
serverKeys
serverParameters
servers
serverSecurityAlertPolicies
subscriptionId
topQueryStatistics
virtualNetworkRules
waitStatistics

Inherited Properties

pipeline

The pipeline used by this client to make requests

Methods

beginCreateRecommendedActionSession(string, string, string, string, CreateRecommendedActionSessionOptionalParams)

Create recommendation action session for the advisor.

beginCreateRecommendedActionSessionAndWait(string, string, string, string, CreateRecommendedActionSessionOptionalParams)

Create recommendation action session for the advisor.

resetQueryPerformanceInsightData(string, string, ResetQueryPerformanceInsightDataOptionalParams)

Reset data for Query Performance Insight.

Inherited Methods

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

sendRequest(PipelineRequest)

Send the provided httpRequest.

Constructor Details

MySQLManagementClient(TokenCredential, string, MySQLManagementClientOptionalParams)

Initializes a new instance of the MySQLManagementClient class.

new MySQLManagementClient(credentials: TokenCredential, subscriptionId: string, options?: MySQLManagementClientOptionalParams)

Parameters

credentials
TokenCredential

Subscription credentials which uniquely identify client subscription.

subscriptionId

string

The ID of the target subscription.

options
MySQLManagementClientOptionalParams

The parameter options

Property Details

$host

$host: string

Property Value

string

advisors

advisors: Advisors

Property Value

checkNameAvailability

checkNameAvailability: CheckNameAvailability

Property Value

configurations

configurations: Configurations

Property Value

databases

databases: Databases

Property Value

firewallRules

firewallRules: FirewallRules

Property Value

locationBasedPerformanceTier

locationBasedPerformanceTier: LocationBasedPerformanceTier

Property Value

locationBasedRecommendedActionSessionsOperationStatus

locationBasedRecommendedActionSessionsOperationStatus: LocationBasedRecommendedActionSessionsOperationStatus

Property Value

locationBasedRecommendedActionSessionsResult

locationBasedRecommendedActionSessionsResult: LocationBasedRecommendedActionSessionsResult

Property Value

logFiles

logFiles: LogFiles

Property Value

operations

operations: Operations

Property Value

privateEndpointConnections

privateEndpointConnections: PrivateEndpointConnections

Property Value

privateLinkResources

privateLinkResources: PrivateLinkResources

Property Value

queryTexts

queryTexts: QueryTexts

Property Value

recommendedActions

recommendedActions: RecommendedActions

Property Value

recoverableServers

recoverableServers: RecoverableServers

Property Value

replicas

replicas: Replicas

Property Value

serverAdministrators

serverAdministrators: ServerAdministrators

Property Value

serverBasedPerformanceTier

serverBasedPerformanceTier: ServerBasedPerformanceTier

Property Value

serverKeys

serverKeys: ServerKeys

Property Value

serverParameters

serverParameters: ServerParameters

Property Value

servers

servers: Servers

Property Value

serverSecurityAlertPolicies

serverSecurityAlertPolicies: ServerSecurityAlertPolicies

Property Value

subscriptionId

subscriptionId: string

Property Value

string

topQueryStatistics

topQueryStatistics: TopQueryStatistics

Property Value

virtualNetworkRules

virtualNetworkRules: VirtualNetworkRules

Property Value

waitStatistics

waitStatistics: WaitStatistics

Property Value

Inherited Property Details

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

Inherited From coreClient.ServiceClient.pipeline

Method Details

beginCreateRecommendedActionSession(string, string, string, string, CreateRecommendedActionSessionOptionalParams)

Create recommendation action session for the advisor.

function beginCreateRecommendedActionSession(resourceGroupName: string, serverName: string, advisorName: string, databaseName: string, options?: CreateRecommendedActionSessionOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

advisorName

string

The advisor name for recommendation action.

databaseName

string

The name of the database.

options
CreateRecommendedActionSessionOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginCreateRecommendedActionSessionAndWait(string, string, string, string, CreateRecommendedActionSessionOptionalParams)

Create recommendation action session for the advisor.

function beginCreateRecommendedActionSessionAndWait(resourceGroupName: string, serverName: string, advisorName: string, databaseName: string, options?: CreateRecommendedActionSessionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

advisorName

string

The advisor name for recommendation action.

databaseName

string

The name of the database.

options
CreateRecommendedActionSessionOptionalParams

The options parameters.

Returns

Promise<void>

resetQueryPerformanceInsightData(string, string, ResetQueryPerformanceInsightDataOptionalParams)

Reset data for Query Performance Insight.

function resetQueryPerformanceInsightData(resourceGroupName: string, serverName: string, options?: ResetQueryPerformanceInsightDataOptionalParams): Promise<QueryPerformanceInsightResetDataResult>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

options
ResetQueryPerformanceInsightDataOptionalParams

The options parameters.

Returns

Inherited Method Details

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

Parameters

operationArguments
OperationArguments

The arguments that the HTTP request's templated values will be populated from.

operationSpec
OperationSpec

The OperationSpec to use to populate the httpRequest.

Returns

Promise<T>

Inherited From coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

Send the provided httpRequest.

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

Parameters

request
PipelineRequest

Returns

Promise<PipelineResponse>

Inherited From coreClient.ServiceClient.sendRequest