Viewing docs for Aiven v6.62.2
published on Saturday, Oct 31, 2026 by Pulumi
published on Saturday, Oct 31, 2026 by Pulumi
Viewing docs for Aiven v6.62.2
published on Saturday, Oct 31, 2026 by Pulumi
published on Saturday, Oct 31, 2026 by Pulumi
Gets information about an existing VPC in an Aiven organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = aiven.getOrganizationVpc({
organizationId: "org1a23f456789",
organizationVpcId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
});
import pulumi
import pulumi_aiven as aiven
example = aiven.get_organization_vpc(organization_id="org1a23f456789",
organization_vpc_id="1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
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.GetOrganizationVpc(ctx, &aiven.LookupOrganizationVpcArgs{
OrganizationId: "org1a23f456789",
OrganizationVpcId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
}, 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.GetOrganizationVpc.Invoke(new()
{
OrganizationId = "org1a23f456789",
OrganizationVpcId = "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
});
});
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.GetOrganizationVpcArgs;
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.getOrganizationVpc(GetOrganizationVpcArgs.builder()
.organizationId("org1a23f456789")
.organizationVpcId("1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
.build());
}
}
variables:
example:
fn::invoke:
function: aiven:getOrganizationVpc
arguments:
organizationId: org1a23f456789
organizationVpcId: 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
terraform {
required_providers {
aiven = {
source = "pulumi/aiven"
}
}
}
data "aiven_organization_vpc" "example" {
organization_id = "org1a23f456789"
organization_vpc_id = "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
}
Using getOrganizationVpc
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 getOrganizationVpc(args: GetOrganizationVpcArgs, opts?: InvokeOptions): Promise<GetOrganizationVpcResult>
function getOrganizationVpcOutput(args: GetOrganizationVpcOutputArgs, opts?: InvokeOutputOptions): Output<GetOrganizationVpcResult>def get_organization_vpc(organization_id: Optional[str] = None,
organization_vpc_id: Optional[str] = None,
timeouts: Optional[GetOrganizationVpcTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationVpcResult
def get_organization_vpc_output(organization_id: pulumi.Input[Optional[str]] = None,
organization_vpc_id: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetOrganizationVpcTimeoutsArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetOrganizationVpcResult]func LookupOrganizationVpc(ctx *Context, args *LookupOrganizationVpcArgs, opts ...InvokeOption) (*LookupOrganizationVpcResult, error)
func LookupOrganizationVpcOutput(ctx *Context, args *LookupOrganizationVpcOutputArgs, opts ...InvokeOption) LookupOrganizationVpcResultOutput> Note: This function is named LookupOrganizationVpc in the Go SDK.
public static class GetOrganizationVpc
{
public static Task<GetOrganizationVpcResult> InvokeAsync(GetOrganizationVpcArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationVpcResult> Invoke(GetOrganizationVpcInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationVpcResult> Invoke(GetOrganizationVpcInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetOrganizationVpcResult> getOrganizationVpc(GetOrganizationVpcArgs args, InvokeOptions options)
public static Output<GetOrganizationVpcResult> getOrganizationVpc(GetOrganizationVpcArgs args, InvokeOptions options)
public static Output<GetOrganizationVpcResult> getOrganizationVpc(GetOrganizationVpcArgs args, InvokeOutputOptions options)
fn::invoke:
function: aiven:index/getOrganizationVpc:getOrganizationVpc
arguments:
# arguments dictionarydata "aiven_get_organization_vpc" "name" {
# arguments
}The following arguments are supported:
- Organization
Id string - ID of an organization.
- Organization
Vpc stringId - The ID of the Aiven Organization VPC.
- Timeouts
Get
Organization Vpc Timeouts
- Organization
Id string - ID of an organization.
- Organization
Vpc stringId - The ID of the Aiven Organization VPC.
- Timeouts
Get
Organization Vpc Timeouts
- organization_
id string - ID of an organization.
- organization_
vpc_ stringid - The ID of the Aiven Organization VPC.
- timeouts object
- organization
Id String - ID of an organization.
- organization
Vpc StringId - The ID of the Aiven Organization VPC.
- timeouts
Get
Organization Vpc Timeouts
- organization
Id string - ID of an organization.
- organization
Vpc stringId - The ID of the Aiven Organization VPC.
- timeouts
Get
Organization Vpc Timeouts
- organization_
id str - ID of an organization.
- organization_
vpc_ strid - The ID of the Aiven Organization VPC.
- timeouts
Get
Organization Vpc Timeouts
- organization
Id String - ID of an organization.
- organization
Vpc StringId - The ID of the Aiven Organization VPC.
- timeouts Property Map
getOrganizationVpc Result
The following output properties are available:
- Cloud
Name string - The cloud provider and region where the service is hosted in the format
CLOUD_PROVIDER-REGION_NAME. For example,google-europe-west1oraws-us-east-2. - Create
Time string - VPC creation timestamp.
- Display
Name string - User defined display name for this VPC.
- Id string
- Resource ID composed as:
organization_id/organization_vpc_id. - Network
Cidr string - Network address range used by the VPC. For example,
192.168.0.0/24. - Organization
Id string - ID of an organization.
- Organization
Vpc stringId - The ID of the Aiven Organization VPC.
- State string
- State of the VPC. The possible values are
ACTIVE,APPROVED,DELETEDandDELETING. - Update
Time string - Timestamp of last change to VPC.
- Timeouts
Get
Organization Vpc Timeouts
- Cloud
Name string - The cloud provider and region where the service is hosted in the format
CLOUD_PROVIDER-REGION_NAME. For example,google-europe-west1oraws-us-east-2. - Create
Time string - VPC creation timestamp.
- Display
Name string - User defined display name for this VPC.
- Id string
- Resource ID composed as:
organization_id/organization_vpc_id. - Network
Cidr string - Network address range used by the VPC. For example,
192.168.0.0/24. - Organization
Id string - ID of an organization.
- Organization
Vpc stringId - The ID of the Aiven Organization VPC.
- State string
- State of the VPC. The possible values are
ACTIVE,APPROVED,DELETEDandDELETING. - Update
Time string - Timestamp of last change to VPC.
- Timeouts
Get
Organization Vpc Timeouts
- cloud_
name string - The cloud provider and region where the service is hosted in the format
CLOUD_PROVIDER-REGION_NAME. For example,google-europe-west1oraws-us-east-2. - create_
time string - VPC creation timestamp.
- display_
name string - User defined display name for this VPC.
- id string
- Resource ID composed as:
organization_id/organization_vpc_id. - network_
cidr string - Network address range used by the VPC. For example,
192.168.0.0/24. - organization_
id string - ID of an organization.
- organization_
vpc_ stringid - The ID of the Aiven Organization VPC.
- state string
- State of the VPC. The possible values are
ACTIVE,APPROVED,DELETEDandDELETING. - update_
time string - Timestamp of last change to VPC.
- timeouts object
- cloud
Name String - The cloud provider and region where the service is hosted in the format
CLOUD_PROVIDER-REGION_NAME. For example,google-europe-west1oraws-us-east-2. - create
Time String - VPC creation timestamp.
- display
Name String - User defined display name for this VPC.
- id String
- Resource ID composed as:
organization_id/organization_vpc_id. - network
Cidr String - Network address range used by the VPC. For example,
192.168.0.0/24. - organization
Id String - ID of an organization.
- organization
Vpc StringId - The ID of the Aiven Organization VPC.
- state String
- State of the VPC. The possible values are
ACTIVE,APPROVED,DELETEDandDELETING. - update
Time String - Timestamp of last change to VPC.
- timeouts
Get
Organization Vpc Timeouts
- cloud
Name string - The cloud provider and region where the service is hosted in the format
CLOUD_PROVIDER-REGION_NAME. For example,google-europe-west1oraws-us-east-2. - create
Time string - VPC creation timestamp.
- display
Name string - User defined display name for this VPC.
- id string
- Resource ID composed as:
organization_id/organization_vpc_id. - network
Cidr string - Network address range used by the VPC. For example,
192.168.0.0/24. - organization
Id string - ID of an organization.
- organization
Vpc stringId - The ID of the Aiven Organization VPC.
- state string
- State of the VPC. The possible values are
ACTIVE,APPROVED,DELETEDandDELETING. - update
Time string - Timestamp of last change to VPC.
- timeouts
Get
Organization Vpc Timeouts
- cloud_
name str - The cloud provider and region where the service is hosted in the format
CLOUD_PROVIDER-REGION_NAME. For example,google-europe-west1oraws-us-east-2. - create_
time str - VPC creation timestamp.
- display_
name str - User defined display name for this VPC.
- id str
- Resource ID composed as:
organization_id/organization_vpc_id. - network_
cidr str - Network address range used by the VPC. For example,
192.168.0.0/24. - organization_
id str - ID of an organization.
- organization_
vpc_ strid - The ID of the Aiven Organization VPC.
- state str
- State of the VPC. The possible values are
ACTIVE,APPROVED,DELETEDandDELETING. - update_
time str - Timestamp of last change to VPC.
- timeouts
Get
Organization Vpc Timeouts
- cloud
Name String - The cloud provider and region where the service is hosted in the format
CLOUD_PROVIDER-REGION_NAME. For example,google-europe-west1oraws-us-east-2. - create
Time String - VPC creation timestamp.
- display
Name String - User defined display name for this VPC.
- id String
- Resource ID composed as:
organization_id/organization_vpc_id. - network
Cidr String - Network address range used by the VPC. For example,
192.168.0.0/24. - organization
Id String - ID of an organization.
- organization
Vpc StringId - The ID of the Aiven Organization VPC.
- state String
- State of the VPC. The possible values are
ACTIVE,APPROVED,DELETEDandDELETING. - update
Time String - Timestamp of last change to VPC.
- timeouts Property Map
Supporting Types
GetOrganizationVpcTimeouts
- 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.62.2
published on Saturday, Oct 31, 2026 by Pulumi
published on Saturday, Oct 31, 2026 by Pulumi