AzureSqlServerAdapter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, 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 |