ServerEndpointsOperationsExtensions.DeleteAsync Method

Definition

Delete a given ServerEndpoint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.ServerEndpointsDeleteHeaders> DeleteAsync (this Microsoft.Azure.Management.StorageSync.IServerEndpointsOperations operations, string resourceGroupName, string storageSyncServiceName, string syncGroupName, string serverEndpointName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.StorageSync.IServerEndpointsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.ServerEndpointsDeleteHeaders>
<Extension()>
Public Function DeleteAsync (operations As IServerEndpointsOperations, resourceGroupName As String, storageSyncServiceName As String, syncGroupName As String, serverEndpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServerEndpointsDeleteHeaders)

Parameters

operations
IServerEndpointsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

storageSyncServiceName
String

Name of Storage Sync Service resource.

syncGroupName
String

Name of Sync Group resource.

serverEndpointName
String

Name of Server Endpoint object.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to