public class VirtualMachineUpdateInner extends UpdateResource
Constructor and Description |
---|
VirtualMachineUpdateInner() |
Modifier and Type | Method and Description |
---|---|
AdditionalCapabilities |
additionalCapabilities()
Get the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the virtual
machine.
|
com.azure.core.management.SubResource |
availabilitySet()
Get the availabilitySet property: Specifies information about the availability set that the virtual machine
should be assigned to.
|
BillingProfile |
billingProfile()
Get the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine.
|
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.
|
HardwareProfile |
hardwareProfile()
Get the hardwareProfile property: Specifies the hardware settings for the virtual machine.
|
com.azure.core.management.SubResource |
host()
Get the host property: Specifies information about the dedicated host that the virtual machine resides in.
|
VirtualMachineIdentity |
identity()
Get the identity property: The identity of the virtual machine, if configured.
|
VirtualMachineInstanceViewInner |
instanceView()
Get the instanceView property: The virtual machine instance view.
|
String |
licenseType()
Get the licenseType property: Specifies that the image or disk that is being used was licensed on-premises.
|
NetworkProfile |
networkProfile()
Get the networkProfile property: Specifies the network interfaces of the virtual machine.
|
OSProfile |
osProfile()
Get the osProfile property: Specifies the operating system settings used while creating the virtual machine.
|
Plan |
plan()
Get the plan property: Specifies information about the marketplace image used to create the virtual machine.
|
VirtualMachinePriorityTypes |
priority()
Get the priority property: Specifies the priority for the virtual machine.
|
String |
provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
|
com.azure.core.management.SubResource |
proximityPlacementGroup()
Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
virtual machine should be assigned to.
|
StorageProfile |
storageProfile()
Get the storageProfile property: Specifies the storage settings for the virtual machine disks.
|
void |
validate()
Validates the instance.
|
com.azure.core.management.SubResource |
virtualMachineScaleSet()
Get the virtualMachineScaleSet property: Specifies information about the virtual machine scale set that the
virtual machine should be assigned to.
|
String |
vmId()
Get the vmId property: Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in
all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
|
VirtualMachineUpdateInner |
withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
Set the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the virtual
machine.
|
VirtualMachineUpdateInner |
withAvailabilitySet(com.azure.core.management.SubResource availabilitySet)
Set the availabilitySet property: Specifies information about the availability set that the virtual machine
should be assigned to.
|
VirtualMachineUpdateInner |
withBillingProfile(BillingProfile billingProfile)
Set the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine.
|
VirtualMachineUpdateInner |
withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
Set the diagnosticsProfile property: Specifies the boot diagnostic settings state.
|
VirtualMachineUpdateInner |
withEvictionPolicy(VirtualMachineEvictionPolicyTypes evictionPolicy)
Set the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
scale set.
|
VirtualMachineUpdateInner |
withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Specifies the hardware settings for the virtual machine.
|
VirtualMachineUpdateInner |
withHost(com.azure.core.management.SubResource host)
Set the host property: Specifies information about the dedicated host that the virtual machine resides in.
|
VirtualMachineUpdateInner |
withIdentity(VirtualMachineIdentity identity)
Set the identity property: The identity of the virtual machine, if configured.
|
VirtualMachineUpdateInner |
withLicenseType(String licenseType)
Set the licenseType property: Specifies that the image or disk that is being used was licensed on-premises.
|
VirtualMachineUpdateInner |
withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Specifies the network interfaces of the virtual machine.
|
VirtualMachineUpdateInner |
withOsProfile(OSProfile osProfile)
Set the osProfile property: Specifies the operating system settings used while creating the virtual machine.
|
VirtualMachineUpdateInner |
withPlan(Plan plan)
Set the plan property: Specifies information about the marketplace image used to create the virtual machine.
|
VirtualMachineUpdateInner |
withPriority(VirtualMachinePriorityTypes priority)
Set the priority property: Specifies the priority for the virtual machine.
|
VirtualMachineUpdateInner |
withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup)
Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
virtual machine should be assigned to.
|
VirtualMachineUpdateInner |
withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Specifies the storage settings for the virtual machine disks.
|
VirtualMachineUpdateInner |
withVirtualMachineScaleSet(com.azure.core.management.SubResource virtualMachineScaleSet)
Set the virtualMachineScaleSet property: Specifies information about the virtual machine scale set that the
virtual machine should be assigned to.
|
VirtualMachineUpdateInner |
withZones(List<String> zones)
Set the zones property: The virtual machine zones.
|
List<String> |
zones()
Get the zones property: The virtual machine zones.
|
tags, withTags
public Plan plan()
public VirtualMachineUpdateInner withPlan(Plan plan)
plan
- the plan value to set.public VirtualMachineIdentity identity()
public VirtualMachineUpdateInner withIdentity(VirtualMachineIdentity identity)
identity
- the identity value to set.public List<String> zones()
public VirtualMachineUpdateInner withZones(List<String> zones)
zones
- the zones value to set.public HardwareProfile hardwareProfile()
public VirtualMachineUpdateInner withHardwareProfile(HardwareProfile hardwareProfile)
hardwareProfile
- the hardwareProfile value to set.public StorageProfile storageProfile()
public VirtualMachineUpdateInner withStorageProfile(StorageProfile storageProfile)
storageProfile
- the storageProfile value to set.public AdditionalCapabilities additionalCapabilities()
public VirtualMachineUpdateInner withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
additionalCapabilities
- the additionalCapabilities value to set.public OSProfile osProfile()
public VirtualMachineUpdateInner withOsProfile(OSProfile osProfile)
osProfile
- the osProfile value to set.public NetworkProfile networkProfile()
public VirtualMachineUpdateInner withNetworkProfile(NetworkProfile networkProfile)
networkProfile
- the networkProfile value to set.public DiagnosticsProfile diagnosticsProfile()
public VirtualMachineUpdateInner withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
diagnosticsProfile
- the diagnosticsProfile value to set.public com.azure.core.management.SubResource availabilitySet()
public VirtualMachineUpdateInner withAvailabilitySet(com.azure.core.management.SubResource availabilitySet)
availabilitySet
- the availabilitySet value to set.public com.azure.core.management.SubResource virtualMachineScaleSet()
public VirtualMachineUpdateInner withVirtualMachineScaleSet(com.azure.core.management.SubResource virtualMachineScaleSet)
virtualMachineScaleSet
- the virtualMachineScaleSet value to set.public com.azure.core.management.SubResource proximityPlacementGroup()
public VirtualMachineUpdateInner withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup)
proximityPlacementGroup
- the proximityPlacementGroup value to set.public VirtualMachinePriorityTypes priority()
public VirtualMachineUpdateInner withPriority(VirtualMachinePriorityTypes priority)
priority
- the priority value to set.public VirtualMachineEvictionPolicyTypes evictionPolicy()
public VirtualMachineUpdateInner withEvictionPolicy(VirtualMachineEvictionPolicyTypes evictionPolicy)
evictionPolicy
- the evictionPolicy value to set.public BillingProfile billingProfile()
public VirtualMachineUpdateInner withBillingProfile(BillingProfile billingProfile)
billingProfile
- the billingProfile value to set.public com.azure.core.management.SubResource host()
public VirtualMachineUpdateInner withHost(com.azure.core.management.SubResource host)
host
- the host value to set.public String provisioningState()
public VirtualMachineInstanceViewInner instanceView()
public String licenseType()
public VirtualMachineUpdateInner withLicenseType(String licenseType)
licenseType
- the licenseType value to set.public String vmId()
public void validate()
validate
in class UpdateResource
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.