Class VirtualMachineTemplateInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineTemplateInner

public final class VirtualMachineTemplateInner extends com.azure.core.management.Resource
Define the virtualMachineTemplate.
  • Constructor Details

    • VirtualMachineTemplateInner

      public VirtualMachineTemplateInner()
  • Method Details

    • extendedLocation

      public ExtendedLocation extendedLocation()
      Get the extendedLocation property: Gets or sets the extended location.
      Returns:
      the extendedLocation value.
    • withExtendedLocation

      public VirtualMachineTemplateInner withExtendedLocation(ExtendedLocation extendedLocation)
      Set the extendedLocation property: Gets or sets the extended location.
      Parameters:
      extendedLocation - the extendedLocation value to set.
      Returns:
      the VirtualMachineTemplateInner object itself.
    • systemData

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

      public String kind()
      Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
      Returns:
      the kind value.
    • withKind

      public VirtualMachineTemplateInner withKind(String kind)
      Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
      Parameters:
      kind - the kind value to set.
      Returns:
      the VirtualMachineTemplateInner object itself.
    • withLocation

      public VirtualMachineTemplateInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public VirtualMachineTemplateInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 VirtualMachineTemplateInner 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 VirtualMachineTemplateInner 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 VirtualMachineTemplateInner 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 VirtualMachineTemplateInner 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 VirtualMachineTemplateInner 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 VirtualMachineTemplateInner 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.