This document describes VM properties, configurable in the VM definition file
Specifies VM name.
- Path:
properties/vmProfiles[]/name
- Value: string (follows the rules of underlying OS)
Specifies the type of the OS.
- Path:
properties/vmProfiles[]/osType
- Values:
Linux
Windows
The credentials and the image details of the OS deployment are specified in properties/linuxProfile
and properties/windowsProfile
respectively.
Specifies OS disk characteristics.
- Path:
properties/vmProfiles[]/osDiskType
- Values:
Premium_LRS
- Premium SSDStandardSSD_LRS
- Standard SSDStandard_LRS
- Standard HDD
Specifies VM compute characteristics
- Path:
properties/vmProfiles[]/vmSize
- Values:
Standard_DC2s
Standard_DC4s
Refer to the VM sizes in Azure for more details.
Specifies sizes of attached data disks.
- Path:
properties/vmProfiles[]/diskSizesGB
- Values: comma-separated array of disk sizes in GB
Specifies open ports in the Network Security Group (NSG)
- Path:
properties/vmProfiles[]/ports
- Value: comma-separated array of port numbers
Indicates whether Open Enclave SDK and its dependencies should be installed or not.
- Path:
properties/vmProfiles[]/isVanilla
- Values: boolean
true
- a vanilla VM. Open Enclave SDK will not be installedfalse
- not a vanilla VM. Open Enclave SDK will be installed and verified
Indicates whether the VM has DNS name configured to <vmName>.<region>.cloudapp.azure.com
- Path:
properties/vmProfiles[]/hasDNSName
- Values: boolean
true
- the VM has DNS namefalse
- the VM doesn't have DNS name
If at least one of the VMs runs Linux, linuxProfile
must be present and contain admin user name and password or public SSH key.
Multiple public keys are supported.
Setting both the password and the public key(s) is not allowed.
-
Path:
properties/linuxProfile/adminUsername
-
Value: string
-
Path:
properties/linuxProfile/adminPassword
-
Value: string
-
Path:
properties/linuxProfile/sshPublicKeys[]/keyData
-
Value: public SSH key
The public SSH key(s) could also be set from the command line using --ssh-public-key
argument.
oe-engine generate oe-vm.json --ssh-public-key .ssh/id_rsa1.pub --ssh-public-key .ssh/id_rsa2.pub
If at least one of the VMs runs Windows, windowsProfile
must be present and contain admin user name and password.
-
Path:
properties/windowsProfile/adminUsername
-
Value: string
-
Path:
properties/windowsProfile/adminPassword
-
Value: string
OS images can be either fetched from the Azure Image Gallery, or downloaded from the Internet. The OS image settings equally apply to both Linux and Windows VMs.
To get the image from the Azure Image Gallery, one must provide image publisher
, offer
, SKU
, and optionally the version
.
-
Path:
properties/{linux|windows}Profile/osImage/publisher
-
Value: string
-
Path:
properties/{linux|windows}Profile/osImage/offer
-
Value: string
-
Path:
properties/{linux|windows}Profile/osImage/sku
-
Value: string
-
Path:
properties/{linux|windows}Profile/osImage/version
-
Value: string
Alternatively, you can specify image source URL.
- Path:
properties/{linux|windows}Profile/osImage/url
- Value: string