Azure Data Factory Triggers API

Triggers operations on the Microsoft.DataFactory resource provider (9 operations): Triggers_QueryByFactory, Triggers_ListByFactory, Triggers_CreateOrUpdate, Triggers_Delete, Triggers_GetEventSubscriptionStatus, Triggers_Start, and more.

Operations 9

POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/querytriggers #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName} #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName} #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents #

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/microsoft-azure-data-factory-triggers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

microsoft-azure-data-factory-triggers-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Azure Data Factory REST triggers API
  description: Azure Data Factory is a cloud-based data integration service. The Microsoft.DataFactory resource-provider REST
    API manages factories, pipelines, datasets, linked services, data flows, triggers, integration runtimes, credentials,
    managed private endpoints and change data capture resources through Azure Resource Manager.
  version: '2018-06-01'
  contact:
    name: Microsoft Azure
    url: https://learn.microsoft.com/en-us/rest/api/datafactory/
  x-source: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/openapi.json
  x-source-format: Swagger 2.0 (converted verbatim to OpenAPI 3.0.3; original retained at openapi/_original/)
externalDocs:
  description: Azure Data Factory REST API reference
  url: https://learn.microsoft.com/en-us/rest/api/datafactory/
servers:
- url: https://management.azure.com
  description: Azure Resource Manager
security:
- azure_auth:
  - user_impersonation
tags:
- name: triggers
  description: triggers operations
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/querytriggers
  : post:
      operationId: Triggers_QueryByFactory
      description: Query triggers.
      tags:
      - triggers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter
      - name: factoryName
        in: path
        required: true
        description: The factory name.
        schema:
          type: string
          maxLength: 63
          minLength: 3
          pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TriggerFilterParameters'
        description: Parameters to filter the triggers.
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerQueryResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Triggers_QueryByFactory:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_QueryByFactory.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers
  : get:
      operationId: Triggers_ListByFactory
      description: Lists triggers.
      tags:
      - triggers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter
      - name: factoryName
        in: path
        required: true
        description: The factory name.
        schema:
          type: string
          maxLength: 63
          minLength: 3
          pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerListResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Triggers_ListByFactory:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}
  : put:
      operationId: Triggers_CreateOrUpdate
      description: Creates or updates a trigger.
      tags:
      - triggers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter
      - name: factoryName
        in: path
        required: true
        description: The factory name.
        schema:
          type: string
          maxLength: 63
          minLength: 3
          pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: triggerName
        in: path
        required: true
        description: The trigger name.
        schema:
          type: string
          maxLength: 260
          minLength: 1
          pattern: ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$
      - name: if-match
        in: header
        required: false
        description: ETag of the trigger entity.  Should only be specified for update, for which it should match existing
          entity or can be * for unconditional update.
        schema:
          type: string
        x-ms-client-name: If-Match
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TriggerResource'
        description: Trigger resource definition.
      responses:
        '200':
          description: Resource 'TriggerResource' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerResource'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Triggers_Create:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Create.json
        Triggers_Update:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Update.json
    delete:
      operationId: Triggers_Delete
      description: Deletes a trigger.
      tags:
      - triggers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter
      - name: factoryName
        in: path
        required: true
        description: The factory name.
        schema:
          type: string
          maxLength: 63
          minLength: 3
          pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: triggerName
        in: path
        required: true
        description: The trigger name.
        schema:
          type: string
          maxLength: 260
          minLength: 1
          pattern: ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$
      responses:
        '200':
          description: Resource deleted successfully.
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Triggers_Delete:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Delete.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus
  : post:
      operationId: Triggers_GetEventSubscriptionStatus
      description: Get a trigger's event subscription status.
      tags:
      - triggers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter
      - name: factoryName
        in: path
        required: true
        description: The factory name.
        schema:
          type: string
          maxLength: 63
          minLength: 3
          pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: triggerName
        in: path
        required: true
        description: The trigger name.
        schema:
          type: string
          maxLength: 260
          minLength: 1
          pattern: ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerSubscriptionOperationStatus'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Triggers_GetEventSubscriptionStatus:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_GetEventSubscriptionStatus.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start
  : post:
      operationId: Triggers_Start
      description: Starts a trigger.
      tags:
      - triggers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter
      - name: factoryName
        in: path
        required: true
        description: The factory name.
        schema:
          type: string
          maxLength: 63
          minLength: 3
          pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: triggerName
        in: path
        required: true
        description: The trigger name.
        schema:
          type: string
          maxLength: 260
          minLength: 1
          pattern: ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$
      responses:
        '200':
          description: The request has succeeded.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Triggers_Start:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Start.json
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/stop
  : post:
      operationId: Triggers_Stop
      description: Stops a trigger.
      tags:
      - triggers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter
      - name: factoryName
        in: path
        required: true
        description: The factory name.
        schema:
          type: string
          maxLength: 63
          minLength: 3
          pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: triggerName
        in: path
        required: true
        description: The trigger name.
        schema:
          type: string
          maxLength: 260
          minLength: 1
          pattern: ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$
      responses:
        '200':
          description: The request has succeeded.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Triggers_Stop:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Stop.json
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents
  : post:
      operationId: Triggers_SubscribeToEvents
      description: Subscribe event trigger to events.
      tags:
      - triggers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter
      - name: factoryName
        in: path
        required: true
        description: The factory name.
        schema:
          type: string
          maxLength: 63
          minLength: 3
          pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: triggerName
        in: path
        required: true
        description: The trigger name.
        schema:
          type: string
          maxLength: 260
          minLength: 1
          pattern: ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerSubscriptionOperationStatus'
        '202':
          description: Resource operation accepted.
          headers:
            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
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Triggers_SubscribeToEvents:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_SubscribeToEvents.json
      x-ms-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/TriggerSubscriptionOperationStatus'
      x-ms-long-running-operation: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents
  : post:
      operationId: Triggers_UnsubscribeFromEvents
      description: Unsubscribe event trigger from events.
      tags:
      - triggers
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter
      - name: factoryName
        in: path
        required: true
        description: The factory name.
        schema:
          type: string
          maxLength: 63
          minLength: 3
          pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
      - name: triggerName
        in: path
        required: true
        description: The trigger name.
        schema:
          type: string
          maxLength: 260
          minLength: 1
          pattern: ^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerSubscriptionOperationStatus'
        '202':
          description: Resource operation accepted.
          headers:
            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
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Triggers_UnsubscribeFromEvents:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_UnsubscribeFromEvents.json
      x-ms-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/TriggerSubscriptionOperationStatus'
      x-ms-long-running-operation: true
