共用方式為


BareMetalMachine Class

Definition

BareMetalMachine represents the physical machine in the rack.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.BareMetalMachineTypeConverter))]
public class BareMetalMachine : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IBareMetalMachine, Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.BareMetalMachineTypeConverter))>]
type BareMetalMachine = class
    interface IBareMetalMachine
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class BareMetalMachine
Implements IBareMetalMachine, IValidates
Inheritance
BareMetalMachine
Attributes
Implements

Constructors

BareMetalMachine()

Creates an new BareMetalMachine instance.

Properties

AssociatedResourceId

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

BmcConnectionString

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

BmcCredentialsPassword

The password of the administrator of the device used during initialization.

BmcCredentialsUsername

The username of the administrator of the device used during initialization.

BmcMacAddress

The MAC address of the BMC device.

BootMacAddress

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

ClusterId

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

CordonStatus

The cordon status of the bare metal machine.

DetailedStatus

The more detailed status of the bare metal machine.

DetailedStatusMessage

The descriptive message about the current detailed status.

ExtendedLocationName

The resource ID of the extended location on which the resource will be created.

ExtendedLocationType

The extended location type, for example, CustomLocation.

HardwareInventoryAdditionalHostInformation

Freeform data extracted from the environment about this machine. This information varies depending on the specific hardware and configuration.

HardwareInventoryInterface

The list of network interfaces and associated details for the bare metal machine.

HardwareInventoryNic

Field Deprecated. Will be removed in an upcoming version. The list of network interface cards and associated details for the bare metal machine.

HardwareValidationStatusLastValidationTime

The timestamp of the hardware validation execution.

HardwareValidationStatusResult

The outcome of the hardware validation.

HybridAksClustersAssociatedId

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.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

KubernetesNodeName

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

KubernetesVersion

The version of Kubernetes running on this machine.

Location

The geo-location where the resource lives

MachineDetail

The custom details provided by the customer.

MachineName

The OS-level hostname assigned to this machine.

MachineSkuId

The unique internal identifier of the bare metal machine SKU.

Name

The name of the resource

OamIpv4Address

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

OamIpv6Address

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

OSImage

The image that is currently provisioned to the OS disk.

PowerState

The power state derived from the baseboard management controller.

ProvisioningState

The provisioning state of the bare metal machine.

RackId

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

RackSlot

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

ReadyState

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

ResourceGroupName

Gets the resource group name

SerialNumber

The serial number of the bare metal machine.

ServiceTag

The discovered value of the machine's service tag.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

VirtualMachinesAssociatedId

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BareMetalMachine.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BareMetalMachine.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IBareMetalMachine.

FromJsonString(String)

Creates a new instance of BareMetalMachine, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of BareMetalMachine into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to