@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 7.79 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Bastion Host resource.
*
* Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01.
*
* Other available API versions: 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class BastionHost extends pulumi.CustomResource {
/**
* Get an existing BastionHost 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): BastionHost;
/**
* Returns true if the given object is an instance of BastionHost. 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 BastionHost;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Enable/Disable Copy/Paste feature of the Bastion Host resource.
*/
readonly disableCopyPaste: pulumi.Output<boolean | undefined>;
/**
* FQDN for the endpoint on which bastion host is accessible.
*/
readonly dnsName: pulumi.Output<string | undefined>;
/**
* Enable/Disable File Copy feature of the Bastion Host resource.
*/
readonly enableFileCopy: pulumi.Output<boolean | undefined>;
/**
* Enable/Disable IP Connect feature of the Bastion Host resource.
*/
readonly enableIpConnect: pulumi.Output<boolean | undefined>;
/**
* Enable/Disable Kerberos feature of the Bastion Host resource.
*/
readonly enableKerberos: pulumi.Output<boolean | undefined>;
/**
* Enable/Disable Private Only feature of the Bastion Host resource.
*/
readonly enablePrivateOnlyBastion: pulumi.Output<boolean | undefined>;
/**
* Enable/Disable Session Recording feature of the Bastion Host resource.
*/
readonly enableSessionRecording: pulumi.Output<boolean | undefined>;
/**
* Enable/Disable Shareable Link of the Bastion Host resource.
*/
readonly enableShareableLink: pulumi.Output<boolean | undefined>;
/**
* Enable/Disable Tunneling feature of the Bastion Host resource.
*/
readonly enableTunneling: pulumi.Output<boolean | undefined>;
/**
* A unique read-only string that changes whenever the resource is updated.
*/
readonly etag: pulumi.Output<string>;
/**
* IP configuration of the Bastion Host resource.
*/
readonly ipConfigurations: pulumi.Output<outputs.network.BastionHostIPConfigurationResponse[] | undefined>;
/**
* Resource location.
*/
readonly location: pulumi.Output<string | undefined>;
/**
* Resource name.
*/
readonly name: pulumi.Output<string>;
readonly networkAcls: pulumi.Output<outputs.network.BastionHostPropertiesFormatResponseNetworkAcls | undefined>;
/**
* The provisioning state of the bastion host resource.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* The scale units for the Bastion Host resource.
*/
readonly scaleUnits: pulumi.Output<number | undefined>;
/**
* The sku of this Bastion Host.
*/
readonly sku: pulumi.Output<outputs.network.SkuResponse | undefined>;
/**
* Resource tags.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Resource type.
*/
readonly type: pulumi.Output<string>;
/**
* Reference to an existing virtual network required for Developer Bastion Host only.
*/
readonly virtualNetwork: pulumi.Output<outputs.network.SubResourceResponse | undefined>;
/**
* A list of availability zones denoting where the resource needs to come from.
*/
readonly zones: pulumi.Output<string[] | undefined>;
/**
* Create a BastionHost 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: BastionHostArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a BastionHost resource.
*/
export interface BastionHostArgs {
/**
* The name of the Bastion Host.
*/
bastionHostName?: pulumi.Input<string>;
/**
* Enable/Disable Copy/Paste feature of the Bastion Host resource.
*/
disableCopyPaste?: pulumi.Input<boolean>;
/**
* FQDN for the endpoint on which bastion host is accessible.
*/
dnsName?: pulumi.Input<string>;
/**
* Enable/Disable File Copy feature of the Bastion Host resource.
*/
enableFileCopy?: pulumi.Input<boolean>;
/**
* Enable/Disable IP Connect feature of the Bastion Host resource.
*/
enableIpConnect?: pulumi.Input<boolean>;
/**
* Enable/Disable Kerberos feature of the Bastion Host resource.
*/
enableKerberos?: pulumi.Input<boolean>;
/**
* Enable/Disable Private Only feature of the Bastion Host resource.
*/
enablePrivateOnlyBastion?: pulumi.Input<boolean>;
/**
* Enable/Disable Session Recording feature of the Bastion Host resource.
*/
enableSessionRecording?: pulumi.Input<boolean>;
/**
* Enable/Disable Shareable Link of the Bastion Host resource.
*/
enableShareableLink?: pulumi.Input<boolean>;
/**
* Enable/Disable Tunneling feature of the Bastion Host resource.
*/
enableTunneling?: pulumi.Input<boolean>;
/**
* Resource ID.
*/
id?: pulumi.Input<string>;
/**
* IP configuration of the Bastion Host resource.
*/
ipConfigurations?: pulumi.Input<pulumi.Input<inputs.network.BastionHostIPConfigurationArgs>[]>;
/**
* Resource location.
*/
location?: pulumi.Input<string>;
networkAcls?: pulumi.Input<inputs.network.BastionHostPropertiesFormatNetworkAclsArgs>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The scale units for the Bastion Host resource.
*/
scaleUnits?: pulumi.Input<number>;
/**
* The sku of this Bastion Host.
*/
sku?: pulumi.Input<inputs.network.SkuArgs>;
/**
* Resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Reference to an existing virtual network required for Developer Bastion Host only.
*/
virtualNetwork?: pulumi.Input<inputs.network.SubResourceArgs>;
/**
* A list of availability zones denoting where the resource needs to come from.
*/
zones?: pulumi.Input<pulumi.Input<string>[]>;
}