components:
  schemas:
    ChainingTrigger:
      type: object
      description: Trigger that allows the referenced pipeline to depend on other pipeline runs based on runDimension Name/Value
        pairs. Upstream pipelines should declare the same runDimension Name and their runs should have the values for those
        runDimensions. The referenced pipeline run would be triggered if the values for the runDimension match for all upstream
        pipeline runs.
      properties:
        pipeline:
          $ref: '#/components/schemas/TriggerPipelineReference'
          description: Pipeline for which runs are created when all upstream pipelines complete successfully.
        typeProperties:
          $ref: '#/components/schemas/ChainingTriggerTypeProperties'
          description: Chaining Trigger properties.
          x-ms-client-flatten: true
      required:
      - pipeline
      - typeProperties
      allOf:
      - $ref: '#/components/schemas/Trigger'
      x-ms-discriminator-value: ChainingTrigger
    ChainingTriggerTypeProperties:
      type: object
      description: Chaining Trigger properties.
      properties:
        dependsOn:
          type: array
          description: Upstream Pipelines.
          items:
            $ref: '#/components/schemas/PipelineReference'
          x-ms-identifiers:
          - referenceName
        runDimension:
          type: string
          description: Run Dimension property that needs to be emitted by upstream pipelines.
      required:
      - dependsOn
      - runDimension
    CloudError:
      type: object
      description: The object that defines the structure of an Azure Data Factory error response.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Error data
          x-ms-client-flatten: true
      required:
      - error
      x-ms-external: true
    CloudErrorBody:
      type: object
      description: The object that defines the structure of an Azure Data Factory error.
      properties:
        code:
          type: string
          description: Error code.
        message:
          type: string
          description: Error message.
        target:
          type: string
          description: Property name/path in request associated with error.
        details:
          type: array
          description: Array with additional error details.
          items:
            $ref: '#/components/schemas/CloudError'
          x-ms-identifiers: []
      required:
      - code
      - message
      x-ms-external: true
    DependencyReference:
      type: object
      description: Referenced dependency.
      properties:
        type:
          type: string
          description: The type of dependency reference.
      discriminator: type
      required:
      - type
    EventSubscriptionStatus:
      type: string
      description: Event Subscription Status.
      enum:
      - Enabled
      - Provisioning
      - Deprovisioning
      - Disabled
      - Unknown
      x-ms-enum:
        name: EventSubscriptionStatus
        modelAsString: true
        values:
        - name: Enabled
          value: Enabled
          description: Enabled
        - name: Provisioning
          value: Provisioning
          description: Provisioning
        - name: Deprovisioning
          value: Deprovisioning
          description: Deprovisioning
        - name: Disabled
          value: Disabled
          description: Disabled
        - name: Unknown
          value: Unknown
          description: Unknown
    MultiplePipelineTrigger:
      type: object
      description: Base class for all triggers that support one to many model for trigger to pipeline.
      properties:
        pipelines:
          type: array
          description: Pipelines that need to be started.
          items:
            $ref: '#/components/schemas/TriggerPipelineReference'
          x-ms-identifiers:
          - /pipelineReference/referenceName
      allOf:
      - $ref: '#/components/schemas/Trigger'
      x-ms-discriminator-value: MultiplePipelineTrigger
    PipelineReference:
      type: object
      description: Pipeline reference type.
      properties:
        type:
          $ref: '#/components/schemas/PipelineReferenceType'
          description: Pipeline reference type.
        referenceName:
          type: string
          description: Reference pipeline name.
        name:
          type: string
          description: Reference name.
      required:
      - type
      - referenceName
    PipelineReferenceType:
      type: string
      description: Pipeline reference type.
      enum:
      - PipelineReference
      x-ms-enum:
        name: PipelineReferenceType
        modelAsString: true
        values:
        - name: PipelineReference
          value: PipelineReference
          description: PipelineReference
    RerunTumblingWindowTrigger:
      type: object
      description: Trigger that schedules pipeline reruns for all fixed time interval windows from a requested start time
        to requested end time.
      properties:
        typeProperties:
          $ref: '#/components/schemas/RerunTumblingWindowTriggerTypeProperties'
          description: Rerun Trigger properties.
          x-ms-client-flatten: true
      required:
      - typeProperties
      allOf:
      - $ref: '#/components/schemas/Trigger'
      x-ms-discriminator-value: RerunTumblingWindowTrigger
    RerunTumblingWindowTriggerTypeProperties:
      type: object
      description: Rerun Trigger properties.
      properties:
        parentTrigger:
          description: The parent trigger reference.
        requestedStartTime:
          type: string
          format: date-time
          description: The start time for the time period for which restatement is initiated. Only UTC time is currently supported.
        requestedEndTime:
          type: string
          format: date-time
          description: The end time for the time period for which restatement is initiated. Only UTC time is currently supported.
        rerunConcurrency:
          type: integer
          format: int32
          description: The max number of parallel time windows (ready for execution) for which a rerun is triggered.
          minimum: 1
          maximum: 50
      required:
      - parentTrigger
      - requestedStartTime
      - requestedEndTime
      - rerunConcurrency
    RetryPolicy:
      type: object
      description: Execution policy for an activity.
      properties:
        count:
          description: 'Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer),
            minimum: 0.'
        intervalInSeconds:
          type: integer
          format: int32
          description: Interval between retries in seconds. Default is 30.
          minimum: 30
          maximum: 86400
    SelfDependencyTumblingWindowTriggerReference:
      type: object
      description: Self referenced tumbling window trigger dependency.
      properties:
        offset:
          type: string
          description: Timespan applied to the start time of a tumbling window when evaluating dependency.
          minLength: 8
          maxLength: 15
          pattern: -((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))
        size:
          type: string
          description: The size of the window when evaluating the dependency. If undefined the frequency of the tumbling window
            will be used.
          minLength: 8
          maxLength: 15
          pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))
      required:
      - offset
      allOf:
      - $ref: '#/components/schemas/DependencyReference'
      x-ms-discriminator-value: SelfDependencyTumblingWindowTriggerReference
    Trigger:
      type: object
      description: Azure data factory nested object which contains information about creating pipeline run
      properties:
        type:
          type: string
          description: Trigger type.
        description:
          type: string
          description: Trigger description.
        runtimeState:
          $ref: '#/components/schemas/TriggerRuntimeState'
          description: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger.
          readOnly: true
        annotations:
          type: array
          description: List of tags that can be used for describing the trigger.
          items: {}
      discriminator: type
      required:
      - type
      additionalProperties: {}
    TriggerDependencyReference:
      type: object
      description: Trigger referenced dependency.
      properties:
        referenceTrigger:
          $ref: '#/components/schemas/TriggerReference'
          description: Referenced trigger.
      required:
      - referenceTrigger
      allOf:
      - $ref: '#/components/schemas/DependencyReference'
      x-ms-discriminator-value: TriggerDependencyReference
    TriggerFilterParameters:
      type: object
      description: Query parameters for triggers.
      properties:
        continuationToken:
          type: string
          description: The continuation token for getting the next page of results. Null for first page.
        parentTriggerName:
          type: string
          description: The name of the parent TumblingWindowTrigger to get the child rerun triggers
    TriggerListResponse:
      type: object
      description: A list of trigger resources.
      properties:
        value:
          type: array
          description: The TriggerResource items on this page
          items:
            $ref: '#/components/schemas/TriggerResource'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    TriggerPipelineReference:
      type: object
      description: Pipeline that needs to be triggered with the given parameters.
      properties:
        pipelineReference:
          $ref: '#/components/schemas/PipelineReference'
          description: Pipeline reference.
        parameters:
          type: object
          description: Pipeline parameters.
          additionalProperties: {}
    TriggerQueryResponse:
      type: object
      description: A query of triggers.
      properties:
        value:
          type: array
          description: List of triggers.
          items:
            $ref: '#/components/schemas/TriggerResource'
        continuationToken:
          type: string
          description: The continuation token for getting the next page of results, if any remaining results exist, null otherwise.
      required:
      - value
    TriggerReference:
      type: object
      description: Trigger reference type.
      properties:
        type:
          $ref: '#/components/schemas/TriggerReferenceType'
          description: Trigger reference type.
        referenceName:
          type: string
          description: Reference trigger name.
      required:
      - type
      - referenceName
    TriggerReferenceType:
      type: string
      description: Trigger reference type.
      enum:
      - TriggerReference
      x-ms-enum:
        name: TriggerReferenceType
        modelAsString: true
        values:
        - name: TriggerReference
          value: TriggerReference
          description: TriggerReference
    TriggerResource:
      type: object
      description: Trigger resource type.
      properties:
        properties:
          $ref: '#/components/schemas/Trigger'
          description: Properties of the trigger.
        etag:
          type: string
          description: '"If etag is provided in the response body, it may also be provided as a header per the normal etag
            convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1
            uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
            (section 14.27) header fields.")'
          readOnly: true
      required:
      - properties
      allOf:
      - $ref: ../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource
    TriggerRuntimeState:
      type: string
      description: Enumerates possible state of Triggers.
      enum:
      - Started
      - Stopped
      - Disabled
      x-ms-enum:
        name: TriggerRuntimeState
        modelAsString: true
        values:
        - name: Started
          value: Started
          description: Started
        - name: Stopped
          value: Stopped
          description: Stopped
        - name: Disabled
          value: Disabled
          description: Disabled
    TriggerSubscriptionOperationStatus:
      type: object
      description: Defines the response of a trigger subscription operation.
      properties:
        triggerName:
          type: string
       

# --- truncated at 32 KB (35 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure-data-factory/refs/heads/main/openapi/microsoft-azure-data-factory-triggers-api-openapi.yml