MockableWorkloadOrchestrationResourceGroupResource.GetEdgeContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.