Udostępnij za pośrednictwem


IModuleOperations.DeleteAsync(String, String, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string automationAccount, string moduleName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (automationAccount As String, moduleName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

automationAccount
String

The automation account name.

moduleName
String

The module name.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to