Aracılığıyla paylaş


WatcherOperationsExtensions.CreateOrUpdate Yöntem

Tanım

İzleyici adıyla tanımlanan izleyiciyi oluşturun. http://aka.ms/azureautomationsdk/watcheroperations

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

Parametreler

operations
IWatcherOperations

Bu uzantı yöntemi için işlem grubu.

resourceGroupName
String

Azure Kaynak grubunun adı.

automationAccountName
String

Otomasyon hesabının adı.

watcherName
String

İzleyici adı.

parameters
Watcher

İzleyici için parametreleri oluşturma veya güncelleştirme.

Döndürülenler

Şunlara uygulanır