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
,
}
optimize:
{
,
vmBoot:
}
{
,
state:
enum
,
}
validate:
{
,
continueDistributeOnFailure:
boolean
,
sourceValidationOnly:
boolean
,
inVMValidations:
}
[
]
,
{
,
type:
string
,
name:
string
,
}
distribute:
[
]
,
{
,
type:
string
,
runOutputName:
string
,
artifactTags:
object
,
}
errorHandling:
{
,
onCustomizerError:
enum
,
onValidationError:
enum
,
}
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:
[
]
,
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}