VirtualMachineInner Class

public final class VirtualMachineInner
extends Resource

The VirtualMachines resource definition.

Constructor Summary

Constructor Description
VirtualMachineInner()

Method Summary

Modifier and Type Method and Description
List<AvailabilitySetListItem> availabilitySets()

Get the availabilitySets property: Availability Sets in vm.

List<Checkpoint> checkpoints()

Get the checkpoints property: Checkpoints in the vm.

String checkpointType()

Get the checkpointType property: Type of checkpoint supported for the vm.

String cloudId()

Get the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location.

Integer generation()

Get the generation property: Gets or sets the generation for the vm.

HardwareProfile hardwareProfile()

Get the hardwareProfile property: Hardware properties.

String inventoryItemId()

Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

NetworkProfile networkProfile()

Get the networkProfile property: Network properties.

OsProfile osProfile()

Get the osProfile property: OS properties.

String powerState()

Get the powerState property: Gets the power state of the virtual machine.

String provisioningState()

Get the provisioningState property: Gets or sets the provisioning state.

StorageProfile storageProfile()

Get the storageProfile property: Storage properties.

SystemData systemData()

Get the systemData property: The system data.

String templateId()

Get the templateId property: ARM Id of the template resource to use for deploying the vm.

String uuid()

Get the uuid property: Unique ID of the virtual machine.

void validate()

Validates the instance.

String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

String vmName()

Get the vmName property: VMName is the name of VM on the SCVMM server.

VirtualMachineInner withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)

Set the availabilitySets property: Availability Sets in vm.

VirtualMachineInner withCheckpoints(List<Checkpoint> checkpoints)

Set the checkpoints property: Checkpoints in the vm.

VirtualMachineInner withCheckpointType(String checkpointType)

Set the checkpointType property: Type of checkpoint supported for the vm.

VirtualMachineInner withCloudId(String cloudId)

Set the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

VirtualMachineInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location.

VirtualMachineInner withGeneration(Integer generation)

Set the generation property: Gets or sets the generation for the vm.

VirtualMachineInner withHardwareProfile(HardwareProfile hardwareProfile)

Set the hardwareProfile property: Hardware properties.

VirtualMachineInner withInventoryItemId(String inventoryItemId)

Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

VirtualMachineInner withLocation(String location)
VirtualMachineInner withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Network properties.

VirtualMachineInner withOsProfile(OsProfile osProfile)

Set the osProfile property: OS properties.

VirtualMachineInner withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Storage properties.

VirtualMachineInner withTags(Map<String,String> tags)
VirtualMachineInner withTemplateId(String templateId)

Set the templateId property: ARM Id of the template resource to use for deploying the vm.

VirtualMachineInner withUuid(String uuid)

Set the uuid property: Unique ID of the virtual machine.

VirtualMachineInner withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

VirtualMachineInner withVmName(String vmName)

Set the vmName property: VMName is the name of VM on the SCVMM server.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineInner

public VirtualMachineInner()

Method Details

availabilitySets

public List<AvailabilitySetListItem> availabilitySets()

Get the availabilitySets property: Availability Sets in vm.

Returns:

the availabilitySets value.

checkpoints

public List<Checkpoint> checkpoints()

Get the checkpoints property: Checkpoints in the vm.

Returns:

the checkpoints value.

checkpointType

public String checkpointType()

Get the checkpointType property: Type of checkpoint supported for the vm.

Returns:

the checkpointType value.

cloudId

public String cloudId()

Get the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

Returns:

the cloudId value.

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location.

Returns:

the extendedLocation value.

generation

public Integer generation()

Get the generation property: Gets or sets the generation for the vm.

Returns:

the generation value.

hardwareProfile

public HardwareProfile hardwareProfile()

Get the hardwareProfile property: Hardware properties.

Returns:

the hardwareProfile value.

inventoryItemId

public String inventoryItemId()

Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

Returns:

the inventoryItemId value.

networkProfile

public NetworkProfile networkProfile()

Get the networkProfile property: Network properties.

Returns:

the networkProfile value.

osProfile

public OsProfile osProfile()

Get the osProfile property: OS properties.

Returns:

the osProfile value.

powerState

public String powerState()

Get the powerState property: Gets the power state of the virtual machine.

Returns:

the powerState value.

provisioningState

public String provisioningState()

