Partilhar via


ArmNetworkCloudModelFactory.NetworkCloudBareMetalMachineData Method

Definition

Initializes a new instance of NetworkCloudBareMetalMachineData.

public static Azure.ResourceManager.NetworkCloud.NetworkCloudBareMetalMachineData NetworkCloudBareMetalMachineData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> associatedResourceIds = default, string bmcConnectionString = default, Azure.ResourceManager.NetworkCloud.Models.AdministrativeCredentials bmcCredentials = default, string bmcMacAddress = default, string bootMacAddress = default, Azure.Core.ResourceIdentifier clusterId = default, Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineCordonStatus? cordonStatus = default, Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineDetailedStatus? detailedStatus = default, string detailedStatusMessage = default, Azure.ResourceManager.NetworkCloud.Models.HardwareInventory hardwareInventory = default, Azure.ResourceManager.NetworkCloud.Models.HardwareValidationStatus hardwareValidationStatus = default, System.Collections.Generic.IEnumerable<string> hybridAksClustersAssociatedIds = default, string kubernetesNodeName = default, string kubernetesVersion = default, string machineClusterVersion = default, string machineDetails = default, string machineName = default, System.Collections.Generic.IEnumerable<string> machineRoles = default, string machineSkuId = default, System.Net.IPAddress oamIPv4Address = default, string oamIPv6Address = default, string osImage = default, Azure.ResourceManager.NetworkCloud.Models.BareMetalMachinePowerState? powerState = default, Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier rackId = default, long rackSlot = 0, Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineReadyState? readyState = default, Azure.ResourceManager.NetworkCloud.Models.RuntimeProtectionStatus runtimeProtectionStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.SecretRotationStatus> secretRotationStatus = default, string serialNumber = default, string serviceTag = default, System.Collections.Generic.IEnumerable<string> virtualMachinesAssociatedIds = default);
static member NetworkCloudBareMetalMachineData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation * seq<Azure.Core.ResourceIdentifier> * string * Azure.ResourceManager.NetworkCloud.Models.AdministrativeCredentials * string * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineCordonStatus> * Nullable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineDetailedStatus> * string * Azure.ResourceManager.NetworkCloud.Models.HardwareInventory * Azure.ResourceManager.NetworkCloud.Models.HardwareValidationStatus * seq<string> * string * string * string * string * string * seq<string> * string * System.Net.IPAddress * string * string * Nullable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachinePowerState> * Nullable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineProvisioningState> * Azure.Core.ResourceIdentifier * int64 * Nullable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineReadyState> * Azure.ResourceManager.NetworkCloud.Models.RuntimeProtectionStatus * seq<Azure.ResourceManager.NetworkCloud.Models.SecretRotationStatus> * string * string * seq<string> -> Azure.ResourceManager.NetworkCloud.NetworkCloudBareMetalMachineData
Public Shared Function NetworkCloudBareMetalMachineData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional associatedResourceIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional bmcConnectionString As String = Nothing, Optional bmcCredentials As AdministrativeCredentials = Nothing, Optional bmcMacAddress As String = Nothing, Optional bootMacAddress As String = Nothing, Optional clusterId As ResourceIdentifier = Nothing, Optional cordonStatus As Nullable(Of BareMetalMachineCordonStatus) = Nothing, Optional detailedStatus As Nullable(Of BareMetalMachineDetailedStatus) = Nothing, Optional detailedStatusMessage As String = Nothing, Optional hardwareInventory As HardwareInventory = Nothing, Optional hardwareValidationStatus As HardwareValidationStatus = Nothing, Optional hybridAksClustersAssociatedIds As IEnumerable(Of String) = Nothing, Optional kubernetesNodeName As String = Nothing, Optional kubernetesVersion As String = Nothing, Optional machineClusterVersion As String = Nothing, Optional machineDetails As String = Nothing, Optional machineName As String = Nothing, Optional machineRoles As IEnumerable(Of String) = Nothing, Optional machineSkuId As String = Nothing, Optional oamIPv4Address As IPAddress = Nothing, Optional oamIPv6Address As String = Nothing, Optional osImage As String = Nothing, Optional powerState As Nullable(Of BareMetalMachinePowerState) = Nothing, Optional provisioningState As Nullable(Of BareMetalMachineProvisioningState) = Nothing, Optional rackId As ResourceIdentifier = Nothing, Optional rackSlot As Long = 0, Optional readyState As Nullable(Of BareMetalMachineReadyState) = Nothing, Optional runtimeProtectionStatus As RuntimeProtectionStatus = Nothing, Optional secretRotationStatus As IEnumerable(Of SecretRotationStatus) = Nothing, Optional serialNumber As String = Nothing, Optional serviceTag As String = Nothing, Optional virtualMachinesAssociatedIds As IEnumerable(Of String) = Nothing) As NetworkCloudBareMetalMachineData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

