Freigeben über


ConnectionMonitorsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellen oder Aktualisieren eines Verbindungsmonitors

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

Parameter

operations
IConnectionMonitorsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die Network Watcher enthält.

networkWatcherName
String

Der Name der Network Watcher Ressource.

connectionMonitorName
String

Der Name des Verbindungsmonitors.

parameters
ConnectionMonitorInner

Parameter, die den Vorgang zum Erstellen eines Verbindungsmonitors definieren.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: