AzureSqlManagedInstanceAdapter 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 Managed instance operations
public class AzureSqlManagedInstanceAdapter
type AzureSqlManagedInstanceAdapter = class
Public Class AzureSqlManagedInstanceAdapter
- Inheritance
-
AzureSqlManagedInstanceAdapter
Constructors
AzureSqlManagedInstanceAdapter(IAzureContext) |
Constructs a Managed instance adapter |
Properties
Context |
Gets or sets the Azure profile |
MicrosoftGraphClient |
Gets or sets the Azure MicrosoftGraphClient instance |
Methods
FailoverManagedInstance(String, String, String) |
Failovers a managed instance. |
GetActiveDirectoryInformation(ManagedInstanceExternalAdministrator) |
Verifies that the Azure Active Directory user or group exists, and will get the object id if it is not set. |
GetInstanceSkuPrefix(String) |
Get instance sku name based on edition Edition | SkuName GeneralPurpose | GP BusinessCritical | BC |
GetManagedInstance(String, String, String) |
Gets a managed instance in a resource group |
GetTenantId() |
Get the default tenantId for the current subscription |
ListManagedInstances(String) |
Gets a list of all the managed instances in a subscription |
ListManagedInstancesByInstancePool(String, String, String) |
Gets a list of all managed instances in an instance pool |
ListManagedInstancesByResourceGroup(String, String) |
Gets a list of all the managed instances in a resource group |
RemoveManagedInstance(String, String) |
Deletes a managed instance |
StartManagedInstance(String, String) |
Starts a managed instance. |
StopManagedInstance(String, String) |
Stops a managed instance. |
UpdateManagedInstance(AzureSqlManagedInstanceModel) |
Upserts a managed instance |
UpsertManagedInstance(AzureSqlManagedInstanceModel) |
Upserts a managed instance |