WatcherOperationsExtensions.UpdateAsync Método

Definición

Actualice el monitor identificado por el nombre del monitor. http://aka.ms/azureautomationsdk/watcheroperations

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

Parámetros

operations
IWatcherOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre de un grupo de recursos de Azure.

automationAccountName
String

Nombre de la cuenta de Automation.

watcherName
String

Nombre del monitor.

parameters
WatcherUpdateParameters

Parámetros de actualización para el monitor.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a