Compartilhar via


ResourceManagerRestRestClient.ListObjectColleciton<TType> Method

Definition

Get a single resource.

public System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Common.ResponseWithContinuation<TType[]>> ListObjectColleciton<TType> (string resourceCollectionId, string apiVersion, System.Threading.CancellationToken cancellationToken, string odataQuery = default);
member this.ListObjectColleciton : string * string * System.Threading.CancellationToken * string -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Common.ResponseWithContinuation<'ype[]>>
Public Function ListObjectColleciton(Of TType) (resourceCollectionId As String, apiVersion As String, cancellationToken As CancellationToken, Optional odataQuery As String = Nothing) As Task(Of ResponseWithContinuation(Of TType()))

Type Parameters

TType

Parameters

resourceCollectionId
String

The resource collection Id.

apiVersion
String

The API version to use.

cancellationToken
CancellationToken

The CancellationToken used to cancel the request.

odataQuery
String

The OData query.

Returns

Applies to