Udostępnij za pośrednictwem


NetworkFunctionResource.ExecuteRequest 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 Azure.ResourceManager.ArmOperation ExecuteRequest (Azure.WaitUntil waitUntil, Azure.ResourceManager.HybridNetwork.Models.ExecuteRequestContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteRequest : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.ExecuteRequestContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.ExecuteRequest : Azure.WaitUntil * Azure.ResourceManager.HybridNetwork.Models.ExecuteRequestContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function ExecuteRequest (waitUntil As WaitUntil, content As ExecuteRequestContent, Optional cancellationToken As CancellationToken = Nothing) As 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