Show / Hide Table of Contents

    Class VirtualMachineScaleSetVMProfile

    Describes a virtual machine scale set virtual machine profile.

    Inheritance
    Object
    VirtualMachineScaleSetVMProfile
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class VirtualMachineScaleSetVMProfile

    Constructors

    VirtualMachineScaleSetVMProfile()

    Initializes a new instance of the VirtualMachineScaleSetVMProfile class.

    Declaration
    public VirtualMachineScaleSetVMProfile ();

    VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile, VirtualMachineScaleSetStorageProfile, VirtualMachineScaleSetNetworkProfile, DiagnosticsProfile, VirtualMachineScaleSetExtensionProfile, String, String, String, BillingProfile, ScheduledEventsProfile)

    Initializes a new instance of the VirtualMachineScaleSetVMProfile class.

    Declaration
    public VirtualMachineScaleSetVMProfile (Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetOSProfile osProfile = null, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetStorageProfile storageProfile = null, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkProfile networkProfile = null, Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile diagnosticsProfile = null, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetExtensionProfile extensionProfile = null, string licenseType = null, string priority = null, string evictionPolicy = null, Microsoft.Azure.Management.Compute.Models.BillingProfile billingProfile = null, Microsoft.Azure.Management.Compute.Models.ScheduledEventsProfile scheduledEventsProfile = null);
    Parameters
    VirtualMachineScaleSetOSProfile osProfile

    Specifies the operating system settings for the virtual machines in the scale set.

    VirtualMachineScaleSetStorageProfile storageProfile

    Specifies the storage settings for the virtual machine disks.

    VirtualMachineScaleSetNetworkProfile networkProfile

    Specifies properties of the network interfaces of the virtual machines in the scale set.

    DiagnosticsProfile diagnosticsProfile

    Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.

    VirtualMachineScaleSetExtensionProfile extensionProfile

    Specifies a collection of settings for extensions installed on virtual machines in the scale set.

    String licenseType

    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. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Minimum api-version: 2015-06-15

    String priority

    Specifies the priority for the virtual machines in the scale set. <br><br>Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'

    String evictionPolicy

    Specifies the eviction policy for virtual machines in a low priority scale set. <br><br>Minimum api-version: 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'

    BillingProfile billingProfile

    Specifies the billing related details of a low priority VMSS. <br><br>Minimum api-version: 2019-03-01.

    ScheduledEventsProfile scheduledEventsProfile

    Specifies Scheduled Event related configurations.

    Properties

    BillingProfile

    Gets or sets specifies the billing related details of a low priority VMSS. &lt;br&gt;&lt;br&gt;Minimum api-version: 2019-03-01.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="billingProfile")]
    public Microsoft.Azure.Management.Compute.Models.BillingProfile BillingProfile { get; set; }
    Property Value
    BillingProfile

    DiagnosticsProfile

    Gets or sets specifies the boot diagnostic settings state. &lt;br&gt;&lt;br&gt;Minimum api-version: 2015-06-15.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="diagnosticsProfile")]
    public Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile DiagnosticsProfile { get; set; }
    Property Value
    DiagnosticsProfile

    EvictionPolicy

    Gets or sets specifies the eviction policy for virtual machines in a low priority scale set. &lt;br&gt;&lt;br&gt;Minimum api-version: 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="evictionPolicy")]
    public string EvictionPolicy { get; set; }
    Property Value
    String

    ExtensionProfile

    Gets or sets specifies a collection of settings for extensions installed on virtual machines in the scale set.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="extensionProfile")]
    public Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetExtensionProfile ExtensionProfile { get; set; }
    Property Value
    VirtualMachineScaleSetExtensionProfile

    LicenseType

    Gets or sets 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. &lt;br&gt;&lt;br&gt; Possible values are: &lt;br&gt;&lt;br&gt; Windows_Client &lt;br&gt;&lt;br&gt; Windows_Server &lt;br&gt;&lt;br&gt; If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. &lt;br&gt;&lt;br&gt; For more information, see Azure Hybrid Use Benefit for Windows Server &lt;br&gt;&lt;br&gt; Minimum api-version: 2015-06-15

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="licenseType")]
    public string LicenseType { get; set; }
    Property Value
    String

    NetworkProfile

    Gets or sets specifies properties of the network interfaces of the virtual machines in the scale set.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="networkProfile")]
    public Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkProfile NetworkProfile { get; set; }
    Property Value
    VirtualMachineScaleSetNetworkProfile

    OsProfile

    Gets or sets specifies the operating system settings for the virtual machines in the scale set.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="osProfile")]
    public Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetOSProfile OsProfile { get; set; }
    Property Value
    VirtualMachineScaleSetOSProfile

    Priority

    Gets or sets specifies the priority for the virtual machines in the scale set. &lt;br&gt;&lt;br&gt;Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="priority")]
    public string Priority { get; set; }
    Property Value
    String

    ScheduledEventsProfile

    Gets or sets specifies Scheduled Event related configurations.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="scheduledEventsProfile")]
    public Microsoft.Azure.Management.Compute.Models.ScheduledEventsProfile ScheduledEventsProfile { get; set; }
    Property Value
    ScheduledEventsProfile

    StorageProfile

    Gets or sets specifies the storage settings for the virtual machine disks.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="storageProfile")]
    public Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetStorageProfile StorageProfile { get; set; }
    Property Value
    VirtualMachineScaleSetStorageProfile

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net