Udostępnij za pośrednictwem


ManagementGroupNetworkManagerConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create a network manager connection on this management group.

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

Parameters

operations
IManagementGroupNetworkManagerConnectionsOperations

The operations group for this extension method.

parameters
NetworkManagerConnection

Network manager connection to be created/updated.

managementGroupId
String

The management group Id which uniquely identify the Microsoft Azure management group.

networkManagerConnectionName
String

Name for the network manager connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to