Microsoft.DevTestLab (stable:2018-09-15)

2025/08/29 • 132 new, 132 deleted methods

ProviderOperations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DevTestLab/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListBySubscription (new)
Description List labs in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/labs
{
api-version: string ,
subscriptionId: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_Get (new)
Description Get operation.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}
{
api-version: string ,
subscriptionId: string ,
locationName: string ,
name: string ,
}

⚐ Response (200)

{
status: string ,
statusCode: enum ,
error:
{
code: string ,
message: string ,
}
,
}

⚐ Response (202)

{
status: string ,
statusCode: enum ,
error:
{
code: string ,
message: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_ListBySubscription (new)
Description List schedules in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/schedules
{
api-version: string ,
subscriptionId: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListByResourceGroup (new)
Description List labs in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Get (new)
Description Get lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_CreateOrUpdate (new)
Description Create or replace an existing lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
lab:
{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Update (new)
Description Allows modifying tags of labs. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
lab: object ,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Delete (new)
Description Delete lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_List (new)
Description List artifact sources in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_Get (new)
Description Get artifact source.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_CreateOrUpdate (new)
Description Create or replace an existing artifact source.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
artifactSource:
{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_Update (new)
Description Allows modifying tags of artifact sources. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
artifactSource: object ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_Delete (new)
Description Delete artifact source.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArmTemplates_List (new)
Description List azure resource manager templates in a given artifact source.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
description: string ,
publisher: string ,
icon: string ,
contents: object ,
createdDate: string ,
parametersValueFilesInfo:
[
{
fileName: string ,
parametersValueInfo: object ,
}
,
]
,
enabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArmTemplates_Get (new)
Description Get azure resource manager template.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
description: string ,
publisher: string ,
icon: string ,
contents: object ,
createdDate: string ,
parametersValueFilesInfo:
[
{
fileName: string ,
parametersValueInfo: object ,
}
,
]
,
enabled: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Artifacts_List (new)
Description List artifacts in a given artifact source.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
title: string ,
description: string ,
publisher: string ,
filePath: string ,
icon: string ,
targetOsType: string ,
parameters: object ,
createdDate: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Artifacts_Get (new)
Description Get artifact.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
title: string ,
description: string ,
publisher: string ,
filePath: string ,
icon: string ,
targetOsType: string ,
parameters: object ,
createdDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Artifacts_GenerateArmTemplate (new)
Description Generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}/generateArmTemplate
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
name: string ,
generateArmTemplateRequest:
{
virtualMachineName: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
location: string ,
fileUploadOptions: enum ,
}
,
}

⚐ Response (200)

{
template: object ,
parameters: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ClaimAnyVm (new)
Description Claim a random claimable virtual machine in the lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/claimAnyVm
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Costs_Get (new)
Description Get cost.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
targetCost:
{
status: enum ,
target: integer ,
costThresholds:
[
{
thresholdId: string ,
percentageThreshold:
{
thresholdValue: number ,
}
,
displayOnChart: enum ,
sendNotificationWhenExceeded: enum ,
notificationSent: string ,
}
,
]
,
cycleStartDateTime: string ,
cycleEndDateTime: string ,
cycleType: enum ,
}
,
labCostSummary:
{
estimatedLabCost: number ,
}
,
labCostDetails:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
resourceCosts:
[
{
resourcename: string ,
resourceUId: string ,
resourceCost: number ,
resourceType: string ,
resourceOwner: string ,
resourcePricingTier: string ,
resourceStatus: string ,
resourceId: string ,
externalResourceId: string ,
}
,
]
,
currencyCode: string ,
startDateTime: string ,
endDateTime: string ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Costs_CreateOrUpdate (new)
Description Create or replace an existing cost.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labCost:
{
properties:
{
targetCost:
{
status: enum ,
target: integer ,
costThresholds:
[
{
thresholdId: string ,
percentageThreshold:
{
thresholdValue: number ,
}
,
displayOnChart: enum ,
sendNotificationWhenExceeded: enum ,
notificationSent: string ,
}
,
]
,
cycleStartDateTime: string ,
cycleEndDateTime: string ,
cycleType: enum ,
}
,
labCostSummary:
{
estimatedLabCost: number ,
}
,
labCostDetails:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
resourceCosts:
[
{
resourcename: string ,
resourceUId: string ,
resourceCost: number ,
resourceType: string ,
resourceOwner: string ,
resourcePricingTier: string ,
resourceStatus: string ,
resourceId: string ,
externalResourceId: string ,
}
,
]
,
currencyCode: string ,
startDateTime: string ,
endDateTime: string ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
targetCost:
{
status: enum ,
target: integer ,
costThresholds:
[
{
thresholdId: string ,
percentageThreshold:
{
thresholdValue: number ,
}
,
displayOnChart: enum ,
sendNotificationWhenExceeded: enum ,
notificationSent: string ,
}
,
]
,
cycleStartDateTime: string ,
cycleEndDateTime: string ,
cycleType: enum ,
}
,
labCostSummary:
{
estimatedLabCost: number ,
}
,
labCostDetails:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
resourceCosts:
[
{
resourcename: string ,
resourceUId: string ,
resourceCost: number ,
resourceType: string ,
resourceOwner: string ,
resourcePricingTier: string ,
resourceStatus: string ,
resourceId: string ,
externalResourceId: string ,
}
,
]
,
currencyCode: string ,
startDateTime: string ,
endDateTime: string ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
targetCost:
{
status: enum ,
target: integer ,
costThresholds:
[
{
thresholdId: string ,
percentageThreshold:
{
thresholdValue: number ,
}
,
displayOnChart: enum ,
sendNotificationWhenExceeded: enum ,
notificationSent: string ,
}
,
]
,
cycleStartDateTime: string ,
cycleEndDateTime: string ,
cycleType: enum ,
}
,
labCostSummary:
{
estimatedLabCost: number ,
}
,
labCostDetails:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
resourceCosts:
[
{
resourcename: string ,
resourceUId: string ,
resourceCost: number ,
resourceType: string ,
resourceOwner: string ,
resourcePricingTier: string ,
resourceStatus: string ,
resourceId: string ,
externalResourceId: string ,
}
,
]
,
currencyCode: string ,
startDateTime: string ,
endDateTime: string ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_CreateEnvironment (new)
Description Create virtual machines in a lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/createEnvironment
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
labVirtualMachineCreationParameter:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_List (new)
Description List custom images in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_Get (new)
Description Get custom image.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_CreateOrUpdate (new)
Description Create or replace an existing custom image. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
customImage:
{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_Update (new)
Description Allows modifying tags of custom images. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
customImage: object ,
}

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_Delete (new)
Description Delete custom image. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ExportResourceUsage (new)
Description Exports the lab resource usage into a storage account This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/exportResourceUsage
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
exportResourceUsageParameters:
{
blobStorageAbsoluteSasUri: string ,
usageStartDate: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_List (new)
Description List formulas in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_Get (new)
Description Get formula.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_CreateOrUpdate (new)
Description Create or replace an existing formula. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
formula:
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_Update (new)
Description Allows modifying tags of formulas. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
formula: object ,
}

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_Delete (new)
Description Delete formula.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_List (new)
Description List gallery images in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
author: string ,
createdDate: string ,
description: string ,
imageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
icon: string ,
enabled: boolean ,
planId: string ,
isPlanAuthorized: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_GenerateUploadUri (new)
Description Generate a URI for uploading custom disk images to a Lab.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/generateUploadUri
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
generateUploadUriParameter:
{
blobName: string ,
}
,
}

⚐ Response (200)

{
uploadUri: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ImportVirtualMachine (new)
Description Import a virtual machine into a different lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/importVirtualMachine
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
importLabVirtualMachineRequest:
{
sourceVirtualMachineResourceId: string ,
destinationVirtualMachineName: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListVhds (new)
Description List disk images available for custom image creation.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/listVhds
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_List (new)
Description List notification channels in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_Get (new)
Description Get notification channel.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_CreateOrUpdate (new)
Description Create or replace an existing notification channel.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
notificationChannel:
{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_Update (new)
Description Allows modifying tags of notification channels. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
notificationChannel: object ,
}

⚐ Response (200)

{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_Delete (new)
Description Delete notification channel.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_Notify (new)
Description Send notification to provided channel.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}/notify
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
notifyParameters:
{
eventName: enum ,
jsonPayload: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PolicySets_EvaluatePolicies (new)
Description Evaluates lab policy.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{name}/evaluatePolicies
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
evaluatePoliciesRequest:
{
policies:
[
{
factName: string ,
factData: string ,
valueOffset: string ,
userObjectId: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{
results:
[
{
hasError: boolean ,
policyViolations:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_List (new)
Description List policies in a given policy set.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_Get (new)
Description Get policy.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdate (new)
Description Create or replace an existing policy.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
policy:
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_Update (new)
Description Allows modifying tags of policies. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
policy: object ,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_Delete (new)
Description Delete policy.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_List (new)
Description List schedules in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Get (new)
Description Get schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_CreateOrUpdate (new)
Description Create or replace an existing schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Update (new)
Description Allows modifying tags of schedules. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
schedule: object ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Delete (new)
Description Delete schedule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Execute (new)
Description Execute a schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}/execute
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_ListApplicable (new)
Description Lists all applicable schedules
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}/listApplicable
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceRunners_Get (new)
Description Get service runner.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
clientSecretUrl: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceRunners_CreateOrUpdate (new)
Description Create or replace an existing service runner.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
serviceRunner:
{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
clientSecretUrl: string ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
clientSecretUrl: string ,
}
,
}

⚐ Response (201)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
clientSecretUrl: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceRunners_Delete (new)
Description Delete service runner.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_List (new)
Description List user profiles in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Get (new)
Description Get user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_CreateOrUpdate (new)
Description Create or replace an existing user profile. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
user:
{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Update (new)
Description Allows modifying tags of user profiles. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
user: object ,
}

⚐ Response (200)

{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Delete (new)
Description Delete user profile. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_List (new)
Description List disks in a given user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Get (new)
Description Get disk.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_CreateOrUpdate (new)
Description Create or replace an existing disk. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
disk:
{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Update (new)
Description Allows modifying tags of disks. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
disk: object ,
}

⚐ Response (200)

{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Delete (new)
Description Delete disk. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Attach (new)
Description Attach and create the lease of the disk to the virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/attach
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
attachDiskProperties:
{
leasedByLabVmId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Detach (new)
Description Detach and break the lease of the disk attached to the virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/detach
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
detachDiskProperties:
{
leasedByLabVmId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_List (new)
Description List environments in a given user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_Get (new)
Description Get environment.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_CreateOrUpdate (new)
Description Create or replace an existing environment. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
dtlEnvironment:
{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_Update (new)
Description Allows modifying tags of environments. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
dtlEnvironment: object ,
}

⚐ Response (200)

{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_Delete (new)
Description Delete environment. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_List (new)
Description List secrets in a given user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_Get (new)
Description Get secret.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_CreateOrUpdate (new)
Description Create or replace an existing secret. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
secret:
{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_Update (new)
Description Allows modifying tags of secrets. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
secret: object ,
}

⚐ Response (200)

{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_Delete (new)
Description Delete secret.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_List (new)
Description List service fabrics in a given user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Get (new)
Description Get service fabric.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_CreateOrUpdate (new)
Description Create or replace an existing service fabric. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
serviceFabric:
{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Update (new)
Description Allows modifying tags of service fabrics. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
serviceFabric: object ,
}

⚐ Response (200)

{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Delete (new)
Description Delete service fabric. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_ListApplicableSchedules (new)
Description Lists the applicable start/stop schedules, if any.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/listApplicableSchedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_List (new)
Description List schedules in a given service fabric.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_Get (new)
Description Get schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_CreateOrUpdate (new)
Description Create or replace an existing schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_Update (new)
Description Allows modifying tags of schedules. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
schedule: object ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_Delete (new)
Description Delete schedule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_Execute (new)
Description Execute a schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}/execute
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Start (new)
Description Start a service fabric. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/start
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Stop (new)
Description Stop a service fabric This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/stop
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_List (new)
Description List virtual machines in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Get (new)
Description Get virtual machine.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_CreateOrUpdate (new)
Description Create or replace an existing virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labVirtualMachine:
{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Update (new)
Description Allows modifying tags of virtual machines. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labVirtualMachine: object ,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Delete (new)
Description Delete virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_AddDataDisk (new)
Description Attach a new or existing data disk to virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/addDataDisk
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
dataDiskProperties:
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_ApplyArtifacts (new)
Description Apply artifacts to virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/applyArtifacts
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
applyArtifactsRequest:
{
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Claim (new)
Description Take ownership of an existing virtual machine This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/claim
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_DetachDataDisk (new)
Description Detach the specified disk from the virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/detachDataDisk
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
detachDataDiskProperties:
{
existingLabDiskId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_GetRdpFileContents (new)
Description Gets a string that represents the contents of the RDP file for the virtual machine
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{
contents: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_ListApplicableSchedules (new)
Description Lists the applicable start/stop schedules, if any.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/listApplicableSchedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Redeploy (new)
Description Redeploy a virtual machine This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/redeploy
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Resize (new)
Description Resize Virtual Machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/resize
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
resizeLabVirtualMachineProperties:
{
size: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Restart (new)
Description Restart a virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/restart
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_List (new)
Description List schedules in a given virtual machine.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_Get (new)
Description Get schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_CreateOrUpdate (new)
Description Create or replace an existing schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_Update (new)
Description Allows modifying tags of schedules. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
schedule: object ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_Delete (new)
Description Delete schedule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_Execute (new)
Description Execute a schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}/execute
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Start (new)
Description Start a virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/start
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Stop (new)
Description Stop a virtual machine This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/stop
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_TransferDisks (new)
Description Transfers all data disks attached to the virtual machine to be owned by the current user. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/transferDisks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_UnClaim (new)
Description Release ownership of an existing virtual machine This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/unClaim
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_List (new)
Description List virtual networks in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_Get (new)
Description Get virtual network.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_CreateOrUpdate (new)
Description Create or replace an existing virtual network. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
virtualNetwork:
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_Update (new)
Description Allows modifying tags of virtual networks. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
virtualNetwork: object ,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_Delete (new)
Description Delete virtual network. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_ListByResourceGroup (new)
Description List schedules in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Get (new)
Description Get schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_CreateOrUpdate (new)
Description Create or replace an existing schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Update (new)
Description Allows modifying tags of schedules. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
schedule: object ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Delete (new)
Description Delete schedule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Execute (new)
Description Execute a schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}/execute
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Retarget (new)
Description Updates a schedule's target resource Id. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}/retarget
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
retargetScheduleProperties:
{
currentResourceId: string ,
targetResourceId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ProviderOperations_List (removed)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DevTestLab/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListBySubscription (removed)
Description List labs in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/labs
{
api-version: string ,
subscriptionId: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_Get (removed)
Description Get operation.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}
{
api-version: string ,
subscriptionId: string ,
locationName: string ,
name: string ,
}

⚐ Response (200)

{
status: string ,
statusCode: enum ,
error:
{
code: string ,
message: string ,
}
,
}

⚐ Response (202)

{
status: string ,
statusCode: enum ,
error:
{
code: string ,
message: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_ListBySubscription (removed)
Description List schedules in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/schedules
{
api-version: string ,
subscriptionId: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListByResourceGroup (removed)
Description List labs in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Get (removed)
Description Get lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_CreateOrUpdate (removed)
Description Create or replace an existing lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
lab:
{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Update (removed)
Description Allows modifying tags of labs. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
lab: object ,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
defaultPremiumStorageAccount: string ,
artifactsStorageAccount: string ,
premiumDataDiskStorageAccount: string ,
vaultName: string ,
labStorageType: enum ,
mandatoryArtifactsResourceIdsLinux:
[
string ,
]
,
mandatoryArtifactsResourceIdsWindows:
[
string ,
]
,
createdDate: string ,
premiumDataDisks: enum ,
environmentPermission: enum ,
announcement:
{
title: string ,
markdown: string ,
enabled: enum ,
expirationDate: string ,
expired: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
support:
{
enabled: enum ,
markdown: string ,
}
,
vmCreationResourceGroup: string ,
publicIpId: string ,
loadBalancerId: string ,
networkSecurityGroupId: string ,
extendedProperties: object ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Delete (removed)
Description Delete lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_List (removed)
Description List artifact sources in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_Get (removed)
Description Get artifact source.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_CreateOrUpdate (removed)
Description Create or replace an existing artifact source.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
artifactSource:
{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_Update (removed)
Description Allows modifying tags of artifact sources. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
artifactSource: object ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
armTemplateFolderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArtifactSources_Delete (removed)
Description Delete artifact source.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArmTemplates_List (removed)
Description List azure resource manager templates in a given artifact source.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
description: string ,
publisher: string ,
icon: string ,
contents: object ,
createdDate: string ,
parametersValueFilesInfo:
[
{
fileName: string ,
parametersValueInfo: object ,
}
,
]
,
enabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ArmTemplates_Get (removed)
Description Get azure resource manager template.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
description: string ,
publisher: string ,
icon: string ,
contents: object ,
createdDate: string ,
parametersValueFilesInfo:
[
{
fileName: string ,
parametersValueInfo: object ,
}
,
]
,
enabled: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Artifacts_List (removed)
Description List artifacts in a given artifact source.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
title: string ,
description: string ,
publisher: string ,
filePath: string ,
icon: string ,
targetOsType: string ,
parameters: object ,
createdDate: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Artifacts_Get (removed)
Description Get artifact.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
title: string ,
description: string ,
publisher: string ,
filePath: string ,
icon: string ,
targetOsType: string ,
parameters: object ,
createdDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Artifacts_GenerateArmTemplate (removed)
Description Generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}/generateArmTemplate
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
name: string ,
generateArmTemplateRequest:
{
virtualMachineName: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
location: string ,
fileUploadOptions: enum ,
}
,
}

⚐ Response (200)

{
template: object ,
parameters: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ClaimAnyVm (removed)
Description Claim a random claimable virtual machine in the lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/claimAnyVm
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Costs_Get (removed)
Description Get cost.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
targetCost:
{
status: enum ,
target: integer ,
costThresholds:
[
{
thresholdId: string ,
percentageThreshold:
{
thresholdValue: number ,
}
,
displayOnChart: enum ,
sendNotificationWhenExceeded: enum ,
notificationSent: string ,
}
,
]
,
cycleStartDateTime: string ,
cycleEndDateTime: string ,
cycleType: enum ,
}
,
labCostSummary:
{
estimatedLabCost: number ,
}
,
labCostDetails:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
resourceCosts:
[
{
resourcename: string ,
resourceUId: string ,
resourceCost: number ,
resourceType: string ,
resourceOwner: string ,
resourcePricingTier: string ,
resourceStatus: string ,
resourceId: string ,
externalResourceId: string ,
}
,
]
,
currencyCode: string ,
startDateTime: string ,
endDateTime: string ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Costs_CreateOrUpdate (removed)
Description Create or replace an existing cost.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labCost:
{
properties:
{
targetCost:
{
status: enum ,
target: integer ,
costThresholds:
[
{
thresholdId: string ,
percentageThreshold:
{
thresholdValue: number ,
}
,
displayOnChart: enum ,
sendNotificationWhenExceeded: enum ,
notificationSent: string ,
}
,
]
,
cycleStartDateTime: string ,
cycleEndDateTime: string ,
cycleType: enum ,
}
,
labCostSummary:
{
estimatedLabCost: number ,
}
,
labCostDetails:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
resourceCosts:
[
{
resourcename: string ,
resourceUId: string ,
resourceCost: number ,
resourceType: string ,
resourceOwner: string ,
resourcePricingTier: string ,
resourceStatus: string ,
resourceId: string ,
externalResourceId: string ,
}
,
]
,
currencyCode: string ,
startDateTime: string ,
endDateTime: string ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
targetCost:
{
status: enum ,
target: integer ,
costThresholds:
[
{
thresholdId: string ,
percentageThreshold:
{
thresholdValue: number ,
}
,
displayOnChart: enum ,
sendNotificationWhenExceeded: enum ,
notificationSent: string ,
}
,
]
,
cycleStartDateTime: string ,
cycleEndDateTime: string ,
cycleType: enum ,
}
,
labCostSummary:
{
estimatedLabCost: number ,
}
,
labCostDetails:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
resourceCosts:
[
{
resourcename: string ,
resourceUId: string ,
resourceCost: number ,
resourceType: string ,
resourceOwner: string ,
resourcePricingTier: string ,
resourceStatus: string ,
resourceId: string ,
externalResourceId: string ,
}
,
]
,
currencyCode: string ,
startDateTime: string ,
endDateTime: string ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
targetCost:
{
status: enum ,
target: integer ,
costThresholds:
[
{
thresholdId: string ,
percentageThreshold:
{
thresholdValue: number ,
}
,
displayOnChart: enum ,
sendNotificationWhenExceeded: enum ,
notificationSent: string ,
}
,
]
,
cycleStartDateTime: string ,
cycleEndDateTime: string ,
cycleType: enum ,
}
,
labCostSummary:
{
estimatedLabCost: number ,
}
,
labCostDetails:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
resourceCosts:
[
{
resourcename: string ,
resourceUId: string ,
resourceCost: number ,
resourceType: string ,
resourceOwner: string ,
resourcePricingTier: string ,
resourceStatus: string ,
resourceId: string ,
externalResourceId: string ,
}
,
]
,
currencyCode: string ,
startDateTime: string ,
endDateTime: string ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_CreateEnvironment (removed)
Description Create virtual machines in a lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/createEnvironment
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
labVirtualMachineCreationParameter:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_List (removed)
Description List custom images in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_Get (removed)
Description Get custom image.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_CreateOrUpdate (removed)
Description Create or replace an existing custom image. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
customImage:
{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_Update (removed)
Description Allows modifying tags of custom images. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
customImage: object ,
}

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
osType: enum ,
}
,
description: string ,
author: string ,
creationDate: string ,
managedImageId: string ,
managedSnapshotId: string ,
dataDiskStorageInfo:
[
{
lun: string ,
storageType: enum ,
}
,
]
,
customImagePlan:
{
id: string ,
publisher: string ,
offer: string ,
}
,
isPlanAuthorized: boolean ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomImages_Delete (removed)
Description Delete custom image. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ExportResourceUsage (removed)
Description Exports the lab resource usage into a storage account This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/exportResourceUsage
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
exportResourceUsageParameters:
{
blobStorageAbsoluteSasUri: string ,
usageStartDate: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_List (removed)
Description List formulas in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_Get (removed)
Description Get formula.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_CreateOrUpdate (removed)
Description Create or replace an existing formula. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
formula:
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_Update (removed)
Description Allows modifying tags of formulas. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
formula: object ,
}

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
bulkCreationParameters:
{
instanceCount: integer ,
}
,
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdDate: string ,
customImageId: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
}
,
name: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Formulas_Delete (removed)
Description Delete formula.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_List (removed)
Description List gallery images in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
author: string ,
createdDate: string ,
description: string ,
imageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
icon: string ,
enabled: boolean ,
planId: string ,
isPlanAuthorized: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_GenerateUploadUri (removed)
Description Generate a URI for uploading custom disk images to a Lab.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/generateUploadUri
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
generateUploadUriParameter:
{
blobName: string ,
}
,
}

⚐ Response (200)

{
uploadUri: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ImportVirtualMachine (removed)
Description Import a virtual machine into a different lab. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/importVirtualMachine
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
importLabVirtualMachineRequest:
{
sourceVirtualMachineResourceId: string ,
destinationVirtualMachineName: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListVhds (removed)
Description List disk images available for custom image creation.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/listVhds
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_List (removed)
Description List notification channels in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_Get (removed)
Description Get notification channel.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_CreateOrUpdate (removed)
Description Create or replace an existing notification channel.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
notificationChannel:
{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_Update (removed)
Description Allows modifying tags of notification channels. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
notificationChannel: object ,
}

⚐ Response (200)

{
properties:
{
webHookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
description: string ,
events:
[
{
eventName: enum ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_Delete (removed)
Description Delete notification channel.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationChannels_Notify (removed)
Description Send notification to provided channel.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}/notify
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
notifyParameters:
{
eventName: enum ,
jsonPayload: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PolicySets_EvaluatePolicies (removed)
Description Evaluates lab policy.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{name}/evaluatePolicies
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
evaluatePoliciesRequest:
{
policies:
[
{
factName: string ,
factData: string ,
valueOffset: string ,
userObjectId: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{
results:
[
{
hasError: boolean ,
policyViolations:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_List (removed)
Description List policies in a given policy set.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_Get (removed)
Description Get policy.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdate (removed)
Description Create or replace an existing policy.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
policy:
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_Update (removed)
Description Allows modifying tags of policies. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
policy: object ,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_Delete (removed)
Description Delete policy.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_List (removed)
Description List schedules in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Get (removed)
Description Get schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_CreateOrUpdate (removed)
Description Create or replace an existing schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Update (removed)
Description Allows modifying tags of schedules. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
schedule: object ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Delete (removed)
Description Delete schedule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Execute (removed)
Description Execute a schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}/execute
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_ListApplicable (removed)
Description Lists all applicable schedules
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}/listApplicable
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceRunners_Get (removed)
Description Get service runner.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
clientSecretUrl: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceRunners_CreateOrUpdate (removed)
Description Create or replace an existing service runner.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
serviceRunner:
{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
clientSecretUrl: string ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
clientSecretUrl: string ,
}
,
}

⚐ Response (201)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
clientSecretUrl: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceRunners_Delete (removed)
Description Delete service runner.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_List (removed)
Description List user profiles in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Get (removed)
Description Get user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_CreateOrUpdate (removed)
Description Create or replace an existing user profile. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
user:
{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Update (removed)
Description Allows modifying tags of user profiles. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
user: object ,
}

⚐ Response (200)

{
properties:
{
identity:
{
principalName: string ,
principalId: string ,
tenantId: string ,
objectId: string ,
appId: string ,
}
,
secretStore:
{
keyVaultUri: string ,
keyVaultId: string ,
}
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Delete (removed)
Description Delete user profile. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_List (removed)
Description List disks in a given user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Get (removed)
Description Get disk.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_CreateOrUpdate (removed)
Description Create or replace an existing disk. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
disk:
{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Update (removed)
Description Allows modifying tags of disks. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
disk: object ,
}

⚐ Response (200)

{
properties:
{
diskType: enum ,
diskSizeGiB: integer ,
leasedByLabVmId: string ,
diskBlobName: string ,
diskUri: string ,
storageAccountId: string ,
createdDate: string ,
hostCaching: string ,
managedDiskId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Delete (removed)
Description Delete disk. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Attach (removed)
Description Attach and create the lease of the disk to the virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/attach
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
attachDiskProperties:
{
leasedByLabVmId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Disks_Detach (removed)
Description Detach and break the lease of the disk attached to the virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/detach
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
detachDiskProperties:
{
leasedByLabVmId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_List (removed)
Description List environments in a given user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_Get (removed)
Description Get environment.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_CreateOrUpdate (removed)
Description Create or replace an existing environment. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
dtlEnvironment:
{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_Update (removed)
Description Allows modifying tags of environments. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
dtlEnvironment: object ,
}

⚐ Response (200)

{
properties:
{
deploymentProperties:
{
armTemplateId: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
armTemplateDisplayName: string ,
resourceGroupId: string ,
createdByUser: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Environments_Delete (removed)
Description Delete environment. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_List (removed)
Description List secrets in a given user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_Get (removed)
Description Get secret.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_CreateOrUpdate (removed)
Description Create or replace an existing secret. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
secret:
{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_Update (removed)
Description Allows modifying tags of secrets. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
secret: object ,
}

⚐ Response (200)

{
properties:
{
value: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Secrets_Delete (removed)
Description Delete secret.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_List (removed)
Description List service fabrics in a given user profile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Get (removed)
Description Get service fabric.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_CreateOrUpdate (removed)
Description Create or replace an existing service fabric. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
serviceFabric:
{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Update (removed)
Description Allows modifying tags of service fabrics. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
serviceFabric: object ,
}

⚐ Response (200)

{
properties:
{
externalServiceFabricId: string ,
environmentId: string ,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Delete (removed)
Description Delete service fabric. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_ListApplicableSchedules (removed)
Description Lists the applicable start/stop schedules, if any.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/listApplicableSchedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_List (removed)
Description List schedules in a given service fabric.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_Get (removed)
Description Get schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_CreateOrUpdate (removed)
Description Create or replace an existing schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_Update (removed)
Description Allows modifying tags of schedules. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
schedule: object ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_Delete (removed)
Description Delete schedule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabricSchedules_Execute (removed)
Description Execute a schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}/execute
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
serviceFabricName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Start (removed)
Description Start a service fabric. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/start
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceFabrics_Stop (removed)
Description Stop a service fabric This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/stop
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
userName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_List (removed)
Description List virtual machines in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Get (removed)
Description Get virtual machine.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_CreateOrUpdate (removed)
Description Create or replace an existing virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labVirtualMachine:
{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Update (removed)
Description Allows modifying tags of virtual machines. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labVirtualMachine: object ,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
ownerUserPrincipalName: string ,
createdByUserId: string ,
createdByUser: string ,
createdDate: string ,
computeId: string ,
customImageId: string ,
osType: string ,
size: string ,
userName: string ,
password: string ,
sshKey: string ,
isAuthenticationWithSshKey: boolean ,
fqdn: string ,
labSubnetName: string ,
labVirtualNetworkId: string ,
disallowPublicIpAddress: boolean ,
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
planId: string ,
computeVm:
{
statuses:
[
{
code: string ,
displayStatus: string ,
message: string ,
}
,
]
,
osType: string ,
vmSize: string ,
networkInterfaceId: string ,
osDiskId: string ,
dataDiskIds:
[
string ,
]
,
dataDisks:
[
{
name: string ,
diskUri: string ,
managedDiskId: string ,
diskSizeGiB: integer ,
}
,
]
,
}
,
networkInterface:
{
virtualNetworkId: string ,
subnetId: string ,
publicIpAddressId: string ,
publicIpAddress: string ,
privateIpAddress: string ,
dnsName: string ,
rdpAuthority: string ,
sshAuthority: string ,
sharedPublicIpAddressConfiguration:
{
inboundNatRules:
[
{
transportProtocol: enum ,
frontendPort: integer ,
backendPort: integer ,
}
,
]
,
}
,
}
,
applicableSchedule:
{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}
,
expirationDate: string ,
allowClaim: boolean ,
storageType: string ,
virtualMachineCreationSource: enum ,
environmentId: string ,
dataDiskParameters:
[
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
]
,
scheduleParameters:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
targetResourceId: string ,
}
,
name: string ,
location: string ,
tags: object ,
}
,
]
,
lastKnownPowerState: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Delete (removed)
Description Delete virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_AddDataDisk (removed)
Description Attach a new or existing data disk to virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/addDataDisk
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
dataDiskProperties:
{
attachNewDataDiskOptions:
{
diskSizeGiB: integer ,
diskName: string ,
diskType: enum ,
}
,
existingLabDiskId: string ,
hostCaching: enum ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_ApplyArtifacts (removed)
Description Apply artifacts to virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/applyArtifacts
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
applyArtifactsRequest:
{
artifacts:
[
{
artifactId: string ,
artifactTitle: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
status: string ,
deploymentStatusMessage: string ,
vmExtensionStatusMessage: string ,
installTime: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Claim (removed)
Description Take ownership of an existing virtual machine This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/claim
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_DetachDataDisk (removed)
Description Detach the specified disk from the virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/detachDataDisk
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
detachDataDiskProperties:
{
existingLabDiskId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_GetRdpFileContents (removed)
Description Gets a string that represents the contents of the RDP file for the virtual machine
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{
contents: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_ListApplicableSchedules (removed)
Description Lists the applicable start/stop schedules, if any.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/listApplicableSchedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{
properties:
{
labVmsShutdown:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
labVmsStartup:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Redeploy (removed)
Description Redeploy a virtual machine This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/redeploy
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Resize (removed)
Description Resize Virtual Machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/resize
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
resizeLabVirtualMachineProperties:
{
size: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Restart (removed)
Description Restart a virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/restart
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_List (removed)
Description List schedules in a given virtual machine.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_Get (removed)
Description Get schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_CreateOrUpdate (removed)
Description Create or replace an existing schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_Update (removed)
Description Allows modifying tags of schedules. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
schedule: object ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_Delete (removed)
Description Delete schedule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineSchedules_Execute (removed)
Description Execute a schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}/execute
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
virtualMachineName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Start (removed)
Description Start a virtual machine. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/start
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Stop (removed)
Description Stop a virtual machine This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/stop
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_TransferDisks (removed)
Description Transfers all data disks attached to the virtual machine to be owned by the current user. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/transferDisks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_UnClaim (removed)
Description Release ownership of an existing virtual machine This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/unClaim
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_List (removed)
Description List virtual networks in a given lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_Get (removed)
Description Get virtual network.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_CreateOrUpdate (removed)
Description Create or replace an existing virtual network. This operation can take a while to complete.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
virtualNetwork:
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_Update (removed)
Description Allows modifying tags of virtual networks. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
virtualNetwork: object ,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
externalSubnets:
[
{
id: string ,
name: string ,
}
,
]
,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
sharedPublicIpAddressConfiguration:
{
allowedPorts:
[
{
transportProtocol: enum ,
backendPort: integer ,
}
,
]
,
}
,
virtualNetworkPoolName: string ,
}
,
]
,
createdDate: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualNetworks_Delete (removed)
Description Delete virtual network. This operation can take a while to complete.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_ListByResourceGroup (removed)
Description List schedules in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
$expand: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Get (removed)
Description Get schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_CreateOrUpdate (removed)
Description Create or replace an existing schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Update (removed)
Description Allows modifying tags of schedules. All other properties will be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
schedule: object ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: string ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
notificationSettings:
{
status: enum ,
timeInMinutes: integer ,
webhookUrl: string ,
emailRecipient: string ,
notificationLocale: string ,
}
,
createdDate: string ,
targetResourceId: string ,
provisioningState: string ,
uniqueIdentifier: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Delete (removed)
Description Delete schedule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Execute (removed)
Description Execute a schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}/execute
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GlobalSchedules_Retarget (removed)
Description Updates a schedule's target resource Id. This operation can take a while to complete.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}/retarget
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
retargetScheduleProperties:
{
currentResourceId: string ,
targetResourceId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}