azure-native.network.getBastionHost
Explore with Pulumi AI
Gets the specified Bastion Host.
Uses Azure REST API version 2024-05-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. 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 for details.
Using getBastionHost
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBastionHost(args: GetBastionHostArgs, opts?: InvokeOptions): Promise<GetBastionHostResult>
function getBastionHostOutput(args: GetBastionHostOutputArgs, opts?: InvokeOptions): Output<GetBastionHostResult>
def get_bastion_host(bastion_host_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBastionHostResult
def get_bastion_host_output(bastion_host_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBastionHostResult]
func LookupBastionHost(ctx *Context, args *LookupBastionHostArgs, opts ...InvokeOption) (*LookupBastionHostResult, error)
func LookupBastionHostOutput(ctx *Context, args *LookupBastionHostOutputArgs, opts ...InvokeOption) LookupBastionHostResultOutput
> Note: This function is named LookupBastionHost
in the Go SDK.
public static class GetBastionHost
{
public static Task<GetBastionHostResult> InvokeAsync(GetBastionHostArgs args, InvokeOptions? opts = null)
public static Output<GetBastionHostResult> Invoke(GetBastionHostInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBastionHostResult> getBastionHost(GetBastionHostArgs args, InvokeOptions options)
public static Output<GetBastionHostResult> getBastionHost(GetBastionHostArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:network:getBastionHost
arguments:
# arguments dictionary
The following arguments are supported:
- Bastion
Host stringName - The name of the Bastion Host.
- Resource
Group stringName - The name of the resource group.
- Bastion
Host stringName - The name of the Bastion Host.
- Resource
Group stringName - The name of the resource group.
- bastion
Host StringName - The name of the Bastion Host.
- resource
Group StringName - The name of the resource group.
- bastion
Host stringName - The name of the Bastion Host.
- resource
Group stringName - The name of the resource group.
- bastion_
host_ strname - The name of the Bastion Host.
- resource_
group_ strname - The name of the resource group.
- bastion
Host StringName - The name of the Bastion Host.
- resource
Group StringName - The name of the resource group.
getBastionHost Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the bastion host resource.
- Type string
- Resource type.
- Disable
Copy boolPaste - Enable/Disable Copy/Paste feature of the Bastion Host resource.
- Dns
Name string - 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.
- Enable
Private boolOnly Bastion - Enable/Disable Private Only feature of the Bastion Host resource.
- Enable
Session boolRecording - Enable/Disable Session Recording 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 string
- Resource ID.
- Ip
Configurations List<Pulumi.Azure Native. Network. Outputs. Bastion Host IPConfiguration Response> - IP configuration of the Bastion Host resource.
- Location string
- Resource location.
- Network
Acls Pulumi.Azure Native. Network. Outputs. Bastion Host Properties Format Response Network Acls - Scale
Units int - The scale units for the Bastion Host resource.
- Sku
Pulumi.
Azure Native. Network. Outputs. Sku Response - The sku of this Bastion Host.
- Dictionary<string, string>
- Resource tags.
- Virtual
Network Pulumi.Azure Native. Network. Outputs. Sub Resource Response - Reference to an existing virtual network required for Developer Bastion Host only.
- Zones List<string>
- A list of availability zones denoting where the resource needs to come from.
- Azure
Api stringVersion - The Azure API version of the resource.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the bastion host resource.
- Type string
- Resource type.
- Disable
Copy boolPaste - Enable/Disable Copy/Paste feature of the Bastion Host resource.
- Dns
Name string - 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.
- Enable
Private boolOnly Bastion - Enable/Disable Private Only feature of the Bastion Host resource.
- Enable
Session boolRecording - Enable/Disable Session Recording 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 string
- Resource ID.
- Ip
Configurations []BastionHost IPConfiguration Response - IP configuration of the Bastion Host resource.
- Location string
- Resource location.
- Network
Acls BastionHost Properties Format Response Network Acls - Scale
Units int - The scale units for the Bastion Host resource.
- Sku
Sku
Response - The sku of this Bastion Host.
- map[string]string
- Resource tags.
- Virtual
Network SubResource Response - Reference to an existing virtual network required for Developer Bastion Host only.
- Zones []string
- A list of availability zones denoting where the resource needs to come from.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the bastion host resource.
- type String
- Resource type.
- disable
Copy BooleanPaste - Enable/Disable Copy/Paste feature of the Bastion Host resource.
- dns
Name String - FQDN for the endpoint on which bastion host is accessible.
- enable
File BooleanCopy - Enable/Disable File Copy feature of the Bastion Host resource.
- enable
Ip BooleanConnect - Enable/Disable IP Connect feature of the Bastion Host resource.
- enable
Kerberos Boolean - Enable/Disable Kerberos feature of the Bastion Host resource.
- enable
Private BooleanOnly Bastion - Enable/Disable Private Only feature of the Bastion Host resource.
- enable
Session BooleanRecording - Enable/Disable Session Recording feature of the Bastion Host resource.
- Boolean
- Enable/Disable Shareable Link of the Bastion Host resource.
- enable
Tunneling Boolean - Enable/Disable Tunneling feature of the Bastion Host resource.
- id String
- Resource ID.
- ip
Configurations List<BastionHost IPConfiguration Response> - IP configuration of the Bastion Host resource.
- location String
- Resource location.
- network
Acls BastionHost Properties Format Response Network Acls - scale
Units Integer - The scale units for the Bastion Host resource.
- sku
Sku
Response - The sku of this Bastion Host.
- Map<String,String>
- Resource tags.
- virtual
Network SubResource Response - Reference to an existing virtual network required for Developer Bastion Host only.
- zones List<String>
- A list of availability zones denoting where the resource needs to come from.
- azure
Api stringVersion - The Azure API version of the resource.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- name string
- Resource name.
- provisioning
State string - The provisioning state of the bastion host resource.
- type string
- Resource type.
- disable
Copy booleanPaste - Enable/Disable Copy/Paste feature of the Bastion Host resource.
- dns
Name string - FQDN for the endpoint on which bastion host is accessible.
- enable
File booleanCopy - Enable/Disable File Copy feature of the Bastion Host resource.
- enable
Ip booleanConnect - Enable/Disable IP Connect feature of the Bastion Host resource.
- enable
Kerberos boolean - Enable/Disable Kerberos feature of the Bastion Host resource.
- enable
Private booleanOnly Bastion - Enable/Disable Private Only feature of the Bastion Host resource.
- enable
Session booleanRecording - Enable/Disable Session Recording feature of the Bastion Host resource.
- boolean
- Enable/Disable Shareable Link of the Bastion Host resource.
- enable
Tunneling boolean - Enable/Disable Tunneling feature of the Bastion Host resource.
- id string
- Resource ID.
- ip
Configurations BastionHost IPConfiguration Response[] - IP configuration of the Bastion Host resource.
- location string
- Resource location.
- network
Acls BastionHost Properties Format Response Network Acls - scale
Units number - The scale units for the Bastion Host resource.
- sku
Sku
Response - The sku of this Bastion Host.
- {[key: string]: string}
- Resource tags.
- virtual
Network SubResource Response - Reference to an existing virtual network required for Developer Bastion Host only.
- zones string[]
- A list of availability zones denoting where the resource needs to come from.
- azure_
api_ strversion - The Azure API version of the resource.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- name str
- Resource name.
- provisioning_
state str - The provisioning state of the bastion host resource.
- type str
- Resource type.
- 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.
- enable_
private_ boolonly_ bastion - Enable/Disable Private Only feature of the Bastion Host resource.
- enable_
session_ boolrecording - Enable/Disable Session Recording 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 Response] - IP configuration of the Bastion Host resource.
- location str
- Resource location.
- network_
acls BastionHost Properties Format Response Network Acls - scale_
units int - The scale units for the Bastion Host resource.
- sku
Sku
Response - The sku of this Bastion Host.
- Mapping[str, str]
- Resource tags.
- virtual_
network SubResource Response - Reference to an existing virtual network required for Developer Bastion Host only.
- zones Sequence[str]
- A list of availability zones denoting where the resource needs to come from.
- azure
Api StringVersion - The Azure API version of the resource.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the bastion host resource.
- type String
- Resource type.
- disable
Copy BooleanPaste - Enable/Disable Copy/Paste feature of the Bastion Host resource.
- dns
Name String - FQDN for the endpoint on which bastion host is accessible.
- enable
File BooleanCopy - Enable/Disable File Copy feature of the Bastion Host resource.
- enable
Ip BooleanConnect - Enable/Disable IP Connect feature of the Bastion Host resource.
- enable
Kerberos Boolean - Enable/Disable Kerberos feature of the Bastion Host resource.
- enable
Private BooleanOnly Bastion - Enable/Disable Private Only feature of the Bastion Host resource.
- enable
Session BooleanRecording - Enable/Disable Session Recording feature of the Bastion Host resource.
- Boolean
- Enable/Disable Shareable Link of the Bastion Host resource.
- enable
Tunneling Boolean - Enable/Disable Tunneling feature of the Bastion Host resource.
- id String
- Resource ID.
- ip
Configurations List<Property Map> - IP configuration of the Bastion Host resource.
- location String
- Resource location.
- network
Acls Property Map - scale
Units Number - The scale units for the Bastion Host resource.
- sku Property Map
- The sku of this Bastion Host.
- Map<String>
- Resource tags.
- virtual
Network Property Map - Reference to an existing virtual network required for Developer Bastion Host only.
- zones List<String>
- A list of availability zones denoting where the resource needs to come from.
Supporting Types
BastionHostIPConfigurationResponse
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string - The provisioning state of the bastion host IP configuration 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.
- Private
IPAllocation stringMethod - Private IP allocation method.
- Public
IPAddress Pulumi.Azure Native. Network. Inputs. Sub Resource Response - Reference of the PublicIP resource. Null for private only bastion
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string - The provisioning state of the bastion host IP configuration resource.
- Subnet
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.
- Private
IPAllocation stringMethod - Private IP allocation method.
- Public
IPAddress SubResource Response - Reference of the PublicIP resource. Null for private only bastion
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State String - The provisioning state of the bastion host IP configuration resource.
- subnet
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.
- private
IPAllocation StringMethod - Private IP allocation method.
- public
IPAddress SubResource Response - Reference of the PublicIP resource. Null for private only bastion
- etag string
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State string - The provisioning state of the bastion host IP configuration resource.
- subnet
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.
- private
IPAllocation stringMethod - Private IP allocation method.
- public
IPAddress SubResource Response - Reference of the PublicIP resource. Null for private only bastion
- 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.
- subnet
Sub
Resource 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.
- public_
ip_ Subaddress Resource Response - Reference of the PublicIP resource. Null for private only bastion
- etag String
- A unique read-only string that changes whenever the resource is updated.
- provisioning
State String - The provisioning state of the bastion host IP configuration 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.
- private
IPAllocation StringMethod - Private IP allocation method.
- public
IPAddress Property Map - Reference of the PublicIP resource. Null for private only bastion
BastionHostPropertiesFormatResponseNetworkAcls
- Ip
Rules List<Pulumi.Azure Native. Network. Inputs. IPRule Response> - Sets the IP ACL rules for Developer Bastion Host.
- Ip
Rules []IPRuleResponse - Sets the IP ACL rules for Developer Bastion Host.
- ip
Rules List<IPRuleResponse> - Sets the IP ACL rules for Developer Bastion Host.
- ip
Rules IPRuleResponse[] - Sets the IP ACL rules for Developer Bastion Host.
- ip_
rules Sequence[IPRuleResponse] - Sets the IP ACL rules for Developer Bastion Host.
- ip
Rules List<Property Map> - Sets the IP ACL rules for Developer Bastion Host.
IPRuleResponse
- Address
Prefix string - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- Address
Prefix string - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- address
Prefix String - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- address
Prefix string - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- address_
prefix str - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- address
Prefix String - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
SkuResponse
- Name string
- The name of the sku of this Bastion Host.
- Name string
- The name of the sku of this Bastion Host.
- name String
- The name of the sku of this Bastion Host.
- name string
- The name of the sku of this Bastion Host.
- name str
- The name of the sku of this Bastion Host.
- name String
- The name of the sku of this Bastion Host.
SubResourceResponse
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0