OperationalInsightsWorkspaceResource.GetSchemasAsync Method

Definition

Gets the schema for a given workspace.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of OperationalInsightsSearchSchemaValue that may take multiple service requests to iterate over.

Applies to