C# Класс Microsoft.Azure.Commands.Sql.ServerCommunicationLink.Services.AzureSqlServerCommunicationLinkAdapter

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

Private Properties

Свойство Тип Описание
CreateServerCommunicationLinkModelFromResponse Microsoft.Azure.Commands.Sql.ServerCommunicationLink.Model.AzureSqlServerCommunicationLinkModel
GetServerCommunicationLink Microsoft.Azure.Commands.Sql.ServerCommunicationLink.Model.AzureSqlServerCommunicationLinkModel
ListServerCommunicationLinks ICollection
UpsertServerCommunicationLink Microsoft.Azure.Commands.Sql.ServerCommunicationLink.Model.AzureSqlServerCommunicationLinkModel

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

Метод Описание
AzureSqlServerCommunicationLinkAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models

Constructs an adapter

GetServerLocation ( string resourceGroupName, string serverName ) : string

Gets the Location of the server.

RemoveServerCommunicationLink ( string resourceGroupName, string serverName, string communicationLinkName ) : void

Deletes a Server communication link

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

Метод Описание
CreateServerCommunicationLinkModelFromResponse ( string resourceGroup, string serverName, Management link ) : AzureSqlServerCommunicationLinkModel

Converts the response from the service to a powershell database object

GetServerCommunicationLink ( string resourceGroupName, string serverName, string communicationLinkName ) : AzureSqlServerCommunicationLinkModel

Gets a Azure Sql Server communication link by name.

ListServerCommunicationLinks ( string resourceGroupName, string serverName ) : ICollection

Gets a list of Azure Sql Server communication links.

UpsertServerCommunicationLink ( AzureSqlServerCommunicationLinkModel model ) : AzureSqlServerCommunicationLinkModel

Creates or updates a Azure Sql Server communication link.

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

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

Constructs an adapter
public AzureSqlServerCommunicationLinkAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Результат Microsoft.Azure.Commands.Common.Authentication.Models

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

Gets the Location of the server.
public GetServerLocation ( string resourceGroupName, string serverName ) : string
resourceGroupName string The resource group the server is in
serverName string The name of the server
Результат string

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

Deletes a Server communication link
public RemoveServerCommunicationLink ( string resourceGroupName, string serverName, string communicationLinkName ) : void
resourceGroupName string The resource group the server is in
serverName string The name of the Azure Sql Database Server
communicationLinkName string The name of the Azure Sql server communication link to delete
Результат void