Share via


DigitalTwinsEndpointOperationsExtensions.DeleteAsync Method

Definition

Delete a DigitalTwinsInstance endpoint.

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

Parameters

operations
IDigitalTwinsEndpointOperations

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.

endpointName
String

Name of Endpoint Resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to