AvailabilityGroupListenerCollection.GetAll(CancellationToken) Method

Definition

Lists all availability group listeners in a SQL virtual machine group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners
  • Operation Id: AvailabilityGroupListeners_ListByGroup
public virtual Azure.Pageable<Azure.ResourceManager.SqlVirtualMachine.AvailabilityGroupListenerResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SqlVirtualMachine.AvailabilityGroupListenerResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SqlVirtualMachine.AvailabilityGroupListenerResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AvailabilityGroupListenerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of AvailabilityGroupListenerResource that may take multiple service requests to iterate over.

Applies to