1. Packages
  2. Aiven Provider
  3. API Docs
  4. AzureVpcPeeringConnection
Aiven v6.37.0 published on Thursday, Apr 10, 2025 by Pulumi

aiven.AzureVpcPeeringConnection

Explore with Pulumi AI

Creates and manages an Azure VPC peering connection with an Aiven VPC.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const exampleVpc = new aiven.ProjectVpc("example_vpc", {
    project: exampleProject.project,
    cloudName: "google-europe-west1",
    networkCidr: "192.168.1.0/24",
});
const azureToAivenPeering = new aiven.AzureVpcPeeringConnection("azure_to_aiven_peering", {
    vpcId: exampleVpc.id,
    azureSubscriptionId: "00000000-0000-0000-0000-000000000000",
    peerResourceGroup: "example-resource-group",
    vnetName: "example-vnet",
    peerAzureAppId: "00000000-0000-0000-0000-000000000000",
    peerAzureTenantId: "00000000-0000-0000-0000-000000000000",
});
Copy
import pulumi
import pulumi_aiven as aiven

example_vpc = aiven.ProjectVpc("example_vpc",
    project=example_project["project"],
    cloud_name="google-europe-west1",
    network_cidr="192.168.1.0/24")
azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azure_to_aiven_peering",
    vpc_id=example_vpc.id,
    azure_subscription_id="00000000-0000-0000-0000-000000000000",
    peer_resource_group="example-resource-group",
    vnet_name="example-vnet",
    peer_azure_app_id="00000000-0000-0000-0000-000000000000",
    peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
