GalleriesOperations.ListByResourceGroupAsync(String, CancellationToken) Method

Definition

List galleries under a resource group.

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

Parameters

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

AsyncPageable<Gallery>

Exceptions

resourceGroupName is null.

Applies to