Class VirtualMachineProperties

java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineProperties

public final class VirtualMachineProperties extends Object
Defines the resource properties.
  • Constructor Details

    • VirtualMachineProperties

      public VirtualMachineProperties()
  • Method Details

    • resourcePoolId

      public String resourcePoolId()
      Get the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.
      Returns:
      the resourcePoolId value.
    • withResourcePoolId

      public VirtualMachineProperties withResourcePoolId(String resourcePoolId)
      Set the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.
      Parameters:
      resourcePoolId - the resourcePoolId value to set.
      Returns:
      the VirtualMachineProperties object itself.
    • templateId

      public String templateId()
      Get the templateId property: Gets or sets the ARM Id of the template resource to deploy the virtual machine.
      Returns:
      the templateId value.
    • withTemplateId

      public VirtualMachineProperties withTemplateId(String templateId)
      Set the templateId property: Gets or sets the ARM Id of the template resource to deploy the virtual machine.
      Parameters:
      templateId - the templateId value to set.
      Returns:
      the VirtualMachineProperties object itself.
    • vCenterId

      public String vCenterId()
      Get the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
      Returns:
      the vCenterId value.
    • withVCenterId

      public VirtualMachineProperties withVCenterId(String vCenterId)
      Set the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
      Parameters:
      vCenterId - the vCenterId value to set.
      Returns:
      the VirtualMachineProperties object itself.
    • placementProfile

      public PlacementProfile placementProfile()
      Get the placementProfile property: Placement properties.
      Returns:
      the placementProfile value.
    • withPlacementProfile

      public VirtualMachineProperties withPlacementProfile(PlacementProfile placementProfile)
      Set the placementProfile property: Placement properties.
      Parameters:
      placementProfile - the placementProfile 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.
    • guestAgentProfile

      public GuestAgentProfile guestAgentProfile()
      Get the guestAgentProfile property: Guest agent status properties.
      Returns:
      the guestAgentProfile value.
    • withGuestAgentProfile

      public VirtualMachineProperties withGuestAgentProfile(GuestAgentProfile guestAgentProfile)
      Set the guestAgentProfile property: Guest agent status properties.
      Parameters:
      guestAgentProfile - the guestAgentProfile value to set.
      Returns:
      the VirtualMachineProperties object itself.
    • securityProfile

      public SecurityProfile securityProfile()
      Get the securityProfile property: Gets the security profile.
      Returns:
      the securityProfile value.
    • withSecurityProfile

      public VirtualMachineProperties withSecurityProfile(SecurityProfile securityProfile)
      Set the securityProfile property: Gets the security profile.
      Parameters:
      securityProfile - the securityProfile value to set.
      Returns:
      the VirtualMachineProperties object itself.
    • moRefId

      public String moRefId()
      Get the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine.
      Returns:
      the moRefId value.
    • withMoRefId

      public VirtualMachineProperties withMoRefId(String moRefId)
      Set the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine.
      Parameters:
      moRefId - the moRefId value to set.
      Returns:
      the VirtualMachineProperties object itself.
    • inventoryItemId

      public String inventoryItemId()
      Get the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine.
      Returns:
      the inventoryItemId value.
    • withInventoryItemId

      public VirtualMachineProperties withInventoryItemId(String inventoryItemId)
      Set the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine.
      Parameters:
      inventoryItemId - the inventoryItemId value to set.
      Returns:
      the VirtualMachineProperties object itself.
    • moName

      public String moName()
      Get the moName property: Gets or sets the vCenter Managed Object name for the virtual machine.
      Returns:
      the moName value.
    • folderPath

      public String folderPath()
      Get the folderPath property: Gets or sets the folder path of the vm.
      Returns:
      the folderPath value.
    • instanceUuid

      public String instanceUuid()
      Get the instanceUuid property: Gets or sets the instance uuid of the vm.
      Returns:
      the instanceUuid value.
    • smbiosUuid

      public String smbiosUuid()
      Get the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.
      Returns:
      the smbiosUuid value.
    • withSmbiosUuid

      public VirtualMachineProperties withSmbiosUuid(String smbiosUuid)
      Set the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.
      Parameters:
      smbiosUuid - the smbiosUuid value to set.
      Returns:
      the VirtualMachineProperties object itself.
    • firmwareType

      public FirmwareType firmwareType()
      Get the firmwareType property: Firmware type.
      Returns:
      the firmwareType value.
    • withFirmwareType

      public VirtualMachineProperties withFirmwareType(FirmwareType firmwareType)
      Set the firmwareType property: Firmware type.
      Parameters:
      firmwareType - the firmwareType 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.
    • customResourceName

      public String customResourceName()
      Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.
      Returns:
      the customResourceName value.
    • uuid

      public String uuid()
      Get the uuid property: Gets or sets a unique identifier for this resource.
      Returns:
      the uuid value.
    • statuses

      public List<ResourceStatus> statuses()
      Get the statuses property: The resource status information.
      Returns:
      the statuses value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Gets or sets the provisioning state.
      Returns:
      the provisioningState value.
    • vmId

      public String vmId()
      Get the vmId property: Gets or sets a unique identifier for the vm resource.
      Returns:
      the vmId value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.