C# Class Microsoft.Azure.Commands.Sql.ServiceObjective.Services.AzureSqlServerServiceObjectiveCommunicator

This class is responsible for all the REST communication with the audit REST endpoints
ファイルを表示 Open project: Azure/azure-powershell Class Usage Examples

Private Properties

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

Public Methods

Method Description
AzureSqlServerServiceObjectiveCommunicator ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Creates a communicator for Azure Sql Databases ServiceObjective

Get ( string resourceGroupName, string serverName, string serviceObjectiveName, string clientRequestId ) : Management.Sql.Models.ServiceObjective

Gets the Azure Sql Database Server ServiceObjective

List ( string resourceGroupName, string serverName, string clientRequestId ) : IList

Lists Azure Sql Databases Server ServiceObjective

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

AzureSqlServerServiceObjectiveCommunicator() public method

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

Get() public method

Gets the Azure Sql Database Server ServiceObjective
public Get ( string resourceGroupName, string serverName, string serviceObjectiveName, string clientRequestId ) : Management.Sql.Models.ServiceObjective
resourceGroupName string
serverName string
serviceObjectiveName string
clientRequestId string
return Management.Sql.Models.ServiceObjective

List() public method

Lists Azure Sql Databases Server ServiceObjective
public List ( string resourceGroupName, string serverName, string clientRequestId ) : IList
resourceGroupName string
serverName string
clientRequestId string
return IList