Compartilhar via


ResourceManagerRestRestClient.HeadResource Method

Definition

Get a single resource.

public System.Threading.Tasks.Task<System.Net.HttpStatusCode> HeadResource (string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken, string odataQuery = default);
member this.HeadResource : string * string * System.Threading.CancellationToken * string -> System.Threading.Tasks.Task<System.Net.HttpStatusCode>
Public Function HeadResource (resourceId As String, apiVersion As String, cancellationToken As CancellationToken, Optional odataQuery As String = Nothing) As Task(Of HttpStatusCode)

Parameters

resourceId
String

The resource Id.

apiVersion
String

The API version to use.

cancellationToken
CancellationToken

The CancellationToken used to cancel the request.

odataQuery
String

The OData query.

Returns

Applies to