C# Class Microsoft.Azure.Commands.Sql.ServerCommunicationLink.Services.AzureSqlServerCommunicationLinkCommunicator

This class is responsible for all the REST communication with the endpoints
Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Свойство Type Description
GetCurrentSqlClient Microsoft.Azure.Management.Sql.SqlManagementClient

Méthodes publiques

Méthode Description
AzureSqlServerCommunicationLinkCommunicator ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication

Creates a communicator for Azure Sql Elastic Pool

CreateOrUpdate ( string resourceGroupName, string serverName, string communicationLinkName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ServerCommunicationLinkCreateOrUpdateParameters parameters ) : Management.Sql.Models.ServerCommunicationLink

Creates or updates a server communication link

Get ( string resourceGroupName, string serverName, string communicationLinkName, string clientRequestId ) : Management.Sql.Models.ServerCommunicationLink

Gets a server communication link

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

Lists server communication links

Remove ( string resourceGroupName, string serverName, string communicationLinkName, string clientRequestId ) : void

Deletes a server communication link

Private Methods

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

AzureSqlServerCommunicationLinkCommunicator() public méthode

Creates a communicator for Azure Sql Elastic Pool
public AzureSqlServerCommunicationLinkCommunicator ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context Microsoft.Azure.Common.Authentication.Models.AzureContext
Résultat Microsoft.Azure.Commands.Common.Authentication

CreateOrUpdate() public méthode

Creates or updates a server communication link
public CreateOrUpdate ( string resourceGroupName, string serverName, string communicationLinkName, string clientRequestId, Microsoft.Azure.Management.Sql.Models.ServerCommunicationLinkCreateOrUpdateParameters parameters ) : Management.Sql.Models.ServerCommunicationLink
resourceGroupName string
serverName string
communicationLinkName string
clientRequestId string
parameters Microsoft.Azure.Management.Sql.Models.ServerCommunicationLinkCreateOrUpdateParameters
Résultat Management.Sql.Models.ServerCommunicationLink

Get() public méthode

Gets a server communication link
public Get ( string resourceGroupName, string serverName, string communicationLinkName, string clientRequestId ) : Management.Sql.Models.ServerCommunicationLink
resourceGroupName string
serverName string
communicationLinkName string
clientRequestId string
Résultat Management.Sql.Models.ServerCommunicationLink

List() public méthode

Lists server communication links
public List ( string resourceGroupName, string serverName, string clientRequestId ) : IList
resourceGroupName string
serverName string
clientRequestId string
Résultat IList

Remove() public méthode

Deletes a server communication link
public Remove ( string resourceGroupName, string serverName, string communicationLinkName, string clientRequestId ) : void
resourceGroupName string
serverName string
communicationLinkName string
clientRequestId string
Résultat void