Share via


DscConfigurationOperationsExtensions.DeleteAsync Method

Definition

Overloads

DeleteAsync(IDscConfigurationOperations, String, String, String)
DeleteAsync(IDscConfigurationOperations, String, String, String, CancellationToken)

Delete the dsc configuration identified by configuration name. http://aka.ms/azureautomationsdk/configurationoperations

DeleteAsync(IDscConfigurationOperations, String, String, String)

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

Parameters

resourceGroupName
String
automationAccount
String
configurationName
String

Returns

Task<Microsoft.Azure.AzureOperationResponse>

Applies to

DeleteAsync(IDscConfigurationOperations, String, String, String, CancellationToken)

Delete the dsc configuration identified by configuration name. http://aka.ms/azureautomationsdk/configurationoperations

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

Parameters

operations
IDscConfigurationOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

configurationName
String

The configuration name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to