Class VirtualMachineTemplateProperties

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

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

    • VirtualMachineTemplateProperties

      public VirtualMachineTemplateProperties()
  • Method Details

    • uuid

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

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

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

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

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

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

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

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

      public Integer memorySizeMB()
      Get the memorySizeMB property: Gets or sets memory size in MBs for the template.
      Returns:
      the memorySizeMB value.
    • numCPUs

      public Integer numCPUs()
      Get the numCPUs property: Gets or sets the number of vCPUs for the template.
      Returns:
      the numCPUs value.
    • numCoresPerSocket

      public Integer numCoresPerSocket()
      Get the numCoresPerSocket property: Gets or sets the number of cores per socket for the template. Defaults to 1 if unspecified.
      Returns:
      the numCoresPerSocket value.
    • osType

      public OsType osType()
      Get the osType property: Gets or sets the type of the os.
      Returns:
      the osType value.
    • osName

      public String osName()
      Get the osName property: Gets or sets os name.
      Returns:
      the osName value.
    • folderPath

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

      public List<NetworkInterface> networkInterfaces()
      Get the networkInterfaces property: Gets or sets the network interfaces of the template.
      Returns:
      the networkInterfaces value.
    • disks

      public List<VirtualDisk> disks()
      Get the disks property: Gets or sets the disks the template.
      Returns:
      the disks value.
    • customResourceName

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

      public String toolsVersionStatus()
      Get the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.
      Returns:
      the toolsVersionStatus value.
    • toolsVersion

      public String toolsVersion()
      Get the toolsVersion property: Gets or sets the current version of VMware Tools.
      Returns:
      the toolsVersion value.
    • firmwareType

      public FirmwareType firmwareType()
      Get the firmwareType property: Firmware type.
      Returns:
      the firmwareType 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.
    • validate

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