BareMetalMachineConfigurationData Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. BareMetalMachineConfigurationData
- com.
Implements
public final class BareMetalMachineConfigurationData
implements JsonSerializable<BareMetalMachineConfigurationData>
BareMetalMachineConfigurationData represents configuration for the bare metal machine.
Constructor Summary
| Constructor | Description |
|---|---|
| BareMetalMachineConfigurationData() |
Creates an instance of Bare |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
bmcConnectionString()
Get the bmc |
|
Administrative |
bmcCredentials()
Get the bmc |
| String |
bmcMacAddress()
Get the bmc |
| String |
bootMacAddress()
Get the boot |
|
static
Bare |
fromJson(JsonReader jsonReader)
Reads an instance of Bare |
| String |
machineDetails()
Get the machine |
| String |
machineName()
Get the machine |
| long |
rackSlot()
Get the rack |
| String |
serialNumber()
Get the serial |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Bare |
withBmcCredentials(AdministrativeCredentials bmcCredentials)
Set the bmc |
|
Bare |
withBmcMacAddress(String bmcMacAddress)
Set the bmc |
|
Bare |
withBootMacAddress(String bootMacAddress)
Set the boot |
|
Bare |
withMachineDetails(String machineDetails)
Set the machine |
|
Bare |
withMachineName(String machineName)
Set the machine |
|
Bare |
withRackSlot(long rackSlot)
Set the rack |
|
Bare |
withSerialNumber(String serialNumber)
Set the serial |
Methods inherited from java.lang.Object
Constructor Details
BareMetalMachineConfigurationData
public BareMetalMachineConfigurationData()
Creates an instance of BareMetalMachineConfigurationData class.
Method Details
bmcConnectionString
public String bmcConnectionString()
Get the bmcConnectionString property: The connection string for the baseboard management controller including IP address and protocol.
Returns:
bmcCredentials
public AdministrativeCredentials bmcCredentials()
Get the bmcCredentials property: The credentials of the baseboard management controller on this bare metal machine. The password field is expected to be an Azure Key Vault key URL. Until the cluster is converted to utilize managed identity by setting the secret archive settings, the actual password value should be provided instead.
Returns:
bmcMacAddress
public String bmcMacAddress()
Get the bmcMacAddress property: The MAC address of the BMC for this machine.
Returns:
bootMacAddress
public String bootMacAddress()
Get the bootMacAddress property: The MAC address associated with the PXE NIC card.
Returns:
fromJson
public static BareMetalMachineConfigurationData fromJson(JsonReader jsonReader)
Reads an instance of BareMetalMachineConfigurationData from the JsonReader.
Parameters:
Returns:
Throws:
machineDetails
public String machineDetails()
Get the machineDetails property: The free-form additional information about the machine, e.g. an asset tag.
Returns:
machineName
public String machineName()
Get the machineName property: The user-provided name for the bare metal machine created from this specification. If not provided, the machine name will be generated programmatically.
Returns:
rackSlot
public long rackSlot()
Get the rackSlot property: The slot the physical machine is in the rack based on the BOM configuration.
Returns:
serialNumber
public String serialNumber()
Get the serialNumber property: The serial number of the machine. Hardware suppliers may use an alternate value. For example, service tag.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBmcCredentials
public BareMetalMachineConfigurationData withBmcCredentials(AdministrativeCredentials bmcCredentials)
Set the bmcCredentials property: The credentials of the baseboard management controller on this bare metal machine. The password field is expected to be an Azure Key Vault key URL. Until the cluster is converted to utilize managed identity by setting the secret archive settings, the actual password value should be provided instead.
Parameters:
Returns:
withBmcMacAddress
public BareMetalMachineConfigurationData withBmcMacAddress(String bmcMacAddress)
Set the bmcMacAddress property: The MAC address of the BMC for this machine.
Parameters:
Returns:
withBootMacAddress
public BareMetalMachineConfigurationData withBootMacAddress(String bootMacAddress)
Set the bootMacAddress property: The MAC address associated with the PXE NIC card.
Parameters:
Returns:
withMachineDetails
public BareMetalMachineConfigurationData withMachineDetails(String machineDetails)
Set the machineDetails property: The free-form additional information about the machine, e.g. an asset tag.
Parameters:
Returns:
withMachineName
public BareMetalMachineConfigurationData withMachineName(String machineName)
Set the machineName property: The user-provided name for the bare metal machine created from this specification. If not provided, the machine name will be generated programmatically.
Parameters:
Returns:
withRackSlot
public BareMetalMachineConfigurationData withRackSlot(long rackSlot)
Set the rackSlot property: The slot the physical machine is in the rack based on the BOM configuration.
Parameters:
Returns:
withSerialNumber
public BareMetalMachineConfigurationData withSerialNumber(String serialNumber)
Set the serialNumber property: The serial number of the machine. Hardware suppliers may use an alternate value. For example, service tag.
Parameters:
Returns: