import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages an Azure VPC peering connection with an Aiven VPC. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.AzureOrgVpcPeeringConnection("example", { * organizationId: "org1a23f456789", * organizationVpcId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d", * azureSubscriptionId: "12345678-1234-1234-1234-123456789012", * vnetName: "my-vnet", * peerResourceGroup: "my-resource-group", * peerAzureAppId: "87654321-4321-4321-4321-210987654321", * peerAzureTenantId: "11111111-2222-3333-4444-555555555555", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/azureOrgVpcPeeringConnection:AzureOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AZURE_SUBSCRIPTION_ID/VNET_NAME/PEER_RESOURCE_GROUP * ``` */ export declare class AzureOrgVpcPeeringConnection extends pulumi.CustomResource { /** * Get an existing AzureOrgVpcPeeringConnection resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AzureOrgVpcPeeringConnectionState, opts?: pulumi.CustomResourceOptions): AzureOrgVpcPeeringConnection; /** * Returns true if the given object is an instance of AzureOrgVpcPeeringConnection. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AzureOrgVpcPeeringConnection; /** * The ID of the Azure subscription in UUID4 format. Maximum length: `1024`. Changing this property forces recreation of the resource. */ readonly azureSubscriptionId: pulumi.Output; /** * ID of an organization. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; /** * Organization VPC ID. Changing this property forces recreation of the resource. */ readonly organizationVpcId: pulumi.Output; /** * The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Maximum length: `1024`. Changing this property forces recreation of the resource. */ readonly peerAzureAppId: pulumi.Output; /** * The Azure tenant ID in UUID4 format. Maximum length: `1024`. Changing this property forces recreation of the resource. */ readonly peerAzureTenantId: pulumi.Output; /** * The name of the Azure resource group associated with the VNet. Maximum length: `1024`. Changing this property forces recreation of the resource. */ readonly peerResourceGroup: pulumi.Output; /** * Organization peering connection ID. */ readonly peeringConnectionId: pulumi.Output; /** * State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`. */ readonly state: pulumi.Output; readonly timeouts: pulumi.Output; /** * The name of the Azure VNet. Maximum length: `1024`. Changing this property forces recreation of the resource. */ readonly vnetName: pulumi.Output; /** * Create a AzureOrgVpcPeeringConnection resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AzureOrgVpcPeeringConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AzureOrgVpcPeeringConnection resources. */ export interface AzureOrgVpcPeeringConnectionState { /** * The ID of the Azure subscription in UUID4 format. Maximum length: `1024`. Changing this property forces recreation of the resource. */ azureSubscriptionId?: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; /** * Organization VPC ID. Changing this property forces recreation of the resource. */ organizationVpcId?: pulumi.Input; /** * The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Maximum length: `1024`. Changing this property forces recreation of the resource. */ peerAzureAppId?: pulumi.Input; /** * The Azure tenant ID in UUID4 format. Maximum length: `1024`. Changing this property forces recreation of the resource. */ peerAzureTenantId?: pulumi.Input; /** * The name of the Azure resource group associated with the VNet. Maximum length: `1024`. Changing this property forces recreation of the resource. */ peerResourceGroup?: pulumi.Input; /** * Organization peering connection ID. */ peeringConnectionId?: pulumi.Input; /** * State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`. */ state?: pulumi.Input; timeouts?: pulumi.Input; /** * The name of the Azure VNet. Maximum length: `1024`. Changing this property forces recreation of the resource. */ vnetName?: pulumi.Input; } /** * The set of arguments for constructing a AzureOrgVpcPeeringConnection resource. */ export interface AzureOrgVpcPeeringConnectionArgs { /** * The ID of the Azure subscription in UUID4 format. Maximum length: `1024`. Changing this property forces recreation of the resource. */ azureSubscriptionId: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; /** * Organization VPC ID. Changing this property forces recreation of the resource. */ organizationVpcId: pulumi.Input; /** * The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Maximum length: `1024`. Changing this property forces recreation of the resource. */ peerAzureAppId: pulumi.Input; /** * The Azure tenant ID in UUID4 format. Maximum length: `1024`. Changing this property forces recreation of the resource. */ peerAzureTenantId: pulumi.Input; /** * The name of the Azure resource group associated with the VNet. Maximum length: `1024`. Changing this property forces recreation of the resource. */ peerResourceGroup: pulumi.Input; timeouts?: pulumi.Input; /** * The name of the Azure VNet. Maximum length: `1024`. Changing this property forces recreation of the resource. */ vnetName: pulumi.Input; } //# sourceMappingURL=azureOrgVpcPeeringConnection.d.ts.map