Azure Log Analytics Tables API

Manage workspace tables

GitHub OpenAPI

Operations 7

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables Tables list by workspace #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName} Tables get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName} Tables create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName} Tables update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName} Tables delete #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}/cancelSearch Tables cancel search #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}/migrate Tables migrate #

Documentation

Specifications

Schemas & Data

Other Resources

🔗
JSONLD
https://artifacts.apis.io/azure-log-analytics/json-ld/azure-log-analytics-query-api-context.jsonld
🔗
Examples
https://artifacts.apis.io/azure-log-analytics/examples/query-api-query-body-example.json
🔗
Examples
https://artifacts.apis.io/azure-log-analytics/examples/query-api-query-results-example.json
🔗
JSONLD
https://artifacts.apis.io/azure-log-analytics/json-ld/azure-log-analytics-management-api-context.jsonld
🔗
Examples
https://artifacts.apis.io/azure-log-analytics/examples/management-api-workspace-example.json
🔗
Examples
https://artifacts.apis.io/azure-log-analytics/examples/management-api-saved-search-example.json
🔗
JSONLD
https://artifacts.apis.io/azure-log-analytics/json-ld/azure-log-analytics-ingestion-api-context.jsonld
🔗
Examples
https://artifacts.apis.io/azure-log-analytics/examples/ingestion-api-log-entry-example.json
🔗
APIsJSON
https://artifacts.apis.io/azure-log-analytics/apis.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-audit-and-cleanup-saved-search-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-create-workspace-and-baseline-table-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-cross-workspace-query-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-discover-and-query-workspace-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-ingest-and-verify-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-list-saved-searches-and-run-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-list-tables-then-query-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-promote-query-to-saved-search-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-provision-table-and-ingest-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-query-workspace-by-name-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-resolve-workspace-and-run-kql-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-saved-search-to-query-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-update-workspace-retention-workflow.yml
🔗
Arazzo
https://artifacts.apis.io/azure-log-analytics/arazzo/azure-log-analytics-workspace-inventory-report-workflow.yml

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-log-analytics:azure-log-analytics-tables-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-log-analytics-tables-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Log Analytics Network Security Perimeter Tables API
  version: '2026-03-01'
  description: Provides NSP operations for working with Log Analytics.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Tables
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables
  : get:
      operationId: Tables_ListByWorkspace
      tags:
      - Tables
      description: Gets all the tables for the specified Log Analytics workspace.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: The name of the workspace.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TablesListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Tables list by workspace
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}
  : get:
      operationId: Tables_Get
      tags:
      - Tables
      description: Gets a Log Analytics workspace table.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: The name of the workspace.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: tableName
        in: path
        description: The name of the table.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9-_]+$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Table'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Tables get
      x-summary-source: derived
    put:
      operationId: Tables_CreateOrUpdate
      tags:
      - Tables
      description: Update or Create a Log Analytics workspace table.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: The name of the workspace.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: tableName
        in: path
        description: The name of the table.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9-_]+$
      responses:
        '200':
          description: Resource 'Table' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Table'
        '202':
          description: Resource operation accepted.
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
        final-state-schema: '#/definitions/Table'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Table'
        description: The parameters required to update table properties.
        required: true
      summary: Tables create or update
      x-summary-source: derived
    patch:
      operationId: Tables_Update
      tags:
      - Tables
      description: Update a Log Analytics workspace table.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: The name of the workspace.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: tableName
        in: path
        description: The name of the table.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9-_]+$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Table'
        '202':
          description: Resource update request accepted.
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
        final-state-schema: '#/definitions/Table'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Table'
        description: The parameters required to update table properties.
        required: true
      summary: Tables update
      x-summary-source: derived
    delete:
      operationId: Tables_Delete
      tags:
      - Tables
      description: Delete a Log Analytics workspace table.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: The name of the workspace.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: tableName
        in: path
        description: The name of the table.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9-_]+$
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
                format: uri
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Tables delete
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}/cancelSearch
  : post:
      operationId: Tables_CancelSearch
      tags:
      - Tables
      description: Cancel a log analytics workspace search results table query run.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: The name of the workspace.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: tableName
        in: path
        description: The name of the table.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9-_]+$
      responses:
        '200':
          description: The request has succeeded.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Tables cancel search
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}/migrate
  : post:
      operationId: Tables_Migrate
      tags:
      - Tables
      description: Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: workspaceName
        in: path
        description: The name of the workspace.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$
      - name: tableName
        in: path
        description: The name of the table.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 4
          pattern: ^[A-Za-z0-9-_]+$
      responses:
        '200':
          description: The request has succeeded.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Tables migrate
      x-summary-source: derived
