Share via


ResourcesOperationsExtensions.GetByIdAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.GenericResource> GetByIdAsync (this Microsoft.Azure.Management.Internal.Resources.IResourcesOperations operations, string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken = default);
static member GetByIdAsync : Microsoft.Azure.Management.Internal.Resources.IResourcesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.GenericResource>
<Extension()>
Public Function GetByIdAsync (operations As IResourcesOperations, resourceId As String, apiVersion As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GenericResource)

Parameters

resourceId
String
apiVersion
String
cancellationToken
CancellationToken

Returns

Applies to