C# Class Microsoft.Azure.Commands.Sql.ServerUpgrade.Services.AzureSqlServerUpgradeCommunicator

This class is responsible for all the REST communication with the server upgrade REST endpoints
Mostrar archivo Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Public Methods

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

Private Methods

Method Description
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.

Method Details

AzureSqlServerUpgradeCommunicator() public method

Creates a communicator for Azure Sql Databases
public AzureSqlServerUpgradeCommunicator ( AzureContext context ) : Hyak.Common
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
return Hyak.Common

Cancel() public method

Cancel an Azure Sql Database Server Upgrade
public Cancel ( string resourceGroupName, string serverName, string clientRequestId ) : void
resourceGroupName string
serverName string
clientRequestId string
return void

GetUpgrade() public method

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
return Microsoft.Azure.Management.Sql.Models.ServerUpgradeGetResponse

Start() public method

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