components:
  schemas:
    TableProtectionLevelEnum:
      type: string
      description: The protection level of the table. Determines the default data access isolation behavior.
      enum:
      - General
      - Protected
      x-ms-enum:
        name: TableProtectionLevelEnum
        modelAsString: true
        values:
        - name: General
          value: General
          description: The default protection level. Table data is accessible through standard permissions.
        - name: Protected
          value: Protected
          description: Table data is isolated by default. Accessing or exporting data requires explicit, scoped authorization.
    OperationalInsightsTableProvisioningState:
      type: string
      description: Table's current provisioning state. If set to 'updating', indicates a resource lock due to ongoing operation, forbidding any update to the table until the ongoing operation is concluded.
      enum:
      - Updating
      - InProgress
      - Succeeded
      - Deleting
      x-ms-enum:
        name: OperationalInsightsTableProvisioningState
        modelAsString: true
        values:
        - name: Updating
          value: Updating
          description: Table schema is still being built and updated, table is currently locked for any changes till the procedure is done.
        - name: InProgress
          value: InProgress
          description: Table schema is stable and without changes, table data is being updated.
        - name: Succeeded
          value: Succeeded
          description: Table state is stable and without changes, table is unlocked and open for new updates.
        - name: Deleting
          value: Deleting
          description: Table state is deleting.
    TableSubTypeEnum:
      type: string
      description: The subtype describes what APIs can be used to interact with the table, and what features are available against it.
      enum:
      - Any
      - Classic
      - DataCollectionRuleBased
      x-ms-enum:
        name: TableSubTypeEnum
        modelAsString: true
        values:
        - name: Any
          value: Any
          description: The default subtype with which built-in tables are created.
        - name: Classic
          value: Classic
          description: Indicates a table created through the Data Collector API or with the custom logs feature of the MMA agent, or any table against which Custom Fields were created.
        - name: DataCollectionRuleBased
          value: DataCollectionRuleBased
          description: 'A table eligible to have data sent into it via any of the means supported by Data Collection Rules: the Data Collection Endpoint API, ingestion-time transformations, or any other mechanism provided by Data Collection Rules'
    ResultStatistics:
      type: object
      description: Search job execution statistics.
      properties:
        progress:
          type: number
          format: float
          description: Search job completion percentage.
          readOnly: true
        ingestedRecords:
          type: integer
          format: int32
          description: The number of rows that were returned by the search job.
          readOnly: true
        scannedGb:
          type: number
          format: float
          description: 'Search job: Amount of scanned data.'
          readOnly: true
    TableProperties:
      type: object
      description: Table properties.
      properties:
        retentionInDays:
          type: integer
          format: int32
          description: 'In Analytics table: the tables analytics retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention. In Basic and Auxiliary table: read only property.'
          minimum: 4
          maximum: 730
        totalRetentionInDays:
          type: integer
          format: int32
          description: The table total retention in days, between 4 and 4383. Setting this property to -1 will default to retentionInDays.
          minimum: 4
          maximum: 4383
        archiveRetentionInDays:
          type: integer
          format: int32
          description: The tables long-term retention in days. Calculated as (totalRetentionInDays-retentionInDays).
          readOnly: true
        searchResults:
          $ref: '#/components/schemas/SearchResults'
          description: Parameters of the search job that initiated this table.
        restoredLogs:
          $ref: '#/components/schemas/RestoredLogs'
          description: Parameters of the restore operation that initiated this table.
        resultStatistics:
          $ref: '#/components/schemas/ResultStatistics'
          description: Search job execution statistics.
          readOnly: true
        plan:
          $ref: '#/components/schemas/TablePlanEnum'
          description: Instruct the system how to handle and charge the logs ingested to this table.
        protectionLevel:
          $ref: '#/components/schemas/TableProtectionLevelEnum'
          description: The protection level of the table. Determines the default data access isolation behavior.
        lastPlanModifiedDate:
          type: string
          description: The timestamp that table plan was last modified (UTC).
          readOnly: true
        schema:
          $ref: '#/components/schemas/Schema'
          description: Table schema.
        provisioningState:
          $ref: '#/components/schemas/OperationalInsightsTableProvisioningState'
          description: Table's current provisioning state. If set to 'updating', indicates a resource lock due to ongoing operation, forbidding any update to the table until the ongoing operation is concluded.
          readOnly: true
        retentionInDaysAsDefault:
          type: boolean
          description: True - Value originates from workspace retention in days, False - Customer specific.
          readOnly: true
        totalRetentionInDaysAsDefault:
          type: boolean
          description: True - Value originates from retention in days, False - Customer specific.
          readOnly: true
    ColumnTypeEnum:
      type: string
      description: Column data type.
      enum:
      - string
      - int
      - long
      - real
      - boolean
      - dateTime
      - guid
      - dynamic
      x-ms-enum:
        name: ColumnTypeEnum
        modelAsString: true
        values:
        - name: string
          value: string
          description: string
        - name: int
          value: int
          description: int
        - name: long
          value: long
          description: long
        - name: real
          value: real
          description: real
        - name: boolean
          value: boolean
          description: boolean
        - name: dateTime
          value: dateTime
          description: dateTime
        - name: guid
          value: guid
          description: guid
        - name: dynamic
          value: dynamic
          description: dynamic
    SourceEnum:
      type: string
      description: Table's creator.
      enum:
      - microsoft
      - customer
      x-ms-enum:
        name: SourceEnum
        modelAsString: true
        values:
        - name: microsoft
          value: microsoft
          description: Tables provisioned by the system, as collected via Diagnostic Settings, the Agents, or any other standard data collection means.
        - name: customer
          value: customer
          description: Tables created by the owner of the Workspace, and only found in this Workspace.
    SearchResults:
      type: object
      description: Parameters of the search job that initiated this table.
      properties:
        query:
          type: string
          description: Search job query.
        description:
          type: string
          description: Search job Description.
        limit:
          type: integer
          format: int32
          description: Limit the search job to return up to specified number of rows.
        startSearchTime:
          type: string
          format: date-time
          description: The timestamp to start the search from (UTC)
        endSearchTime:
          type: string
          format: date-time
          description: The timestamp to end the search by (UTC)
        sourceTable:
          type: string
          description: The table used in the search job.
          readOnly: true
        azureAsyncOperationId:
          type: string
          description: Search results table async operation id.
          readOnly: true
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          format: arm-id
          description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    ColumnDataTypeHintEnum:
      type: string
      description: Column data type logical hint.
      enum:
      - uri
      - guid
      - armPath
      - ip
      - vector16
      x-ms-enum:
        name: ColumnDataTypeHintEnum
        modelAsString: true
        values:
        - name: uri
          value: uri
          description: A string that matches the pattern of a URI, for example, scheme://username:password@host:1234/this/is/a/path?k1=v1&k2=v2#fragment
        - name: guid
          value: guid
          description: A standard 128-bit GUID following the standard shape, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
        - name: armPath
          value: armPath
          description: 'An Azure Resource Model (ARM) path: /subscriptions/{...}/resourceGroups/{...}/providers/Microsoft.{...}/{...}/{...}/{...}...'
        - name: ip
          value: ip
          description: A standard V4/V6 ip address following the standard shape, x.x.x.x/y:y:y:y:y:y:y:y
        - name: vector16
          value: vector16
          description: A vector of single-precision floating-point values used for semantic / similarity search.
    TablesListResult:
      type: object
      description: The list tables operation response.
      properties:
        value:
          type: array
          description: A list of data tables.
          items:
            $ref: '#/components/schemas/Table'
        nextLink:
          type: string
          description: The URL to get the next set of results.
    TableTypeEnum:
      type: string
      description: Table's creator.
      enum:
      - Microsoft
      - CustomLog
      - RestoredLogs
      - SearchResults
      x-ms-enum:
        name: TableTypeEnum
        modelAsString: true
        values:
        - name: Microsoft
          value: Microsoft
          description: Standard data collected by Azure Monitor.
        - name: CustomLog
          value: CustomLog
          description: Custom log table.
        - name: RestoredLogs
          value: RestoredLogs
          description: Restored data.
        - name: SearchResults
          value: SearchResults
          description: Data collected by a search job.
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    Column:
      type: object
      description: Table column.
      properties:
        name:
          type: string
          description: Column name.
        type:
          $ref: '#/components/schemas/ColumnTypeEnum'
          description: Column data type.
        dataTypeHint:
          $ref: '#/components/schemas/ColumnDataTypeHintEnum'
          description: Column data type logical hint.
        displayName:
          type: string
          description: Column display name. Can be set at creation time; after creation, updates must either match column name or set to null/empty. If not provided, defaults to column name.
        description:
          type: string
          description: Column description.
        isDefaultDisplay:
          type: boolean
          description: Is displayed by default.
          readOnly: true
        isHidden:
          type: boolean
          description: Is column hidden.
          readOnly: true
    RestoredLogs:
      type: object
      description: Restore parameters.
      properties:
        startRestoreTime:
          type: string
          format: date-time
          description: The timestamp to start the restore from (UTC).
        endRestoreTime:
          type: string
          format: date-time
          description: The timestamp to end the restore by (UTC).
        sourceTable:
          type: string
          description: The table to restore data from.
        azureAsyncOperationId:
          type: string
          description: Search results table async operation id.
          readOnly: true
    TablePlanEnum:
      type: string
      description: Instruct the system how to handle and charge the logs ingested to this table.
      enum:
      - Basic
      - Analytics
      - Auxiliary
      x-ms-enum:
        name: TablePlanEnum
        modelAsString: true
        values:
        - name: Basic
          value: Basic
          description: Medium-touch logs needed for troubleshooting and incident response.
        - name: Analytics
          value: Analytics
          description: High-value logs used for continuous monitoring, real-time detection, and performance analytics.
        - name: Auxiliary
          value: Auxiliary
          description: Low-touch logs, such as verbose logs, and data required for auditing and compliance.
    Schema:
      type: object
      description: Table's schema.
      properties:
        name:
          type: string
          description: Table name.
        displayName:
          type: string
          description: Table display name.
        description:
          type: string
          description: Table description.
        columns:
          type: array
          description: A list of table custom columns.
          items:
            $ref: '#/components/schemas/Column'
          x-ms-identifiers:
          - name
        standardColumns:
          type: array
          description: A list of table standard columns.
          items:
            $ref: '#/components/schemas/Column'
          readOnly: true
          x-ms-identifiers:
          - name
        categories:
          type: array
          description: Table category.
          items:
            type: string
          readOnly: true
        labels:
          type: array
          description: Table labels.
          items:
            type: string
          readOnly: true
        source:
          $ref: '#/components/schemas/SourceEnum'
          description: Table's creator.
          readOnly: true
        tableType:
          $ref: '#/components/schemas/TableTypeEnum'
          description: Table's creator.
          readOnly: true
        tableSubType:
          $ref: '#/components/schemas/TableSubTypeEnum'
          description: The subtype describes what APIs can be used to interact with the table, and what features are available against it.
          readOnly: true
        solutions:
          type: array
          description: List of solutions the table is affiliated with
          items:
            type: string
          readOnly: true
    Table:
      type: object
      description: Workspace data table definition.
      properties:
        properties:
          $ref: '#/components/schemas/TableProperties'
          description: Table's properties.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
  parameters:
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.