GetVirtualMachineImageTemplateResult

data class GetVirtualMachineImageTemplateResult(val buildTimeoutInMinutes: Int? = null, val customize: List<Any>? = null, val distribute: List<Any>, val exactStagingResourceGroup: String, val id: String, val identity: ImageTemplateIdentityResponse, val lastRunStatus: ImageTemplateLastRunStatusResponse, val location: String, val name: String, val optimize: ImageTemplatePropertiesResponseOptimize? = null, val provisioningError: ProvisioningErrorResponse, val provisioningState: String, val source: Any, val stagingResourceGroup: String? = null, val systemData: SystemDataResponse, val tags: Map<String, String>? = null, val type: String, val validate: ImageTemplatePropertiesResponseValidate? = null, val vmProfile: ImageTemplateVmProfileResponse? = null)

Image template is an ARM resource managed by Microsoft.VirtualMachineImages provider

Constructors

Link copied to clipboard
constructor(buildTimeoutInMinutes: Int? = null, customize: List<Any>? = null, distribute: List<Any>, exactStagingResourceGroup: String, id: String, identity: ImageTemplateIdentityResponse, lastRunStatus: ImageTemplateLastRunStatusResponse, location: String, name: String, optimize: ImageTemplatePropertiesResponseOptimize? = null, provisioningError: ProvisioningErrorResponse, provisioningState: String, source: Any, stagingResourceGroup: String? = null, systemData: SystemDataResponse, tags: Map<String, String>? = null, type: String, validate: ImageTemplatePropertiesResponseValidate? = null, vmProfile: ImageTemplateVmProfileResponse? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Maximum duration to wait while building the image template (includes all customizations, optimization, validations, and distributions). Omit or specify 0 to use the default (4 hours).

Link copied to clipboard
val customize: List<Any>? = null

Specifies the properties used to describe the customization steps of the image, like Image source etc

Link copied to clipboard

The distribution targets where the image output needs to go to.

Link copied to clipboard

The staging resource group id in the same subscription as the image template that will be used to build the image. This read-only field differs from 'stagingResourceGroup' only if the value specified in the 'stagingResourceGroup' field is empty.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard

The identity of the image template, if configured.

Link copied to clipboard

State of 'run' that is currently executing or was last executed.

Link copied to clipboard

The geo-location where the resource lives

Link copied to clipboard

The name of the resource

Link copied to clipboard

Specifies optimization to be performed on image.

Link copied to clipboard

Provisioning error, if any

Link copied to clipboard

Provisioning state of the resource

Link copied to clipboard
val source: Any

Specifies the properties used to describe the source image.

Link copied to clipboard

The staging resource group id in the same subscription as the image template that will be used to build the image. If this field is empty, a resource group with a random name will be created. If the resource group specified in this field doesn't exist, it will be created with the same name. If the resource group specified exists, it must be empty and in the same region as the image template. The resource group created will be deleted during template deletion if this field is empty or the resource group specified doesn't exist, but if the resource group specified exists the resources created in the resource group will be deleted during template deletion and the resource group itself will remain.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard

Configuration options and list of validations to be performed on the resulting image.

Link copied to clipboard

Describes how virtual machine is set up to build images