DigitalTwinsOperationsExtensions.DeleteAsync 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
System.String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName
System.String

The name of the DigitalTwinsInstance.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DigitalTwinsDescription>

Applies to