ModuleOperationsExtensions.UpdateAsync(IModuleOperations, String, String, String, ModuleUpdateParameters, CancellationToken) Method

Definition

Update the module identified by module name.

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 = null);
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>

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