azure-native.network.getVirtualHubBgpConnection
Explore with Pulumi AI
Retrieves the details of a Virtual Hub Bgp Connection. API Version: 2020-11-01.
Using getVirtualHubBgpConnection
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 getVirtualHubBgpConnection(args: GetVirtualHubBgpConnectionArgs, opts?: InvokeOptions): Promise<GetVirtualHubBgpConnectionResult>
function getVirtualHubBgpConnectionOutput(args: GetVirtualHubBgpConnectionOutputArgs, opts?: InvokeOptions): Output<GetVirtualHubBgpConnectionResult>
def get_virtual_hub_bgp_connection(connection_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
virtual_hub_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualHubBgpConnectionResult
def get_virtual_hub_bgp_connection_output(connection_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
virtual_hub_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualHubBgpConnectionResult]
func LookupVirtualHubBgpConnection(ctx *Context, args *LookupVirtualHubBgpConnectionArgs, opts ...InvokeOption) (*LookupVirtualHubBgpConnectionResult, error)
func LookupVirtualHubBgpConnectionOutput(ctx *Context, args *LookupVirtualHubBgpConnectionOutputArgs, opts ...InvokeOption) LookupVirtualHubBgpConnectionResultOutput
> Note: This function is named LookupVirtualHubBgpConnection
in the Go SDK.
public static class GetVirtualHubBgpConnection
{
public static Task<GetVirtualHubBgpConnectionResult> InvokeAsync(GetVirtualHubBgpConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualHubBgpConnectionResult> Invoke(GetVirtualHubBgpConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualHubBgpConnectionResult> getVirtualHubBgpConnection(GetVirtualHubBgpConnectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getVirtualHubBgpConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Name string The name of the connection.
- Resource
Group stringName The resource group name of the VirtualHub.
- Virtual
Hub stringName The name of the VirtualHub.
- Connection
Name string The name of the connection.
- Resource
Group stringName The resource group name of the VirtualHub.
- Virtual
Hub stringName The name of the VirtualHub.
- connection
Name String The name of the connection.
- resource
Group StringName The resource group name of the VirtualHub.
- virtual
Hub StringName The name of the VirtualHub.
- connection
Name string The name of the connection.
- resource
Group stringName The resource group name of the VirtualHub.
- virtual
Hub stringName The name of the VirtualHub.
- connection_
name str The name of the connection.
- resource_
group_ strname The resource group name of the VirtualHub.
- virtual_
hub_ strname The name of the VirtualHub.
- connection
Name String The name of the connection.
- resource
Group StringName The resource group name of the VirtualHub.
- virtual
Hub StringName The name of the VirtualHub.
getVirtualHubBgpConnection Result
The following output properties are available:
- Connection
State string The current state of the VirtualHub to Peer.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string The provisioning state of the resource.
- Type string
Connection type.
- Id string
Resource ID.
- Name string
Name of the connection.
- Peer
Asn double Peer ASN.
- Peer
Ip string Peer IP.
- Connection
State string The current state of the VirtualHub to Peer.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- Provisioning
State string The provisioning state of the resource.
- Type string
Connection type.
- Id string
Resource ID.
- Name string
Name of the connection.
- Peer
Asn float64 Peer ASN.
- Peer
Ip string Peer IP.
- connection
State String The current state of the VirtualHub to Peer.
- etag String
A unique read-only string that changes whenever the resource is updated.
- provisioning
State String The provisioning state of the resource.
- type String
Connection type.
- id String
Resource ID.
- name String
Name of the connection.
- peer
Asn Double Peer ASN.
- peer
Ip String Peer IP.
- connection
State string The current state of the VirtualHub to Peer.
- etag string
A unique read-only string that changes whenever the resource is updated.
- provisioning
State string The provisioning state of the resource.
- type string
Connection type.
- id string
Resource ID.
- name string
Name of the connection.
- peer
Asn number Peer ASN.
- peer
Ip string Peer IP.
- connection_
state str The current state of the VirtualHub to Peer.
- etag str
A unique read-only string that changes whenever the resource is updated.
- provisioning_
state str The provisioning state of the resource.
- type str
Connection type.
- id str
Resource ID.
- name str
Name of the connection.
- peer_
asn float Peer ASN.
- peer_
ip str Peer IP.
- connection
State String The current state of the VirtualHub to Peer.
- etag String
A unique read-only string that changes whenever the resource is updated.
- provisioning
State String The provisioning state of the resource.
- type String
Connection type.
- id String
Resource ID.
- name String
Name of the connection.
- peer
Asn Number Peer ASN.
- peer
Ip String Peer IP.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0