Compartir a través de


ConnectionMonitorsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definición

Cree o actualice un monitor de conexión.

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

Parámetros

operations
IConnectionMonitorsOperations

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

resourceGroupName
String

Nombre del grupo de recursos que contiene Network Watcher.

networkWatcherName
String

Nombre del recurso Network Watcher.

connectionMonitorName
String

Nombre del monitor de conexión.

parameters
ConnectionMonitor

Parámetros que definen la operación para crear un monitor de conexión.

migrate
String

Valor que indica si el monitor de conexión V1 debe migrarse al formato V2.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a