次の方法で共有


ArmNetworkCloudModelFactory.BareMetalMachineConfiguration Method

Definition

Initializes a new instance of BareMetalMachineConfiguration.

public static Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineConfiguration BareMetalMachineConfiguration (string bmcConnectionString = default, Azure.ResourceManager.NetworkCloud.Models.AdministrativeCredentials bmcCredentials = default, string bmcMacAddress = default, string bootMacAddress = default, string machineDetails = default, string machineName = default, long rackSlot = 0, string serialNumber = default);
static member BareMetalMachineConfiguration : string * Azure.ResourceManager.NetworkCloud.Models.AdministrativeCredentials * string * string * string * string * int64 * string -> Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineConfiguration
Public Shared Function BareMetalMachineConfiguration (Optional bmcConnectionString As String = Nothing, Optional bmcCredentials As AdministrativeCredentials = Nothing, Optional bmcMacAddress As String = Nothing, Optional bootMacAddress As String = Nothing, Optional machineDetails As String = Nothing, Optional machineName As String = Nothing, Optional rackSlot As Long = 0, Optional serialNumber As String = Nothing) As BareMetalMachineConfiguration

Parameters

bmcConnectionString
String

The connection string for the baseboard management controller including IP address and protocol.

bmcCredentials
AdministrativeCredentials

The credentials of the baseboard management controller on this bare metal machine.

bmcMacAddress
String

The MAC address of the BMC for this machine.

bootMacAddress
String

The MAC address associated with the PXE NIC card.

machineDetails
String

The free-form additional information about the machine, e.g. an asset tag.

machineName
String

The user-provided name for the bare metal machine created from this specification. If not provided, the machine name will be generated programmatically.

rackSlot
Int64

The slot the physical machine is in the rack based on the BOM configuration.

serialNumber
String

The serial number of the machine. Hardware suppliers may use an alternate value. For example, service tag.

Returns

A new BareMetalMachineConfiguration instance for mocking.

Applies to