ModuleOperationsExtensions.UpdateAsync Method

Definition

Update the module identified by module name. http://aka.ms/azureautomationsdk/moduleoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module> UpdateAsync (this Microsoft.Azure.Management.Automation.IModuleOperations operations, string resourceGroupName, string automationAccountName, string moduleName, Microsoft.Azure.Management.Automation.Models.ModuleUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Automation.IModuleOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.ModuleUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module>
<Extension()>
Public Function UpdateAsync (operations As IModuleOperations, resourceGroupName As String, automationAccountName As String, moduleName As String, parameters As ModuleUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Module)

Parameters

operations
IModuleOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

moduleName
String

The name of module.

parameters
ModuleUpdateParameters

The update parameters for module.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to