다음을 통해 공유


IConnectivityConfigurationsOperations.CreateOrUpdateWithHttpMessagesAsync Method

Definition

Creates/Updates a new network manager connectivity configuration

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.ConnectivityConfiguration>> CreateOrUpdateWithHttpMessagesAsync (Microsoft.Azure.Management.Network.Models.ConnectivityConfiguration connectivityConfiguration, string resourceGroupName, string networkManagerName, string configurationName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : Microsoft.Azure.Management.Network.Models.ConnectivityConfiguration * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.ConnectivityConfiguration>>
Public Function CreateOrUpdateWithHttpMessagesAsync (connectivityConfiguration As ConnectivityConfiguration, resourceGroupName As String, networkManagerName As String, configurationName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ConnectivityConfiguration))

Parameters

connectivityConfiguration
ConnectivityConfiguration

Parameters supplied to create/update a network manager connectivity configuration

resourceGroupName
String

The name of the resource group.

networkManagerName
String

The name of the network manager.

configurationName
String

The name of the network manager connectivity configuration.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to