AvailabilityGroupListenersOperationsExtensions.ListByGroupAsync Method
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.
Lists all availability group listeners in a SQL virtual machine group.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.SqlVirtualMachine.Models.AvailabilityGroupListener>> ListByGroupAsync (this Microsoft.Azure.Management.SqlVirtualMachine.IAvailabilityGroupListenersOperations operations, string resourceGroupName, string sqlVirtualMachineGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByGroupAsync : Microsoft.Azure.Management.SqlVirtualMachine.IAvailabilityGroupListenersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.SqlVirtualMachine.Models.AvailabilityGroupListener>>
<Extension()>
Public Function ListByGroupAsync (operations As IAvailabilityGroupListenersOperations, resourceGroupName As String, sqlVirtualMachineGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(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.
- cancellationToken
- CancellationToken
The cancellation token.