Dela via


MonitorWorkspaceResource.GetAsync(CancellationToken) Method

Definition

Returns the specific Azure Monitor workspace

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/accounts/{azureMonitorWorkspaceName}
  • Operation Id: AzureMonitorWorkspaces_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: MonitorWorkspaceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.MonitorWorkspaceResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.MonitorWorkspaceResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.MonitorWorkspaceResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MonitorWorkspaceResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to