azure-native.network.getVirtualRouterPeering
Explore with Pulumi AI
Gets the specified Virtual Router Peering.
Uses Azure REST API version 2024-05-01.
Other available API versions: 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 getVirtualRouterPeering
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 getVirtualRouterPeering(args: GetVirtualRouterPeeringArgs, opts?: InvokeOptions): Promise<GetVirtualRouterPeeringResult>
function getVirtualRouterPeeringOutput(args: GetVirtualRouterPeeringOutputArgs, opts?: InvokeOptions): Output<GetVirtualRouterPeeringResult>def get_virtual_router_peering(peering_name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               virtual_router_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetVirtualRouterPeeringResult
def get_virtual_router_peering_output(peering_name: Optional[pulumi.Input[str]] = None,
                               resource_group_name: Optional[pulumi.Input[str]] = None,
                               virtual_router_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetVirtualRouterPeeringResult]func LookupVirtualRouterPeering(ctx *Context, args *LookupVirtualRouterPeeringArgs, opts ...InvokeOption) (*LookupVirtualRouterPeeringResult, error)
func LookupVirtualRouterPeeringOutput(ctx *Context, args *LookupVirtualRouterPeeringOutputArgs, opts ...InvokeOption) LookupVirtualRouterPeeringResultOutput> Note: This function is named LookupVirtualRouterPeering in the Go SDK.
public static class GetVirtualRouterPeering 
{
    public static Task<GetVirtualRouterPeeringResult> InvokeAsync(GetVirtualRouterPeeringArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualRouterPeeringResult> Invoke(GetVirtualRouterPeeringInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualRouterPeeringResult> getVirtualRouterPeering(GetVirtualRouterPeeringArgs args, InvokeOptions options)
public static Output<GetVirtualRouterPeeringResult> getVirtualRouterPeering(GetVirtualRouterPeeringArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getVirtualRouterPeering
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Peering
Name string - The name of the Virtual Router Peering.
 - Resource
Group stringName  - The name of the resource group.
 - Virtual
Router stringName  - The name of the Virtual Router.
 
- Peering
Name string - The name of the Virtual Router Peering.
 - Resource
Group stringName  - The name of the resource group.
 - Virtual
Router stringName  - The name of the Virtual Router.
 
- peering
Name String - The name of the Virtual Router Peering.
 - resource
Group StringName  - The name of the resource group.
 - virtual
Router StringName  - The name of the Virtual Router.
 
- peering
Name string - The name of the Virtual Router Peering.
 - resource
Group stringName  - The name of the resource group.
 - virtual
Router stringName  - The name of the Virtual Router.
 
- peering_
name str - The name of the Virtual Router Peering.
 - resource_
group_ strname  - The name of the resource group.
 - virtual_
router_ strname  - The name of the Virtual Router.
 
- peering
Name String - The name of the Virtual Router Peering.
 - resource
Group StringName  - The name of the resource group.
 - virtual
Router StringName  - The name of the Virtual Router.
 
getVirtualRouterPeering 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.
 - Provisioning
State string - The provisioning state of the resource.
 - Type string
 - Peering type.
 - Id string
 - Resource ID.
 - Name string
 - Name of the virtual router peering that is unique within a virtual router.
 - Peer
Asn double - Peer ASN.
 - Peer
Ip string - Peer IP.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - 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
 - Peering type.
 - Id string
 - Resource ID.
 - Name string
 - Name of the virtual router peering that is unique within a virtual router.
 - Peer
Asn float64 - Peer ASN.
 - Peer
Ip string - Peer IP.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - 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
 - Peering type.
 - id String
 - Resource ID.
 - name String
 - Name of the virtual router peering that is unique within a virtual router.
 - peer
Asn Double - Peer ASN.
 - peer
Ip String - Peer IP.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - 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
 - Peering type.
 - id string
 - Resource ID.
 - name string
 - Name of the virtual router peering that is unique within a virtual router.
 - peer
Asn number - Peer ASN.
 - peer
Ip string - Peer IP.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - 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
 - Peering type.
 - id str
 - Resource ID.
 - name str
 - Name of the virtual router peering that is unique within a virtual router.
 - peer_
asn float - Peer ASN.
 - peer_
ip str - Peer IP.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - 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
 - Peering type.
 - id String
 - Resource ID.
 - name String
 - Name of the virtual router peering that is unique within a virtual router.
 - peer
Asn Number - Peer ASN.
 - peer
Ip String - Peer IP.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0