ModuleOperationsExtensions.DeleteAsync Method

Definition

Delete the module by name. (see http://aka.ms/azureautomationsdk/moduleoperations for more information)

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

Parameters

operations
IModuleOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IModuleOperations.

automationAccount
String

Required. The automation account name.

moduleName
String

Required. The module name.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to