Microsoft.DevTestLab (preview:2015-05-21)

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

Lab_ListBySubscription (new)
Description List labs.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_ListByResourceGroup (new)
Description List labs.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ArtifactSource_List (new)
Description List artifact sources.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Artifact_List (new)
Description List artifacts.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
title: string ,
description: string ,
filePath: string ,
icon: string ,
targetOsType: string ,
parameters: object ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Artifact_GetResource (new)
Description Get artifact.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
title: string ,
description: string ,
filePath: string ,
icon: string ,
targetOsType: string ,
parameters: object ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Artifact_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
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
name: string ,
generateArmTemplateRequest:
{
virtualMachineName: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
location: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
template: object ,
parameters: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ArtifactSource_GetResource (new)
Description Get artifact source.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ArtifactSource_DeleteResource (new)
Description Delete artifact source.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ArtifactSource_PatchResource (new)
Description Modify properties of artifact sources.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
artifactSource:
{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CostInsight_List (new)
Description List cost insights.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
currencyCode: string ,
vmCosts:
[
{
name: string ,
resourceGroupName: string ,
cost: number ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CostInsight_GetResource (new)
Description Get cost insight.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
currencyCode: string ,
vmCosts:
[
{
name: string ,
resourceGroupName: string ,
cost: number ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CostInsight_RefreshData (new)
Description Refresh Lab's Cost Insight Data. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Cost_List (new)
Description List costs.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
currencyCode: string ,
costs:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Cost_GetResource (new)
Description Get cost.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
currencyCode: string ,
costs:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Cost_RefreshData (new)
Description Refresh Lab's Cost Data. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CustomImage_List (new)
Description List custom images.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CustomImage_GetResource (new)
Description Get custom image.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CustomImage_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
customImage:
{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CustomImage_DeleteResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Formula_List (new)
Description List formulas.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Formula_GetResource (new)
Description Get formula.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Formula_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
formula:
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Formula_DeleteResource (new)
Description Delete formula.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
GalleryImage_List (new)
Description List gallery images.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$filter: string ,
$top: integer ,
$orderBy: string ,
api-version: 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 ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PolicySet_EvaluatePolicies (new)
Description Evaluates Lab Policy.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_List (new)
Description List policies.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_GetResource (new)
Description Get policy.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
policy:
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_DeleteResource (new)
Description Delete policy.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_PatchResource (new)
Description Modify properties of policies.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
policy:
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_List (new)
Description List schedules.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_GetResource (new)
Description Get schedule.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_DeleteResource (new)
Description Delete schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_PatchResource (new)
Description Modify properties of schedules.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_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
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_List (new)
Description List virtual machines.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_GetResource (new)
Description Get virtual machine.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labVirtualMachine:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_DeleteResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_PatchResource (new)
Description Modify properties of virtual machines.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labVirtualMachine:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_ApplyArtifacts (new)
Description Apply artifacts to Lab VM. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_Start (new)
Description Start a Lab VM. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_Stop (new)
Description Stop a Lab VM. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_List (new)
Description List virtual networks.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_GetResource (new)
Description Get virtual network.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
virtualNetwork:
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_DeleteResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_PatchResource (new)
Description Modify properties of virtual networks.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
virtualNetwork:
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_GetResource (new)
Description Get lab.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
lab:
{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_DeleteResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_PatchResource (new)
Description Modify properties of labs.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
lab:
{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_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
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
labVirtualMachine:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_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
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
generateUploadUriParameter:
{
blobName: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
uploadUri: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_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
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_ListBySubscription (removed)
Description List labs.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_ListByResourceGroup (removed)
Description List labs.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ArtifactSource_List (removed)
Description List artifact sources.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Artifact_List (removed)
Description List artifacts.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
title: string ,
description: string ,
filePath: string ,
icon: string ,
targetOsType: string ,
parameters: object ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Artifact_GetResource (removed)
Description Get artifact.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
title: string ,
description: string ,
filePath: string ,
icon: string ,
targetOsType: string ,
parameters: object ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Artifact_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
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
artifactSourceName: string ,
name: string ,
generateArmTemplateRequest:
{
virtualMachineName: string ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
location: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
template: object ,
parameters: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ArtifactSource_GetResource (removed)
Description Get artifact source.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ArtifactSource_DeleteResource (removed)
Description Delete artifact source.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ArtifactSource_PatchResource (removed)
Description Modify properties of artifact sources.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
artifactSource:
{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
uri: string ,
sourceType: enum ,
folderPath: string ,
branchRef: string ,
securityToken: string ,
status: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CostInsight_List (removed)
Description List cost insights.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
currencyCode: string ,
vmCosts:
[
{
name: string ,
resourceGroupName: string ,
cost: number ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CostInsight_GetResource (removed)
Description Get cost insight.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
currencyCode: string ,
vmCosts:
[
{
name: string ,
resourceGroupName: string ,
cost: number ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CostInsight_RefreshData (removed)
Description Refresh Lab's Cost Insight Data. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Cost_List (removed)
Description List costs.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
currencyCode: string ,
costs:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Cost_GetResource (removed)
Description Get cost.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
currencyCode: string ,
costs:
[
{
date: string ,
cost: number ,
costType: enum ,
}
,
]
,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Cost_RefreshData (removed)
Description Refresh Lab's Cost Data. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CustomImage_List (removed)
Description List custom images.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CustomImage_GetResource (removed)
Description Get custom image.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CustomImage_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
customImage:
{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
vm:
{
sourceVmId: string ,
sysPrep: boolean ,
windowsOsInfo:
{
windowsOsState: enum ,
}
,
linuxOsInfo:
{
linuxOsState: enum ,
}
,
}
,
vhd:
{
imageName: string ,
sysPrep: boolean ,
}
,
description: string ,
osType: enum ,
author: string ,
creationDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
CustomImage_DeleteResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Formula_List (removed)
Description List formulas.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Formula_GetResource (removed)
Description Get formula.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Formula_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
formula:
{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
description: string ,
author: string ,
osType: string ,
creationDate: string ,
formulaContent:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
vm:
{
labVmId: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Formula_DeleteResource (removed)
Description Delete formula.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
GalleryImage_List (removed)
Description List gallery images.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
$filter: string ,
$top: integer ,
$orderBy: string ,
api-version: 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 ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PolicySet_EvaluatePolicies (removed)
Description Evaluates Lab Policy.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_List (removed)
Description List policies.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_GetResource (removed)
Description Get policy.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
policy:
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_DeleteResource (removed)
Description Delete policy.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Policy_PatchResource (removed)
Description Modify properties of policies.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
policySetName: string ,
name: string ,
policy:
{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
status: enum ,
factName: enum ,
factData: string ,
threshold: string ,
evaluatorType: enum ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_List (removed)
Description List schedules.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_GetResource (removed)
Description Get schedule.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_DeleteResource (removed)
Description Delete schedule. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_PatchResource (removed)
Description Modify properties of schedules.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
schedule:
{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
taskType: enum ,
weeklyRecurrence:
{
weekdays:
[
string ,
]
,
time: string ,
}
,
dailyRecurrence:
{
time: string ,
}
,
hourlyRecurrence:
{
minute: integer ,
}
,
timeZoneId: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Schedule_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
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_List (removed)
Description List virtual machines.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_GetResource (removed)
Description Get virtual machine.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labVirtualMachine:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_DeleteResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_PatchResource (removed)
Description Modify properties of virtual machines.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
labVirtualMachine:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_ApplyArtifacts (removed)
Description Apply artifacts to Lab VM. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_Start (removed)
Description Start a Lab VM. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachine_Stop (removed)
Description Stop a Lab VM. This operation can take a while to complete.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_List (removed)
Description List virtual networks.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_GetResource (removed)
Description Get virtual network.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
virtualNetwork:
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_DeleteResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualNetwork_PatchResource (removed)
Description Modify properties of virtual networks.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
labName: string ,
name: string ,
virtualNetwork:
{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
allowedSubnets:
[
{
resourceId: string ,
labSubnetName: string ,
allowPublicIp: enum ,
}
,
]
,
description: string ,
externalProviderResourceId: string ,
subnetOverrides:
[
{
resourceId: string ,
labSubnetName: string ,
useInVmCreationPermission: enum ,
usePublicIpAddressPermission: enum ,
}
,
]
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_GetResource (removed)
Description Get lab.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_CreateOrUpdateResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
lab:
{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_DeleteResource (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}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_PatchResource (removed)
Description Modify properties of labs.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
lab:
{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
defaultStorageAccount: string ,
artifactsStorageAccount: string ,
storageAccounts:
[
string ,
]
,
vaultName: string ,
labStorageType: enum ,
defaultVirtualNetworkId: string ,
createdDate: string ,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_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
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
labVirtualMachine:
{
properties:
{
notes: string ,
ownerObjectId: string ,
createdByUserId: string ,
createdByUser: 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 ,
parameters:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
artifactDeploymentStatus:
{
deploymentStatus: string ,
artifactsApplied: integer ,
totalArtifacts: integer ,
}
,
galleryImageReference:
{
offer: string ,
publisher: string ,
sku: string ,
osType: string ,
version: string ,
}
,
provisioningState: string ,
}
,
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_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
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
generateUploadUriParameter:
{
blobName: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
uploadUri: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Lab_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
{
subscriptionId: string ,
resourceGroupName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}