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

110 lines (109 loc) 3.88 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name. * * Uses Azure REST API version 2024-08-01-preview. */ export declare function getAzureBareMetalInstance(args: GetAzureBareMetalInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetAzureBareMetalInstanceResult>; export interface GetAzureBareMetalInstanceArgs { /** * Name of the Azure Bare Metal Instance, also known as the ResourceName. */ azureBareMetalInstanceName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * AzureBareMetal instance info on Azure (ARM properties and AzureBareMetal properties) */ export interface GetAzureBareMetalInstanceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Specifies the Azure Bare Metal Instance unique ID. */ readonly azureBareMetalInstanceId?: string; /** * Specifies the hardware settings for the Azure Bare Metal Instance. */ readonly hardwareProfile?: outputs.baremetalinfrastructure.HardwareProfileResponse; /** * Hardware revision of an Azure Bare Metal Instance */ readonly hwRevision?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Specifies the network settings for the Azure Bare Metal Instance. */ readonly networkProfile?: outputs.baremetalinfrastructure.NetworkProfileResponse; /** * Specifies the operating system settings for the Azure Bare Metal Instance. */ readonly osProfile?: outputs.baremetalinfrastructure.OSProfileResponse; /** * ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance */ readonly partnerNodeId?: string; /** * Resource power state */ readonly powerState?: string; /** * State of provisioning of the AzureBareMetalInstance */ readonly provisioningState: string; /** * Resource proximity placement group */ readonly proximityPlacementGroup?: string; /** * Specifies the storage settings for the Azure Bare Metal Instance disks. */ readonly storageProfile?: outputs.baremetalinfrastructure.StorageProfileResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.baremetalinfrastructure.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name. * * Uses Azure REST API version 2024-08-01-preview. */ export declare function getAzureBareMetalInstanceOutput(args: GetAzureBareMetalInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAzureBareMetalInstanceResult>; export interface GetAzureBareMetalInstanceOutputArgs { /** * Name of the Azure Bare Metal Instance, also known as the ResourceName. */ azureBareMetalInstanceName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }