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

Adapter for ServiceObjective operations
Afficher le fichier Open project: Azure/azure-powershell

Private Properties

Свойство Type Description
CreateServiceObjectiveModelFromResponse Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel

Méthodes publiques

Méthode 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

Méthode Description
CreateServiceObjectiveModelFromResponse ( string resourceGroupName, string serverName, Management resp ) : AzureSqlServerServiceObjectiveModel

Convert a Management.Sql.Models.ServiceObjective to AzureSqlDatabaseServerServiceObjectiveModel

Method Details

AzureSqlServerServiceObjectiveAdapter() public méthode

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
Résultat Microsoft.Azure.Commands.Common.Authentication.Models

GetServiceObjective() public méthode

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
Résultat Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel

ListServiceObjectives() public méthode

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
Résultat List