Delen via


VirtualMachineScaleSetVMProfile Constructors

Definition

Overloads

VirtualMachineScaleSetVMProfile()

Initializes a new instance of the VirtualMachineScaleSetVMProfile class.

VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile, VirtualMachineScaleSetStorageProfile, VirtualMachineScaleSetNetworkProfile, SecurityProfile, DiagnosticsProfile, VirtualMachineScaleSetExtensionProfile, String, String, String, BillingProfile, ScheduledEventsProfile, String, CapacityReservationProfile, ApplicationProfile, VirtualMachineScaleSetHardwareProfile, ServiceArtifactReference, SecurityPostureReference)

Initializes a new instance of the VirtualMachineScaleSetVMProfile class.

VirtualMachineScaleSetVMProfile()

Initializes a new instance of the VirtualMachineScaleSetVMProfile class.

public VirtualMachineScaleSetVMProfile ();
Public Sub New ()

Applies to

VirtualMachineScaleSetVMProfile(VirtualMachineScaleSetOSProfile, VirtualMachineScaleSetStorageProfile, VirtualMachineScaleSetNetworkProfile, SecurityProfile, DiagnosticsProfile, VirtualMachineScaleSetExtensionProfile, String, String, String, BillingProfile, ScheduledEventsProfile, String, CapacityReservationProfile, ApplicationProfile, VirtualMachineScaleSetHardwareProfile, ServiceArtifactReference, SecurityPostureReference)

Initializes a new instance of the VirtualMachineScaleSetVMProfile class.

public VirtualMachineScaleSetVMProfile (Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetOSProfile osProfile = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetStorageProfile storageProfile = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkProfile networkProfile = default, Microsoft.Azure.Management.Compute.Models.SecurityProfile securityProfile = default, Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile diagnosticsProfile = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetExtensionProfile extensionProfile = default, string licenseType = default, string priority = default, string evictionPolicy = default, Microsoft.Azure.Management.Compute.Models.BillingProfile billingProfile = default, Microsoft.Azure.Management.Compute.Models.ScheduledEventsProfile scheduledEventsProfile = default, string userData = default, Microsoft.Azure.Management.Compute.Models.CapacityReservationProfile capacityReservation = default, Microsoft.Azure.Management.Compute.Models.ApplicationProfile applicationProfile = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetHardwareProfile hardwareProfile = default, Microsoft.Azure.Management.Compute.Models.ServiceArtifactReference serviceArtifactReference = default, Microsoft.Azure.Management.Compute.Models.SecurityPostureReference securityPostureReference = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMProfile : Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetOSProfile * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetStorageProfile * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetNetworkProfile * Microsoft.Azure.Management.Compute.Models.SecurityProfile * Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetExtensionProfile * string * string * string * Microsoft.Azure.Management.Compute.Models.BillingProfile * Microsoft.Azure.Management.Compute.Models.ScheduledEventsProfile * string * Microsoft.Azure.Management.Compute.Models.CapacityReservationProfile * Microsoft.Azure.Management.Compute.Models.ApplicationProfile * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetHardwareProfile * Microsoft.Azure.Management.Compute.Models.ServiceArtifactReference * Microsoft.Azure.Management.Compute.Models.SecurityPostureReference -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVMProfile
Public Sub New (Optional osProfile As VirtualMachineScaleSetOSProfile = Nothing, Optional storageProfile As VirtualMachineScaleSetStorageProfile = Nothing, Optional networkProfile As VirtualMachineScaleSetNetworkProfile = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional diagnosticsProfile As DiagnosticsProfile = Nothing, Optional extensionProfile As VirtualMachineScaleSetExtensionProfile = Nothing, Optional licenseType As String = Nothing, Optional priority As String = Nothing, Optional evictionPolicy As String = Nothing, Optional billingProfile As BillingProfile = Nothing, Optional scheduledEventsProfile As ScheduledEventsProfile = Nothing, Optional userData As String = Nothing, Optional capacityReservation As CapacityReservationProfile = Nothing, Optional applicationProfile As ApplicationProfile = Nothing, Optional hardwareProfile As VirtualMachineScaleSetHardwareProfile = Nothing, Optional serviceArtifactReference As ServiceArtifactReference = Nothing, Optional securityPostureReference As SecurityPostureReference = Nothing)

Parameters

osProfile
VirtualMachineScaleSetOSProfile

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

storageProfile
VirtualMachineScaleSetStorageProfile

Specifies the storage settings for the virtual machine disks.

networkProfile
VirtualMachineScaleSetNetworkProfile

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

securityProfile
SecurityProfile

Specifies the Security related profile settings for the virtual machines in the scale set.

diagnosticsProfile
DiagnosticsProfile

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

extensionProfile
VirtualMachineScaleSetExtensionProfile

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

licenseType
String

Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Azure Hybrid Use Benefit for Linux Server <br><br> Minimum api-version: 2015-06-15

priority
String

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

evictionPolicy
String

Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'

billingProfile
BillingProfile

Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.

scheduledEventsProfile
ScheduledEventsProfile

Specifies Scheduled Event related configurations.

userData
String

UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.

capacityReservation
CapacityReservationProfile

Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.

applicationProfile
ApplicationProfile

Specifies the gallery applications that should be made available to the VM/VMSS

hardwareProfile
VirtualMachineScaleSetHardwareProfile

Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.

serviceArtifactReference
ServiceArtifactReference

Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01

securityPostureReference
SecurityPostureReference

Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01

Applies to