Class AzureBareMetalInstanceProperties
java.lang.Object
com.azure.resourcemanager.baremetalinfrastructure.fluent.models.AzureBareMetalInstanceProperties
Describes the properties of an AzureBareMetal instance.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureBareMetalInstanceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureBareMetalInstanceId property: Specifies the AzureBareMetal instance unique ID.Get the hardwareProfile property: Specifies the hardware settings for the AzureBareMetal instance.Get the hwRevision property: Hardware revision of an AzureBareMetal instance.Get the networkProfile property: Specifies the network settings for the AzureBareMetal instance.Get the osProfile property: Specifies the operating system settings for the AzureBareMetal instance.Get the partnerNodeId property: ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance.Get the powerState property: Resource power state.Get the provisioningState property: State of provisioning of the AzureBareMetalInstance.Get the proximityPlacementGroup property: Resource proximity placement group.Get the storageProfile property: Specifies the storage settings for the AzureBareMetal instance disks.void
validate()
Validates the instance.withHardwareProfile
(HardwareProfile hardwareProfile) Set the hardwareProfile property: Specifies the hardware settings for the AzureBareMetal instance.withNetworkProfile
(NetworkProfile networkProfile) Set the networkProfile property: Specifies the network settings for the AzureBareMetal instance.withOsProfile
(OSProfile osProfile) Set the osProfile property: Specifies the operating system settings for the AzureBareMetal instance.withPartnerNodeId
(String partnerNodeId) Set the partnerNodeId property: ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance.withStorageProfile
(StorageProfile storageProfile) Set the storageProfile property: Specifies the storage settings for the AzureBareMetal instance disks.
-
Constructor Details
-
AzureBareMetalInstanceProperties
public AzureBareMetalInstanceProperties()Creates an instance of AzureBareMetalInstanceProperties class.
-
-
Method Details
-
hardwareProfile
Get the hardwareProfile property: Specifies the hardware settings for the AzureBareMetal instance.- Returns:
- the hardwareProfile value.
-
withHardwareProfile
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
Get the storageProfile property: Specifies the storage settings for the AzureBareMetal instance disks.- Returns:
- the storageProfile value.
-
withStorageProfile
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
Get the osProfile property: Specifies the operating system settings for the AzureBareMetal instance.- Returns:
- the osProfile value.
-
withOsProfile
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
Get the networkProfile property: Specifies the network settings for the AzureBareMetal instance.- Returns:
- the networkProfile value.
-
withNetworkProfile
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
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
Get the proximityPlacementGroup property: Resource proximity placement group.- Returns:
- the proximityPlacementGroup value.
-
hwRevision
Get the hwRevision property: Hardware revision of an AzureBareMetal instance.- Returns:
- the hwRevision value.
-
partnerNodeId
Get the partnerNodeId property: ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance.- Returns:
- the partnerNodeId value.
-
withPartnerNodeId
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
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.
-