C# Класс Microsoft.Azure.Commands.Sql.ServiceObjective.Adapter.AzureSqlServerServiceObjectiveAdapter

Adapter for ServiceObjective operations
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CreateServiceObjectiveModelFromResponse Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel

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

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

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

Метод Описание
CreateServiceObjectiveModelFromResponse ( string resourceGroupName, string serverName, Management resp ) : AzureSqlServerServiceObjectiveModel

Convert a Management.Sql.Models.ServiceObjective to AzureSqlDatabaseServerServiceObjectiveModel

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

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

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
Результат Microsoft.Azure.Commands.Common.Authentication.Models

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

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
Результат Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel

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

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
Результат List