다음을 통해 공유


ISupportsListingByRegion<T>.ListByRegionAsync Method

Definition

Overloads

ListByRegionAsync(Region, CancellationToken)

Lists all the resources of the specified type in the specified region.

ListByRegionAsync(String, CancellationToken)

Lists all the resources of the specified type in the specified region.

ListByRegionAsync(Region, CancellationToken)

Lists all the resources of the specified type in the specified region.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<T>> ListByRegionAsync (Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByRegionAsync : Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>
Public Function ListByRegionAsync (region As Region, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of T))

Parameters

region
Region

the selected Azure region

cancellationToken
CancellationToken

the cancellation token

Returns

a representation of the deferred computation of this call, returning the requested resources

Applies to

ListByRegionAsync(String, CancellationToken)

Lists all the resources of the specified type in the specified region.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<T>> ListByRegionAsync (string region, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByRegionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>
Public Function ListByRegionAsync (region As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of T))

Parameters

region
String

the selected Azure region

cancellationToken
CancellationToken

the cancellation token

Returns

a representation of the deferred computation of this call, returning the requested resources

Applies to