public final class VirtualMachineScaleSetVMProfile extends Object
Constructor and Description |
---|
VirtualMachineScaleSetVMProfile() |
Modifier and Type | Method and Description |
---|---|
BillingProfile |
billingProfile()
Get the billingProfile property: Specifies the billing related details of a Azure Spot VMSS.
|
DiagnosticsProfile |
diagnosticsProfile()
Get the diagnosticsProfile property: Specifies the boot diagnostic settings state.
|
VirtualMachineEvictionPolicyTypes |
evictionPolicy()
Get the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
scale set.
|
VirtualMachineScaleSetExtensionProfile |
extensionProfile()
Get the extensionProfile property: Specifies a collection of settings for extensions installed on virtual
machines in the scale set.
|
String |
licenseType()
Get the licenseType property: Specifies that the image or disk that is being used was licensed on-premises.
|
VirtualMachineScaleSetNetworkProfile |
networkProfile()
Get the networkProfile property: Specifies properties of the network interfaces of the virtual machines in the
scale set.
|
VirtualMachineScaleSetOSProfile |
osProfile()
Get the osProfile property: Specifies the operating system settings for the virtual machines in the scale set.
|
VirtualMachinePriorityTypes |
priority()
Get the priority property: Specifies the priority for the virtual machines in the scale set.
|
ScheduledEventsProfile |
scheduledEventsProfile()
Get the scheduledEventsProfile property: Specifies Scheduled Event related configurations.
|
VirtualMachineScaleSetStorageProfile |
storageProfile()
Get the storageProfile property: Specifies the storage settings for the virtual machine disks.
|
void |
validate()
Validates the instance.
|
VirtualMachineScaleSetVMProfile |
withBillingProfile(BillingProfile billingProfile)
Set the billingProfile property: Specifies the billing related details of a Azure Spot VMSS.
|
VirtualMachineScaleSetVMProfile |
withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
Set the diagnosticsProfile property: Specifies the boot diagnostic settings state.
|
VirtualMachineScaleSetVMProfile |
withEvictionPolicy(VirtualMachineEvictionPolicyTypes evictionPolicy)
Set the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
scale set.
|
VirtualMachineScaleSetVMProfile |
withExtensionProfile(VirtualMachineScaleSetExtensionProfile extensionProfile)
Set the extensionProfile property: Specifies a collection of settings for extensions installed on virtual
machines in the scale set.
|
VirtualMachineScaleSetVMProfile |
withLicenseType(String licenseType)
Set the licenseType property: Specifies that the image or disk that is being used was licensed on-premises.
|
VirtualMachineScaleSetVMProfile |
withNetworkProfile(VirtualMachineScaleSetNetworkProfile networkProfile)
Set the networkProfile property: Specifies properties of the network interfaces of the virtual machines in the
scale set.
|
VirtualMachineScaleSetVMProfile |
withOsProfile(VirtualMachineScaleSetOSProfile osProfile)
Set the osProfile property: Specifies the operating system settings for the virtual machines in the scale set.
|
VirtualMachineScaleSetVMProfile |
withPriority(VirtualMachinePriorityTypes priority)
Set the priority property: Specifies the priority for the virtual machines in the scale set.
|
VirtualMachineScaleSetVMProfile |
withScheduledEventsProfile(ScheduledEventsProfile scheduledEventsProfile)
Set the scheduledEventsProfile property: Specifies Scheduled Event related configurations.
|
VirtualMachineScaleSetVMProfile |
withStorageProfile(VirtualMachineScaleSetStorageProfile storageProfile)
Set the storageProfile property: Specifies the storage settings for the virtual machine disks.
|
public VirtualMachineScaleSetOSProfile osProfile()
public VirtualMachineScaleSetVMProfile withOsProfile(VirtualMachineScaleSetOSProfile osProfile)
osProfile
- the osProfile value to set.public VirtualMachineScaleSetStorageProfile storageProfile()
public VirtualMachineScaleSetVMProfile withStorageProfile(VirtualMachineScaleSetStorageProfile storageProfile)
storageProfile
- the storageProfile value to set.public VirtualMachineScaleSetNetworkProfile networkProfile()
public VirtualMachineScaleSetVMProfile withNetworkProfile(VirtualMachineScaleSetNetworkProfile networkProfile)
networkProfile
- the networkProfile value to set.public DiagnosticsProfile diagnosticsProfile()
public VirtualMachineScaleSetVMProfile withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
diagnosticsProfile
- the diagnosticsProfile value to set.public VirtualMachineScaleSetExtensionProfile extensionProfile()
public VirtualMachineScaleSetVMProfile withExtensionProfile(VirtualMachineScaleSetExtensionProfile extensionProfile)
extensionProfile
- the extensionProfile value to set.public String licenseType()
public VirtualMachineScaleSetVMProfile withLicenseType(String licenseType)
licenseType
- the licenseType value to set.public VirtualMachinePriorityTypes priority()
public VirtualMachineScaleSetVMProfile withPriority(VirtualMachinePriorityTypes priority)
priority
- the priority value to set.public VirtualMachineEvictionPolicyTypes evictionPolicy()
public VirtualMachineScaleSetVMProfile withEvictionPolicy(VirtualMachineEvictionPolicyTypes evictionPolicy)
evictionPolicy
- the evictionPolicy value to set.public BillingProfile billingProfile()
public VirtualMachineScaleSetVMProfile withBillingProfile(BillingProfile billingProfile)
billingProfile
- the billingProfile value to set.public ScheduledEventsProfile scheduledEventsProfile()
public VirtualMachineScaleSetVMProfile withScheduledEventsProfile(ScheduledEventsProfile scheduledEventsProfile)
scheduledEventsProfile
- the scheduledEventsProfile value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.