ISupportsListingByParent<T,ParentT,ManagerT>.ListByParentAsync Method

Definition

Overloads

ListByParentAsync(ParentT, CancellationToken)

Gets the information about a resource from Azure based on the resource id.

ListByParentAsync(String, String, CancellationToken)

Lists resources of the specified type in the specified resource group.

ListByParentAsync(ParentT, CancellationToken)

Gets the information about a resource from Azure based on the resource id.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<T>> ListByParentAsync (ParentT parentResource, System.Threading.CancellationToken cancellationToken = null);
abstract member ListByParentAsync : 'ParentT * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>

Parameters

parentResource
ParentT

The instance of parent resource.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IPagedCollection<T>>

Applies to

ListByParentAsync(String, String, CancellationToken)

Lists resources of the specified type in the specified resource group.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<T>> ListByParentAsync (string resourceGroupName, string parentName, System.Threading.CancellationToken cancellationToken = null);
abstract member ListByParentAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>

Parameters

resourceGroupName
System.String

The name of the resource group to list the resources from.

parentName
System.String

The name of parent resource.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IPagedCollection<T>>

Applies to