1. Packages
  2. Packages
  3. Aiven Provider
  4. API Docs
  5. getAzureVpcPeeringConnection
Viewing docs for Aiven v5.6.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
aiven logo
Viewing docs for Aiven v5.6.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    The Azure VPC Peering Connection data source provides information about the existing Aiven VPC Peering Connection.

    Using getAzureVpcPeeringConnection

    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 getAzureVpcPeeringConnection(args: GetAzureVpcPeeringConnectionArgs, opts?: InvokeOptions): Promise<GetAzureVpcPeeringConnectionResult>
    function getAzureVpcPeeringConnectionOutput(args: GetAzureVpcPeeringConnectionOutputArgs, opts?: InvokeOptions): Output<GetAzureVpcPeeringConnectionResult>
    def get_azure_vpc_peering_connection(azure_subscription_id: Optional[str] = None,
                                         peer_azure_app_id: Optional[str] = None,
                                         peer_azure_tenant_id: Optional[str] = None,
                                         peer_resource_group: Optional[str] = None,
                                         vnet_name: Optional[str] = None,
                                         vpc_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetAzureVpcPeeringConnectionResult
    def get_azure_vpc_peering_connection_output(azure_subscription_id: Optional[pulumi.Input[str]] = None,
                                         peer_azure_app_id: Optional[pulumi.Input[str]] = None,
                                         peer_azure_tenant_id: Optional[pulumi.Input[str]] = None,
                                         peer_resource_group: Optional[pulumi.Input[str]] = None,
                                         vnet_name: Optional[pulumi.Input[str]] = None,
                                         vpc_id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetAzureVpcPeeringConnectionResult]
    func LookupAzureVpcPeeringConnection(ctx *Context, args *LookupAzureVpcPeeringConnectionArgs, opts ...InvokeOption) (*LookupAzureVpcPeeringConnectionResult, error)
    func LookupAzureVpcPeeringConnectionOutput(ctx *Context, args *LookupAzureVpcPeeringConnectionOutputArgs, opts ...InvokeOption) LookupAzureVpcPeeringConnectionResultOutput

    > Note: This function is named LookupAzureVpcPeeringConnection in the Go SDK.

    public static class GetAzureVpcPeeringConnection 
    {
        public static Task<GetAzureVpcPeeringConnectionResult> InvokeAsync(GetAzureVpcPeeringConnectionArgs args, InvokeOptions? opts = null)
        public static Output<GetAzureVpcPeeringConnectionResult> Invoke(GetAzureVpcPeeringConnectionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAzureVpcPeeringConnectionResult> getAzureVpcPeeringConnection(GetAzureVpcPeeringConnectionArgs args, InvokeOptions options)
    public static Output<GetAzureVpcPeeringConnectionResult> getAzureVpcPeeringConnection(GetAzureVpcPeeringConnectionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aiven:index/getAzureVpcPeeringConnection:getAzureVpcPeeringConnection
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AzureSubscriptionId string
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    PeerAzureAppId string
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    PeerAzureTenantId string
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    PeerResourceGroup string
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    VnetName string
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    VpcId string
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    AzureSubscriptionId string
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    PeerAzureAppId string
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    PeerAzureTenantId string
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    PeerResourceGroup string
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    VnetName string
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    VpcId string
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    azureSubscriptionId String
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    peerAzureAppId String
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    peerAzureTenantId String
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    peerResourceGroup String
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    vnetName String
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    vpcId String
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    azureSubscriptionId string
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    peerAzureAppId string
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    peerAzureTenantId string
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    peerResourceGroup string
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    vnetName string
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    vpcId string
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    azure_subscription_id str
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    peer_azure_app_id str
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    peer_azure_tenant_id str
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    peer_resource_group str
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    vnet_name str
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    vpc_id str
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    azureSubscriptionId String
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    peerAzureAppId String
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    peerAzureTenantId String
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    peerResourceGroup String
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    vnetName String
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    vpcId String
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.

    getAzureVpcPeeringConnection Result

    The following output properties are available:

    AzureSubscriptionId string
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    PeerAzureAppId string
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    PeerAzureTenantId string
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    PeerResourceGroup string
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    PeeringConnectionId string
    Cloud provider identifier for the peering connection if available
    State string
    State of the peering connection
    StateInfo Dictionary<string, object>
    State-specific help or error information
    VnetName string
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    VpcId string
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    AzureSubscriptionId string
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    PeerAzureAppId string
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    PeerAzureTenantId string
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    PeerResourceGroup string
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    PeeringConnectionId string
    Cloud provider identifier for the peering connection if available
    State string
    State of the peering connection
    StateInfo map[string]interface{}
    State-specific help or error information
    VnetName string
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    VpcId string
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    azureSubscriptionId String
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    peerAzureAppId String
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    peerAzureTenantId String
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    peerResourceGroup String
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    peeringConnectionId String
    Cloud provider identifier for the peering connection if available
    state String
    State of the peering connection
    stateInfo Map<String,Object>
    State-specific help or error information
    vnetName String
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    vpcId String
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    azureSubscriptionId string
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    peerAzureAppId string
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    peerAzureTenantId string
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    peerResourceGroup string
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    peeringConnectionId string
    Cloud provider identifier for the peering connection if available
    state string
    State of the peering connection
    stateInfo {[key: string]: any}
    State-specific help or error information
    vnetName string
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    vpcId string
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    azure_subscription_id str
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    peer_azure_app_id str
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    peer_azure_tenant_id str
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    peer_resource_group str
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    peering_connection_id str
    Cloud provider identifier for the peering connection if available
    state str
    State of the peering connection
    state_info Mapping[str, Any]
    State-specific help or error information
    vnet_name str
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    vpc_id str
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
    azureSubscriptionId String
    Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    peerAzureAppId String
    Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
    peerAzureTenantId String
    Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
    peerResourceGroup String
    Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
    peeringConnectionId String
    Cloud provider identifier for the peering connection if available
    state String
    State of the peering connection
    stateInfo Map<Any>
    State-specific help or error information
    vnetName String
    Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
    vpcId String
    The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Viewing docs for Aiven v5.6.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.