v8

latestSwagger 2.0raw.githubusercontent.com2023-06-05132207357.5 KB
Artifacts

Generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}/generateArmTemplate

Path parameters

subscriptionIdstring required

The subscription ID.

resourceGroupNamestring required

The name of the resource group.

labNamestring required

The name of the lab.

artifactSourceNamestring required

The name of the artifact source.

namestring required

The name of the artifact.

Query parameters

api-versionstring required

Client API version.

Request body

virtualMachineNamestring

The resource name of the virtual machine.

locationstring

The location of the virtual machine.

fileUploadOptions'UploadFilesAndGenerateSasTokens' | 'None'

Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.

Response

OK

templateobject

The template's contents.

parametersobject

The parameters of the ARM template.