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

GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>.GetByIdAsync 方法

定义

public System.Threading.Tasks.Task<IFluentResourceT> GetByIdAsync (string id, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'IFluentResourceT (requires 'IFluentResourceT : null and 'IFluentResourceT :> Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<'ManagerT, 'InnerResourceT>)>
override this.GetByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'IFluentResourceT (requires 'IFluentResourceT : null and 'IFluentResourceT :> Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<'ManagerT, 'InnerResourceT>)>
Public Function GetByIdAsync (id As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IFluentResourceT)

参数

id
String
cancellationToken
CancellationToken

返回

Task<IFluentResourceT>

实现

适用于