Share via


DscNodeOperationsExtensions.DeleteAsync Method

Definition

Overloads

DeleteAsync(IDscNodeOperations, String, String, Guid)
DeleteAsync(IDscNodeOperations, String, String, String, CancellationToken)

Delete the dsc node identified by node id. http://aka.ms/azureautomationsdk/dscnodeoperations

DeleteAsync(IDscNodeOperations, String, String, Guid)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.Azure.Management.Automation.IDscNodeOperations operations, string resourceGroupName, string automationAccount, Guid nodeId);
static member DeleteAsync : Microsoft.Azure.Management.Automation.IDscNodeOperations * string * string * Guid -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IDscNodeOperations, resourceGroupName As String, automationAccount As String, nodeId As Guid) As Task(Of AzureOperationResponse)

Parameters

operations
IDscNodeOperations
resourceGroupName
String
automationAccount
String
nodeId
Guid

Returns

Task<Microsoft.Azure.AzureOperationResponse>

Applies to

DeleteAsync(IDscNodeOperations, String, String, String, CancellationToken)

Delete the dsc node identified by node id. http://aka.ms/azureautomationsdk/dscnodeoperations

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

Parameters

operations
IDscNodeOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

nodeId
String

The node id.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to