OperationalInsightsWorkspaceResource.Get(CancellationToken) Method

Definition

Gets a workspace instance.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}.
  • Operation Id. : Workspaces_Get.
  • Default Api Version. : 2025-07-01.
  • Resource. : OperationalInsightsWorkspaceResource.
public virtual Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource> Get(System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of OperationalInsightsWorkspaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to