DedicatedHostsOperationsExtensions.BeginDeleteAsync(IDedicatedHostsOperations, String, String, String, CancellationToken) Method

Definition

Delete a dedicated host.

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

Parameters

operations
IDedicatedHostsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

hostGroupName
String

The name of the dedicated host group.

hostName
String

The name of the dedicated host.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task

Applies to