Copy
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 {
		exampleVpc, err := aiven.NewProjectVpc(ctx, "example_vpc", &aiven.ProjectVpcArgs{
			Project:     pulumi.Any(exampleProject.Project),
			CloudName:   pulumi.String("google-europe-west1"),
			NetworkCidr: pulumi.String("192.168.1.0/24"),
		})
		if err != nil {
			return err
		}
		_, err = aiven.NewAzureVpcPeeringConnection(ctx, "azure_to_aiven_peering", &aiven.AzureVpcPeeringConnectionArgs{
			VpcId:               exampleVpc.ID(),
			AzureSubscriptionId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			PeerResourceGroup:   pulumi.String("example-resource-group"),
			VnetName:            pulumi.String("example-vnet"),
			PeerAzureAppId:      pulumi.String("00000000-0000-0000-0000-000000000000"),
			PeerAzureTenantId:   pulumi.String("00000000-0000-0000-0000-000000000000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;

return await Deployment.RunAsync(() => 
{
    var exampleVpc = new Aiven.ProjectVpc("example_vpc", new()
    {
        Project = exampleProject.Project,
        CloudName = "google-europe-west1",
        NetworkCidr = "192.168.1.0/24",
    });

    var azureToAivenPeering = new Aiven.AzureVpcPeeringConnection("azure_to_aiven_peering", new()
    {
        VpcId = exampleVpc.Id,
        AzureSubscriptionId = "00000000-0000-0000-0000-000000000000",
        PeerResourceGroup = "example-resource-group",
        VnetName = "example-vnet",
        PeerAzureAppId = "00000000-0000-0000-0000-000000000000",
        PeerAzureTenantId = "00000000-0000-0000-0000-000000000000",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.ProjectVpc;
import com.pulumi.aiven.ProjectVpcArgs;
import com.pulumi.aiven.AzureVpcPeeringConnection;
import com.pulumi.aiven.AzureVpcPeeringConnectionArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var exampleVpc = new ProjectVpc("exampleVpc", ProjectVpcArgs.builder()
            .project(exampleProject.project())
            .cloudName("google-europe-west1")
            .networkCidr("192.168.1.0/24")
            .build());

        var azureToAivenPeering = new AzureVpcPeeringConnection("azureToAivenPeering", AzureVpcPeeringConnectionArgs.builder()
            .vpcId(exampleVpc.id())
            .azureSubscriptionId("00000000-0000-0000-0000-000000000000")
            .peerResourceGroup("example-resource-group")
            .vnetName("example-vnet")
            .peerAzureAppId("00000000-0000-0000-0000-000000000000")
            .peerAzureTenantId("00000000-0000-0000-0000-000000000000")
            .build());

    }
}
Copy
resources:
  exampleVpc:
    type: aiven:ProjectVpc
    name: example_vpc
    properties:
      project: ${exampleProject.project}
      cloudName: google-europe-west1
      networkCidr: 192.168.1.0/24
  azureToAivenPeering:
    type: aiven:AzureVpcPeeringConnection
    name: azure_to_aiven_peering
    properties:
      vpcId: ${exampleVpc.id}
      azureSubscriptionId: 00000000-0000-0000-0000-000000000000
      peerResourceGroup: example-resource-group
      vnetName: example-vnet
      peerAzureAppId: 00000000-0000-0000-0000-000000000000
      peerAzureTenantId: 00000000-0000-0000-0000-000000000000
Copy

Create AzureVpcPeeringConnection Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AzureVpcPeeringConnection(name: string, args: AzureVpcPeeringConnectionArgs, opts?: CustomResourceOptions);
@overload
def AzureVpcPeeringConnection(resource_name: str,
                              args: AzureVpcPeeringConnectionArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def AzureVpcPeeringConnection(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              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)
func NewAzureVpcPeeringConnection(ctx *Context, name string, args AzureVpcPeeringConnectionArgs, opts ...ResourceOption) (*AzureVpcPeeringConnection, error)
public AzureVpcPeeringConnection(string name, AzureVpcPeeringConnectionArgs args, CustomResourceOptions? opts = null)
public AzureVpcPeeringConnection(String name, AzureVpcPeeringConnectionArgs args)
public AzureVpcPeeringConnection(String name, AzureVpcPeeringConnectionArgs args, CustomResourceOptions options)
type: aiven:AzureVpcPeeringConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AzureVpcPeeringConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AzureVpcPeeringConnectionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AzureVpcPeeringConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AzureVpcPeeringConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AzureVpcPeeringConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var azureVpcPeeringConnectionResource = new Aiven.AzureVpcPeeringConnection("azureVpcPeeringConnectionResource", new()
{
    AzureSubscriptionId = "string",
    PeerAzureAppId = "string",
    PeerAzureTenantId = "string",
    PeerResourceGroup = "string",
    VnetName = "string",
    VpcId = "string",
});
Copy
example, err := aiven.NewAzureVpcPeeringConnection(ctx, "azureVpcPeeringConnectionResource", &aiven.AzureVpcPeeringConnectionArgs{
	AzureSubscriptionId: pulumi.String("string"),
	PeerAzureAppId:      pulumi.String("string"),
	PeerAzureTenantId:   pulumi.String("string"),
	PeerResourceGroup:   pulumi.String("string"),
	VnetName:            pulumi.String("string"),
	VpcId:               pulumi.String("string"),
})
Copy
var azureVpcPeeringConnectionResource = new AzureVpcPeeringConnection("azureVpcPeeringConnectionResource", AzureVpcPeeringConnectionArgs.builder()
    .azureSubscriptionId("string")
    .peerAzureAppId("string")
    .peerAzureTenantId("string")
    .peerResourceGroup("string")
    .vnetName("string")
    .vpcId("string")
    .build());
Copy
azure_vpc_peering_connection_resource = aiven.AzureVpcPeeringConnection("azureVpcPeeringConnectionResource",
    azure_subscription_id="string",
    peer_azure_app_id="string",
    peer_azure_tenant_id="string",
    peer_resource_group="string",
    vnet_name="string",
    vpc_id="string")
Copy
const azureVpcPeeringConnectionResource = new aiven.AzureVpcPeeringConnection("azureVpcPeeringConnectionResource", {
    azureSubscriptionId: "string",
    peerAzureAppId: "string",
    peerAzureTenantId: "string",
    peerResourceGroup: "string",
    vnetName: "string",
    vpcId: "string",
});
Copy
type: aiven:AzureVpcPeeringConnection
properties:
    azureSubscriptionId: string
    peerAzureAppId: string
    peerAzureTenantId: string
    peerResourceGroup: string
    vnetName: string
    vpcId: string
Copy

AzureVpcPeeringConnection Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AzureVpcPeeringConnection resource accepts the following input properties:

AzureSubscriptionId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
PeerAzureAppId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
PeerAzureTenantId
This property is required.
Changes to this property will trigger replacement.
string
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
PeerResourceGroup
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
VnetName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure VNet. Changing this property forces recreation of the resource.
VpcId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
AzureSubscriptionId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
PeerAzureAppId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
PeerAzureTenantId
This property is required.
Changes to this property will trigger replacement.
string
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
PeerResourceGroup
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
VnetName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure VNet. Changing this property forces recreation of the resource.
VpcId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
azureSubscriptionId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
peerAzureAppId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
peerAzureTenantId
This property is required.
Changes to this property will trigger replacement.
String
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
peerResourceGroup
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
vnetName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure VNet. Changing this property forces recreation of the resource.
vpcId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
azureSubscriptionId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
peerAzureAppId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
peerAzureTenantId
This property is required.
Changes to this property will trigger replacement.
string
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
peerResourceGroup
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
vnetName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure VNet. Changing this property forces recreation of the resource.
vpcId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
azure_subscription_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
peer_azure_app_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
peer_azure_tenant_id
This property is required.
Changes to this property will trigger replacement.
str
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
peer_resource_group
This property is required.
Changes to this property will trigger replacement.
str
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
vnet_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Azure VNet. Changing this property forces recreation of the resource.
vpc_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
azureSubscriptionId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
peerAzureAppId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
peerAzureTenantId
This property is required.
Changes to this property will trigger replacement.
String
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
peerResourceGroup
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
vnetName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure VNet. Changing this property forces recreation of the resource.
vpcId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Aiven VPC. Changing this property forces recreation of the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the AzureVpcPeeringConnection resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
PeeringConnectionId string
The ID of the cloud provider for the peering connection.
State string
State of the peering connection
StateInfo Dictionary<string, string>
State-specific help or error information.
Id string
The provider-assigned unique ID for this managed resource.
PeeringConnectionId string
The ID of the cloud provider for the peering connection.
State string
State of the peering connection
StateInfo map[string]string
State-specific help or error information.
id String
The provider-assigned unique ID for this managed resource.
peeringConnectionId String
The ID of the cloud provider for the peering connection.
state String
State of the peering connection
stateInfo Map<String,String>
State-specific help or error information.
id string
The provider-assigned unique ID for this managed resource.
peeringConnectionId string
The ID of the cloud provider for the peering connection.
state string
State of the peering connection
stateInfo {[key: string]: string}
State-specific help or error information.
id str
The provider-assigned unique ID for this managed resource.
peering_connection_id str
The ID of the cloud provider for the peering connection.
state str
State of the peering connection
state_info Mapping[str, str]
State-specific help or error information.
id String
The provider-assigned unique ID for this managed resource.
peeringConnectionId String
The ID of the cloud provider for the peering connection.
state String
State of the peering connection
stateInfo Map<String>
State-specific help or error information.

Look up Existing AzureVpcPeeringConnection Resource

Get an existing AzureVpcPeeringConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AzureVpcPeeringConnectionState, opts?: CustomResourceOptions): AzureVpcPeeringConnection
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        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,
        peering_connection_id: Optional[str] = None,
        state: Optional[str] = None,
        state_info: Optional[Mapping[str, str]] = None,
        vnet_name: Optional[str] = None,
        vpc_id: Optional[str] = None) -> AzureVpcPeeringConnection
func GetAzureVpcPeeringConnection(ctx *Context, name string, id IDInput, state *AzureVpcPeeringConnectionState, opts ...ResourceOption) (*AzureVpcPeeringConnection, error)
public static AzureVpcPeeringConnection Get(string name, Input<string> id, AzureVpcPeeringConnectionState? state, CustomResourceOptions? opts = null)
public static AzureVpcPeeringConnection get(String name, Output<String> id, AzureVpcPeeringConnectionState state, CustomResourceOptions options)
resources:  _:    type: aiven:AzureVpcPeeringConnection    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AzureSubscriptionId Changes to this property will trigger replacement. string
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
PeerAzureAppId Changes to this property will trigger replacement. string
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
PeerAzureTenantId Changes to this property will trigger replacement. string
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
PeerResourceGroup Changes to this property will trigger replacement. string
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
PeeringConnectionId string
The ID of the cloud provider for the peering connection.
State string
State of the peering connection
StateInfo Dictionary<string, string>
State-specific help or error information.
VnetName Changes to this property will trigger replacement. string
The name of the Azure VNet. Changing this property forces recreation of the resource.
VpcId Changes to this property will trigger replacement. string
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
AzureSubscriptionId Changes to this property will trigger replacement. string
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
PeerAzureAppId Changes to this property will trigger replacement. string
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
PeerAzureTenantId Changes to this property will trigger replacement. string
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
PeerResourceGroup Changes to this property will trigger replacement. string
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
PeeringConnectionId string
The ID of the cloud provider for the peering connection.
State string
State of the peering connection
StateInfo map[string]string
State-specific help or error information.
VnetName Changes to this property will trigger replacement. string
The name of the Azure VNet. Changing this property forces recreation of the resource.
VpcId Changes to this property will trigger replacement. string
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
azureSubscriptionId Changes to this property will trigger replacement. String
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
peerAzureAppId Changes to this property will trigger replacement. String
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
peerAzureTenantId Changes to this property will trigger replacement. String
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
peerResourceGroup Changes to this property will trigger replacement. String
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
peeringConnectionId String
The ID of the cloud provider for the peering connection.
state String
State of the peering connection
stateInfo Map<String,String>
State-specific help or error information.
vnetName Changes to this property will trigger replacement. String
The name of the Azure VNet. Changing this property forces recreation of the resource.
vpcId Changes to this property will trigger replacement. String
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
azureSubscriptionId Changes to this property will trigger replacement. string
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
peerAzureAppId Changes to this property will trigger replacement. string
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
peerAzureTenantId Changes to this property will trigger replacement. string
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
peerResourceGroup Changes to this property will trigger replacement. string
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
peeringConnectionId string
The ID of the cloud provider for the peering connection.
state string
State of the peering connection
stateInfo {[key: string]: string}
State-specific help or error information.
vnetName Changes to this property will trigger replacement. string
The name of the Azure VNet. Changing this property forces recreation of the resource.
vpcId Changes to this property will trigger replacement. string
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
azure_subscription_id Changes to this property will trigger replacement. str
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
peer_azure_app_id Changes to this property will trigger replacement. str
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
peer_azure_tenant_id Changes to this property will trigger replacement. str
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
peer_resource_group Changes to this property will trigger replacement. str
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
peering_connection_id str
The ID of the cloud provider for the peering connection.
state str
State of the peering connection
state_info Mapping[str, str]
State-specific help or error information.
vnet_name Changes to this property will trigger replacement. str
The name of the Azure VNet. Changing this property forces recreation of the resource.
vpc_id Changes to this property will trigger replacement. str
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
azureSubscriptionId Changes to this property will trigger replacement. String
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
peerAzureAppId Changes to this property will trigger replacement. String
The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
peerAzureTenantId Changes to this property will trigger replacement. String
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
peerResourceGroup Changes to this property will trigger replacement. String
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
peeringConnectionId String
The ID of the cloud provider for the peering connection.
state String
State of the peering connection
stateInfo Map<String>
State-specific help or error information.
vnetName Changes to this property will trigger replacement. String
The name of the Azure VNet. Changing this property forces recreation of the resource.
vpcId Changes to this property will trigger replacement. String
The ID of the Aiven VPC. Changing this property forces recreation of the resource.

Import

$ pulumi import aiven:index/azureVpcPeeringConnection:AzureVpcPeeringConnection azure_to_aiven_peering PROJECT/VPC_ID/AZURE_SUBSCRIPTION_ID/VNET_NAME
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Aiven pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.