Microsoft Azure Triggers API

The Triggers API from Microsoft Azure, for triggers.

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers List triggers on a Data Box Edge device · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which compute triggers are configured on my Data Box Edge device?”
“Can I filter a device's triggers, for example by custom context tag?”
Tell an agent
List triggers on Data Box Edge device {deviceName} in {resourceGroupName}, subscription {subscriptionId}.
Show triggers on device {deviceName} matching {filter}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name} Get a trigger on a Data Box Edge device · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I see how one trigger on my edge device is configured?”
“What kind of trigger, file event or periodic, is set up on a device?”
Tell an agent
Get trigger {name} on Data Box Edge device {deviceName}.
Show edge trigger {name} for device {deviceName} in {resourceGroupName}, subscription {subscriptionId}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name} Create or update a Data Box Edge trigger · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I add a file-event or periodic trigger to a Data Box Edge device?”
“Which trigger kinds does a Data Box Edge device accept?”
Tell an agent
Create a {kind} trigger named {name} on device {deviceName}.
Update edge trigger {name} on {deviceName} in {resourceGroupName}, subscription {subscriptionId}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name} Delete a trigger from a Data Box Edge device · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I remove a trigger from my gateway device?”
“Can I delete one Data Box Edge trigger without touching the others?”
Tell an agent destructive · confirm first
Delete trigger {name} from Data Box Edge device {deviceName}.
Remove edge trigger {name} on {deviceName} in {resourceGroupName}, subscription {subscriptionId}.
GET /datasources/{dataSourceName}/scans/{scanName}/triggers/default Get the schedule trigger of a data source scan · Microsoft Azure Get Datasources Datasourcename Scans Scanname Triggers Default #
Ask an LLM
“When is my Purview data source scan scheduled to run?”
“How do I read the trigger set on a data map scan?”
Tell an agent
Get the trigger for scan {scanName} on data source {dataSourceName}.
Show the scan schedule for {scanName} of source {dataSourceName}.
PUT /datasources/{dataSourceName}/scans/{scanName}/triggers/default Schedule a data source scan with a trigger · Microsoft Azure Put Datasources Datasourcename Scans Scanname Triggers Default #
Ask an LLM
“How do I set a recurring schedule on a Purview scan?”
“Can I add a trigger so a data source scan runs automatically?”
Tell an agent
Create a trigger for scan {scanName} on data source {dataSourceName} with properties {properties}.
Schedule scan {scanName} of {dataSourceName} to run on a recurrence.
DELETE /datasources/{dataSourceName}/scans/{scanName}/triggers/default Remove the schedule trigger from a scan · Microsoft Azure Delete Datasources Datasourcename Scans Scanname Triggers… #
Ask an LLM
“How do I stop a Purview scan from running on a schedule?”
“Can I delete the trigger on a data source scan but keep the scan?”
Tell an agent destructive · confirm first
Delete the trigger on scan {scanName} of data source {dataSourceName}.
Unschedule scan {scanName} for source {dataSourceName}.

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:microsoft-azure-triggers-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

microsoft-azure-triggers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2022-12-01-preview
  title: Microsoft Azure DataBoxEdgeManagementClient Triggers API
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Triggers
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers
  : get:
      tags:
      - Triggers
      description: Lists all the triggers configured in the device.
      operationId: microsoftAzureTriggersListbydataboxedgedevice
      parameters:
      - name: deviceName
        in: path
        description: The device name.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      - name: $filter
        in: query
        description: Specify $filter='CustomContextTag eq <tag>' to filter on custom context tag property
        required: false
        schema:
          type: string
      responses:
        '200':
          description: List all the triggers configured in the device
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        TriggerGetAllInDevice:
          $ref: ./examples/TriggerGetAllInDevice.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}
  : get:
      tags:
      - Triggers
      description: Get a specific trigger by name.
      operationId: microsoftAzureTriggersGet
      parameters:
      - name: deviceName
        in: path
        description: The device name.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The trigger name.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: The trigger.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Trigger'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        TriggerGet:
          $ref: ./examples/TriggerGet.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - Triggers
      description: Creates or updates a trigger.
      operationId: microsoftAzureTriggersCreateorupdate
      parameters:
      - name: deviceName
        in: path
        description: Creates or updates a trigger
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The trigger name.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: Successfully created or updated the trigger.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Trigger'
        '202':
          description: Accepted the request to create or update the trigger.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        TriggerPut:
          $ref: ./examples/TriggerPut.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Trigger'
        description: The trigger.
        required: true
    delete:
      tags:
      - Triggers
      description: Deletes the trigger on the gateway device.
      operationId: microsoftAzureTriggersDelete
      parameters:
      - name: deviceName
        in: path
        description: The device name.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The trigger name.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/apiVersionParameter'
      responses:
        '200':
          description: Successfully deleted the trigger.
        '202':
          description: Accepted the request to delete the trigger.
        '204':
          description: The trigger is already deleted.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        TriggerDelete:
          $ref: ./examples/TriggerDelete.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
  /datasources/{dataSourceName}/scans/{scanName}/triggers/default:
    get:
      tags:
      - Triggers
      description: Gets trigger information
      operationId: microsoftAzureTriggersGettrigger
      parameters:
      - in: path
        name: dataSourceName
        required: true
        schema:
          type: string
      - in: path
        name: scanName
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Trigger'
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        Triggers_GetTrigger:
          $ref: ./examples/Triggers_GetTrigger.json
      summary: Microsoft Azure Get Datasources Datasourcename Scans Scanname Triggers Default
    put:
      tags:
      - Triggers
      description: Creates an instance of a trigger
      operationId: microsoftAzureTriggersCreatetrigger
      parameters:
      - in: path
        name: dataSourceName
        required: true
        schema:
          type: string
      - in: path
        name: scanName
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Trigger'
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Trigger'
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        Triggers_CreateTrigger:
          $ref: ./examples/Triggers_CreateTrigger.json
      summary: Microsoft Azure Put Datasources Datasourcename Scans Scanname Triggers Default
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Trigger'
        required: true
    delete:
      tags:
      - Triggers
      description: Deletes the trigger associated with the scan
      operationId: microsoftAzureTriggersDeletetrigger
      parameters:
      - in: path
        name: dataSourceName
        required: true
        schema:
          type: string
      - in: path
        name: scanName
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Trigger'
        '204':
          description: Success
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        Triggers_DeleteTrigger:
          $ref: ./examples/Triggers_DeleteTrigger.json
      summary: Microsoft Azure Delete Datasources Datasourcename Scans Scanname Triggers…
