DigitalTwinsOperationsExtensions.DeleteAsync(IDigitalTwinsOperations, String, String, CancellationToken) Method

Definition

Delete a DigitalTwinsInstance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription> DeleteAsync (this Microsoft.Azure.Management.DigitalTwins.IDigitalTwinsOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.DigitalTwins.IDigitalTwinsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DigitalTwins.Models.DigitalTwinsDescription>
<Extension()>
Public Function DeleteAsync (operations As IDigitalTwinsOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DigitalTwinsDescription)

Parameters

operations
IDigitalTwinsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName
String

The name of the DigitalTwinsInstance.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<DigitalTwinsDescription>

Applies to