import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Bastion Host. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.compute.getBastionHost({ * name: "existing-bastion", * resourceGroupName: "existing-resources", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getBastionHost(args: GetBastionHostArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBastionHost. */ export interface GetBastionHostArgs { /** * The name of the Bastion Host. */ name: string; /** * The name of the Resource Group where the Bastion Host exists. */ resourceGroupName: string; } /** * A collection of values returned by getBastionHost. */ export interface GetBastionHostResult { /** * Is Copy/Paste feature enabled for the Bastion Host. */ readonly copyPasteEnabled: boolean; /** * The FQDN for the Bastion Host. */ readonly dnsName: string; /** * Is File Copy feature enabled for the Bastion Host. */ readonly fileCopyEnabled: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A `ipConfiguration` block as defined below. */ readonly ipConfigurations: outputs.compute.GetBastionHostIpConfiguration[]; /** * Is IP Connect feature enabled for the Bastion Host. */ readonly ipConnectEnabled: boolean; /** * The Azure Region where the Bastion Host exists. */ readonly location: string; /** * The name of the IP configuration. */ readonly name: string; /** * Whether Private-Only deployment is enabled for the Bastion Host. */ readonly privateOnlyEnabled: boolean; readonly resourceGroupName: string; /** * The number of scale units provisioned for the Bastion Host. */ readonly scaleUnits: number; /** * Is Session Recording feature enabled for the Bastion Host. */ readonly sessionRecordingEnabled: boolean; /** * Is Shareable Link feature enabled for the Bastion Host. */ readonly shareableLinkEnabled: boolean; /** * The SKU of the Bastion Host. */ readonly sku: string; /** * A mapping of tags assigned to the Bastion Host. */ readonly tags: { [key: string]: string; }; /** * Is Tunneling feature enabled for the Bastion Host. */ readonly tunnelingEnabled: boolean; /** * A list of Availability Zones in which this Bastion Host is located. */ readonly zones: string[]; } /** * Use this data source to access information about an existing Bastion Host. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.compute.getBastionHost({ * name: "existing-bastion", * resourceGroupName: "existing-resources", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getBastionHostOutput(args: GetBastionHostOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBastionHost. */ export interface GetBastionHostOutputArgs { /** * The name of the Bastion Host. */ name: pulumi.Input; /** * The name of the Resource Group where the Bastion Host exists. */ resourceGroupName: pulumi.Input; }