Azure DevTest Labs ServiceFabricSchedules API
The ServiceFabricSchedules API from Azure DevTest Labs — 3 operation(s) for servicefabricschedules.
The ServiceFabricSchedules API from Azure DevTest Labs — 3 operation(s) for servicefabricschedules.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/azure-test-labs:azure-test-labs-servicefabricschedules-api"
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.
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: 3.2.0
info:
title: DevTestLabsClient Service Fabric Schedules API
version: '2018-09-15'
description: The DevTest Labs Client.
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
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:
operationId: ServiceFabricSchedules_List
tags:
- ServiceFabricSchedules
description: List schedules in a given service fabric.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: labName
in: path
description: labs
required: true
schema:
type: string
- name: userName
in: path
description: users
required: true
schema:
type: string
- name: serviceFabricName
in: path
description: servicefabrics
required: true
schema:
type: string
- name: $expand
in: query
description: 'Specify the $expand query. Example: ''properties($select=status)'''
required: false
schema:
type: string
- name: $filter
in: query
description: 'The filter to apply to the operation. Example: ''$filter=contains(name,''myName'')'
required: false
schema:
type: string
- name: $top
in: query
description: 'The maximum number of resources to return from the operation. Example: ''$top=10'''
required: false
schema:
type: integer
format: int32
- name: $orderby
in: query
description: 'The ordering expression for the results, using OData notation. Example: ''$orderby=name desc'''
required: false
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduleList'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
summary: Service fabric schedules list
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
: get:
operationId: ServiceFabricSchedules_Get
tags:
- ServiceFabricSchedules
description: Get schedule.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: labName
in: path
description: labs
required: true
schema:
type: string
- name: userName
in: path
description: users
required: true
schema:
type: string
- name: serviceFabricName
in: path
description: servicefabrics
required: true
schema:
type: string
- name: name
in: path
description: The name of the Schedule
required: true
schema:
type: string
- name: $expand
in: query
description: 'Specify the $expand query. Example: ''properties($select=status)'''
required: false
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/Schedule'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Service fabric schedules get
x-summary-source: derived
put:
operationId: ServiceFabricSchedules_CreateOrUpdate
tags:
- ServiceFabricSchedules
description: Create or replace an existing schedule.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: labName
in: path
description: labs
required: true
schema:
type: string
- name: userName
in: path
description: users
required: true
schema:
type: string
- name: serviceFabricName
in: path
description: servicefabrics
required: true
schema:
type: string
- name: name
in: path
description: The name of the Schedule
required: true
schema:
type: string
responses:
'200':
description: Resource 'Schedule' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/Schedule'
'201':
description: Resource 'Schedule' create operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/Schedule'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Schedule'
description: A schedule.
required: true
summary: Service fabric schedules create or update
x-summary-source: derived
patch:
operationId: ServiceFabricSchedules_Update
tags:
- ServiceFabricSchedules
description: Allows modifying tags of schedules. All other properties will be ignored.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: labName
in: path
description: labs
required: true
schema:
type: string
- name: userName
in: path
description: users
required: true
schema:
type: string
- name: serviceFabricName
in: path
description: servicefabrics
required: true
schema:
type: string
- name: name
in: path
description: The name of the Schedule
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/Schedule'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduleFragment'
description: A schedule.
required: true
summary: Service fabric schedules update
x-summary-source: derived
delete:
operationId: ServiceFabricSchedules_Delete
tags:
- ServiceFabricSchedules
description: Delete schedule.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: labName
in: path
description: labs
required: true
schema:
type: string
- name: userName
in: path
description: users
required: true
schema:
type: string
- name: serviceFabricName
in: path
description: servicefabrics
required: true
schema:
type: string
- name: name
in: path
description: The name of the Schedule
required: true
schema:
type: string
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/ErrorResponse'
summary: Service fabric schedules delete
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}/execute
: post:
operationId: ServiceFabricSchedules_Execute
tags:
- ServiceFabricSchedules
description: Execute a schedule. This operation can take a while to complete.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: labName
in: path
description: labs
required: true
schema:
type: string
- name: userName
in: path
description: users
required: true
schema:
type: string
- name: serviceFabricName
in: path
description: servicefabrics
required: true
schema:
type: string
- name: name
in: path
description: The name of the Schedule
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
'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/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
summary: Service fabric schedules execute
x-summary-source: derived
components:
schemas:
WeekDetails:
type: object
description: Properties of a weekly schedule.
properties:
weekdays:
type: array
description: The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
items:
type: string
time:
type: string
description: The time of the day the schedule will occur.
Resource:
type: object
title: Resource
description: Common fields that are returned in the response for all Azure Resource Manager resources
properties:
id:
type: string
description: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
readOnly: true
name:
type: string
description: The name of the resource
readOnly: true
type:
type: string
description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
readOnly: true
systemData:
$ref: '#/components/schemas/systemData'
type: object
description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
readOnly: true
x-ms-azure-resource: true
DayDetails:
type: object
description: Properties of a daily schedule.
properties:
time:
type: string
description: The time of day the schedule will occur.
ScheduleList:
type: object
description: The response of a list operation.
properties:
value:
type: array
description: The Schedule items on this page
items:
$ref: '#/components/schemas/Schedule'
nextLink:
type: string
format: uri
description: The link to the next page of items
required:
- value
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
NotificationSettings:
type: object
description: Notification settings for a schedule.
properties:
status:
type: string
description: If notifications are enabled for this schedule (i.e. Enabled, Disabled).
default: Disabled
enum:
- Enabled
- Disabled
x-ms-enum:
name: EnableStatus
modelAsString: true
values:
- name: Enabled
value: Enabled
- name: Disabled
value: Disabled
timeInMinutes:
type: integer
format: int32
description: Time in minutes before event at which notification will be sent.
webhookUrl:
type: string
description: The webhook URL to which the notification will be sent.
emailRecipient:
type: string
description: The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
notificationLocale:
type: string
description: The locale to use when sending a notification (fallback for unsupported languages is EN).
Schedule:
type: object
description: A schedule.
properties:
properties:
$ref: '#/components/schemas/ScheduleProperties'
description: The properties of the resource.
x-ms-client-flatten: true
tags:
type: object
description: Resource tags.
additionalProperties:
type: string
location:
type: string
description: The geo-location where the resource lives
x-ms-mutability:
- read
- create
required:
- properties
allOf:
- $ref: '#/components/schemas/ProxyResource'
UpdateResource:
type: object
description: Represents an update resource
properties:
tags:
type: object
description: The tags of the resource.
additionalProperties:
type: string
ScheduleFragment:
type: object
description: A schedule.
allOf:
- $ref: '#/components/schemas/UpdateResource'
HourDetails:
type: object
description: Properties of an hourly schedule.
properties:
minute:
type: integer
format: int32
description: Minutes of the hour the schedule will run.
ProxyResource:
type: object
title: Proxy Resource
description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
allOf:
- $ref: '#/components/schemas/Resource'
ScheduleProperties:
type: object
description: Properties of a schedule.
properties:
status:
type: string
description: The status of the schedule (i.e. Enabled, Disabled)
default: Disabled
enum:
- Enabled
- Disabled
x-ms-enum:
name: EnableStatus
modelAsString: true
values:
- name: Enabled
value: Enabled
- name: Disabled
value: Disabled
taskType:
type: string
description: The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
weeklyRecurrence:
$ref: '#/components/schemas/WeekDetails'
description: If the schedule will occur only some days of the week, specify the weekly recurrence.
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.
timeZoneId:
type: string
description: The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in `IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds` (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
notificationSettings:
$ref: '#/components/schemas/NotificationSettings'
description: Notification settings.
createdDate:
type: string
format: date-time
description: The creation date of the schedule.
readOnly: true
targetResourceId:
type: string
description: The resource ID to which the schedule belongs
provisioningState:
type: string
description: The provisioning status of the resource.
readOnly: true
uniqueIdentifier:
type: string
description: The unique immutable identifier of a resource (Guid).
readOnly: true
parameters:
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription.
required: true
schema:
type: string
minLength: 1
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
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.