Azure DevTest Labs ServiceFabricSchedules API

The ServiceFabricSchedules API from Azure DevTest Labs — 3 operation(s) for servicefabricschedules.

Operations 6

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules Azure DevTest Labs Service Fabric Schedules_ List #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name} Azure DevTest Labs Service Fabric Schedules_ Delete #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name} Azure DevTest Labs Service Fabric Schedules_ Get #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name} Azure DevTest Labs Service Fabric Schedules_ Update #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name} Azure DevTest Labs Service Fabric Schedules_ Create or Update #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}/execute Azure DevTest Labs Service Fabric Schedules_ Execute #

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-test-labs-servicefabricschedules-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

azure-test-labs-servicefabricschedules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The DevTest Labs Client.
  title: DevTestLabsClient ArmTemplates Service Fabric Schedules API
  version: '2.0'
  x-apisguru-categories:
  - cloud
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png
  x-origin:
  - format: swagger
    url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json
  x-preferred: true
  x-providerName: azure.com
  x-serviceName: devtestlabs-DTL
  x-tags:
  - Azure
  - Microsoft
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ServiceFabricSchedules
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules
  : get:
      description: List schedules in a given service fabric.
      operationId: ServiceFabricSchedules_List
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - description: The name of the lab.
        in: path
        name: labName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the user profile.
        in: path
        name: userName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the service fabric.
        in: path
        name: serviceFabricName
        required: true
        example: example-value
        schema:
          type: string
      - description: 'Specify the $expand query. Example: ''properties($select=status)'''
        in: query
        name: $expand
        example: example-value
        schema:
          type: string
      - description: 'The filter to apply to the operation. Example: ''$filter=contains(name,''myName'')'
        in: query
        name: $filter
        example: example-value
        schema:
          type: string
      - description: 'The maximum number of resources to return from the operation. Example: ''$top=10'''
        in: query
        name: $top
        example: example-value
        schema:
          type: integer
          format: int32
      - description: 'The ordering expression for the results, using OData notation. Example: ''$orderby=name desc'''
        in: query
        name: $orderby
        example: example-value
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleList'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      tags:
      - ServiceFabricSchedules
      x-ms-odata: '#/definitions/Schedule'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Azure DevTest Labs Service Fabric Schedules_ List
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
  : delete:
      description: Delete schedule.
      operationId: ServiceFabricSchedules_Delete
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - description: The name of the lab.
        in: path
        name: labName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the user profile.
        in: path
        name: userName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the service fabric.
        in: path
        name: serviceFabricName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the schedule.
        in: path
        name: name
        required: true
        example: example-value
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      tags:
      - ServiceFabricSchedules
      summary: Azure DevTest Labs Service Fabric Schedules_ Delete
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    get:
      description: Get schedule.
      operationId: ServiceFabricSchedules_Get
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - description: The name of the lab.
        in: path
        name: labName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the user profile.
        in: path
        name: userName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the service fabric.
        in: path
        name: serviceFabricName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the schedule.
        in: path
        name: name
        required: true
        example: example-value
        schema:
          type: string
      - description: 'Specify the $expand query. Example: ''properties($select=status)'''
        in: query
        name: $expand
        example: example-value
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Schedule'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      tags:
      - ServiceFabricSchedules
      summary: Azure DevTest Labs Service Fabric Schedules_ Get
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    patch:
      description: Allows modifying tags of schedules. All other properties will be ignored.
      operationId: ServiceFabricSchedules_Update
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - description: The name of the lab.
        in: path
        name: labName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the user profile.
        in: path
        name: userName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the service fabric.
        in: path
        name: serviceFabricName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the schedule.
        in: path
        name: name
        required: true
        example: example-value
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Schedule'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      tags:
      - ServiceFabricSchedules
      summary: Azure DevTest Labs Service Fabric Schedules_ Update
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScheduleFragment'
        description: A schedule.
        required: true
    put:
      description: Create or replace an existing schedule.
      operationId: ServiceFabricSchedules_CreateOrUpdate
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - description: The name of the lab.
        in: path
        name: labName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the user profile.
        in: path
        name: userName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the service fabric.
        in: path
        name: serviceFabricName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the schedule.
        in: path
        name: name
        required: true
        example: example-value
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Schedule'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Schedule'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      tags:
      - ServiceFabricSchedules
      summary: Azure DevTest Labs Service Fabric Schedules_ Create or Update
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Schedule'
        description: A schedule.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}/execute
  : post:
      description: Execute a schedule. This operation can take a while to complete.
      operationId: ServiceFabricSchedules_Execute
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - description: The name of the lab.
        in: path
        name: labName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the user profile.
        in: path
        name: userName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the service fabric.
        in: path
        name: serviceFabricName
        required: true
        example: example-value
        schema:
          type: string
      - description: The name of the schedule.
        in: path
        name: name
        required: true
        example: example-value
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      tags:
      - ServiceFabricSchedules
      x-ms-long-running-operation: true
      summary: Azure DevTest Labs Service Fabric Schedules_ Execute
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    CloudError:
      description: Error from a REST request.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: The cloud error that occurred
      type: object
      x-ms-external: true
    ScheduleList:
      description: The response of a list operation.
      properties:
        nextLink:
          description: Link for next set of results.
          type: string
        value:
          description: Results of the list operation.
          items:
            $ref: '#/components/schemas/Schedule'
          type: array
      type: object
    HourDetails:
      description: Properties of an hourly schedule.
      properties:
        minute:
          description: Minutes of the hour the schedule will run.
          format: int32
          type: integer
      type: object
    UpdateResource:
      description: Represents an update resource
      properties:
        tags:
          additionalProperties:
            type: string
          description: The tags of the resource.
          type: object
      type: object
    DayDetailsFragment:
      description: Properties of a daily schedule.
      properties:
        time:
          description: The time of day the schedule will occur.
          type: string
      type: object
    WeekDetails:
      description: Properties of a weekly schedule.
      properties:
        time:
          description: The time of the day the schedule will occur.
          type: string
        weekdays:
          description: The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
          items:
            type: string
          type: array
      type: object
    Schedule:
      allOf:
      - $ref: '#/components/schemas/Resource'
      description: A schedule.
      properties:
        properties:
          $ref: '#/components/schemas/ScheduleProperties'
          description: The properties of the resource.
          x-ms-client-flatten: true
      required:
      - properties
      type: object
    SchedulePropertiesFragment:
      description: Properties of a schedule.
      properties:
        dailyRecurrence:
          $ref: '#/components/schemas/DayDetailsFragment'
          description: If the schedule will occur once each day of the week, specify the daily recurrence.
        hourlyRecurrence:
          $ref: '#/components/schemas/HourDetailsFragment'
          description: If the schedule will occur multiple times a day, specify the hourly recurrence.
        notificationSettings:
          $ref: '#/components/schemas/NotificationSettingsFragment'
          description: Notification settings.
        status:
          description: The status of the schedule (i.e. Enabled, Disabled)
          enum:
          - Enabled
          - Disabled
          type: string
          x-ms-enum:
            modelAsString: true
            name: EnableStatus
        targetResourceId:
          description: The resource ID to which the schedule belongs
          type: string
        taskType:
          description: The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
          type: string
        timeZoneId:
          description: The time zone ID (e.g. Pacific Standard time).
          type: string
        weeklyRecurrence:
          $ref: '#/components/schemas/WeekDetailsFragment'
          description: If the schedule will occur only some days of the week, specify the weekly recurrence.
      type: object
    NotificationSettingsFragment:
      description: Notification settings for a schedule.
      properties:
        emailRecipient:
          description: The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
          type: string
        notificationLocale:
          description: The locale to use when sending a notification (fallback for unsupported languages is EN).
          type: string
        status:
          description: If notifications are enabled for this schedule (i.e. Enabled, Disabled).
          enum:
          - Enabled
          - Disabled
          type: string
          x-ms-enum:
            modelAsString: true
            name: EnableStatus
        timeInMinutes:
          description: Time in minutes before event at which notification will be sent.
          format: int32
          type: integer
        webhookUrl:
          description: The webhook URL to which the notification will be sent.
          type: string
      type: object
    NotificationSettings:
      description: Notification settings for a schedule.
      properties:
        emailRecipient:
          description: The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
          type: string
        notificationLocale:
          description: The locale to use when sending a notification (fallback for unsupported languages is EN).
          type: string
        status:
          description: If notifications are enabled for this schedule (i.e. Enabled, Disabled).
          enum:
          - Enabled
          - Disabled
          type: string
          x-ms-enum:
            modelAsString: true
            name: EnableStatus
        timeInMinutes:
          description: Time in minutes before event at which notification will be sent.
          format: int32
          type: integer
        webhookUrl:
          description: The webhook URL to which the notification will be sent.
          type: string
      type: object
    ScheduleProperties:
      description: Properties of a schedule.
      properties:
        createdDate:
          description: The creation date of the schedule.
          format: date-time
          readOnly: true
          type: string
        dailyRecurrence:
          $ref: '#/components/schemas/DayDetails'
          description: If the schedule will occur once each day of the week, specify the daily recurrence.
        hourlyRecurrence:
          $ref: '#/components/schemas/HourDetails'
          description: If the schedule will occur multiple times a day, specify the hourly recurrence.
        notificationSettings:
          $ref: '#/components/schemas/NotificationSettings'
          description: Notification settings.
        provisioningState:
          description: The provisioning status of the resource.
          readOnly: true
          type: string
        status:
          description: The status of the schedule (i.e. Enabled, Disabled)
          enum:
          - Enabled
          - Disabled
          type: string
          x-ms-enum:
            modelAsString: true
            name: EnableStatus
        targetResourceId:
          description: The resource ID to which the schedule belongs
          type: string
        taskType:
          description: The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
          type: string
        timeZoneId:
          description: The time zone ID (e.g. Pacific Standard time).
          type: string
        uniqueIdentifier:
          description: The unique immutable identifier of a resource (Guid).
          readOnly: true
          type: string
        weeklyRecurrence:
          $ref: '#/components/schemas/WeekDetails'
          description: If the schedule will occur only some days of the week, specify the weekly recurrence.
      type: object
    WeekDetailsFragment:
      description: Properties of a weekly schedule.
      properties:
        time:
          description: The time of the day the schedule will occur.
          type: string
        weekdays:
          description: The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
          items:
            type: string
          type: array
      type: object
    HourDetailsFragment:
      description: Properties of an hourly schedule.
      properties:
        minute:
          description: Minutes of the hour the schedule will run.
          format: int32
          type: integer
      type: object
    Resource:
      description: An Azure resource.
      properties:
        id:
          description: The identifier of the resource.
          readOnly: true
          type: string
        location:
          description: The location of the resource.
          type: string
        name:
          description: The name of the resource.
          readOnly: true
          type: string
        tags:
          additionalProperties:
            type: string
          description: The tags of the resource.
          type: object
        type:
          description: The type of the resource.
          readOnly: true
          type: string
      type: object
      x-ms-azure-resource: true
    DayDetails:
      description: Properties of a daily schedule.
      properties:
        time:
          description: The time of day the schedule will occur.
          type: string
      type: object
    CloudErrorBody:
      description: Body of an error from a REST request.
      properties:
        code:
          description: The error code.
          type: string
        details:
          description: Inner errors.
          items:
            $ref: '#/components/schemas/CloudErrorBody'
          type: array
        message:
          description: The error message.
          type: string
        target:
          description: The error target.
          type: string
      type: object
      x-ms-external: true
    ScheduleFragment:
      allOf:
      - $ref: '#/components/schemas/UpdateResource'
      description: A schedule.
      properties:
        properties:
          $ref: '#/components/schemas/SchedulePropertiesFragment'
          description: The properties of the resource.
          x-ms-client-flatten: true
      type: object
  parameters:
    subscriptionId:
      description: The subscription ID.
      in: path
      name: subscriptionId
      required: true
      schema:
        type: string
    resourceGroupName:
      description: The name of the resource group.
      in: path
      name: resourceGroupName
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    api-version:
      description: Client API version.
      in: query
      name: api-version
      required: true
      schema:
        type: string
        default: '2018-09-15'
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: Access Microsoft Azure
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: OAuth2 Implicit Grant