Share via


WatcherOperationsExtensions.CreateOrUpdate Método

Definición

Cree el monitor identificado por el nombre del monitor. 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

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
Watcher

Parámetros de creación o actualización para el monitor.

Devoluciones

Se aplica a