public final class AzureBareMetalInstanceProperties extends Object
Constructor and Description |
---|
AzureBareMetalInstanceProperties() |
Modifier and Type | Method and Description |
---|---|
String |
azureBareMetalInstanceId()
Get the azureBareMetalInstanceId property: Specifies the AzureBareMetal instance unique ID.
|
HardwareProfile |
hardwareProfile()
Get the hardwareProfile property: Specifies the hardware settings for the AzureBareMetal instance.
|
String |
hwRevision()
Get the hwRevision property: Hardware revision of an AzureBareMetal instance.
|
NetworkProfile |
networkProfile()
Get the networkProfile property: Specifies the network settings for the AzureBareMetal instance.
|
OSProfile |
osProfile()
Get the osProfile property: Specifies the operating system settings for the AzureBareMetal instance.
|
String |
partnerNodeId()
Get the partnerNodeId property: ARM ID of another AzureBareMetalInstance that will share a network with this
AzureBareMetalInstance.
|
AzureBareMetalInstancePowerStateEnum |
powerState()
Get the powerState property: Resource power state.
|
AzureBareMetalProvisioningStatesEnum |
provisioningState()
Get the provisioningState property: State of provisioning of the AzureBareMetalInstance.
|
String |
proximityPlacementGroup()
Get the proximityPlacementGroup property: Resource proximity placement group.
|
StorageProfile |
storageProfile()
Get the storageProfile property: Specifies the storage settings for the AzureBareMetal instance disks.
|
void |
validate()
Validates the instance.
|
AzureBareMetalInstanceProperties |
withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Specifies the hardware settings for the AzureBareMetal instance.
|
AzureBareMetalInstanceProperties |
withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Specifies the network settings for the AzureBareMetal instance.
|
AzureBareMetalInstanceProperties |
withOsProfile(OSProfile osProfile)
Set the osProfile property: Specifies the operating system settings for the AzureBareMetal instance.
|
AzureBareMetalInstanceProperties |
withPartnerNodeId(String partnerNodeId)
Set the partnerNodeId property: ARM ID of another AzureBareMetalInstance that will share a network with this
AzureBareMetalInstance.
|
AzureBareMetalInstanceProperties |
withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Specifies the storage settings for the AzureBareMetal instance disks.
|
public HardwareProfile hardwareProfile()
public AzureBareMetalInstanceProperties withHardwareProfile(HardwareProfile hardwareProfile)
hardwareProfile
- the hardwareProfile value to set.public StorageProfile storageProfile()
public AzureBareMetalInstanceProperties withStorageProfile(StorageProfile storageProfile)
storageProfile
- the storageProfile value to set.public OSProfile osProfile()
public AzureBareMetalInstanceProperties withOsProfile(OSProfile osProfile)
osProfile
- the osProfile value to set.public NetworkProfile networkProfile()
public AzureBareMetalInstanceProperties withNetworkProfile(NetworkProfile networkProfile)
networkProfile
- the networkProfile value to set.public String azureBareMetalInstanceId()
public AzureBareMetalInstancePowerStateEnum powerState()
public String proximityPlacementGroup()
public String hwRevision()
public String partnerNodeId()
public AzureBareMetalInstanceProperties withPartnerNodeId(String partnerNodeId)
partnerNodeId
- the partnerNodeId value to set.public AzureBareMetalProvisioningStatesEnum provisioningState()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.