Class VirtualMachineInner


  • public final class VirtualMachineInner
    extends com.azure.core.management.Resource
    The VirtualMachines resource definition.
    • Constructor Detail

      • VirtualMachineInner

        public VirtualMachineInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: The system data.
        Returns:
        the systemData value.
      • extendedLocation

        public ExtendedLocation extendedLocation()
        Get the extendedLocation property: The extended location.
        Returns:
        the extendedLocation value.
      • 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.
      • withLocation

        public VirtualMachineInner withLocation​(String location)
        Overrides:
        withLocation in class com.azure.core.management.Resource
      • inventoryItemId

        public String inventoryItemId()
        Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
        Returns:
        the inventoryItemId value.
      • 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.
      • 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 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.
      • 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 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.
      • 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 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.
      • checkpointType

        public String checkpointType()
        Get the checkpointType property: Type of checkpoint supported for the vm.
        Returns:
        the checkpointType value.
      • 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.
      • checkpoints

        public List<Checkpoint> checkpoints()
        Get the checkpoints property: Checkpoints in the vm.
        Returns:
        the checkpoints value.
      • 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.
      • availabilitySets

        public List<AvailabilitySetListItem> availabilitySets()
        Get the availabilitySets property: Availability Sets in vm.
        Returns:
        the availabilitySets 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.
      • osProfile

        public OsProfile osProfile()
        Get the osProfile property: OS properties.
        Returns:
        the osProfile value.
      • withOsProfile

        public VirtualMachineInner withOsProfile​(OsProfile osProfile)
        Set the osProfile property: OS properties.
        Parameters:
        osProfile - the osProfile value to set.
        Returns:
        the VirtualMachineInner object itself.
      • hardwareProfile

        public HardwareProfile hardwareProfile()
        Get the hardwareProfile property: Hardware properties.
        Returns:
        the hardwareProfile value.
      • withHardwareProfile

        public VirtualMachineInner withHardwareProfile​(HardwareProfile hardwareProfile)
        Set the hardwareProfile property: Hardware properties.
        Parameters:
        hardwareProfile - the hardwareProfile value to set.
        Returns:
        the VirtualMachineInner object itself.
      • networkProfile

        public NetworkProfile networkProfile()
        Get the networkProfile property: Network properties.
        Returns:
        the networkProfile value.
      • withNetworkProfile

        public VirtualMachineInner withNetworkProfile​(NetworkProfile networkProfile)
        Set the networkProfile property: Network properties.
        Parameters:
        networkProfile - the networkProfile value to set.
        Returns:
        the VirtualMachineInner object itself.
      • storageProfile

        public StorageProfile storageProfile()
        Get the storageProfile property: Storage properties.
        Returns:
        the storageProfile value.
      • withStorageProfile

        public VirtualMachineInner withStorageProfile​(StorageProfile storageProfile)
        Set the storageProfile property: Storage properties.
        Parameters:
        storageProfile - the storageProfile value to set.
        Returns:
        the VirtualMachineInner 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 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.
      • uuid

        public String uuid()
        Get the uuid property: Unique ID of the virtual machine.
        Returns:
        the uuid value.
      • 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.
      • generation

        public Integer generation()
        Get the generation property: Gets or sets the generation for the vm.
        Returns:
        the generation value.
      • 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.
      • 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.