ModuleOperationsExtensions.DeleteAsync Method (IModuleOperations, String, String)
Delete the module by name. (see https://aka.ms/azureautomationsdk/moduleoperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Syntax
public static Task<AzureOperationResponse> DeleteAsync(
this IModuleOperations operations,
string automationAccount,
string moduleName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ DeleteAsync(
IModuleOperations^ operations,
String^ automationAccount,
String^ moduleName
)
static member DeleteAsync :
operations:IModuleOperations *
automationAccount:string *
moduleName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
operations As IModuleOperations,
automationAccount As String,
moduleName As String
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Automation.IModuleOperationsReference to the Microsoft.WindowsAzure.Management.Automation.IModuleOperations.
automationAccount
Type: System.StringRequired. The automation account name.
moduleName
Type: System.StringRequired. The module name.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
ModuleOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace
Return to top