VirtualMachineInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. scvmm. fluent. models. VirtualMachineInner
- com.
- com.
- com.
public final class VirtualMachineInner
extends Resource
The VirtualMachines resource definition.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| VirtualMachineInner() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Availability |
availabilitySets()
Get the availability |
| List<Checkpoint> |
checkpoints()
Get the checkpoints property: Checkpoints in the vm. |
| String |
checkpointType()
Get the checkpoint |
| String |
cloudId()
Get the cloud |
|
Extended |
extendedLocation()
Get the extended |
| Integer |
generation()
Get the generation property: Gets or sets the generation for the vm. |
|
Hardware |
hardwareProfile()
Get the hardware |
| String |
inventoryItemId()
Get the inventory |
|
Network |
networkProfile()
Get the network |
|
Os |
osProfile()
Get the os |
| String |
powerState()
Get the power |
| String |
provisioningState()
Get the provisioning |
|
Storage |
storageProfile()
Get the storage |
|
System |
systemData()
Get the system |
| String |
templateId()
Get the template |
| String |
uuid()
Get the uuid property: Unique ID of the virtual machine. |
| void |
validate()
Validates the instance. |
| String |
vmmServerId()
Get the vmm |
| String |
vmName()
Get the vm |
|
Virtual |
withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)
Set the availability |
|
Virtual |
withCheckpoints(List<Checkpoint> checkpoints)
Set the checkpoints property: Checkpoints in the vm. |
|
Virtual |
withCheckpointType(String checkpointType)
Set the checkpoint |
|
Virtual |
withCloudId(String cloudId)
Set the cloud |
|
Virtual |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Virtual |
withGeneration(Integer generation)
Set the generation property: Gets or sets the generation for the vm. |
|
Virtual |
withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardware |
|
Virtual |
withInventoryItemId(String inventoryItemId)
Set the inventory |
|
Virtual |
withLocation(String location) |
|
Virtual |
withNetworkProfile(NetworkProfile networkProfile)
Set the network |
|
Virtual |
withOsProfile(OsProfile osProfile)
Set the os |
|
Virtual |
withStorageProfile(StorageProfile storageProfile)
Set the storage |
|
Virtual |
withTags(Map<String,String> tags) |
|
Virtual |
withTemplateId(String templateId)
Set the template |
|
Virtual |
withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine. |
|
Virtual |
withVmmServerId(String vmmServerId)
Set the vmm |
|
Virtual |
withVmName(String vmName)
Set the vm |
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:
checkpoints
public List<Checkpoint> checkpoints()
Get the checkpoints property: Checkpoints in the vm.
Returns:
checkpointType
public String checkpointType()
Get the checkpointType property: Type of checkpoint supported for the vm.
Returns:
cloudId
public String cloudId()
Get the cloudId property: ARM Id of the cloud resource to use for deploying the vm.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location.
Returns:
generation
public Integer generation()
Get the generation property: Gets or sets the generation for the vm.
Returns:
hardwareProfile
public HardwareProfile hardwareProfile()
Get the hardwareProfile property: Hardware properties.
Returns:
inventoryItemId
public String inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
Returns:
networkProfile
public NetworkProfile networkProfile()
Get the networkProfile property: Network properties.
Returns:
osProfile
public OsProfile osProfile()
Get the osProfile property: OS properties.
Returns:
powerState
public String powerState()
Get the powerState property: Gets the power state of the virtual machine.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.
Returns:
storageProfile
public StorageProfile storageProfile()
Get the storageProfile property: Storage properties.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system data.
Returns:
templateId
public String templateId()
Get the templateId property: ARM Id of the template resource to use for deploying the vm.
Returns:
uuid
public String uuid()
Get the uuid property: Unique ID of the virtual machine.
Returns:
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:
vmName
public String vmName()
Get the vmName property: VMName is the name of VM on the SCVMM server.
Returns:
withAvailabilitySets
public VirtualMachineInner withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)
Set the availabilitySets property: Availability Sets in vm.
Parameters:
Returns:
withCheckpoints
public VirtualMachineInner withCheckpoints(List<Checkpoint> checkpoints)
Set the checkpoints property: Checkpoints in the vm.
Parameters:
Returns:
withCheckpointType
public VirtualMachineInner withCheckpointType(String checkpointType)
Set the checkpointType property: Type of checkpoint supported for the vm.
Parameters:
Returns:
withCloudId
public VirtualMachineInner withCloudId(String cloudId)
Set the cloudId property: ARM Id of the cloud resource to use for deploying the vm.
Parameters:
Returns:
withExtendedLocation
public VirtualMachineInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location.
Parameters:
Returns:
withGeneration
public VirtualMachineInner withGeneration(Integer generation)
Set the generation property: Gets or sets the generation for the vm.
Parameters:
Returns:
withHardwareProfile
public VirtualMachineInner withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Hardware properties.
Parameters:
Returns:
withInventoryItemId
public VirtualMachineInner withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
Parameters:
Returns:
withLocation
public VirtualMachineInner withLocation(String location)
Overrides:
VirtualMachineInner.withLocation(String location)Parameters:
withNetworkProfile
public VirtualMachineInner withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Network properties.
Parameters:
Returns:
withOsProfile
public VirtualMachineInner withOsProfile(OsProfile osProfile)
Set the osProfile property: OS properties.
Parameters:
Returns:
withStorageProfile
public VirtualMachineInner withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage properties.
Parameters:
Returns:
withTags
public VirtualMachineInner withTags(Map<String,String> tags)
Overrides:
VirtualMachineInner.withTags(Map<String,String> tags)Parameters:
withTemplateId
public VirtualMachineInner withTemplateId(String templateId)
Set the templateId property: ARM Id of the template resource to use for deploying the vm.
Parameters:
Returns:
withUuid
public VirtualMachineInner withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine.
Parameters:
Returns:
withVmmServerId
public VirtualMachineInner withVmmServerId(String vmmServerId)
Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.
Parameters:
Returns:
withVmName
public VirtualMachineInner withVmName(String vmName)
Set the vmName property: VMName is the name of VM on the SCVMM server.
Parameters:
Returns: