azure-native.network.BastionHost
Explore with Pulumi AI
Bastion Host resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Example Usage
Create Bastion Host
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var bastionHost = new AzureNative.Network.BastionHost("bastionHost", new()
    {
        BastionHostName = "bastionhosttenant",
        IpConfigurations = new[]
        {
            new AzureNative.Network.Inputs.BastionHostIPConfigurationArgs
            {
                Name = "bastionHostIpConfiguration",
                PublicIPAddress = new AzureNative.Network.Inputs.SubResourceArgs
                {
                    Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName",
                },
                Subnet = new AzureNative.Network.Inputs.SubResourceArgs
                {
                    Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet",
                },
            },
        },
        ResourceGroupName = "rg1",
    });
});
package main
import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewBastionHost(ctx, "bastionHost", &network.BastionHostArgs{
			BastionHostName: pulumi.String("bastionhosttenant"),
			IpConfigurations: network.BastionHostIPConfigurationArray{
				&network.BastionHostIPConfigurationArgs{
					Name: pulumi.String("bastionHostIpConfiguration"),
					PublicIPAddress: &network.SubResourceArgs{
						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"),
					},
					Subnet: &network.SubResourceArgs{
						Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"),
					},
				},
			},
			ResourceGroupName: pulumi.String("rg1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.BastionHost;
import com.pulumi.azurenative.network.BastionHostArgs;
import com.pulumi.azurenative.network.inputs.BastionHostIPConfigurationArgs;
import com.pulumi.azurenative.network.inputs.SubResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var bastionHost = new BastionHost("bastionHost", BastionHostArgs.builder()
            .bastionHostName("bastionhosttenant")
            .ipConfigurations(BastionHostIPConfigurationArgs.builder()
                .name("bastionHostIpConfiguration")
                .publicIPAddress(SubResourceArgs.builder()
                    .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName")
                    .build())
                .subnet(SubResourceArgs.builder()
                    .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet")
                    .build())
                .build())
            .resourceGroupName("rg1")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const bastionHost = new azure_native.network.BastionHost("bastionHost", {
    bastionHostName: "bastionhosttenant",
    ipConfigurations: [{
        name: "bastionHostIpConfiguration",
        publicIPAddress: {
            id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName",
        },
        subnet: {
            id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet",
        },
    }],
    resourceGroupName: "rg1",
});
import pulumi
import pulumi_azure_native as azure_native
bastion_host = azure_native.network.BastionHost("bastionHost",
    bastion_host_name="bastionhosttenant",
    ip_configurations=[{
        "name": "bastionHostIpConfiguration",
        "public_ip_address": {
            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName",
        },
        "subnet": {
            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet",
        },
    }],
    resource_group_name="rg1")
resources:
  bastionHost:
    type: azure-native:network:BastionHost
    properties:
      bastionHostName: bastionhosttenant
      ipConfigurations:
        - name: bastionHostIpConfiguration
          publicIPAddress:
            id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName
          subnet:
            id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet
      resourceGroupName: rg1
Create BastionHost Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BastionHost(name: string, args: BastionHostArgs, opts?: CustomResourceOptions);@overload
def BastionHost(resource_name: str,
                args: BastionHostArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def BastionHost(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                enable_shareable_link: Optional[bool] = None,
                id: Optional[str] = None,
                enable_file_copy: Optional[bool] = None,
                enable_ip_connect: Optional[bool] = None,
                enable_kerberos: Optional[bool] = None,
                bastion_host_name: Optional[str] = None,
                enable_tunneling: Optional[bool] = None,
                dns_name: Optional[str] = None,
                ip_configurations: Optional[Sequence[BastionHostIPConfigurationArgs]] = None,
                location: Optional[str] = None,
                disable_copy_paste: Optional[bool] = None,
                scale_units: Optional[int] = None,
                sku: Optional[SkuArgs] = None,
                tags: Optional[Mapping[str, str]] = None)func NewBastionHost(ctx *Context, name string, args BastionHostArgs, opts ...ResourceOption) (*BastionHost, error)public BastionHost(string name, BastionHostArgs args, CustomResourceOptions? opts = null)
public BastionHost(String name, BastionHostArgs args)
public BastionHost(String name, BastionHostArgs args, CustomResourceOptions options)
type: azure-native:network:BastionHost
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- args BastionHostArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args BastionHostArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var bastionHostResource = new AzureNative.Network.BastionHost("bastionHostResource", new()
{
    ResourceGroupName = "string",
    EnableShareableLink = false,
    Id = "string",
    EnableFileCopy = false,
    EnableIpConnect = false,
    EnableKerberos = false,
    BastionHostName = "string",
    EnableTunneling = false,
    DnsName = "string",
    IpConfigurations = new[]
    {
        new AzureNative.Network.Inputs.BastionHostIPConfigurationArgs
        {
            PublicIPAddress = new AzureNative.Network.Inputs.SubResourceArgs
            {
                Id = "string",
            },
            Subnet = new AzureNative.Network.Inputs.SubResourceArgs
            {
                Id = "string",
            },
            Id = "string",
            Name = "string",
            PrivateIPAllocationMethod = "string",
        },
    },
    Location = "string",
    DisableCopyPaste = false,
    ScaleUnits = 0,
    Sku = new AzureNative.Network.Inputs.SkuArgs
    {
        Name = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := network.NewBastionHost(ctx, "bastionHostResource", &network.BastionHostArgs{
	ResourceGroupName:   pulumi.String("string"),
	EnableShareableLink: pulumi.Bool(false),
	Id:                  pulumi.String("string"),
	EnableFileCopy:      pulumi.Bool(false),
	EnableIpConnect:     pulumi.Bool(false),
	EnableKerberos:      pulumi.Bool(false),
	BastionHostName:     pulumi.String("string"),
	EnableTunneling:     pulumi.Bool(false),
	DnsName:             pulumi.String("string"),
	IpConfigurations: network.BastionHostIPConfigurationArray{
		&network.BastionHostIPConfigurationArgs{
			PublicIPAddress: &network.SubResourceArgs{
				Id: pulumi.String("string"),
			},
			Subnet: &network.SubResourceArgs{
				Id: pulumi.String("string"),
			},
			Id:                        pulumi.String("string"),
			Name:                      pulumi.String("string"),
			PrivateIPAllocationMethod: pulumi.String("string"),
		},
	},
	Location:         pulumi.String("string"),
	DisableCopyPaste: pulumi.Bool(false),
	ScaleUnits:       pulumi.Int(0),
	Sku: &network.SkuArgs{
		Name: pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var bastionHostResource = new BastionHost("bastionHostResource", BastionHostArgs.builder()
    .resourceGroupName("string")
    .enableShareableLink(false)
    .id("string")
    .enableFileCopy(false)
    .enableIpConnect(false)
    .enableKerberos(false)
    .bastionHostName("string")
    .enableTunneling(false)
    .dnsName("string")
    .ipConfigurations(BastionHostIPConfigurationArgs.builder()
        .publicIPAddress(SubResourceArgs.builder()
            .id("string")
            .build())
        .subnet(SubResourceArgs.builder()
            .id("string")
            .build())
        .id("string")
        .name("string")
        .privateIPAllocationMethod("string")
        .build())
    .location("string")
    .disableCopyPaste(false)
    .scaleUnits(0)
    .sku(SkuArgs.builder()
        .name("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
bastion_host_resource = azure_native.network.BastionHost("bastionHostResource",
    resource_group_name="string",
    enable_shareable_link=False,
    id="string",
    enable_file_copy=False,
    enable_ip_connect=False,
    enable_kerberos=False,
    bastion_host_name="string",
    enable_tunneling=False,
    dns_name="string",
    ip_configurations=[{
        "public_ip_address": {
            "id": "string",
        },
        "subnet": {
            "id": "string",
        },
        "id": "string",
        "name": "string",
        "private_ip_allocation_method": "string",
    }],
    location="string",
    disable_copy_paste=False,
    scale_units=0,
    sku={
        "name": "string",
    },
    tags={
        "string": "string",
    })
const bastionHostResource = new azure_native.network.BastionHost("bastionHostResource", {
    resourceGroupName: "string",
    enableShareableLink: false,
    id: "string",
    enableFileCopy: false,
    enableIpConnect: false,
    enableKerberos: false,
    bastionHostName: "string",
    enableTunneling: false,
    dnsName: "string",
    ipConfigurations: [{
        publicIPAddress: {
            id: "string",
        },
        subnet: {
            id: "string",
        },
        id: "string",
        name: "string",
        privateIPAllocationMethod: "string",
    }],
    location: "string",
    disableCopyPaste: false,
    scaleUnits: 0,
    sku: {
        name: "string",
    },
    tags: {
        string: "string",
    },
});
type: azure-native:network:BastionHost
properties:
    bastionHostName: string
    disableCopyPaste: false
    dnsName: string
    enableFileCopy: false
    enableIpConnect: false
    enableKerberos: false
    enableShareableLink: false
    enableTunneling: false
    id: string
    ipConfigurations:
        - id: string
          name: string
          privateIPAllocationMethod: string
          publicIPAddress:
            id: string
          subnet:
            id: string
    location: string
    resourceGroupName: string
    scaleUnits: 0
    sku:
        name: string
    tags:
        string: string
BastionHost Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BastionHost resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group.
- BastionHost stringName 
- The name of the Bastion Host.
- DisableCopy boolPaste 
- Enable/Disable Copy/Paste feature of the Bastion Host resource.
- DnsName string
- FQDN for the endpoint on which bastion host is accessible.
- EnableFile boolCopy 
- Enable/Disable File Copy feature of the Bastion Host resource.
- EnableIp boolConnect 
- Enable/Disable IP Connect feature of the Bastion Host resource.
- EnableKerberos bool
- Enable/Disable Kerberos feature of the Bastion Host resource.
- bool
- Enable/Disable Shareable Link of the Bastion Host resource.
- EnableTunneling bool
- Enable/Disable Tunneling feature of the Bastion Host resource.
- Id string
- Resource ID.
- IpConfigurations List<Pulumi.Azure Native. Network. Inputs. Bastion Host IPConfiguration> 
- IP configuration of the Bastion Host resource.
- Location string
- Resource location.
- ScaleUnits int
- The scale units for the Bastion Host resource.
- Sku
Pulumi.Azure Native. Network. Inputs. Sku 
- The sku of this Bastion Host.
- Dictionary<string, string>
- Resource tags.
- ResourceGroup stringName 
- The name of the resource group.
- BastionHost stringName 
- The name of the Bastion Host.
- DisableCopy boolPaste 
- Enable/Disable Copy/Paste feature of the Bastion Host resource.
- DnsName string
- FQDN for the endpoint on which bastion host is accessible.
- EnableFile boolCopy 
- Enable/Disable File Copy feature of the Bastion Host resource.
- EnableIp boolConnect 
- Enable/Disable IP Connect feature of the Bastion Host resource.
- EnableKerberos bool
- Enable/Disable Kerberos feature of the Bastion Host resource.
- bool
- Enable/Disable Shareable Link of the Bastion Host resource.
- EnableTunneling bool
- Enable/Disable Tunneling feature of the Bastion Host resource.
- Id string
- Resource ID.
- IpConfigurations []BastionHost IPConfiguration Args 
- IP configuration of the Bastion Host resource.
- Location string
- Resource location.
- ScaleUnits int
- The scale units for the Bastion Host resource.
- Sku
SkuArgs 
- The sku of this Bastion Host.
- map[string]string
- Resource tags.
- resourceGroup StringName 
- The name of the resource group.
- bastionHost StringName 
- The name of the Bastion Host.
- disableCopy BooleanPaste 
- Enable/Disable Copy/Paste feature of the Bastion Host resource.
- dnsName String
- FQDN for the endpoint on which bastion host is accessible.
- enableFile BooleanCopy 
- Enable/Disable File Copy feature of the Bastion Host resource.
- enableIp BooleanConnect 
- Enable/Disable IP Connect feature of the Bastion Host resource.
- enableKerberos Boolean
- Enable/Disable Kerberos feature of the Bastion Host resource.
- Boolean
- Enable/Disable Shareable Link of the Bastion Host resource.
- enableTunneling Boolean
- Enable/Disable Tunneling feature of the Bastion Host resource.
- id String
- Resource ID.
- ipConfigurations List<BastionHost IPConfiguration> 
- IP configuration of the Bastion Host resource.
- location String
- Resource location.
- scaleUnits Integer
- The scale units for the Bastion Host resource.
- sku Sku
- The sku of this Bastion Host.
- Map<String,String>
- Resource tags.
- resourceGroup stringName 
- The name of the resource group.
- bastionHost stringName 
- The name of the Bastion Host.
- disableCopy booleanPaste 
- Enable/Disable Copy/Paste feature of the Bastion Host resource.
- dnsName string
- FQDN for the endpoint on which bastion host is accessible.
- enableFile booleanCopy 
- Enable/Disable File Copy feature of the Bastion Host resource.
- enableIp booleanConnect 
- Enable/Disable IP Connect feature of the Bastion Host resource.
- enableKerberos boolean
- Enable/Disable Kerberos feature of the Bastion Host resource.
- boolean
- Enable/Disable Shareable Link of the Bastion Host resource.
- enableTunneling boolean
- Enable/Disable Tunneling feature of the Bastion Host resource.
- id string
- Resource ID.
- ipConfigurations BastionHost IPConfiguration[] 
- IP configuration of the Bastion Host resource.
- location string
- Resource location.
- scaleUnits number
- The scale units for the Bastion Host resource.
- sku Sku
- The sku of this Bastion Host.
- {[key: string]: string}
- Resource tags.
- resource_group_ strname 
- The name of the resource group.
- bastion_host_ strname 
- The name of the Bastion Host.
- disable_copy_ boolpaste 
- Enable/Disable Copy/Paste feature of the Bastion Host resource.
- dns_name str
- FQDN for the endpoint on which bastion host is accessible.
- enable_file_ boolcopy 
- Enable/Disable File Copy feature of the Bastion Host resource.
- enable_ip_ boolconnect 
- Enable/Disable IP Connect feature of the Bastion Host resource.
- enable_kerberos bool
- Enable/Disable Kerberos feature of the Bastion Host resource.
- bool
- Enable/Disable Shareable Link of the Bastion Host resource.
- enable_tunneling bool
- Enable/Disable Tunneling feature of the Bastion Host resource.
- id str
- Resource ID.
- ip_configurations Sequence[BastionHost IPConfiguration Args] 
- IP configuration of the Bastion Host resource.
- location str
- Resource location.
- scale_units int
- The scale units for the Bastion Host resource.
- sku
SkuArgs 
- The sku of this Bastion Host.
- Mapping[str, str]
- Resource tags.
- resourceGroup StringName 
- The name of the resource group.
- bastionHost StringName 
- The name of the Bastion Host.
- disableCopy BooleanPaste 
- Enable/Disable Copy/Paste feature of the Bastion Host resource.
- dnsName String
- FQDN for the endpoint on which bastion host is accessible.
- enableFile BooleanCopy 
- Enable/Disable File Copy feature of the Bastion Host resource.
- enableIp BooleanConnect 
- Enable/Disable IP Connect feature of the Bastion Host resource.
- enableKerberos Boolean
- Enable/Disable Kerberos feature of the Bastion Host resource.
- Boolean
- Enable/Disable Shareable Link of the Bastion Host resource.
- enableTunneling Boolean
- Enable/Disable Tunneling feature of the Bastion Host resource.
- id String
- Resource ID.
- ipConfigurations List<Property Map>
- IP configuration of the Bastion Host resource.
- location String
- Resource location.
- scaleUnits Number
- The scale units for the Bastion Host resource.
- sku Property Map
- The sku of this Bastion Host.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the BastionHost resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the bastion host resource.
- Type string
- Resource type.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the bastion host resource.
- Type string
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the bastion host resource.
- type String
- Resource type.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- provisioningState string
- The provisioning state of the bastion host resource.
- type string
- Resource type.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- provisioning_state str
- The provisioning state of the bastion host resource.
- type str
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the bastion host resource.
- type String
- Resource type.
Supporting Types
BastionHostIPConfiguration, BastionHostIPConfigurationArgs      
- PublicIPAddress Pulumi.Azure Native. Network. Inputs. Sub Resource 
- Reference of the PublicIP resource.
- Subnet
Pulumi.Azure Native. Network. Inputs. Sub Resource 
- Reference of the subnet resource.
- Id string
- Resource ID.
- Name string
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- PrivateIPAllocation string | Pulumi.Method Azure Native. Network. IPAllocation Method 
- Private IP allocation method.
- PublicIPAddress SubResource 
- Reference of the PublicIP resource.
- Subnet
SubResource 
- Reference of the subnet resource.
- Id string
- Resource ID.
- Name string
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- PrivateIPAllocation string | IPAllocationMethod Method 
- Private IP allocation method.
- publicIPAddress SubResource 
- Reference of the PublicIP resource.
- subnet
SubResource 
- Reference of the subnet resource.
- id String
- Resource ID.
- name String
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- privateIPAllocation String | IPAllocationMethod Method 
- Private IP allocation method.
- publicIPAddress SubResource 
- Reference of the PublicIP resource.
- subnet
SubResource 
- Reference of the subnet resource.
- id string
- Resource ID.
- name string
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- privateIPAllocation string | IPAllocationMethod Method 
- Private IP allocation method.
- public_ip_ Subaddress Resource 
- Reference of the PublicIP resource.
- subnet
SubResource 
- Reference of the subnet resource.
- id str
- Resource ID.
- name str
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- private_ip_ str | IPAllocationallocation_ method Method 
- Private IP allocation method.
- publicIPAddress Property Map
- Reference of the PublicIP resource.
- subnet Property Map
- Reference of the subnet resource.
- id String
- Resource ID.
- name String
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- privateIPAllocation String | "Static" | "Dynamic"Method 
- Private IP allocation method.
BastionHostIPConfigurationResponse, BastionHostIPConfigurationResponseArgs        
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState string
- The provisioning state of the bastion host IP configuration resource.
- PublicIPAddress Pulumi.Azure Native. Network. Inputs. Sub Resource Response 
- Reference of the PublicIP resource.
- Subnet
Pulumi.Azure Native. Network. Inputs. Sub Resource Response 
- Reference of the subnet resource.
- Type string
- Ip configuration type.
- Id string
- Resource ID.
- Name string
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- PrivateIPAllocation stringMethod 
- Private IP allocation method.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- ProvisioningState string
- The provisioning state of the bastion host IP configuration resource.
- PublicIPAddress SubResource Response 
- Reference of the PublicIP resource.
- Subnet
SubResource Response 
- Reference of the subnet resource.
- Type string
- Ip configuration type.
- Id string
- Resource ID.
- Name string
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- PrivateIPAllocation stringMethod 
- Private IP allocation method.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState String
- The provisioning state of the bastion host IP configuration resource.
- publicIPAddress SubResource Response 
- Reference of the PublicIP resource.
- subnet
SubResource Response 
- Reference of the subnet resource.
- type String
- Ip configuration type.
- id String
- Resource ID.
- name String
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- privateIPAllocation StringMethod 
- Private IP allocation method.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- provisioningState string
- The provisioning state of the bastion host IP configuration resource.
- publicIPAddress SubResource Response 
- Reference of the PublicIP resource.
- subnet
SubResource Response 
- Reference of the subnet resource.
- type string
- Ip configuration type.
- id string
- Resource ID.
- name string
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- privateIPAllocation stringMethod 
- Private IP allocation method.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- provisioning_state str
- The provisioning state of the bastion host IP configuration resource.
- public_ip_ Subaddress Resource Response 
- Reference of the PublicIP resource.
- subnet
SubResource Response 
- Reference of the subnet resource.
- type str
- Ip configuration type.
- id str
- Resource ID.
- name str
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- private_ip_ strallocation_ method 
- Private IP allocation method.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioningState String
- The provisioning state of the bastion host IP configuration resource.
- publicIPAddress Property Map
- Reference of the PublicIP resource.
- subnet Property Map
- Reference of the subnet resource.
- type String
- Ip configuration type.
- id String
- Resource ID.
- name String
- Name of the resource that is unique within a resource group. This name can be used to access the resource.
- privateIPAllocation StringMethod 
- Private IP allocation method.
BastionHostSkuName, BastionHostSkuNameArgs        
- Basic
- Basic
- Standard
- Standard
- BastionHost Sku Name Basic 
- Basic
- BastionHost Sku Name Standard 
- Standard
- Basic
- Basic
- Standard
- Standard
- Basic
- Basic
- Standard
- Standard
- BASIC
- Basic
- STANDARD
- Standard
- "Basic"
- Basic
- "Standard"
- Standard
IPAllocationMethod, IPAllocationMethodArgs    
- Static
- Static
- Dynamic
- Dynamic
- IPAllocationMethod Static 
- Static
- IPAllocationMethod Dynamic 
- Dynamic
- Static
- Static
- Dynamic
- Dynamic
- Static
- Static
- Dynamic
- Dynamic
- STATIC
- Static
- DYNAMIC
- Dynamic
- "Static"
- Static
- "Dynamic"
- Dynamic
Sku, SkuArgs  
- Name
string | Pulumi.Azure | Pulumi.Native. Network. Sku Name Azure Native. Network. Bastion Host Sku Name 
- Name of the pricing tier.
- Name
string | SkuName | BastionHost Sku Name 
- Name of the pricing tier.
- name
String | SkuName | BastionHost Sku Name 
- Name of the pricing tier.
- name
string | SkuName | BastionHost Sku Name 
- Name of the pricing tier.
- name
str | SkuName | BastionHost Sku Name 
- Name of the pricing tier.
- name
String | "Classic_AzureFront | "Basic" | "Standard"Door" | "Standard_Azure Front Door" | "Premium_Azure Front Door" 
- Name of the pricing tier.
SkuName, SkuNameArgs    
- Classic_AzureFront Door 
- Classic_AzureFrontDoor
- Standard_AzureFront Door 
- Standard_AzureFrontDoor
- Premium_AzureFront Door 
- Premium_AzureFrontDoor
- SkuName_Classic_Azure Front Door 
- Classic_AzureFrontDoor
- SkuName_Standard_Azure Front Door 
- Standard_AzureFrontDoor
- SkuName_Premium_Azure Front Door 
- Premium_AzureFrontDoor
- Classic_AzureFront Door 
- Classic_AzureFrontDoor
- Standard_AzureFront Door 
- Standard_AzureFrontDoor
- Premium_AzureFront Door 
- Premium_AzureFrontDoor
- Classic_AzureFront Door 
- Classic_AzureFrontDoor
- Standard_AzureFront Door 
- Standard_AzureFrontDoor
- Premium_AzureFront Door 
- Premium_AzureFrontDoor
- CLASSIC_AZURE_FRONT_DOOR
- Classic_AzureFrontDoor
- STANDARD_AZURE_FRONT_DOOR
- Standard_AzureFrontDoor
- PREMIUM_AZURE_FRONT_DOOR
- Premium_AzureFrontDoor
- "Classic_AzureFront Door" 
- Classic_AzureFrontDoor
- "Standard_AzureFront Door" 
- Standard_AzureFrontDoor
- "Premium_AzureFront Door" 
- Premium_AzureFrontDoor
SkuResponse, SkuResponseArgs    
- Name string
- Name of the pricing tier.
- Name string
- Name of the pricing tier.
- name String
- Name of the pricing tier.
- name string
- Name of the pricing tier.
- name str
- Name of the pricing tier.
- name String
- Name of the pricing tier.
SubResource, SubResourceArgs    
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs      
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:BastionHost bastionhost /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0