public class VirtualMachineInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
VirtualMachineInner() |
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.
|
List<VirtualMachineExtensionInner> |
resources()
Get the resources property: The virtual machine child extension resources.
|
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.
|
VirtualMachineInner |
withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
Set the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the virtual
machine.
|
VirtualMachineInner |
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.
|
VirtualMachineInner |
withBillingProfile(BillingProfile billingProfile)
Set the billingProfile property: Specifies the billing related details of a Azure Spot virtual machine.
|
VirtualMachineInner |
withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
Set the diagnosticsProfile property: Specifies the boot diagnostic settings state.
|
VirtualMachineInner |
withEvictionPolicy(VirtualMachineEvictionPolicyTypes evictionPolicy)
Set the evictionPolicy property: Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot
scale set.
|
VirtualMachineInner |
withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Specifies the hardware settings for the virtual machine.
|
VirtualMachineInner |
withHost(com.azure.core.management.SubResource host)
Set the host property: Specifies information about the dedicated host that the virtual machine resides in.
|
VirtualMachineInner |
withIdentity(VirtualMachineIdentity identity)
Set the identity property: The identity of the virtual machine, if configured.
|
VirtualMachineInner |
withLicenseType(String licenseType)
Set the licenseType property: Specifies that the image or disk that is being used was licensed on-premises.
|
VirtualMachineInner |
withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Specifies the network interfaces of the virtual machine.
|
VirtualMachineInner |
withOsProfile(OSProfile osProfile)
Set the osProfile property: Specifies the operating system settings used while creating the virtual machine.
|
VirtualMachineInner |
withPlan(Plan plan)
Set the plan property: Specifies information about the marketplace image used to create the virtual machine.
|
VirtualMachineInner |
withPriority(VirtualMachinePriorityTypes priority)
Set the priority property: Specifies the priority for the virtual machine.
|
VirtualMachineInner |
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.
|
VirtualMachineInner |
withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Specifies the storage settings for the virtual machine disks.
|
VirtualMachineInner |
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.
|
VirtualMachineInner |
withZones(List<String> zones)
Set the zones property: The virtual machine zones.
|
List<String> |
zones()
Get the zones property: The virtual machine zones.
|
public Plan plan()
public VirtualMachineInner withPlan(Plan plan)
plan
- the plan value to set.public List<VirtualMachineExtensionInner> resources()
public VirtualMachineIdentity identity()
public VirtualMachineInner withIdentity(VirtualMachineIdentity identity)
identity
- the identity value to set.public List<String> zones()
public VirtualMachineInner withZones(List<String> zones)
zones
- the zones value to set.public HardwareProfile hardwareProfile()
public VirtualMachineInner withHardwareProfile(HardwareProfile hardwareProfile)
hardwareProfile
- the hardwareProfile value to set.public StorageProfile storageProfile()
public VirtualMachineInner withStorageProfile(StorageProfile storageProfile)
storageProfile
- the storageProfile value to set.public AdditionalCapabilities additionalCapabilities()
public VirtualMachineInner withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
additionalCapabilities
- the additionalCapabilities value to set.public OSProfile osProfile()
public VirtualMachineInner withOsProfile(OSProfile osProfile)
osProfile
- the osProfile value to set.public NetworkProfile networkProfile()
public VirtualMachineInner withNetworkProfile(NetworkProfile networkProfile)
networkProfile
- the networkProfile value to set.public DiagnosticsProfile diagnosticsProfile()
public VirtualMachineInner withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
diagnosticsProfile
- the diagnosticsProfile value to set.public com.azure.core.management.SubResource availabilitySet()
public VirtualMachineInner withAvailabilitySet(com.azure.core.management.SubResource availabilitySet)
availabilitySet
- the availabilitySet value to set.public com.azure.core.management.SubResource virtualMachineScaleSet()
public VirtualMachineInner withVirtualMachineScaleSet(com.azure.core.management.SubResource virtualMachineScaleSet)
virtualMachineScaleSet
- the virtualMachineScaleSet value to set.public com.azure.core.management.SubResource proximityPlacementGroup()
public VirtualMachineInner withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup)
proximityPlacementGroup
- the proximityPlacementGroup value to set.public VirtualMachinePriorityTypes priority()
public VirtualMachineInner withPriority(VirtualMachinePriorityTypes priority)
priority
- the priority value to set.public VirtualMachineEvictionPolicyTypes evictionPolicy()
public VirtualMachineInner withEvictionPolicy(VirtualMachineEvictionPolicyTypes evictionPolicy)
evictionPolicy
- the evictionPolicy value to set.public BillingProfile billingProfile()
public VirtualMachineInner withBillingProfile(BillingProfile billingProfile)
billingProfile
- the billingProfile value to set.public com.azure.core.management.SubResource host()
public VirtualMachineInner withHost(com.azure.core.management.SubResource host)
host
- the host value to set.public String provisioningState()
public VirtualMachineInstanceViewInner instanceView()
public String licenseType()
public VirtualMachineInner withLicenseType(String licenseType)
licenseType
- the licenseType value to set.public String vmId()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.