共用方式為


WatcherOperationsExtensions.Update 方法

定義

更新監看員名稱所識別的監看員。 http://aka.ms/azureautomationsdk/watcheroperations

public static Microsoft.Azure.Management.Automation.Models.Watcher Update (this Microsoft.Azure.Management.Automation.IWatcherOperations operations, string resourceGroupName, string automationAccountName, string watcherName, Microsoft.Azure.Management.Automation.Models.WatcherUpdateParameters parameters);
static member Update : Microsoft.Azure.Management.Automation.IWatcherOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.WatcherUpdateParameters -> Microsoft.Azure.Management.Automation.Models.Watcher
<Extension()>
Public Function Update (operations As IWatcherOperations, resourceGroupName As String, automationAccountName As String, watcherName As String, parameters As WatcherUpdateParameters) As Watcher

參數

operations
IWatcherOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

watcherName
String

監看員名稱。

parameters
WatcherUpdateParameters

監看員的更新參數。

傳回

適用於