These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.network.getBastionHost
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the specified Bastion Host. API Version: 2020-11-01.
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)
// Output-based functions aren't available in Java yet
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:
- 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.
- Dns
Name string - FQDN for the endpoint on which bastion host is accessible.
- 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.
- Dictionary<string, string>
- Resource tags.
- 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.
- Dns
Name string - FQDN for the endpoint on which bastion host is accessible.
- Id string
- Resource ID.
- Ip
Configurations []BastionHost IPConfiguration Response - IP configuration of the Bastion Host resource.
- Location string
- Resource location.
- map[string]string
- Resource tags.
- 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.
- dns
Name String - FQDN for the endpoint on which bastion host is accessible.
- id String
- Resource ID.
- ip
Configurations List<BastionHost IPConfiguration Response> - IP configuration of the Bastion Host resource.
- location String
- Resource location.
- Map<String,String>
- Resource tags.
- 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.
- dns
Name string - FQDN for the endpoint on which bastion host is accessible.
- id string
- Resource ID.
- ip
Configurations BastionHost IPConfiguration Response[] - IP configuration of the Bastion Host resource.
- location string
- Resource location.
- {[key: string]: string}
- Resource tags.
- 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.
- dns_
name str - FQDN for the endpoint on which bastion host is accessible.
- id str
- Resource ID.
- ip_
configurations Sequence[BastionHost IPConfiguration Response] - IP configuration of the Bastion Host resource.
- location str
- Resource location.
- Mapping[str, str]
- Resource tags.
- 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.
- dns
Name String - FQDN for the endpoint on which bastion host is accessible.
- id String
- Resource ID.
- ip
Configurations List<Property Map> - IP configuration of the Bastion Host resource.
- location String
- Resource location.
- Map<String>
- Resource tags.
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.
- Public
IPAddress 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.
- Private
IPAllocation stringMethod - Private IP allocation method.
- 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.
- Public
IPAddress SubResource Response - Reference of the PublicIP 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.
- 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.
- public
IPAddress SubResource Response - Reference of the PublicIP 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.
- 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.
- public
IPAddress SubResource Response - Reference of the PublicIP 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.
- 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
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.
- 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.
- public
IPAddress 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.
- private
IPAllocation StringMethod - Private IP allocation method.
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-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi