IpGroupsOperations.ListByResourceGroupAsync(String, CancellationToken) Method

Definition

Gets all IpGroups in a resource group.

public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.IpGroup> ListByResourceGroupAsync (string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceGroupAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.IpGroup>
override this.ListByResourceGroupAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.IpGroup>
Public Overridable Function ListByResourceGroupAsync (resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of IpGroup)

Parameters

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

AsyncPageable<IpGroup>

Exceptions

resourceGroupName is null.

Applies to