Sdílet prostřednictvím


AzureSqlManagedInstanceAdapter Class

Definition

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

Applies to