VirtualMachineCreateParameters Class

Definition

Parameters supplied to the Create Virtual Machine operation.

public class VirtualMachineCreateParameters
type VirtualMachineCreateParameters = class
Public Class VirtualMachineCreateParameters
Inheritance
VirtualMachineCreateParameters

Constructors

VirtualMachineCreateParameters()

Initializes a new instance of the VirtualMachineCreateParameters class.

VirtualMachineCreateParameters(String)

Initializes a new instance of the VirtualMachineCreateParameters class with required arguments.

Properties

AvailabilitySetName

Optional. Specifies the name of an availability set to which to add the virtual machine. This value controls the virtual machine allocation in the Azure environment. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability.

ConfigurationSets

Optional. Contains the collection of configuration sets that contain system and application configuration settings.

DataVirtualHardDisks

Optional. Contains the parameters Azure used to create the data disk for the virtual machine.

DebugSettings

Optional. Debug settings for console output.

LicenseType

Optional. Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. Possible values are: Windows_Client, Windows_Server

MediaLocation

Optional. Location where VMImage VHDs should be copied, for published VMImages.

OSVirtualHardDisk

Optional. Contains the parameters Azure used to create the operating system disk for the virtual machine.

ProvisionGuestAgent

Optional. Indicates whether the WindowsAzureGuestAgent service is installed on the Virtual Machine. To run a resource extension in a Virtual Machine, this service must be installed.

ResourceExtensionReferences

Optional. Contains a collection of resource extensions that are to be installed on the Virtual Machine. This element is used if ProvisionGuestAgent is set to true.

RoleName

Required. Specifies the name for the virtual machine. The name must be unique within the deployment.

RoleSize

Optional. The size of the virtual machine.

VMImageInput

Optional. When a VM Image is used to create a new PersistantVMRole, the DiskConfigurations in the VM Image are used to create new Disks for the new VM. This parameter can be used to resize the newly created Disks to a larger size than the underlying DiskConfigurations in the VM Image.This property is only returned with a version header of 2014-10-01 or newer.

VMImageName

Optional. Name of the VMImage from which this Role is to be created. If the OSDisk in the VMImage was Specialized, then no WindowsProvisioningConfigurationSet or LinuxProvisioningConfigurationSet should be provided. No OSVirtualHardDisk or DataVirtualHardDisk should be specified when using this argument.

Applies to