Partager via


GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>.GetByIdAsync Méthode

Définition

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)

Paramètres

id
String
cancellationToken
CancellationToken

Retours

Task<IFluentResourceT>

Implémente

S’applique à