Compartir a través de


AzureSqlServerAdapter Class

Definition

Adapter for server operations

public class AzureSqlServerAdapter
type AzureSqlServerAdapter = class
Public Class AzureSqlServerAdapter
Inheritance
AzureSqlServerAdapter

Constructors

Name Description
AzureSqlServerAdapter(IAzureContext)

Constructs a server adapter

Properties

Name Description
Context

Gets or sets the Azure profile

MicrosoftGraphClient

Gets or sets the Azure MicrosoftGraphClient instance

Methods

Name Description
GetActiveDirectoryInformation(ServerExternalAdministrator)

Verifies that the Azure Active Directory user or group exists, and will get the object id if it is not set.

GetDeletedServer(String, String, String)

Gets a deleted Azure SQL server by location and server name.

GetServer(String, String, String, String)

Gets a server in a resource group

GetServer(String, String, String)

Gets a server in a resource group

GetServer(String, String)
GetTenantId()

Get the default tenantId for the current subscription

ListServers()
ListServers(String)

Gets a list of all the servers in a subscription

ListServersByResourceGroup(String, String)

Gets a list of all the servers in a resource group

ListServersByResourceGroup(String)
RemoveServer(String, String)

Deletes a server

UpsertServer(AzureSqlServerModel)

Upserts a server

Applies to