Microsoft Azure Time Series Insights Client

Microsoft Azure Time Series Insights Client is a powerful tool that allows users to visualize and analyze time-series data in real-time. With this client, users can easily explore and interpret their data to gain valuable insights and make informed decisions. The client provides a user-friendly interface that lets users easily navigate through their data, create custom queries, and generate detailed reports.

OpenAPI Specification

timeseriesinsightsclient-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  title: Microsoft Azure TimeSeriesInsightsClient
  description: Time Series Insights client
  version: 2021-06-30-preview
host: management.azure.com
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
security:
  - azure_auth:
      - user_impersonation
securityDefinitions:
  azure_auth:
    type: oauth2
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    flow: implicit
    description: Azure Active Directory OAuth2 Flow
    scopes:
      user_impersonation: impersonate your user account
paths:
  /providers/Microsoft.TimeSeriesInsights/operations:
    get:
      tags:
        - Operations
      operationId: microsoftAzureOperationsList
      description: Lists all of the available Time Series Insights related operations.
      x-ms-examples:
        List available operations for the Time Series Insights resource provider:
          $ref: ./examples/Operation_List.json
      parameters:
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Successfully listed the available operations.
          schema:
            $ref: '#/definitions/OperationListResult'
        default:
          description: 'HTTP 404 (Not Found): The list of operations could not be found.'
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Providers Microsoft Timeseriesinsights Operations
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}
  : put:
      tags:
        - Environments
      operationId: microsoftAzureEnvironmentsCreateorupdate
      x-ms-examples:
        EnvironmentsCreate:
          $ref: ./examples/EnvironmentsCreate.json
      x-ms-long-running-operation: true
      description: >-
        Create or update an environment in the specified subscription and
        resource group.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - name: environmentName
          in: path
          required: true
          type: string
          pattern: ^[-\w\._\(\)]+$
          minLength: 1
          maxLength: 90
          description: Name of the environment
        - $ref: '#/parameters/ApiVersionParameter'
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/EnvironmentCreateOrUpdateParameters'
          description: Parameters for creating an environment resource.
      responses:
        '200':
          description: The existing environment definition was successfully updated.
          schema:
            $ref: '#/definitions/EnvironmentResource'
        '201':
          description: >-
            The environment create request was accepted. Environment
            provisioning is an asynchronous operation. You can periodically get
            your environment definition and monitor progress via the
            provisioningState property.
          schema:
            $ref: '#/definitions/EnvironmentResource'
        '404':
          description: The subscription or resource group could not be found.
        default:
          description: >-
            HTTP 400 (Bad Request): The given environment request body is
            invalid; See the error code and message in the response for details.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname
    get:
      tags:
        - Environments
      operationId: microsoftAzureEnvironmentsGet
      x-ms-examples:
        EnvironmentsGet:
          $ref: ./examples/EnvironmentsGet.json
      description: >-
        Gets the environment with the specified name in the specified
        subscription and resource group.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/ExpandParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: >-
            The environment definition was successfully retrieved and is in the
            response. If you are polling for the completion of a provisioning or
            scale operation, you can check its status via the provisioningState
            property.
          schema:
            $ref: '#/definitions/EnvironmentResource'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, or
            environment could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname
    patch:
      tags:
        - Environments
      operationId: microsoftAzureEnvironmentsUpdate
      x-ms-examples:
        EnvironmentsUpdate:
          $ref: ./examples/EnvironmentsPatchTags.json
      x-ms-long-running-operation: true
      description: >-
        Updates the environment with the specified name in the specified
        subscription and resource group.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - name: environmentUpdateParameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/EnvironmentUpdateParameters'
          description: >-
            Request object that contains the updated information for the
            environment.
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: >-
            The environment definition was successfully updated and is in the
            response. If the environment was updated synchronously, the response
            will include a provisioningState value of "Succeeded". If the
            environment was updated asynchronously, the response will include a
            provisioningState value of "Updating".  You can periodically get
            your environment definition and monitor progress of the update via
            the provisioningState property.
          schema:
            $ref: '#/definitions/EnvironmentResource'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, or
            environment could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname
    delete:
      tags:
        - Environments
      operationId: microsoftAzureEnvironmentsDelete
      x-ms-examples:
        EnvironmentsDelete:
          $ref: ./examples/EnvironmentsDelete.json
      description: >-
        Deletes the environment with the specified name in the specified
        subscription and resource group.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: The environment was successfully deleted.
        '204':
          description: The environment was successfully deleted.
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, or
            environment could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments:
    get:
      tags:
        - Environments
      operationId: microsoftAzureEnvironmentsListbyresourcegroup
      x-ms-examples:
        EnvironmentsByResourceGroup:
          $ref: ./examples/EnvironmentsListByResourceGroup.json
      description: >-
        Lists all the available environments associated with the subscription
        and within the specified resource group.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Environments returned successfully.
          schema:
            $ref: '#/definitions/EnvironmentListResponse'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, or resource group could not
            be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments
  /subscriptions/{subscriptionId}/providers/Microsoft.TimeSeriesInsights/environments:
    get:
      tags:
        - Environments
      operationId: microsoftAzureEnvironmentsListbysubscription
      x-ms-examples:
        EnvironmentsBySubscription:
          $ref: ./examples/EnvironmentsListBySubscription.json
      description: >-
        Lists all the available environments within a subscription, irrespective
        of the resource groups.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Environments returned successfully.
          schema:
            $ref: '#/definitions/EnvironmentListResponse'
        default:
          description: 'HTTP 404 (Not Found): The subscription could not be found.'
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Timeseriesinsights Environments
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}
  : put:
      tags:
        - EventSources
      operationId: microsoftAzureEventsourcesCreateorupdate
      x-ms-examples:
        CreateEventHubEventSource:
          $ref: ./examples/EventSourcesCreateEventHub.json
        EventSourcesCreateEventHubWithCustomEnquedTime:
          $ref: ./examples/EventSourcesCreateEventHubWithCustomEnquedTime.json
      description: Create or update an event source under the specified environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - name: eventSourceName
          in: path
          required: true
          type: string
          pattern: ^[-\w\._\(\)]+$
          minLength: 1
          maxLength: 90
          description: Name of the event source.
        - $ref: '#/parameters/ApiVersionParameter'
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/EventSourceCreateOrUpdateParameters'
          description: Parameters for creating an event source resource.
      responses:
        '200':
          description: The existing event source definition was successfully updated.
          schema:
            $ref: '#/definitions/EventSourceResource'
        '201':
          description: The event source was successfully created.
          schema:
            $ref: '#/definitions/EventSourceResource'
        default:
          description: >-
            HTTP 400 (Bad Request): The given event source request body is
            invalid; See the error code and message in the response for details.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Eventsources Eventsourcename
    get:
      tags:
        - EventSources
      operationId: microsoftAzureEventsourcesGet
      x-ms-examples:
        GetEventHubEventSource:
          $ref: ./examples/EventSourcesGetEventHub.json
      description: >-
        Gets the event source with the specified name in the specified
        environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/EventSourceNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: >-
            The event source definition was successfully retrieved and is in the
            response.
          schema:
            $ref: '#/definitions/EventSourceResource'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, environment,
            or event source could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Eventsources Eventsourcename
    patch:
      tags:
        - EventSources
      operationId: microsoftAzureEventsourcesUpdate
      x-ms-examples:
        UpdateEventSource:
          $ref: ./examples/EventSourcesPatchTags.json
      description: >-
        Updates the event source with the specified name in the specified
        subscription, resource group, and environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/EventSourceNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
        - name: eventSourceUpdateParameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/EventSourceUpdateParameters'
          description: >-
            Request object that contains the updated information for the event
            source.
      responses:
        '200':
          description: >-
            The event source definition was successfully updated and is in the
            response.
          schema:
            $ref: '#/definitions/EventSourceResource'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, environment,
            or event source could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Eventsources Eventsourcename
    delete:
      tags:
        - EventSources
      operationId: microsoftAzureEventsourcesDelete
      x-ms-examples:
        DeleteEventSource:
          $ref: ./examples/EventSourcesDelete.json
      description: >-
        Deletes the event source with the specified name in the specified
        subscription, resource group, and environment
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/EventSourceNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: The event source was successfully deleted.
        '204':
          description: The event source was successfully deleted.
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, environment,
            or event source could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Eventsources Eventsourcename
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources
  : get:
      tags:
        - EventSources
      operationId: microsoftAzureEventsourcesListbyenvironment
      x-ms-examples:
        ListEventSourcesByEnvironment:
          $ref: ./examples/EventSourcesListByEnvironment.json
      description: >-
        Lists all the available event sources associated with the subscription
        and within the specified resource group and environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Environments returned successfully.
          schema:
            $ref: '#/definitions/EventSourceListResponse'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, or
            environment could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Eventsources
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}
  : put:
      tags:
        - ReferenceDataSets
      operationId: microsoftAzureReferencedatasetsCreateorupdate
      x-ms-examples:
        ReferenceDataSetsCreate:
          $ref: ./examples/ReferenceDataSetsCreate.json
      description: Create or update a reference data set in the specified environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - name: referenceDataSetName
          in: path
          required: true
          type: string
          pattern: ^[A-Za-z0-9]
          minLength: 3
          maxLength: 63
          description: Name of the reference data set.
        - $ref: '#/parameters/ApiVersionParameter'
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/ReferenceDataSetCreateOrUpdateParameters'
          description: Parameters for creating a reference data set.
      responses:
        '200':
          description: The existing reference data set definition was successfully updated.
          schema:
            $ref: '#/definitions/ReferenceDataSetResource'
        '201':
          description: The reference data set was successfully created.
          schema:
            $ref: '#/definitions/ReferenceDataSetResource'
        default:
          description: >-
            HTTP 400 (Bad Request): The given reference data set request body is
            invalid; See the error code and message in the response for details.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Referencedatasets Referencedatasetname
    get:
      tags:
        - ReferenceDataSets
      operationId: microsoftAzureReferencedatasetsGet
      x-ms-examples:
        ReferenceDataSetsGet:
          $ref: ./examples/ReferenceDataSetsGet.json
      description: >-
        Gets the reference data set with the specified name in the specified
        environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/ReferenceDataSetNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: >-
            The reference data set definition was successfully retrieved and is
            in the response.
          schema:
            $ref: '#/definitions/ReferenceDataSetResource'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, environment,
            or reference data set could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Referencedatasets Referencedatasetname
    patch:
      tags:
        - ReferenceDataSets
      operationId: microsoftAzureReferencedatasetsUpdate
      x-ms-examples:
        ReferenceDataSetsUpdate:
          $ref: ./examples/ReferenceDataSetsPatchTags.json
      description: >-
        Updates the reference data set with the specified name in the specified
        subscription, resource group, and environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/ReferenceDataSetNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
        - name: referenceDataSetUpdateParameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/ReferenceDataSetUpdateParameters'
          description: >-
            Request object that contains the updated information for the
            reference data set.
      responses:
        '200':
          description: >-
            The reference data set definition was successfully updated and is in
            the response.
          schema:
            $ref: '#/definitions/ReferenceDataSetResource'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, environment,
            or reference data set could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Referencedatasets Referencedatasetname
    delete:
      tags:
        - ReferenceDataSets
      operationId: microsoftAzureReferencedatasetsDelete
      x-ms-examples:
        ReferenceDataSetsDelete:
          $ref: ./examples/ReferenceDataSetsDelete.json
      description: >-
        Deletes the reference data set with the specified name in the specified
        subscription, resource group, and environment
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/ReferenceDataSetNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: The reference data set was successfully deleted.
        '204':
          description: The reference data set was successfully deleted.
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, environment,
            or reference data set could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Referencedatasets Referencedatasetname
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets
  : get:
      tags:
        - ReferenceDataSets
      operationId: microsoftAzureReferencedatasetsListbyenvironment
      x-ms-examples:
        ReferenceDataSetsListByEnvironment:
          $ref: ./examples/ReferenceDataSetsListByEnvironment.json
      description: >-
        Lists all the available reference data sets associated with the
        subscription and within the specified resource group and environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Reference data sets returned successfully.
          schema:
            $ref: '#/definitions/ReferenceDataSetListResponse'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, or
            environment could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Referencedatasets
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}
  : put:
      tags:
        - AccessPolicies
      operationId: microsoftAzureAccesspoliciesCreateorupdate
      x-ms-examples:
        AccessPoliciesCreate:
          $ref: ./examples/AccessPoliciesCreate.json
      description: Create or update an access policy in the specified environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - name: accessPolicyName
          in: path
          required: true
          type: string
          pattern: ^[-\w\._\(\)]+$
          minLength: 1
          maxLength: 90
          description: Name of the access policy.
        - $ref: '#/parameters/ApiVersionParameter'
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/AccessPolicyCreateOrUpdateParameters'
          description: Parameters for creating an access policy.
      responses:
        '200':
          description: The existing access policy definition was successfully updated.
          schema:
            $ref: '#/definitions/AccessPolicyResource'
        '201':
          description: The access policy was successfully created.
          schema:
            $ref: '#/definitions/AccessPolicyResource'
        default:
          description: >-
            HTTP 400 (Bad Request): The given access policy request body is
            invalid; See the error code and message in the response for details.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Accesspolicies Accesspolicyname
    get:
      tags:
        - AccessPolicies
      operationId: microsoftAzureAccesspoliciesGet
      x-ms-examples:
        AccessPoliciesGet:
          $ref: ./examples/AccessPoliciesGet.json
      description: >-
        Gets the access policy with the specified name in the specified
        environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/AccessPolicyNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: >-
            The access policy definition was successfully retrieved and is in
            the response.
          schema:
            $ref: '#/definitions/AccessPolicyResource'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, environment,
            or access policy could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Accesspolicies Accesspolicyname
    patch:
      tags:
        - AccessPolicies
      operationId: microsoftAzureAccesspoliciesUpdate
      x-ms-examples:
        AccessPoliciesUpdate:
          $ref: ./examples/AccessPoliciesPatchRoles.json
      description: >-
        Updates the access policy with the specified name in the specified
        subscription, resource group, and environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/AccessPolicyNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
        - name: accessPolicyUpdateParameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/AccessPolicyUpdateParameters'
          description: >-
            Request object that contains the updated information for the access
            policy.
      responses:
        '200':
          description: >-
            The access policy definition was successfully updated and is in the
            response.
          schema:
            $ref: '#/definitions/AccessPolicyResource'
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, environment,
            or access policy could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Accesspolicies Accesspolicyname
    delete:
      tags:
        - AccessPolicies
      operationId: microsoftAzureAccesspoliciesDelete
      x-ms-examples:
        AccessPoliciesDelete:
          $ref: ./examples/AccessPoliciesDelete.json
      description: >-
        Deletes the access policy with the specified name in the specified
        subscription, resource group, and environment
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/EnvironmentNameParameter'
        - $ref: '#/parameters/AccessPolicyNameParameter'
        - $ref: '#/parameters/ApiVersionParameter'
      responses:
        '200':
          description: The access policy was successfully deleted.
        '204':
          description: The access policy was successfully deleted.
        default:
          description: >-
            HTTP 404 (Not Found): The subscription, resource group, environment,
            or access policy could not be found.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Timeseriesinsights Environments Environmentname Accesspolicies Accesspolicyname
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies
  : get:
      tags:
        - AccessPolicies
      operationId: microsoftAzureAccesspoliciesListbyenvironment
      x-ms-examples:
        AccessPoliciesByEnvironment:
          $ref: ./examples/AccessPoliciesListByEnvironment.json
      description: Lists all the available access policies associated with the environment.
      parameters:
        - $ref: '#/parameters/SubscriptionIdParameter'
        - $ref: '#/parameters/ResourceGroupNameParameter'
        - $ref: '#/parameters/Environment

# --- truncated at 32 KB (81 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/timeseriesinsightsclient-openapi-original.yml