This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.baremetalinfrastructure.getAzureBareMetalInstance
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name. Azure REST API version: 2024-08-01-preview.
Using getAzureBareMetalInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAzureBareMetalInstance(args: GetAzureBareMetalInstanceArgs, opts?: InvokeOptions): Promise<GetAzureBareMetalInstanceResult>
function getAzureBareMetalInstanceOutput(args: GetAzureBareMetalInstanceOutputArgs, opts?: InvokeOptions): Output<GetAzureBareMetalInstanceResult>def get_azure_bare_metal_instance(azure_bare_metal_instance_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetAzureBareMetalInstanceResult
def get_azure_bare_metal_instance_output(azure_bare_metal_instance_name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetAzureBareMetalInstanceResult]func LookupAzureBareMetalInstance(ctx *Context, args *LookupAzureBareMetalInstanceArgs, opts ...InvokeOption) (*LookupAzureBareMetalInstanceResult, error)
func LookupAzureBareMetalInstanceOutput(ctx *Context, args *LookupAzureBareMetalInstanceOutputArgs, opts ...InvokeOption) LookupAzureBareMetalInstanceResultOutput> Note: This function is named LookupAzureBareMetalInstance in the Go SDK.
public static class GetAzureBareMetalInstance 
{
    public static Task<GetAzureBareMetalInstanceResult> InvokeAsync(GetAzureBareMetalInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetAzureBareMetalInstanceResult> Invoke(GetAzureBareMetalInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAzureBareMetalInstanceResult> getAzureBareMetalInstance(GetAzureBareMetalInstanceArgs args, InvokeOptions options)
public static Output<GetAzureBareMetalInstanceResult> getAzureBareMetalInstance(GetAzureBareMetalInstanceArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:baremetalinfrastructure:getAzureBareMetalInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AzureBare stringMetal Instance Name 
- Name of the Azure Bare Metal Instance, also known as the ResourceName.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AzureBare stringMetal Instance Name 
- Name of the Azure Bare Metal Instance, also known as the ResourceName.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- azureBare StringMetal Instance Name 
- Name of the Azure Bare Metal Instance, also known as the ResourceName.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- azureBare stringMetal Instance Name 
- Name of the Azure Bare Metal Instance, also known as the ResourceName.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- azure_bare_ strmetal_ instance_ name 
- Name of the Azure Bare Metal Instance, also known as the ResourceName.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- azureBare StringMetal Instance Name 
- Name of the Azure Bare Metal Instance, also known as the ResourceName.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getAzureBareMetalInstance Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- ProvisioningState string
- State of provisioning of the AzureBareMetalInstance
- SystemData Pulumi.Azure Native. Bare Metal Infrastructure. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AzureBare stringMetal Instance Id 
- Specifies the Azure Bare Metal Instance unique ID.
- HardwareProfile Pulumi.Azure Native. Bare Metal Infrastructure. Outputs. Hardware Profile Response 
- Specifies the hardware settings for the Azure Bare Metal Instance.
- HwRevision string
- Hardware revision of an Azure Bare Metal Instance
- NetworkProfile Pulumi.Azure Native. Bare Metal Infrastructure. Outputs. Network Profile Response 
- Specifies the network settings for the Azure Bare Metal Instance.
- OsProfile Pulumi.Azure Native. Bare Metal Infrastructure. Outputs. OSProfile Response 
- Specifies the operating system settings for the Azure Bare Metal Instance.
- PartnerNode stringId 
- ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
- PowerState string
- Resource power state
- ProximityPlacement stringGroup 
- Resource proximity placement group
- StorageProfile Pulumi.Azure Native. Bare Metal Infrastructure. Outputs. Storage Profile Response 
- Specifies the storage settings for the Azure Bare Metal Instance disks.
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- ProvisioningState string
- State of provisioning of the AzureBareMetalInstance
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AzureBare stringMetal Instance Id 
- Specifies the Azure Bare Metal Instance unique ID.
- HardwareProfile HardwareProfile Response 
- Specifies the hardware settings for the Azure Bare Metal Instance.
- HwRevision string
- Hardware revision of an Azure Bare Metal Instance
- NetworkProfile NetworkProfile Response 
- Specifies the network settings for the Azure Bare Metal Instance.
- OsProfile OSProfileResponse 
- Specifies the operating system settings for the Azure Bare Metal Instance.
- PartnerNode stringId 
- ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
- PowerState string
- Resource power state
- ProximityPlacement stringGroup 
- Resource proximity placement group
- StorageProfile StorageProfile Response 
- Specifies the storage settings for the Azure Bare Metal Instance disks.
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioningState String
- State of provisioning of the AzureBareMetalInstance
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureBare StringMetal Instance Id 
- Specifies the Azure Bare Metal Instance unique ID.
- hardwareProfile HardwareProfile Response 
- Specifies the hardware settings for the Azure Bare Metal Instance.
- hwRevision String
- Hardware revision of an Azure Bare Metal Instance
- networkProfile NetworkProfile Response 
- Specifies the network settings for the Azure Bare Metal Instance.
- osProfile OSProfileResponse 
- Specifies the operating system settings for the Azure Bare Metal Instance.
- partnerNode StringId 
- ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
- powerState String
- Resource power state
- proximityPlacement StringGroup 
- Resource proximity placement group
- storageProfile StorageProfile Response 
- Specifies the storage settings for the Azure Bare Metal Instance disks.
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioningState string
- State of provisioning of the AzureBareMetalInstance
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureBare stringMetal Instance Id 
- Specifies the Azure Bare Metal Instance unique ID.
- hardwareProfile HardwareProfile Response 
- Specifies the hardware settings for the Azure Bare Metal Instance.
- hwRevision string
- Hardware revision of an Azure Bare Metal Instance
- networkProfile NetworkProfile Response 
- Specifies the network settings for the Azure Bare Metal Instance.
- osProfile OSProfileResponse 
- Specifies the operating system settings for the Azure Bare Metal Instance.
- partnerNode stringId 
- ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
- powerState string
- Resource power state
- proximityPlacement stringGroup 
- Resource proximity placement group
- storageProfile StorageProfile Response 
- Specifies the storage settings for the Azure Bare Metal Instance disks.
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- provisioning_state str
- State of provisioning of the AzureBareMetalInstance
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_bare_ strmetal_ instance_ id 
- Specifies the Azure Bare Metal Instance unique ID.
- hardware_profile HardwareProfile Response 
- Specifies the hardware settings for the Azure Bare Metal Instance.
- hw_revision str
- Hardware revision of an Azure Bare Metal Instance
- network_profile NetworkProfile Response 
- Specifies the network settings for the Azure Bare Metal Instance.
- os_profile OSProfileResponse 
- Specifies the operating system settings for the Azure Bare Metal Instance.
- partner_node_ strid 
- ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
- power_state str
- Resource power state
- proximity_placement_ strgroup 
- Resource proximity placement group
- storage_profile StorageProfile Response 
- Specifies the storage settings for the Azure Bare Metal Instance disks.
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioningState String
- State of provisioning of the AzureBareMetalInstance
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureBare StringMetal Instance Id 
- Specifies the Azure Bare Metal Instance unique ID.
- hardwareProfile Property Map
- Specifies the hardware settings for the Azure Bare Metal Instance.
- hwRevision String
- Hardware revision of an Azure Bare Metal Instance
- networkProfile Property Map
- Specifies the network settings for the Azure Bare Metal Instance.
- osProfile Property Map
- Specifies the operating system settings for the Azure Bare Metal Instance.
- partnerNode StringId 
- ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance
- powerState String
- Resource power state
- proximityPlacement StringGroup 
- Resource proximity placement group
- storageProfile Property Map
- Specifies the storage settings for the Azure Bare Metal Instance disks.
- Map<String>
- Resource tags.
Supporting Types
DiskResponse 
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes.
- Name string
- The disk name.
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes.
- Name string
- The disk name.
- lun Integer
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- diskSize IntegerGB 
- Specifies the size of an empty data disk in gigabytes.
- name String
- The disk name.
- lun number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- diskSize numberGB 
- Specifies the size of an empty data disk in gigabytes.
- name string
- The disk name.
- lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- disk_size_ intgb 
- Specifies the size of an empty data disk in gigabytes.
- name str
- The disk name.
- lun Number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- diskSize NumberGB 
- Specifies the size of an empty data disk in gigabytes.
- name String
- The disk name.
HardwareProfileResponse  
- AzureBare stringMetal Instance Size 
- Specifies the Azure Bare Metal Instance SKU.
- HardwareType string
- Name of the hardware type (vendor and/or their product name)
- AzureBare stringMetal Instance Size 
- Specifies the Azure Bare Metal Instance SKU.
- HardwareType string
- Name of the hardware type (vendor and/or their product name)
- azureBare StringMetal Instance Size 
- Specifies the Azure Bare Metal Instance SKU.
- hardwareType String
- Name of the hardware type (vendor and/or their product name)
- azureBare stringMetal Instance Size 
- Specifies the Azure Bare Metal Instance SKU.
- hardwareType string
- Name of the hardware type (vendor and/or their product name)
- azure_bare_ strmetal_ instance_ size 
- Specifies the Azure Bare Metal Instance SKU.
- hardware_type str
- Name of the hardware type (vendor and/or their product name)
- azureBare StringMetal Instance Size 
- Specifies the Azure Bare Metal Instance SKU.
- hardwareType String
- Name of the hardware type (vendor and/or their product name)
NetworkInterfaceResponse  
- IpAddress string
- Specifies the IP address of the network interface.
- IpAddress string
- Specifies the IP address of the network interface.
- ipAddress String
- Specifies the IP address of the network interface.
- ipAddress string
- Specifies the IP address of the network interface.
- ip_address str
- Specifies the IP address of the network interface.
- ipAddress String
- Specifies the IP address of the network interface.
NetworkProfileResponse  
- CircuitId string
- Specifies the circuit id for connecting to express route.
- NetworkInterfaces List<Pulumi.Azure Native. Bare Metal Infrastructure. Inputs. Network Interface Response> 
- Specifies the network interfaces for the Azure Bare Metal Instance.
- CircuitId string
- Specifies the circuit id for connecting to express route.
- NetworkInterfaces []NetworkInterface Response 
- Specifies the network interfaces for the Azure Bare Metal Instance.
- circuitId String
- Specifies the circuit id for connecting to express route.
- networkInterfaces List<NetworkInterface Response> 
- Specifies the network interfaces for the Azure Bare Metal Instance.
- circuitId string
- Specifies the circuit id for connecting to express route.
- networkInterfaces NetworkInterface Response[] 
- Specifies the network interfaces for the Azure Bare Metal Instance.
- circuit_id str
- Specifies the circuit id for connecting to express route.
- network_interfaces Sequence[NetworkInterface Response] 
- Specifies the network interfaces for the Azure Bare Metal Instance.
- circuitId String
- Specifies the circuit id for connecting to express route.
- networkInterfaces List<Property Map>
- Specifies the network interfaces for the Azure Bare Metal Instance.
OSProfileResponse 
- ComputerName string
- Specifies the host OS name of the Azure Bare Metal instance.
- OsType string
- This property allows you to specify the type of the OS.
- SshPublic stringKey 
- Specifies the SSH public key used to access the operating system.
- Version string
- Specifies version of operating system.
- ComputerName string
- Specifies the host OS name of the Azure Bare Metal instance.
- OsType string
- This property allows you to specify the type of the OS.
- SshPublic stringKey 
- Specifies the SSH public key used to access the operating system.
- Version string
- Specifies version of operating system.
- computerName String
- Specifies the host OS name of the Azure Bare Metal instance.
- osType String
- This property allows you to specify the type of the OS.
- sshPublic StringKey 
- Specifies the SSH public key used to access the operating system.
- version String
- Specifies version of operating system.
- computerName string
- Specifies the host OS name of the Azure Bare Metal instance.
- osType string
- This property allows you to specify the type of the OS.
- sshPublic stringKey 
- Specifies the SSH public key used to access the operating system.
- version string
- Specifies version of operating system.
- computer_name str
- Specifies the host OS name of the Azure Bare Metal instance.
- os_type str
- This property allows you to specify the type of the OS.
- ssh_public_ strkey 
- Specifies the SSH public key used to access the operating system.
- version str
- Specifies version of operating system.
- computerName String
- Specifies the host OS name of the Azure Bare Metal instance.
- osType String
- This property allows you to specify the type of the OS.
- sshPublic StringKey 
- Specifies the SSH public key used to access the operating system.
- version String
- Specifies version of operating system.
StorageProfileResponse  
- NfsIp stringAddress 
- IP Address to connect to storage.
- OsDisks List<Pulumi.Azure Native. Bare Metal Infrastructure. Inputs. Disk Response> 
- Specifies information about the operating system disk used by bare metal instance.
- NfsIp stringAddress 
- IP Address to connect to storage.
- OsDisks []DiskResponse 
- Specifies information about the operating system disk used by bare metal instance.
- nfsIp StringAddress 
- IP Address to connect to storage.
- osDisks List<DiskResponse> 
- Specifies information about the operating system disk used by bare metal instance.
- nfsIp stringAddress 
- IP Address to connect to storage.
- osDisks DiskResponse[] 
- Specifies information about the operating system disk used by bare metal instance.
- nfs_ip_ straddress 
- IP Address to connect to storage.
- os_disks Sequence[DiskResponse] 
- Specifies information about the operating system disk used by bare metal instance.
- nfsIp StringAddress 
- IP Address to connect to storage.
- osDisks List<Property Map>
- Specifies information about the operating system disk used by bare metal instance.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi