BastionHost
Manages a Bastion Host.
Note: Bastion Hosts are a preview feature in Azure, and therefore are only supported in a select number of regions. Read more.
Create a BastionHost Resource
new BastionHost(name: string, args: BastionHostArgs, opts?: CustomResourceOptions);def BastionHost(resource_name, opts=None, ip_configuration=None, location=None, name=None, resource_group_name=None, tags=None, __props__=None);func NewBastionHost(ctx *Context, name string, args BastionHostArgs, opts ...ResourceOption) (*BastionHost, error)public BastionHost(string name, BastionHostArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args BastionHostArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BastionHostArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BastionHostArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
BastionHost Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The BastionHost resource accepts the following input properties:
- Resource
Group stringName The name of the resource group in which to create the Bastion Host.
- Ip
Configuration BastionHost Ip Configuration Args A
ip_configurationblock as defined below.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Bastion Host. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Resource
Group stringName The name of the resource group in which to create the Bastion Host.
- Ip
Configuration BastionHost Ip Configuration A
ip_configurationblock as defined below.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Bastion Host. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- resource
Group stringName The name of the resource group in which to create the Bastion Host.
- ip
Configuration BastionHost Ip Configuration A
ip_configurationblock as defined below.- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
Specifies the name of the Bastion Host. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- resource_
group_ strname The name of the resource group in which to create the Bastion Host.
- ip_
configuration Dict[BastionHost Ip Configuration] A
ip_configurationblock as defined below.- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
Specifies the name of the Bastion Host. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the BastionHost resource produces the following output properties:
Look up an Existing BastionHost Resource
Get an existing BastionHost resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BastionHostState, opts?: CustomResourceOptions): BastionHoststatic get(resource_name, id, opts=None, dns_name=None, ip_configuration=None, location=None, name=None, resource_group_name=None, tags=None, __props__=None);func GetBastionHost(ctx *Context, name string, id IDInput, state *BastionHostState, opts ...ResourceOption) (*BastionHost, error)public static BastionHost Get(string name, Input<string> id, BastionHostState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Dns
Name string The FQDN for the Bastion Host.
- Ip
Configuration BastionHost Ip Configuration Args A
ip_configurationblock as defined below.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Bastion Host. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Bastion Host.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Dns
Name string The FQDN for the Bastion Host.
- Ip
Configuration BastionHost Ip Configuration A
ip_configurationblock as defined below.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
Specifies the name of the Bastion Host. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Bastion Host.
- map[string]string
A mapping of tags to assign to the resource.
- dns
Name string The FQDN for the Bastion Host.
- ip
Configuration BastionHost Ip Configuration A
ip_configurationblock as defined below.- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
Specifies the name of the Bastion Host. Changing this forces a new resource to be created.
- resource
Group stringName The name of the resource group in which to create the Bastion Host.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- dns_
name str The FQDN for the Bastion Host.
- ip_
configuration Dict[BastionHost Ip Configuration] A
ip_configurationblock as defined below.- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
Specifies the name of the Bastion Host. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the resource group in which to create the Bastion Host.
- Dict[str, str]
A mapping of tags to assign to the resource.
Supporting Types
BastionHostIpConfiguration
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.