Class VirtualMachineInner

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

public final class VirtualMachineInner extends com.azure.core.management.Resource
Define the virtualMachine.
  • Constructor Details

    • VirtualMachineInner

      public VirtualMachineInner()
  • Method Details

    • extendedLocation

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

      public VirtualMachineInner withExtendedLocation(ExtendedLocation extendedLocation)
      Set the extendedLocation property: Gets or sets the extended location.
      Parameters:
      extendedLocation - the extendedLocation value to set.
      Returns:
      the VirtualMachineInner 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 VirtualMachineInner 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 VirtualMachineInner object itself.
    • identity

      public Identity identity()
      Get the identity property: The identity of the resource.
      Returns:
      the identity value.
    • withIdentity

      public VirtualMachineInner withIdentity(Identity identity)
      Set the identity property: The identity of the resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the VirtualMachineInner object itself.
    • withLocation

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

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

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

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

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

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

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

      public VirtualMachineInner withSecurityProfile(SecurityProfile securityProfile)
      Set the securityProfile property: Gets the security profile.
      Parameters:
      securityProfile - the securityProfile value to set.
      Returns:
      the VirtualMachineInner 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 VirtualMachineInner 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 VirtualMachineInner 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 VirtualMachineInner 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 VirtualMachineInner 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 VirtualMachineInner 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 VirtualMachineInner object itself.
    • firmwareType

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

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