Compartir a través de


NetworkWatchersOperationsExtensions.CreateOrUpdateAsync Método

Definición

Crea o actualiza un monitor de red en el grupo de recursos especificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.NetworkWatcherInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, Microsoft.Azure.Management.Network.Fluent.Models.NetworkWatcherInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.NetworkWatcherInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.NetworkWatcherInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As INetworkWatchersOperations, resourceGroupName As String, networkWatcherName As String, parameters As NetworkWatcherInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NetworkWatcherInner)

Parámetros

operations
INetworkWatchersOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

networkWatcherName
String

Nombre del monitor de red.

parameters
NetworkWatcherInner

Parámetros que definen el recurso de Network Watcher.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a