Viewing docs for Aiven v6.59.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Viewing docs for Aiven v6.59.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Gets information about an Azure VPC peering connection.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = aiven.getAzureOrgVpcPeeringConnection({
organizationId: "org1a23f456789",
organizationVpcId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
azureSubscriptionId: "12345678-1234-1234-1234-123456789012",
vnetName: "my-vnet",
peerResourceGroup: "my-resource-group",
});
import pulumi
import pulumi_aiven as aiven
example = aiven.get_azure_org_vpc_peering_connection(organization_id="org1a23f456789",
organization_vpc_id="1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
azure_subscription_id="12345678-1234-1234-1234-123456789012",
vnet_name="my-vnet",
peer_resource_group="my-resource-group")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.GetAzureOrgVpcPeeringConnection(ctx, &aiven.LookupAzureOrgVpcPeeringConnectionArgs{
OrganizationId: "org1a23f456789",
OrganizationVpcId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
AzureSubscriptionId: "12345678-1234-1234-1234-123456789012",
VnetName: "my-vnet",
PeerResourceGroup: "my-resource-group",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var example = Aiven.GetAzureOrgVpcPeeringConnection.Invoke(new()
{
OrganizationId = "org1a23f456789",
OrganizationVpcId = "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
AzureSubscriptionId = "12345678-1234-1234-1234-123456789012",
VnetName = "my-vnet",
PeerResourceGroup = "my-resource-group",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetAzureOrgVpcPeeringConnectionArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = AivenFunctions.getAzureOrgVpcPeeringConnection(GetAzureOrgVpcPeeringConnectionArgs.builder()
.organizationId("org1a23f456789")
.organizationVpcId("1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
.azureSubscriptionId("12345678-1234-1234-1234-123456789012")
.vnetName("my-vnet")
.peerResourceGroup("my-resource-group")
.build());
}
}
variables:
example:
fn::invoke:
function: aiven:getAzureOrgVpcPeeringConnection
arguments:
organizationId: org1a23f456789
organizationVpcId: 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
azureSubscriptionId: 12345678-1234-1234-1234-123456789012
vnetName: my-vnet
peerResourceGroup: my-resource-group
pulumi {
required_providers {
aiven = {
source = "pulumi/aiven"
}
}
}
data "aiven_getazureorgvpcpeeringconnection" "example" {
organization_id = "org1a23f456789"
organization_vpc_id = "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
azure_subscription_id = "12345678-1234-1234-1234-123456789012"
vnet_name = "my-vnet"
peer_resource_group = "my-resource-group"
}
Using getAzureOrgVpcPeeringConnection
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 getAzureOrgVpcPeeringConnection(args: GetAzureOrgVpcPeeringConnectionArgs, opts?: InvokeOptions): Promise<GetAzureOrgVpcPeeringConnectionResult>
function getAzureOrgVpcPeeringConnectionOutput(args: GetAzureOrgVpcPeeringConnectionOutputArgs, opts?: InvokeOutputOptions): Output<GetAzureOrgVpcPeeringConnectionResult>def get_azure_org_vpc_peering_connection(azure_subscription_id: Optional[str] = None,
organization_id: Optional[str] = None,
organization_vpc_id: Optional[str] = None,
peer_resource_group: Optional[str] = None,
timeouts: Optional[GetAzureOrgVpcPeeringConnectionTimeouts] = None,
vnet_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAzureOrgVpcPeeringConnectionResult
def get_azure_org_vpc_peering_connection_output(azure_subscription_id: pulumi.Input[Optional[str]] = None,
organization_id: pulumi.Input[Optional[str]] = None,
organization_vpc_id: pulumi.Input[Optional[str]] = None,
peer_resource_group: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetAzureOrgVpcPeeringConnectionTimeoutsArgs]] = None,
vnet_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAzureOrgVpcPeeringConnectionResult]func LookupAzureOrgVpcPeeringConnection(ctx *Context, args *LookupAzureOrgVpcPeeringConnectionArgs, opts ...InvokeOption) (*LookupAzureOrgVpcPeeringConnectionResult, error)
func LookupAzureOrgVpcPeeringConnectionOutput(ctx *Context, args *LookupAzureOrgVpcPeeringConnectionOutputArgs, opts ...InvokeOption) LookupAzureOrgVpcPeeringConnectionResultOutput> Note: This function is named LookupAzureOrgVpcPeeringConnection in the Go SDK.
public static class GetAzureOrgVpcPeeringConnection
{
public static Task<GetAzureOrgVpcPeeringConnectionResult> InvokeAsync(GetAzureOrgVpcPeeringConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetAzureOrgVpcPeeringConnectionResult> Invoke(GetAzureOrgVpcPeeringConnectionInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAzureOrgVpcPeeringConnectionResult> Invoke(GetAzureOrgVpcPeeringConnectionInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAzureOrgVpcPeeringConnectionResult> getAzureOrgVpcPeeringConnection(GetAzureOrgVpcPeeringConnectionArgs args, InvokeOptions options)
public static Output<GetAzureOrgVpcPeeringConnectionResult> getAzureOrgVpcPeeringConnection(GetAzureOrgVpcPeeringConnectionArgs args, InvokeOptions options)
public static Output<GetAzureOrgVpcPeeringConnectionResult> getAzureOrgVpcPeeringConnection(GetAzureOrgVpcPeeringConnectionArgs args, InvokeOutputOptions options)
fn::invoke:
function: aiven:index/getAzureOrgVpcPeeringConnection:getAzureOrgVpcPeeringConnection
arguments:
# arguments dictionarydata "aiven_get_azure_org_vpc_peering_connection" "name" {
# arguments
}The following arguments are supported:
- Azure
Subscription stringId - The ID of the Azure subscription in UUID4 format.
- Organization
Id string - ID of an organization.
- Organization
Vpc stringId - Organization VPC ID.
- Peer
Resource stringGroup - The name of the Azure resource group associated with the VNet.
- Vnet
Name string - The name of the Azure VNet.
- Timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- Azure
Subscription stringId - The ID of the Azure subscription in UUID4 format.
- Organization
Id string - ID of an organization.
- Organization
Vpc stringId - Organization VPC ID.
- Peer
Resource stringGroup - The name of the Azure resource group associated with the VNet.
- Vnet
Name string - The name of the Azure VNet.
- Timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- azure_
subscription_ stringid - The ID of the Azure subscription in UUID4 format.
- organization_
id string - ID of an organization.
- organization_
vpc_ stringid - Organization VPC ID.
- peer_
resource_ stringgroup - The name of the Azure resource group associated with the VNet.
- vnet_
name string - The name of the Azure VNet.
- timeouts object
- azure
Subscription StringId - The ID of the Azure subscription in UUID4 format.
- organization
Id String - ID of an organization.
- organization
Vpc StringId - Organization VPC ID.
- peer
Resource StringGroup - The name of the Azure resource group associated with the VNet.
- vnet
Name String - The name of the Azure VNet.
- timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- azure
Subscription stringId - The ID of the Azure subscription in UUID4 format.
- organization
Id string - ID of an organization.
- organization
Vpc stringId - Organization VPC ID.
- peer
Resource stringGroup - The name of the Azure resource group associated with the VNet.
- vnet
Name string - The name of the Azure VNet.
- timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- azure_
subscription_ strid - The ID of the Azure subscription in UUID4 format.
- organization_
id str - ID of an organization.
- organization_
vpc_ strid - Organization VPC ID.
- peer_
resource_ strgroup - The name of the Azure resource group associated with the VNet.
- vnet_
name str - The name of the Azure VNet.
- timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- azure
Subscription StringId - The ID of the Azure subscription in UUID4 format.
- organization
Id String - ID of an organization.
- organization
Vpc StringId - Organization VPC ID.
- peer
Resource StringGroup - The name of the Azure resource group associated with the VNet.
- vnet
Name String - The name of the Azure VNet.
- timeouts Property Map
getAzureOrgVpcPeeringConnection Result
The following output properties are available:
- Azure
Subscription stringId - The ID of the Azure subscription in UUID4 format.
- Id string
- Resource ID composed as:
organization_id/organization_vpc_id/azure_subscription_id/vnet_name/peer_resource_group. - Organization
Id string - ID of an organization.
- Organization
Vpc stringId - Organization VPC ID.
- Peer
Azure stringApp Id - The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format.
- Peer
Azure stringTenant Id - The Azure tenant ID in UUID4 format.
- Peer
Resource stringGroup - The name of the Azure resource group associated with the VNet.
- Peering
Connection stringId - Organization peering connection ID.
- State string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - Vnet
Name string - The name of the Azure VNet.
- Timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- Azure
Subscription stringId - The ID of the Azure subscription in UUID4 format.
- Id string
- Resource ID composed as:
organization_id/organization_vpc_id/azure_subscription_id/vnet_name/peer_resource_group. - Organization
Id string - ID of an organization.
- Organization
Vpc stringId - Organization VPC ID.
- Peer
Azure stringApp Id - The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format.
- Peer
Azure stringTenant Id - The Azure tenant ID in UUID4 format.
- Peer
Resource stringGroup - The name of the Azure resource group associated with the VNet.
- Peering
Connection stringId - Organization peering connection ID.
- State string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - Vnet
Name string - The name of the Azure VNet.
- Timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- azure_
subscription_ stringid - The ID of the Azure subscription in UUID4 format.
- id string
- Resource ID composed as:
organization_id/organization_vpc_id/azure_subscription_id/vnet_name/peer_resource_group. - organization_
id string - ID of an organization.
- organization_
vpc_ stringid - Organization VPC ID.
- peer_
azure_ stringapp_ id - The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format.
- peer_
azure_ stringtenant_ id - The Azure tenant ID in UUID4 format.
- peer_
resource_ stringgroup - The name of the Azure resource group associated with the VNet.
- peering_
connection_ stringid - Organization peering connection ID.
- state string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - vnet_
name string - The name of the Azure VNet.
- timeouts object
- azure
Subscription StringId - The ID of the Azure subscription in UUID4 format.
- id String
- Resource ID composed as:
organization_id/organization_vpc_id/azure_subscription_id/vnet_name/peer_resource_group. - organization
Id String - ID of an organization.
- organization
Vpc StringId - Organization VPC ID.
- peer
Azure StringApp Id - The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format.
- peer
Azure StringTenant Id - The Azure tenant ID in UUID4 format.
- peer
Resource StringGroup - The name of the Azure resource group associated with the VNet.
- peering
Connection StringId - Organization peering connection ID.
- state String
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - vnet
Name String - The name of the Azure VNet.
- timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- azure
Subscription stringId - The ID of the Azure subscription in UUID4 format.
- id string
- Resource ID composed as:
organization_id/organization_vpc_id/azure_subscription_id/vnet_name/peer_resource_group. - organization
Id string - ID of an organization.
- organization
Vpc stringId - Organization VPC ID.
- peer
Azure stringApp Id - The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format.
- peer
Azure stringTenant Id - The Azure tenant ID in UUID4 format.
- peer
Resource stringGroup - The name of the Azure resource group associated with the VNet.
- peering
Connection stringId - Organization peering connection ID.
- state string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - vnet
Name string - The name of the Azure VNet.
- timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- azure_
subscription_ strid - The ID of the Azure subscription in UUID4 format.
- id str
- Resource ID composed as:
organization_id/organization_vpc_id/azure_subscription_id/vnet_name/peer_resource_group. - organization_
id str - ID of an organization.
- organization_
vpc_ strid - Organization VPC ID.
- peer_
azure_ strapp_ id - The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format.
- peer_
azure_ strtenant_ id - The Azure tenant ID in UUID4 format.
- peer_
resource_ strgroup - The name of the Azure resource group associated with the VNet.
- peering_
connection_ strid - Organization peering connection ID.
- state str
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - vnet_
name str - The name of the Azure VNet.
- timeouts
Get
Azure Org Vpc Peering Connection Timeouts
- azure
Subscription StringId - The ID of the Azure subscription in UUID4 format.
- id String
- Resource ID composed as:
organization_id/organization_vpc_id/azure_subscription_id/vnet_name/peer_resource_group. - organization
Id String - ID of an organization.
- organization
Vpc StringId - Organization VPC ID.
- peer
Azure StringApp Id - The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format.
- peer
Azure StringTenant Id - The Azure tenant ID in UUID4 format.
- peer
Resource StringGroup - The name of the Azure resource group associated with the VNet.
- peering
Connection StringId - Organization peering connection ID.
- state String
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - vnet
Name String - The name of the Azure VNet.
- timeouts Property Map
Supporting Types
GetAzureOrgVpcPeeringConnectionTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
Viewing docs for Aiven v6.59.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi