Share via


ScopeConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates scope connection from Network Manager

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

Parameters

operations
IScopeConnectionsOperations

The operations group for this extension method.

parameters
ScopeConnection

Scope connection to be created/updated.

resourceGroupName
String

The name of the resource group.

networkManagerName
String

The name of the network manager.

scopeConnectionName
String

Name for the cross-tenant connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to