Partager via


NetworkClient.ExecuteOperationWithHttpMessagesAsync Method

Definition

The network operation in the specified resource group through Network resource provider.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<string>> ExecuteOperationWithHttpMessagesAsync (string resourceGroupName, string resourceName, object parameters, string apiUrl, string apiVersion, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
member this.ExecuteOperationWithHttpMessagesAsync : string * string * obj * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<string>>
Public Function ExecuteOperationWithHttpMessagesAsync (resourceGroupName As String, resourceName As String, parameters As Object, apiUrl As String, apiVersion As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of String))

Parameters

resourceGroupName
String

The name of the resource group.

resourceName
String

The name of the resource.

parameters
Object

Parameters supplied to the Begin the operation through Network resource provider.

apiUrl
String

The api URL of the resource.

apiVersion
String

The api version of the resource.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to