Class AzureBareMetalInstanceProperties

java.lang.Object
com.azure.resourcemanager.baremetalinfrastructure.fluent.models.AzureBareMetalInstanceProperties

public final class AzureBareMetalInstanceProperties extends Object
Describes the properties of an AzureBareMetal instance.
  • Constructor Details

    • AzureBareMetalInstanceProperties

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

    • hardwareProfile

      public HardwareProfile hardwareProfile()
      Get the hardwareProfile property: Specifies the hardware settings for the AzureBareMetal instance.
      Returns:
      the hardwareProfile value.
    • withHardwareProfile

      public AzureBareMetalInstanceProperties withHardwareProfile(HardwareProfile hardwareProfile)
      Set the hardwareProfile property: Specifies the hardware settings for the AzureBareMetal instance.
      Parameters:
      hardwareProfile - the hardwareProfile value to set.
      Returns:
      the AzureBareMetalInstanceProperties object itself.
    • storageProfile

      public StorageProfile storageProfile()
      Get the storageProfile property: Specifies the storage settings for the AzureBareMetal instance disks.
      Returns:
      the storageProfile value.
    • withStorageProfile

      public AzureBareMetalInstanceProperties withStorageProfile(StorageProfile storageProfile)
      Set the storageProfile property: Specifies the storage settings for the AzureBareMetal instance disks.
      Parameters:
      storageProfile - the storageProfile value to set.
      Returns:
      the AzureBareMetalInstanceProperties object itself.
    • osProfile

      public OSProfile osProfile()
      Get the osProfile property: Specifies the operating system settings for the AzureBareMetal instance.
      Returns:
      the osProfile value.
    • withOsProfile

      public AzureBareMetalInstanceProperties withOsProfile(OSProfile osProfile)
      Set the osProfile property: Specifies the operating system settings for the AzureBareMetal instance.
      Parameters:
      osProfile - the osProfile value to set.
      Returns:
      the AzureBareMetalInstanceProperties object itself.
    • networkProfile

      public NetworkProfile networkProfile()
      Get the networkProfile property: Specifies the network settings for the AzureBareMetal instance.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public AzureBareMetalInstanceProperties withNetworkProfile(NetworkProfile networkProfile)
      Set the networkProfile property: Specifies the network settings for the AzureBareMetal instance.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the AzureBareMetalInstanceProperties object itself.
    • azureBareMetalInstanceId

      public String azureBareMetalInstanceId()
      Get the azureBareMetalInstanceId property: Specifies the AzureBareMetal instance unique ID.
      Returns:
      the azureBareMetalInstanceId value.
    • powerState

      Get the powerState property: Resource power state.
      Returns:
      the powerState value.
    • proximityPlacementGroup

      public String proximityPlacementGroup()
      Get the proximityPlacementGroup property: Resource proximity placement group.
      Returns:
      the proximityPlacementGroup value.
    • hwRevision

      public String hwRevision()
      Get the hwRevision property: Hardware revision of an AzureBareMetal instance.
      Returns:
      the hwRevision value.
    • partnerNodeId

      public String partnerNodeId()
      Get the partnerNodeId property: ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance.
      Returns:
      the partnerNodeId value.
    • withPartnerNodeId

      public AzureBareMetalInstanceProperties withPartnerNodeId(String partnerNodeId)
      Set the partnerNodeId property: ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance.
      Parameters:
      partnerNodeId - the partnerNodeId value to set.
      Returns:
      the AzureBareMetalInstanceProperties object itself.
    • provisioningState

      public AzureBareMetalProvisioningStatesEnum provisioningState()
      Get the provisioningState property: State of provisioning of the AzureBareMetalInstance.
      Returns:
      the provisioningState value.
    • validate

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