public final class AzureBareMetalInstanceInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
AzureBareMetalInstanceInner() |
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.
|
com.azure.core.management.SystemData |
systemData()
Get the systemData property: The system metadata relating to this resource.
|
void |
validate()
Validates the instance.
|
AzureBareMetalInstanceInner |
withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Specifies the hardware settings for the AzureBareMetal instance.
|
AzureBareMetalInstanceInner |
withLocation(String location) |
AzureBareMetalInstanceInner |
withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Specifies the network settings for the AzureBareMetal instance.
|
AzureBareMetalInstanceInner |
withOsProfile(OSProfile osProfile)
Set the osProfile property: Specifies the operating system settings for the AzureBareMetal instance.
|
AzureBareMetalInstanceInner |
withPartnerNodeId(String partnerNodeId)
Set the partnerNodeId property: ARM ID of another AzureBareMetalInstance that will share a network with this
AzureBareMetalInstance.
|
AzureBareMetalInstanceInner |
withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Specifies the storage settings for the AzureBareMetal instance disks.
|
AzureBareMetalInstanceInner |
withTags(Map<String,String> tags) |
public com.azure.core.management.SystemData systemData()
public AzureBareMetalInstanceInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public AzureBareMetalInstanceInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public HardwareProfile hardwareProfile()
public AzureBareMetalInstanceInner withHardwareProfile(HardwareProfile hardwareProfile)
hardwareProfile
- the hardwareProfile value to set.public StorageProfile storageProfile()
public AzureBareMetalInstanceInner withStorageProfile(StorageProfile storageProfile)
storageProfile
- the storageProfile value to set.public OSProfile osProfile()
public AzureBareMetalInstanceInner withOsProfile(OSProfile osProfile)
osProfile
- the osProfile value to set.public NetworkProfile networkProfile()
public AzureBareMetalInstanceInner 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 AzureBareMetalInstanceInner 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.