Share via


MockableWorkloadOrchestrationResourceGroupResource.GetEdgeContext Method

Definition

Get Context Resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/contexts/{contextName}
  • Operation Id: Context_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeContextResource
public virtual Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeContextResource> GetEdgeContext(string contextName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgeContext : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeContextResource>
override this.GetEdgeContext : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeContextResource>
Public Overridable Function GetEdgeContext (contextName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EdgeContextResource)

Parameters

contextName
String

The name of the Context.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

contextName is null.

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

Applies to