C# Класс Microsoft.Azure.Commands.Sql.ServerUpgrade.Services.AzureSqlServerUpgradeCommunicator

This class is responsible for all the REST communication with the server upgrade REST endpoints
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Открытые методы

Метод Описание
AzureSqlServerUpgradeCommunicator ( AzureContext context ) : Hyak.Common

Creates a communicator for Azure Sql Databases

Cancel ( string resourceGroupName, string serverName, string clientRequestId ) : void

Cancel an Azure Sql Database Server Upgrade

GetUpgrade ( string resourceGroupName, string serverName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.ServerUpgradeGetResponse

Gets the Azure Sql Database Server Upgrade status

Start ( string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.Models.ServerUpgradeStartParameters parameters, string clientRequestId ) : void

Start an Azure Sql Database Server Upgrade

Приватные методы

Метод Описание
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.

Описание методов

AzureSqlServerUpgradeCommunicator() публичный Метод

Creates a communicator for Azure Sql Databases
public AzureSqlServerUpgradeCommunicator ( AzureContext context ) : Hyak.Common
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Результат Hyak.Common

Cancel() публичный Метод

Cancel an Azure Sql Database Server Upgrade
public Cancel ( string resourceGroupName, string serverName, string clientRequestId ) : void
resourceGroupName string
serverName string
clientRequestId string
Результат void

GetUpgrade() публичный Метод

Gets the Azure Sql Database Server Upgrade status
public GetUpgrade ( string resourceGroupName, string serverName, string clientRequestId ) : Microsoft.Azure.Management.Sql.Models.ServerUpgradeGetResponse
resourceGroupName string
serverName string
clientRequestId string
Результат Microsoft.Azure.Management.Sql.Models.ServerUpgradeGetResponse

Start() публичный Метод

Start an Azure Sql Database Server Upgrade
public Start ( string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.Models.ServerUpgradeStartParameters parameters, string clientRequestId ) : void
resourceGroupName string
serverName string
parameters Microsoft.Azure.Management.Sql.Models.ServerUpgradeStartParameters
clientRequestId string
Результат void