Share via


IndependentChildrenImpl<T,ImplT,InnerT,InnerCollectionT,ManagerT,ParentT>.GetByParentAsync Method

Definition

Overloads

GetByParentAsync(ParentT, String, CancellationToken)
GetByParentAsync(String, String, String, CancellationToken)

GetByParentAsync(ParentT, String, CancellationToken)

public System.Threading.Tasks.Task<T> GetByParentAsync (ParentT parentResource, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByParentAsync : 'ParentT * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T (requires 'T : null and 'T :> Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId)>
override this.GetByParentAsync : 'ParentT * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T (requires 'T : null and 'T :> Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId)>
Public Function GetByParentAsync (parentResource As ParentT, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of T)

Parameters

parentResource
ParentT
name
String
cancellationToken
CancellationToken

Returns

Task<T>

Implements

Applies to

GetByParentAsync(String, String, String, CancellationToken)

public abstract System.Threading.Tasks.Task<T> GetByParentAsync (string resourceGroup, string parentName, string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByParentAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T (requires 'T : null and 'T :> Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId)>
Public MustOverride Function GetByParentAsync (resourceGroup As String, parentName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of T)

Parameters

resourceGroup
String
parentName
String
name
String
cancellationToken
CancellationToken

Returns

Task<T>

Implements

Applies to