Share via


NetworkFunctionResource.ExecuteRequestAsync Method

Definition

Execute a request to services on a containerized network function.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/networkFunctions/{networkFunctionName}/executeRequest
  • Operation Id: NetworkFunctions_ExecuteRequest
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> ExecuteRequestAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.HybridNetwork.Models.ExecuteRequestContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteRequestAsync : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.ExecuteRequestContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.ExecuteRequestAsync : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.ExecuteRequestContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function ExecuteRequestAsync (waitUntil As WaitUntil, content As ExecuteRequestContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ExecuteRequestContent

Payload for execute request post call.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to