extendedLocation
ExtendedLocation

The extended location of the cluster associated with the resource.

associatedResourceIds
IEnumerable<ResourceIdentifier>

The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.

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 device.

bootMacAddress
String

The MAC address of a NIC connected to the PXE network.

clusterId
ResourceIdentifier

The resource ID of the cluster this bare metal machine is associated with.

cordonStatus
Nullable<BareMetalMachineCordonStatus>

The cordon status of the bare metal machine.

detailedStatus
Nullable<BareMetalMachineDetailedStatus>

The more detailed status of the bare metal machine.

detailedStatusMessage
String

The descriptive message about the current detailed status.

hardwareInventory
HardwareInventory

The hardware inventory, including information acquired from the model/sku information and from the ironic inspector.

hardwareValidationStatus
HardwareValidationStatus

The details of the latest hardware validation performed for this bare metal machine.

hybridAksClustersAssociatedIds
IEnumerable<String>

Field Deprecated. These fields will be empty/omitted. The list of the resource IDs for the HybridAksClusters that have nodes hosted on this bare metal machine.

kubernetesNodeName
String

The name of this machine represented by the host object in the Cluster's Kubernetes control plane.

kubernetesVersion
String

The version of Kubernetes running on this machine.

machineClusterVersion
String

The cluster version that has been applied to this machine during deployment or a version update.

machineDetails
String

The custom details provided by the customer.

machineName
String

The OS-level hostname assigned to this machine.

machineRoles
IEnumerable<String>

The list of roles that are assigned to the cluster node running on this machine.

machineSkuId
String

The unique internal identifier of the bare metal machine SKU.

oamIPv4Address
IPAddress

The IPv4 address that is assigned to the bare metal machine during the cluster deployment.

oamIPv6Address
String

The IPv6 address that is assigned to the bare metal machine during the cluster deployment.

osImage
String

The image that is currently provisioned to the OS disk.

powerState
Nullable<BareMetalMachinePowerState>

The power state derived from the baseboard management controller.

provisioningState
Nullable<BareMetalMachineProvisioningState>

The provisioning state of the bare metal machine.

rackId
ResourceIdentifier

The resource ID of the rack where this bare metal machine resides.

rackSlot
Int64

The rack slot in which this bare metal machine is located, ordered from the bottom up i.e. the lowest slot is 1.

readyState
Nullable<BareMetalMachineReadyState>

The indicator of whether the bare metal machine is ready to receive workloads.

runtimeProtectionStatus
RuntimeProtectionStatus

The runtime protection status of the bare metal machine.

secretRotationStatus
IEnumerable<SecretRotationStatus>

The list of statuses that represent secret rotation activity.

serialNumber
String

The serial number of the bare metal machine.

serviceTag
String

The discovered value of the machine's service tag.

virtualMachinesAssociatedIds
IEnumerable<String>

Field Deprecated. These fields will be empty/omitted. The list of the resource IDs for the VirtualMachines that are hosted on this bare metal machine.

Returns

A new NetworkCloudBareMetalMachineData instance for mocking.

Applies to