DedicatedHostGroupsOperationsExtensions.DeleteAsync(IDedicatedHostGroupsOperations, String, String, CancellationToken) Method

Definition

Delete a dedicated host group.

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

Parameters

operations
IDedicatedHostGroupsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

hostGroupName
System.String

The name of the dedicated host group.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to