VirtualMachineProperties Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. fluent. models. VirtualMachineProperties
- com.
public final class VirtualMachineProperties
Defines the resource properties.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| VirtualMachineProperties() | ||
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 |
| 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 |
| 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 |
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 |
withNetworkProfile(NetworkProfile networkProfile)
Set the network |
|
Virtual |
withOsProfile(OsProfile osProfile)
Set the os |
|
Virtual |
withStorageProfile(StorageProfile storageProfile)
Set the storage |
|
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 java.lang.Object
Constructor Details
VirtualMachineProperties
public VirtualMachineProperties()
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:
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:
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 VirtualMachineProperties withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)
Set the availabilitySets property: Availability Sets in vm.
Parameters:
Returns:
withCheckpoints
public VirtualMachineProperties withCheckpoints(List<Checkpoint> checkpoints)
Set the checkpoints property: Checkpoints in the vm.
Parameters:
Returns:
withCheckpointType
public VirtualMachineProperties withCheckpointType(String checkpointType)
Set the checkpointType property: Type of checkpoint supported for the vm.
Parameters:
Returns:
withCloudId
public VirtualMachineProperties withCloudId(String cloudId)
Set the cloudId property: ARM Id of the cloud resource to use for deploying the vm.
Parameters:
Returns:
withGeneration
public VirtualMachineProperties withGeneration(Integer generation)
Set the generation property: Gets or sets the generation for the vm.
Parameters:
Returns:
withHardwareProfile
public VirtualMachineProperties withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Hardware properties.
Parameters:
Returns:
withInventoryItemId
public VirtualMachineProperties withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
Parameters:
Returns:
withNetworkProfile
public VirtualMachineProperties withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Network properties.
Parameters:
Returns:
withOsProfile
public VirtualMachineProperties withOsProfile(OsProfile osProfile)
Set the osProfile property: OS properties.
Parameters:
Returns:
withStorageProfile
public VirtualMachineProperties withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage properties.
Parameters:
Returns:
withTemplateId
public VirtualMachineProperties withTemplateId(String templateId)
Set the templateId property: ARM Id of the template resource to use for deploying the vm.
Parameters:
Returns:
withUuid
public VirtualMachineProperties withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine.
Parameters:
Returns:
withVmmServerId
public VirtualMachineProperties withVmmServerId(String vmmServerId)
Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.
Parameters:
Returns:
withVmName
public VirtualMachineProperties withVmName(String vmName)
Set the vmName property: VMName is the name of VM on the SCVMM server.
Parameters:
Returns: