ISupportsListingByParent<T,ParentT,ManagerT>.ListByParentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = default);
abstract member ListByParentAsync : 'ParentT * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>
Public Function ListByParentAsync (parentResource As ParentT, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of T))
Parameters
- parentResource
- ParentT
The instance of parent resource.
- cancellationToken
- CancellationToken
Returns
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 = default);
abstract member ListByParentAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>
Public Function ListByParentAsync (resourceGroupName As String, parentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of T))
Parameters
- resourceGroupName
- String
The name of the resource group to list the resources from.
- parentName
- String
The name of parent resource.
- cancellationToken
- CancellationToken
Returns
Task<IPagedCollection<T>>
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET