Class AzureBareMetalInstanceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.baremetalinfrastructure.fluent.models.AzureBareMetalInstanceInner

public final class AzureBareMetalInstanceInner extends com.azure.core.management.Resource
AzureBareMetal instance info on Azure (ARM properties and AzureBareMetal properties).
  • Constructor Details

    • AzureBareMetalInstanceInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: The system metadata relating to this resource.
      Returns:
      the systemData value.
    • withLocation

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

      public AzureBareMetalInstanceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • hardwareProfile

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

      public AzureBareMetalInstanceInner withHardwareProfile(HardwareProfile hardwareProfile)
      Set the hardwareProfile property: Specifies the hardware settings for the AzureBareMetal instance.
      Parameters:
      hardwareProfile - the hardwareProfile value to set.
      Returns:
      the AzureBareMetalInstanceInner 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 AzureBareMetalInstanceInner 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 AzureBareMetalInstanceInner 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 AzureBareMetalInstanceInner 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 AzureBareMetalInstanceInner object itself.
    • networkProfile

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

      public AzureBareMetalInstanceInner withNetworkProfile(NetworkProfile networkProfile)
      Set the networkProfile property: Specifies the network settings for the AzureBareMetal instance.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the AzureBareMetalInstanceInner 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 AzureBareMetalInstanceInner 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 AzureBareMetalInstanceInner 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.