Condividi tramite


MockableEdgeActionsResourceGroupResource.GetEdgeActionAsync Method

Definition

Get a EdgeAction

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}.
  • Operation Id. : EdgeActions_Get.
  • Default Api Version. : 2025-12-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EdgeActions.EdgeActionResource>> GetEdgeActionAsync(string edgeActionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgeActionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EdgeActions.EdgeActionResource>>
override this.GetEdgeActionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EdgeActions.EdgeActionResource>>
Public Overridable Function GetEdgeActionAsync (edgeActionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EdgeActionResource))

Parameters

edgeActionName
String

The name of the Edge Action.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

edgeActionName is null.

edgeActionName is an empty string, and was expected to be non-empty.

Applies to