Get the provisioningState property: Gets or sets the provisioning state.

Returns:

the provisioningState value.

storageProfile

public StorageProfile storageProfile()

Get the storageProfile property: Storage properties.

Returns:

the storageProfile value.

systemData

public SystemData systemData()

Get the systemData property: The system data.

Returns:

the systemData value.

templateId

public String templateId()

Get the templateId property: ARM Id of the template resource to use for deploying the vm.

Returns:

the templateId value.

uuid

public String uuid()

Get the uuid property: Unique ID of the virtual machine.

Returns:

the uuid value.

validate

public void validate()

Validates the instance.

vmmServerId

public String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Returns:

the vmmServerId value.

vmName

public String vmName()

Get the vmName property: VMName is the name of VM on the SCVMM server.

Returns:

the vmName value.

withAvailabilitySets

public VirtualMachineInner withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)

Set the availabilitySets property: Availability Sets in vm.

Parameters:

availabilitySets - the availabilitySets value to set.

Returns:

the VirtualMachineInner object itself.

withCheckpoints

public VirtualMachineInner withCheckpoints(List<Checkpoint> checkpoints)

Set the checkpoints property: Checkpoints in the vm.

Parameters:

checkpoints - the checkpoints value to set.

Returns:

the VirtualMachineInner object itself.

withCheckpointType

public VirtualMachineInner withCheckpointType(String checkpointType)

Set the checkpointType property: Type of checkpoint supported for the vm.

Parameters:

checkpointType - the checkpointType value to set.

Returns:

the VirtualMachineInner object itself.

withCloudId

public VirtualMachineInner withCloudId(String cloudId)

Set the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

Parameters:

cloudId - the cloudId value to set.

Returns:

the VirtualMachineInner object itself.

withExtendedLocation

public VirtualMachineInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the VirtualMachineInner object itself.

withGeneration

public VirtualMachineInner withGeneration(Integer generation)

Set the generation property: Gets or sets the generation for the vm.

Parameters:

generation - the generation value to set.

Returns:

the VirtualMachineInner object itself.

withHardwareProfile

public VirtualMachineInner withHardwareProfile(HardwareProfile hardwareProfile)

Set the hardwareProfile property: Hardware properties.

Parameters:

hardwareProfile - the hardwareProfile value to set.

Returns:

the VirtualMachineInner object itself.

withInventoryItemId

public VirtualMachineInner withInventoryItemId(String inventoryItemId)

Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

Parameters:

inventoryItemId - the inventoryItemId value to set.

Returns:

the VirtualMachineInner object itself.

withLocation

public VirtualMachineInner withLocation(String location)

Overrides:

VirtualMachineInner.withLocation(String location)

Parameters:

location

withNetworkProfile

public VirtualMachineInner withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Network properties.

Parameters:

networkProfile - the networkProfile value to set.

Returns:

the VirtualMachineInner object itself.

withOsProfile

public VirtualMachineInner withOsProfile(OsProfile osProfile)

Set the osProfile property: OS properties.

Parameters:

osProfile - the osProfile value to set.

Returns:

the VirtualMachineInner object itself.

withStorageProfile

public VirtualMachineInner withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Storage properties.

Parameters:

storageProfile - the storageProfile value to set.

Returns:

the VirtualMachineInner object itself.

withTags

public VirtualMachineInner withTags(Map<String,String> tags)

Overrides:

VirtualMachineInner.withTags(Map<String,String> tags)

Parameters:

tags

withTemplateId

public VirtualMachineInner withTemplateId(String templateId)

Set the templateId property: ARM Id of the template resource to use for deploying the vm.

Parameters:

templateId - the templateId value to set.

Returns:

the VirtualMachineInner object itself.

withUuid

public VirtualMachineInner withUuid(String uuid)

Set the uuid property: Unique ID of the virtual machine.

Parameters:

uuid - the uuid value to set.

Returns:

the VirtualMachineInner object itself.

withVmmServerId

public VirtualMachineInner withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Parameters:

vmmServerId - the vmmServerId value to set.

Returns:

the VirtualMachineInner object itself.

withVmName

public VirtualMachineInner withVmName(String vmName)

Set the vmName property: VMName is the name of VM on the SCVMM server.

Parameters:

vmName - the vmName value to set.

Returns:

the VirtualMachineInner object itself.

Applies to