Class VirtualMachineProperties
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.fluent.models.VirtualMachineProperties
-
public final class VirtualMachineProperties extends Object
Defines the resource properties.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.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.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.VirtualMachineProperties
withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)
Set the availabilitySets property: Availability Sets in vm.VirtualMachineProperties
withCheckpoints(List<Checkpoint> checkpoints)
Set the checkpoints property: Checkpoints in the vm.VirtualMachineProperties
withCheckpointType(String checkpointType)
Set the checkpointType property: Type of checkpoint supported for the vm.VirtualMachineProperties
withCloudId(String cloudId)
Set the cloudId property: ARM Id of the cloud resource to use for deploying the vm.VirtualMachineProperties
withGeneration(Integer generation)
Set the generation property: Gets or sets the generation for the vm.VirtualMachineProperties
withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Hardware properties.VirtualMachineProperties
withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.VirtualMachineProperties
withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Network properties.VirtualMachineProperties
withOsProfile(OsProfile osProfile)
Set the osProfile property: OS properties.VirtualMachineProperties
withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage properties.VirtualMachineProperties
withTemplateId(String templateId)
Set the templateId property: ARM Id of the template resource to use for deploying the vm.VirtualMachineProperties
withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine.VirtualMachineProperties
withVmmServerId(String vmmServerId)
Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.VirtualMachineProperties
withVmName(String vmName)
Set the vmName property: VMName is the name of VM on the SCVMM server.
-
-
-
Method Detail
-
inventoryItemId
public String inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.- Returns:
- the inventoryItemId value.
-
withInventoryItemId
public VirtualMachineProperties 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 VirtualMachineProperties object itself.
-
vmmServerId
public String vmmServerId()
Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.- Returns:
- the vmmServerId value.
-
withVmmServerId
public VirtualMachineProperties 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 VirtualMachineProperties object itself.
-
cloudId
public String cloudId()
Get the cloudId property: ARM Id of the cloud resource to use for deploying the vm.- Returns:
- the cloudId value.
-
withCloudId
public VirtualMachineProperties 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 VirtualMachineProperties object itself.
-
templateId
public String templateId()
Get the templateId property: ARM Id of the template resource to use for deploying the vm.- Returns:
- the templateId value.
-
withTemplateId
public VirtualMachineProperties 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 VirtualMachineProperties object itself.
-
checkpointType
public String checkpointType()
Get the checkpointType property: Type of checkpoint supported for the vm.- Returns:
- the checkpointType value.
-
withCheckpointType
public VirtualMachineProperties withCheckpointType(String checkpointType)
Set the checkpointType property: Type of checkpoint supported for the vm.- Parameters:
checkpointType
- the checkpointType value to set.- Returns:
- the VirtualMachineProperties object itself.
-
checkpoints
public List<Checkpoint> checkpoints()
Get the checkpoints property: Checkpoints in the vm.- Returns:
- the checkpoints value.
-
withCheckpoints
public VirtualMachineProperties withCheckpoints(List<Checkpoint> checkpoints)
Set the checkpoints property: Checkpoints in the vm.- Parameters:
checkpoints
- the checkpoints value to set.- Returns:
- the VirtualMachineProperties object itself.
-
availabilitySets
public List<AvailabilitySetListItem> availabilitySets()
Get the availabilitySets property: Availability Sets in vm.- Returns:
- the availabilitySets value.
-
withAvailabilitySets
public VirtualMachineProperties withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)
Set the availabilitySets property: Availability Sets in vm.- Parameters:
availabilitySets
- the availabilitySets value to set.- Returns:
- the VirtualMachineProperties object itself.
-
osProfile
public OsProfile osProfile()
Get the osProfile property: OS properties.- Returns:
- the osProfile value.
-
withOsProfile
public VirtualMachineProperties withOsProfile(OsProfile osProfile)
Set the osProfile property: OS properties.- Parameters:
osProfile
- the osProfile value to set.- Returns:
- the VirtualMachineProperties object itself.
-
hardwareProfile
public HardwareProfile hardwareProfile()
Get the hardwareProfile property: Hardware properties.- Returns:
- the hardwareProfile value.
-
withHardwareProfile
public VirtualMachineProperties withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Hardware properties.- Parameters:
hardwareProfile
- the hardwareProfile value to set.- Returns:
- the VirtualMachineProperties object itself.
-
networkProfile
public NetworkProfile networkProfile()
Get the networkProfile property: Network properties.- Returns:
- the networkProfile value.
-
withNetworkProfile
public VirtualMachineProperties withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Network properties.- Parameters:
networkProfile
- the networkProfile value to set.- Returns:
- the VirtualMachineProperties object itself.
-
storageProfile
public StorageProfile storageProfile()
Get the storageProfile property: Storage properties.- Returns:
- the storageProfile value.
-
withStorageProfile
public VirtualMachineProperties withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage properties.- Parameters:
storageProfile
- the storageProfile value to set.- Returns:
- the VirtualMachineProperties object itself.
-
vmName
public String vmName()
Get the vmName property: VMName is the name of VM on the SCVMM server.- Returns:
- the vmName value.
-
withVmName
public VirtualMachineProperties 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 VirtualMachineProperties object itself.
-
uuid
public String uuid()
Get the uuid property: Unique ID of the virtual machine.- Returns:
- the uuid value.
-
withUuid
public VirtualMachineProperties withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine.- Parameters:
uuid
- the uuid value to set.- Returns:
- the VirtualMachineProperties object itself.
-
generation
public Integer generation()
Get the generation property: Gets or sets the generation for the vm.- Returns:
- the generation value.
-
withGeneration
public VirtualMachineProperties withGeneration(Integer generation)
Set the generation property: Gets or sets the generation for the vm.- Parameters:
generation
- the generation value to set.- Returns:
- the VirtualMachineProperties object itself.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-