Udostępnij za pośrednictwem


IModuleOperations.UpdateAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ModuleGetResponse> UpdateAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.ModuleUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.ModuleUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.ModuleGetResponse>
Public Function UpdateAsync (automationAccount As String, parameters As ModuleUpdateParameters, cancellationToken As CancellationToken) As Task(Of ModuleGetResponse)

Parameters

automationAccount
String

The automation account name.

parameters
ModuleUpdateParameters

The update parameters for module.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the get module operation.

Applies to