DistributedAvailabilityGroups interface
Interface representing a DistributedAvailabilityGroups.
Methods
Method Details
beginCreateOrUpdate(string, string, string, DistributedAvailabilityGroup, DistributedAvailabilityGroupsCreateOrUpdateOptionalParams)
Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.
function beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, parameters: DistributedAvailabilityGroup, options?: DistributedAvailabilityGroupsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DistributedAvailabilityGroup>, DistributedAvailabilityGroup>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- distributedAvailabilityGroupName
-
string
The distributed availability group name.
- parameters
- DistributedAvailabilityGroup
The distributed availability group info.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DistributedAvailabilityGroup>, DistributedAvailabilityGroup>>
beginCreateOrUpdateAndWait(string, string, string, DistributedAvailabilityGroup, DistributedAvailabilityGroupsCreateOrUpdateOptionalParams)
Creates a distributed availability group between Sql On-Prem and Sql Managed Instance.
function beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, parameters: DistributedAvailabilityGroup, options?: DistributedAvailabilityGroupsCreateOrUpdateOptionalParams): Promise<DistributedAvailabilityGroup>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- distributedAvailabilityGroupName
-
string
The distributed availability group name.
- parameters
- DistributedAvailabilityGroup
The distributed availability group info.
The options parameters.
Returns
Promise<DistributedAvailabilityGroup>
beginDelete(string, string, string, DistributedAvailabilityGroupsDeleteOptionalParams)
Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.
function beginDelete(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, options?: DistributedAvailabilityGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- distributedAvailabilityGroupName
-
string
The distributed availability group name.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, DistributedAvailabilityGroupsDeleteOptionalParams)
Drops a distributed availability group between Sql On-Prem and Sql Managed Instance.
function beginDeleteAndWait(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, options?: DistributedAvailabilityGroupsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- distributedAvailabilityGroupName
-
string
The distributed availability group name.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, string, DistributedAvailabilityGroup, DistributedAvailabilityGroupsUpdateOptionalParams)
Updates a distributed availability group replication mode.
function beginUpdate(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, parameters: DistributedAvailabilityGroup, options?: DistributedAvailabilityGroupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DistributedAvailabilityGroup>, DistributedAvailabilityGroup>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- distributedAvailabilityGroupName
-
string
The distributed availability group name.
- parameters
- DistributedAvailabilityGroup
The distributed availability group info.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DistributedAvailabilityGroup>, DistributedAvailabilityGroup>>
beginUpdateAndWait(string, string, string, DistributedAvailabilityGroup, DistributedAvailabilityGroupsUpdateOptionalParams)
Updates a distributed availability group replication mode.
function beginUpdateAndWait(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, parameters: DistributedAvailabilityGroup, options?: DistributedAvailabilityGroupsUpdateOptionalParams): Promise<DistributedAvailabilityGroup>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- distributedAvailabilityGroupName
-
string
The distributed availability group name.
- parameters
- DistributedAvailabilityGroup
The distributed availability group info.
The options parameters.
Returns
Promise<DistributedAvailabilityGroup>
get(string, string, string, DistributedAvailabilityGroupsGetOptionalParams)
Gets a distributed availability group info.
function get(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, options?: DistributedAvailabilityGroupsGetOptionalParams): Promise<DistributedAvailabilityGroup>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- distributedAvailabilityGroupName
-
string
The distributed availability group name.
The options parameters.
Returns
Promise<DistributedAvailabilityGroup>
listByInstance(string, string, DistributedAvailabilityGroupsListByInstanceOptionalParams)
Gets a list of a distributed availability groups in instance.
function listByInstance(resourceGroupName: string, managedInstanceName: string, options?: DistributedAvailabilityGroupsListByInstanceOptionalParams): PagedAsyncIterableIterator<DistributedAvailabilityGroup, DistributedAvailabilityGroup[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
The options parameters.