IndependentChildrenImpl<T,ImplT,InnerT,InnerCollectionT,ManagerT,ParentT>.GetByParentAsync 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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET