Class MachineProperties

java.lang.Object
com.azure.resourcemanager.hybridcompute.models.MachineProperties

public final class MachineProperties extends Object
Describes the properties of a hybrid machine.
  • Constructor Details

    • MachineProperties

      public MachineProperties()
      Creates an instance of MachineProperties class.
  • Method Details

    • locationData

      public LocationData locationData()
      Get the locationData property: Metadata pertaining to the geographic location of the resource.
      Returns:
      the locationData value.
    • withLocationData

      public MachineProperties withLocationData(LocationData locationData)
      Set the locationData property: Metadata pertaining to the geographic location of the resource.
      Parameters:
      locationData - the locationData value to set.
      Returns:
      the MachineProperties object itself.
    • osProfile

      public OSProfile osProfile()
      Get the osProfile property: Specifies the operating system settings for the hybrid machine.
      Returns:
      the osProfile value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning state, which only appears in the response.
      Returns:
      the provisioningState value.
    • status

      public StatusTypes status()
      Get the status property: The status of the hybrid machine agent.
      Returns:
      the status value.
    • lastStatusChange

      public OffsetDateTime lastStatusChange()
      Get the lastStatusChange property: The time of the last status change.
      Returns:
      the lastStatusChange value.
    • errorDetails

      public List<com.azure.core.management.exception.ManagementError> errorDetails()
      Get the errorDetails property: Details about the error state.
      Returns:
      the errorDetails value.
    • agentVersion

      public String agentVersion()
      Get the agentVersion property: The hybrid machine agent full version.
      Returns:
      the agentVersion value.
    • vmId

      public String vmId()
      Get the vmId property: Specifies the hybrid machine unique ID.
      Returns:
      the vmId value.
    • withVmId

      public MachineProperties withVmId(String vmId)
      Set the vmId property: Specifies the hybrid machine unique ID.
      Parameters:
      vmId - the vmId value to set.
      Returns:
      the MachineProperties object itself.
    • displayName

      public String displayName()
      Get the displayName property: Specifies the hybrid machine display name.
      Returns:
      the displayName value.
    • machineFqdn

      public String machineFqdn()
      Get the machineFqdn property: Specifies the hybrid machine FQDN.
      Returns:
      the machineFqdn value.
    • clientPublicKey

      public String clientPublicKey()
      Get the clientPublicKey property: Public Key that the client provides to be used during initial resource onboarding.
      Returns:
      the clientPublicKey value.
    • withClientPublicKey

      public MachineProperties withClientPublicKey(String clientPublicKey)
      Set the clientPublicKey property: Public Key that the client provides to be used during initial resource onboarding.
      Parameters:
      clientPublicKey - the clientPublicKey value to set.
      Returns:
      the MachineProperties object itself.
    • osName

      public String osName()
      Get the osName property: The Operating System running on the hybrid machine.
      Returns:
      the osName value.
    • osVersion

      public String osVersion()
      Get the osVersion property: The version of Operating System running on the hybrid machine.
      Returns:
      the osVersion value.
    • vmUuid

      public String vmUuid()
      Get the vmUuid property: Specifies the Arc Machine's unique SMBIOS ID.
      Returns:
      the vmUuid value.
    • extensions

      public List<MachineExtensionInstanceView> extensions()
      Get the extensions property: Machine Extensions information.
      Returns:
      the extensions value.
    • withExtensions

      public MachineProperties withExtensions(List<MachineExtensionInstanceView> extensions)
      Set the extensions property: Machine Extensions information.
      Parameters:
      extensions - the extensions value to set.
      Returns:
      the MachineProperties object itself.
    • osSku

      public String osSku()
      Get the osSku property: Specifies the Operating System product SKU.
      Returns:
      the osSku value.
    • domainName

      public String domainName()
      Get the domainName property: Specifies the Windows domain name.
      Returns:
      the domainName value.
    • adFqdn

      public String adFqdn()
      Get the adFqdn property: Specifies the AD fully qualified display name.
      Returns:
      the adFqdn value.
    • dnsFqdn

      public String dnsFqdn()
      Get the dnsFqdn property: Specifies the DNS fully qualified display name.
      Returns:
      the dnsFqdn value.
    • privateLinkScopeResourceId

      public String privateLinkScopeResourceId()
      Get the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.
      Returns:
      the privateLinkScopeResourceId value.
    • withPrivateLinkScopeResourceId

      public MachineProperties withPrivateLinkScopeResourceId(String privateLinkScopeResourceId)
      Set the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.
      Parameters:
      privateLinkScopeResourceId - the privateLinkScopeResourceId value to set.
      Returns:
      the MachineProperties object itself.
    • parentClusterResourceId

      public String parentClusterResourceId()
      Get the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.
      Returns:
      the parentClusterResourceId value.
    • withParentClusterResourceId

      public MachineProperties withParentClusterResourceId(String parentClusterResourceId)
      Set the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.
      Parameters:
      parentClusterResourceId - the parentClusterResourceId value to set.
      Returns:
      the MachineProperties object itself.
    • detectedProperties

      public Map<String,String> detectedProperties()
      Get the detectedProperties property: Detected properties from the machine.
      Returns:
      the detectedProperties value.
    • validate

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