UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

266 lines (265 loc) • 10.3 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Uses Azure REST API version 2025-02-01. In version 2.x of the Azure Native provider, it used API version 2023-10-01-preview. * * Other available API versions: 2024-07-01, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native networkcloud [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class BareMetalMachine extends pulumi.CustomResource { /** * Get an existing BareMetalMachine resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BareMetalMachine; /** * Returns true if the given object is an instance of BareMetalMachine. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is BareMetalMachine; /** * The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network. */ readonly associatedResourceIds: pulumi.Output<string[]>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The connection string for the baseboard management controller including IP address and protocol. */ readonly bmcConnectionString: pulumi.Output<string>; /** * The credentials of the baseboard management controller on this bare metal machine. */ readonly bmcCredentials: pulumi.Output<outputs.networkcloud.AdministrativeCredentialsResponse>; /** * The MAC address of the BMC device. */ readonly bmcMacAddress: pulumi.Output<string>; /** * The MAC address of a NIC connected to the PXE network. */ readonly bootMacAddress: pulumi.Output<string>; /** * The resource ID of the cluster this bare metal machine is associated with. */ readonly clusterId: pulumi.Output<string>; /** * The cordon status of the bare metal machine. */ readonly cordonStatus: pulumi.Output<string>; /** * The more detailed status of the bare metal machine. */ readonly detailedStatus: pulumi.Output<string>; /** * The descriptive message about the current detailed status. */ readonly detailedStatusMessage: pulumi.Output<string>; /** * Resource ETag. */ readonly etag: pulumi.Output<string>; /** * The extended location of the cluster associated with the resource. */ readonly extendedLocation: pulumi.Output<outputs.networkcloud.ExtendedLocationResponse>; /** * The hardware inventory, including information acquired from the model/sku information and from the ironic inspector. */ readonly hardwareInventory: pulumi.Output<outputs.networkcloud.HardwareInventoryResponse>; /** * The details of the latest hardware validation performed for this bare metal machine. */ readonly hardwareValidationStatus: pulumi.Output<outputs.networkcloud.HardwareValidationStatusResponse>; /** * 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. */ readonly hybridAksClustersAssociatedIds: pulumi.Output<string[]>; /** * The name of this machine represented by the host object in the Cluster's Kubernetes control plane. */ readonly kubernetesNodeName: pulumi.Output<string>; /** * The version of Kubernetes running on this machine. */ readonly kubernetesVersion: pulumi.Output<string>; /** * The geo-location where the resource lives */ readonly location: pulumi.Output<string>; /** * The cluster version that has been applied to this machine during deployment or a version update. */ readonly machineClusterVersion: pulumi.Output<string | undefined>; /** * The custom details provided by the customer. */ readonly machineDetails: pulumi.Output<string>; /** * The OS-level hostname assigned to this machine. */ readonly machineName: pulumi.Output<string>; /** * The list of roles that are assigned to the cluster node running on this machine. */ readonly machineRoles: pulumi.Output<string[]>; /** * The unique internal identifier of the bare metal machine SKU. */ readonly machineSkuId: pulumi.Output<string>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * The IPv4 address that is assigned to the bare metal machine during the cluster deployment. */ readonly oamIpv4Address: pulumi.Output<string>; /** * The IPv6 address that is assigned to the bare metal machine during the cluster deployment. */ readonly oamIpv6Address: pulumi.Output<string>; /** * The image that is currently provisioned to the OS disk. */ readonly osImage: pulumi.Output<string>; /** * The power state derived from the baseboard management controller. */ readonly powerState: pulumi.Output<string>; /** * The provisioning state of the bare metal machine. */ readonly provisioningState: pulumi.Output<string>; /** * The resource ID of the rack where this bare metal machine resides. */ readonly rackId: pulumi.Output<string>; /** * The rack slot in which this bare metal machine is located, ordered from the bottom up i.e. the lowest slot is 1. */ readonly rackSlot: pulumi.Output<number>; /** * The indicator of whether the bare metal machine is ready to receive workloads. */ readonly readyState: pulumi.Output<string>; /** * The runtime protection status of the bare metal machine. */ readonly runtimeProtectionStatus: pulumi.Output<outputs.networkcloud.RuntimeProtectionStatusResponse>; /** * The list of statuses that represent secret rotation activity. */ readonly secretRotationStatus: pulumi.Output<outputs.networkcloud.SecretRotationStatusResponse[]>; /** * The serial number of the bare metal machine. */ readonly serialNumber: pulumi.Output<string>; /** * The discovered value of the machine's service tag. */ readonly serviceTag: pulumi.Output<string>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.networkcloud.SystemDataResponse>; /** * Resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<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. */ readonly virtualMachinesAssociatedIds: pulumi.Output<string[]>; /** * Create a BareMetalMachine resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BareMetalMachineArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a BareMetalMachine resource. */ export interface BareMetalMachineArgs { /** * The name of the bare metal machine. */ bareMetalMachineName?: pulumi.Input<string>; /** * The connection string for the baseboard management controller including IP address and protocol. */ bmcConnectionString: pulumi.Input<string>; /** * The credentials of the baseboard management controller on this bare metal machine. */ bmcCredentials: pulumi.Input<inputs.networkcloud.AdministrativeCredentialsArgs>; /** * The MAC address of the BMC device. */ bmcMacAddress: pulumi.Input<string>; /** * The MAC address of a NIC connected to the PXE network. */ bootMacAddress: pulumi.Input<string>; /** * The extended location of the cluster associated with the resource. */ extendedLocation: pulumi.Input<inputs.networkcloud.ExtendedLocationArgs>; /** * The geo-location where the resource lives */ location?: pulumi.Input<string>; /** * The cluster version that has been applied to this machine during deployment or a version update. */ machineClusterVersion?: pulumi.Input<string>; /** * The custom details provided by the customer. */ machineDetails: pulumi.Input<string>; /** * The OS-level hostname assigned to this machine. */ machineName: pulumi.Input<string>; /** * The unique internal identifier of the bare metal machine SKU. */ machineSkuId: pulumi.Input<string>; /** * The resource ID of the rack where this bare metal machine resides. */ rackId: pulumi.Input<string>; /** * The rack slot in which this bare metal machine is located, ordered from the bottom up i.e. the lowest slot is 1. */ rackSlot: pulumi.Input<number>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The serial number of the bare metal machine. */ serialNumber: pulumi.Input<string>; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }