C# Class Microsoft.Azure.Commands.Sql.ServiceObjective.Adapter.AzureSqlServerServiceObjectiveAdapter

Adapter for ServiceObjective operations
Show file Open project: Azure/azure-powershell

Private Properties

Property Type Description
CreateServiceObjectiveModelFromResponse Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel

Public Methods

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

Constructs a ServiceObjective adapter

GetServiceObjective ( string resourceGroupName, string serverName, string serviceObjectiveName ) : AzureSqlServerServiceObjectiveModel

Gets a ServiceObjective for a server

ListServiceObjectives ( string resourceGroupName, string serverName ) : List

Gets a list of all the ServiceObjective for a server

Private Methods

Method Description
CreateServiceObjectiveModelFromResponse ( string resourceGroupName, string serverName, Management resp ) : AzureSqlServerServiceObjectiveModel

Convert a Management.Sql.Models.ServiceObjective to AzureSqlDatabaseServerServiceObjectiveModel

Method Details

AzureSqlServerServiceObjectiveAdapter() public method

Constructs a ServiceObjective adapter
public AzureSqlServerServiceObjectiveAdapter ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication.Models

GetServiceObjective() public method

Gets a ServiceObjective for a server
public GetServiceObjective ( string resourceGroupName, string serverName, string serviceObjectiveName ) : AzureSqlServerServiceObjectiveModel
resourceGroupName string The name of the resource group
serverName string The name of the server
serviceObjectiveName string The name of the service objective
return Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel

ListServiceObjectives() public method

Gets a list of all the ServiceObjective for a server
public ListServiceObjectives ( string resourceGroupName, string serverName ) : List
resourceGroupName string The name of the resource group
serverName string The name of the server
return List