你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureSqlServerAdapter Class

Definition

Adapter for server operations

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

Constructors

AzureSqlServerAdapter(IAzureContext)

Constructs a server adapter

Properties

Context

Gets or sets the Azure profile

MicrosoftGraphClient

Gets or sets the Azure MicrosoftGraphClient instance

Methods

GetActiveDirectoryInformation(ServerExternalAdministrator)

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

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