components:
  schemas:
    Trigger:
      description: Trigger details.
      required:
      - kind
      type: object
      allOf:
      - $ref: '#/components/schemas/ARMBaseModel'
      properties:
        kind:
          description: Trigger Kind.
          enum:
          - FileEvent
          - PeriodicTimerEvent
          type: string
          x-ms-enum:
            name: TriggerEventType
            modelAsString: true
        systemData:
          $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData
          description: Metadata pertaining to creation and last modification of Trigger
          readOnly: true
      discriminator:
        propertyName: kind
    CloudErrorBody:
      description: An error response from the service.
      type: object
      properties:
        code:
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
          type: string
        message:
          description: A message describing the error, intended to be suitable for display in a user interface.
          type: string
        details:
          description: A list of additional details about the error.
          type: array
          items:
            $ref: '#/components/schemas/CloudErrorBody'
          x-ms-identifiers: []
      x-ms-external: true
    CloudError:
      description: An error response from the service.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: The error details.
      x-ms-external: true
    ARMBaseModel:
      description: Represents the base class for all object models.
      type: object
      properties:
        id:
          description: The path ID that uniquely identifies the object.
          type: string
          readOnly: true
        name:
          description: The object name.
          type: string
          readOnly: true
        type:
          description: The hierarchical type of the object.
          type: string
          readOnly: true
      x-ms-azure-resource: true
    TriggerList:
      description: Collection of all trigger on the data box edge device.
      type: object
      properties:
        value:
          description: The list of triggers.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/Trigger'
          readOnly: true
          x-ms-identifiers: []
        nextLink:
          description: Link to the next set of results.
          type: string
          readOnly: true
    ErrorModel:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ErrorModel'
    ErrorResponseModel:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/ErrorModel'
    TriggerProperties:
      type: object
      properties:
        recurrence:
          allOf:
          - $ref: '#/components/schemas/TriggerRecurrence'
        recurrenceInterval:
          type: string
        createdAt:
          format: date-time
          type: string
          readOnly: true
        lastModifiedAt:
          format: date-time
          type: string
          readOnly: true
        lastScheduled:
          format: date-time
          type: string
          readOnly: true
        scanLevel:
          enum:
          - Full
          - Incremental
          type: string
          x-ms-enum:
            name: ScanLevelType
            modelAsString: true
        incrementalScanStartTime:
          format: date-time
          type: string
    ProxyResource:
      type: object
      properties:
        id:
          type: string
          readOnly: true
        name:
          type: string
          readOnly: true
    RecurrenceScheduleOccurrence:
      type: object
      properties:
        additionalProperties:
          type: object
          additionalProperties:
            type: object
        day:
          enum:
          - Sunday
          - Monday
          - Tuesday
          - Wednesday
          - Thursday
          - Friday
          - Saturday
          type: string
          x-ms-enum:
            name: DayOfWeek
            modelAsString: true
        occurrence:
          format: int32
          type: integer
    TriggerRecurrence:
      type: object
      properties:
        frequency:
          enum:
          - Week
          - Month
          - Day
          - Hour
          type: string
          x-ms-enum:
            name: TriggerFrequency
            modelAsString: true
        interval:
          format: int32
          type: integer
        startTime:
          format: date-time
          type: string
        endTime:
          format: date-time
          type: string
        schedule:
          allOf:
          - $ref: '#/components/schemas/RecurrenceSchedule'
        timeZone:
          type: string
    RecurrenceSchedule:
      type: object
      properties:
        additionalProperties:
          type: object
          additionalProperties:
            type: object
        minutes:
          type: array
          items:
            format: int32
            type: integer
        hours:
          type: array
          items:
            format: int32
            type: integer
        weekDays:
          type: array
          items:
            enum:
            - Sunday
            - Monday
            - Tuesday
            - Wednesday
            - Thursday
            - Friday
            - Saturday
            type: string
            x-ms-enum:
              name: DaysOfWeek
              modelAsString: true
        monthDays:
          type: array
          items:
            format: int32
            type: integer
        monthlyOccurrences:
          type: array
          items:
            $ref: '#/components/schemas/RecurrenceScheduleOccurrence'
  parameters:
    resourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The resource group name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    apiVersionParameter:
      name: api-version
      in: query
      description: The API version.
      required: true
      schema:
        type: string
    subscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The subscription ID.
      required: true
      schema:
        type: string
    api-version:
      in: query
      name: api-version
      description: The api version to use.
      required: true
      x-ms-client-name: ApiVersion
      schema:
        type: string
  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