ISubscriptionOperations.UnregisterResourceAsync Method

Definition

Unregister a resource with your subscription.

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UnregisterResourceAsync (string resourceName, System.Threading.CancellationToken cancellationToken);
abstract member UnregisterResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function UnregisterResourceAsync (resourceName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

resourceName
String

Name of the resource to unregister.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to