Microsoft.VirtualMachineImages (stable:2022-02-14)

2025/09/26 • 11 new, 11 deleted methods

VirtualMachineImageTemplates_List (new)
Description Gets information about the VM image templates associated with the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.VirtualMachineImages/imageTemplates
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_ListByResourceGroup (new)
Description Gets information about the VM image templates associated with the specified resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_CreateOrUpdate (new)
Description Create or update a virtual machine image template
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
{
parameters:
{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Update (new)
Description Update the tags for this Virtual Machine Image Template
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
{
parameters:
{
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
}
,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Get (new)
Description Get information about a virtual machine image template
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Delete (new)
Description Delete a virtual machine image template
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Run (new)
Description Create artifacts from a existing image template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/run
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Cancel (new)
Description Cancel the long running image build based on the image template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/cancel
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_ListRunOutputs (new)
Description List all run outputs for the specified Image Template resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
artifactId: string ,
artifactUri: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_GetRunOutput (new)
Description Get the specified run output for the specified image template resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs/{runOutputName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
runOutputName: string ,
}

⚐ Response (200)

{
properties:
{
artifactId: string ,
artifactUri: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (new)
Description Lists available operations for the Microsoft.VirtualMachineImages provider
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_List (removed)
Description Gets information about the VM image templates associated with the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.VirtualMachineImages/imageTemplates
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_ListByResourceGroup (removed)
Description Gets information about the VM image templates associated with the specified resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_CreateOrUpdate (removed)
Description Create or update a virtual machine image template
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
{
parameters:
{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Update (removed)
Description Update the tags for this Virtual Machine Image Template
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
{
parameters:
{
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
}
,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Get (removed)
Description Get information about a virtual machine image template
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{
properties:
{
source:
{
type: string ,
}
,
customize:
[
{
type: string ,
name: string ,
}
,
]
,
validate:
{
continueDistributeOnFailure: boolean ,
sourceValidationOnly: boolean ,
inVMValidations:
[
{
type: string ,
name: string ,
}
,
]
,
}
,
distribute:
[
{
type: string ,
runOutputName: string ,
artifactTags: object ,
}
,
]
,
provisioningState: enum ,
provisioningError:
{
provisioningErrorCode: enum ,
message: string ,
}
,
lastRunStatus:
{
startTime: string ,
endTime: string ,
runState: enum ,
runSubState: enum ,
message: string ,
}
,
buildTimeoutInMinutes: integer ,
vmProfile:
{
vmSize: string ,
osDiskSizeGB: integer ,
userAssignedIdentities:
[
string ,
]
,
vnetConfig:
{
subnetId: string ,
proxyVmSize: string ,
}
,
}
,
stagingResourceGroup: string ,
exactStagingResourceGroup: string ,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Delete (removed)
Description Delete a virtual machine image template
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Run (removed)
Description Create artifacts from a existing image template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/run
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_Cancel (removed)
Description Cancel the long running image build based on the image template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/cancel
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_ListRunOutputs (removed)
Description List all run outputs for the specified Image Template resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
artifactId: string ,
artifactUri: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
VirtualMachineImageTemplates_GetRunOutput (removed)
Description Get the specified run output for the specified image template resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs/{runOutputName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageTemplateName: string ,
runOutputName: string ,
}

⚐ Response (200)

{
properties:
{
artifactId: string ,
artifactUri: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (removed)
Description Lists available operations for the Microsoft.VirtualMachineImages provider
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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