VirtualMachineConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the virtual machine configuration.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.VirtualMachineConfigurationTypeConverter))]
public class VirtualMachineConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IVirtualMachineConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.VirtualMachineConfigurationTypeConverter))>]
type VirtualMachineConfiguration = class
interface IVirtualMachineConfiguration
interface IJsonSerializable
Public Class VirtualMachineConfiguration
Implements IVirtualMachineConfiguration
- Inheritance
-
VirtualMachineConfiguration
- Attributes
- Implements
Constructors
VirtualMachineConfiguration() |
Creates an new VirtualMachineConfiguration instance. |
Properties
ImageReferenceId |
Specifies the ARM resource ID of the Azure Compute Gallery image version used for creating ACSS VMs. You will need to provide this input when you choose to deploy virtual machines in ACSS with OS image from the Azure Compute gallery. |
ImageReferenceOffer |
Specifies the offer of the platform image or marketplace image used to create the virtual machine. |
ImageReferencePublisher |
The image publisher. |
ImageReferenceSku |
The image SKU. |
ImageReferenceVersion |
Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. |
OSConfigurationOstype |
The OS Type |
OSProfileAdminPassword | |
OSProfileAdminUsername | |
VMSize |
The virtual machine size. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of VirtualMachineConfiguration. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of VirtualMachineConfiguration. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IVirtualMachineConfiguration. |
FromJsonString(String) |
Creates a new instance of VirtualMachineConfiguration, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of VirtualMachineConfiguration into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |