你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

定义

重载

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)

参数

parentResource
ParentT
name
String
cancellationToken
CancellationToken

返回

Task<T>

实现

适用于

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)

参数

resourceGroup
String
parentName
String
name
String
cancellationToken
CancellationToken

返回

Task<T>

实现

适用于