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

86 lines (85 loc) 3.83 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets an Azure Bare Metal Storage instance for the specified subscription, resource group, and instance name. * * Uses Azure REST API version 2024-08-01-preview. * * Other available API versions: 2023-04-06, 2023-08-04-preview, 2023-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native baremetalinfrastructure [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getAzureBareMetalStorageInstance(args: GetAzureBareMetalStorageInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetAzureBareMetalStorageInstanceResult>; export interface GetAzureBareMetalStorageInstanceArgs { /** * Name of the Azure Bare Metal Storage Instance, also known as the ResourceName. */ azureBareMetalStorageInstanceName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * AzureBareMetalStorageInstance info on Azure (ARM properties and AzureBareMetalStorage properties) */ export interface GetAzureBareMetalStorageInstanceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Specifies the AzureBareMetaStorageInstance unique ID. */ readonly azureBareMetalStorageInstanceUniqueIdentifier?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The identity of Azure Bare Metal Storage Instance, if configured. */ readonly identity?: outputs.baremetalinfrastructure.AzureBareMetalStorageInstanceIdentityResponse; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Specifies the storage properties for the AzureBareMetalStorage instance. */ readonly storageProperties?: outputs.baremetalinfrastructure.StoragePropertiesResponse; /** * 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 Storage instance for the specified subscription, resource group, and instance name. * * Uses Azure REST API version 2024-08-01-preview. * * Other available API versions: 2023-04-06, 2023-08-04-preview, 2023-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native baremetalinfrastructure [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getAzureBareMetalStorageInstanceOutput(args: GetAzureBareMetalStorageInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAzureBareMetalStorageInstanceResult>; export interface GetAzureBareMetalStorageInstanceOutputArgs { /** * Name of the Azure Bare Metal Storage Instance, also known as the ResourceName. */ azureBareMetalStorageInstanceName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }