ResourceManagerRestRestClient.DeleteResource Method

Definition

Get a nested resource.

public System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.OperationResult> DeleteResource (string resourceId, string apiVersion, System.Threading.CancellationToken cancellationToken, string odataQuery = default);
member this.DeleteResource : string * string * System.Threading.CancellationToken * string -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.OperationResult>
Public Function DeleteResource (resourceId As String, apiVersion As String, cancellationToken As CancellationToken, Optional odataQuery As String = Nothing) As Task(Of OperationResult)

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