Share via


AvailabilityGroupListenersOperationsExtensions.GetAsync Method

Definition

Gets an availability group listener.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.SqlVirtualMachine.Models.AvailabilityGroupListener> GetAsync (this Microsoft.Azure.Management.SqlVirtualMachine.IAvailabilityGroupListenersOperations operations, string resourceGroupName, string sqlVirtualMachineGroupName, string availabilityGroupListenerName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.SqlVirtualMachine.IAvailabilityGroupListenersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.SqlVirtualMachine.Models.AvailabilityGroupListener>
<Extension()>
Public Function GetAsync (operations As IAvailabilityGroupListenersOperations, resourceGroupName As String, sqlVirtualMachineGroupName As String, availabilityGroupListenerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AvailabilityGroupListener)

Parameters

operations
IAvailabilityGroupListenersOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

sqlVirtualMachineGroupName
String

Name of the SQL virtual machine group.

availabilityGroupListenerName
String

Name of the availability group listener.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to