Aiven v6.39.0 published on Tuesday, Jun 3, 2025 by Pulumi
aiven.getOrganizationProject
Explore with Pulumi AI
Gets information about an Aiven project.
This resource is in the beta stage and may change without notice. Set
the PROVIDER_AIVEN_ENABLE_BETA
environment variable to use the resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = aiven.getOrganizationProject({
projectId: foo.projectId,
organizationId: foo.organizationId,
});
import pulumi
import pulumi_aiven as aiven
example = aiven.get_organization_project(project_id=foo["projectId"],
organization_id=foo["organizationId"])
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.LookupOrganizationProject(ctx, &aiven.LookupOrganizationProjectArgs{
ProjectId: foo.ProjectId,
OrganizationId: foo.OrganizationId,
}, 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.GetOrganizationProject.Invoke(new()
{
ProjectId = foo.ProjectId,
OrganizationId = foo.OrganizationId,
});
});
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.GetOrganizationProjectArgs;
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) {
final var example = AivenFunctions.getOrganizationProject(GetOrganizationProjectArgs.builder()
.projectId(foo.projectId())
.organizationId(foo.organizationId())
.build());
}
}
variables:
example:
fn::invoke:
function: aiven:getOrganizationProject
arguments:
projectId: ${foo.projectId}
organizationId: ${foo.organizationId}
Using getOrganizationProject
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 getOrganizationProject(args: GetOrganizationProjectArgs, opts?: InvokeOptions): Promise<GetOrganizationProjectResult>
function getOrganizationProjectOutput(args: GetOrganizationProjectOutputArgs, opts?: InvokeOptions): Output<GetOrganizationProjectResult>
def get_organization_project(organization_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Sequence[GetOrganizationProjectTag]] = None,
timeouts: Optional[GetOrganizationProjectTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationProjectResult
def get_organization_project_output(organization_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetOrganizationProjectTagArgs]]]] = None,
timeouts: Optional[pulumi.Input[GetOrganizationProjectTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationProjectResult]
func LookupOrganizationProject(ctx *Context, args *LookupOrganizationProjectArgs, opts ...InvokeOption) (*LookupOrganizationProjectResult, error)
func LookupOrganizationProjectOutput(ctx *Context, args *LookupOrganizationProjectOutputArgs, opts ...InvokeOption) LookupOrganizationProjectResultOutput
> Note: This function is named LookupOrganizationProject
in the Go SDK.
public static class GetOrganizationProject
{
public static Task<GetOrganizationProjectResult> InvokeAsync(GetOrganizationProjectArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationProjectResult> Invoke(GetOrganizationProjectInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOrganizationProjectResult> getOrganizationProject(GetOrganizationProjectArgs args, InvokeOptions options)
public static Output<GetOrganizationProjectResult> getOrganizationProject(GetOrganizationProjectArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getOrganizationProject:getOrganizationProject
arguments:
# arguments dictionary
The following arguments are supported:
- Organization
Id string - ID of an organization.
- Project
Id string - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- List<Get
Organization Project Tag> - Tags are key-value pairs that allow you to categorize projects.
- Timeouts
Get
Organization Project Timeouts
- Organization
Id string - ID of an organization.
- Project
Id string - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- []Get
Organization Project Tag - Tags are key-value pairs that allow you to categorize projects.
- Timeouts
Get
Organization Project Timeouts
- organization
Id String - ID of an organization.
- project
Id String - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- List<Get
Organization Project Tag> - Tags are key-value pairs that allow you to categorize projects.
- timeouts
Get
Organization Project Timeouts
- organization
Id string - ID of an organization.
- project
Id string - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- Get
Organization Project Tag[] - Tags are key-value pairs that allow you to categorize projects.
- timeouts
Get
Organization Project Timeouts
- organization_
id str - ID of an organization.
- project_
id str - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- Sequence[Get
Organization Project Tag] - Tags are key-value pairs that allow you to categorize projects.
- timeouts
Get
Organization Project Timeouts
- organization
Id String - ID of an organization.
- project
Id String - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- List<Property Map>
- Tags are key-value pairs that allow you to categorize projects.
- timeouts Property Map
getOrganizationProject Result
The following output properties are available:
- Base
Port int - Valid port number (1-65535) to use as a base for service port allocation.
- Billing
Group stringId - Billing group ID to assign to the project. It's required when moving projects between organizations.
- Ca
Cert string - PEM encoded certificate.
- Id string
- Resource ID, a composite of
organization_id
andproject_id
IDs. - Organization
Id string - ID of an organization.
- Parent
Id string - Link a project to an organization or organizational unit by using its ID. To set up proper dependencies please refer to this variable as a reference.
- Project
Id string - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- Technical
Emails List<string> - The email addresses for project contacts, who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
- List<Get
Organization Project Tag> - Tags are key-value pairs that allow you to categorize projects.
- Timeouts
Get
Organization Project Timeouts
- Base
Port int - Valid port number (1-65535) to use as a base for service port allocation.
- Billing
Group stringId - Billing group ID to assign to the project. It's required when moving projects between organizations.
- Ca
Cert string - PEM encoded certificate.
- Id string
- Resource ID, a composite of
organization_id
andproject_id
IDs. - Organization
Id string - ID of an organization.
- Parent
Id string - Link a project to an organization or organizational unit by using its ID. To set up proper dependencies please refer to this variable as a reference.
- Project
Id string - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- Technical
Emails []string - The email addresses for project contacts, who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
- []Get
Organization Project Tag - Tags are key-value pairs that allow you to categorize projects.
- Timeouts
Get
Organization Project Timeouts
- base
Port Integer - Valid port number (1-65535) to use as a base for service port allocation.
- billing
Group StringId - Billing group ID to assign to the project. It's required when moving projects between organizations.
- ca
Cert String - PEM encoded certificate.
- id String
- Resource ID, a composite of
organization_id
andproject_id
IDs. - organization
Id String - ID of an organization.
- parent
Id String - Link a project to an organization or organizational unit by using its ID. To set up proper dependencies please refer to this variable as a reference.
- project
Id String - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- technical
Emails List<String> - The email addresses for project contacts, who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
- List<Get
Organization Project Tag> - Tags are key-value pairs that allow you to categorize projects.
- timeouts
Get
Organization Project Timeouts
- base
Port number - Valid port number (1-65535) to use as a base for service port allocation.
- billing
Group stringId - Billing group ID to assign to the project. It's required when moving projects between organizations.
- ca
Cert string - PEM encoded certificate.
- id string
- Resource ID, a composite of
organization_id
andproject_id
IDs. - organization
Id string - ID of an organization.
- parent
Id string - Link a project to an organization or organizational unit by using its ID. To set up proper dependencies please refer to this variable as a reference.
- project
Id string - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- technical
Emails string[] - The email addresses for project contacts, who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
- Get
Organization Project Tag[] - Tags are key-value pairs that allow you to categorize projects.
- timeouts
Get
Organization Project Timeouts
- base_
port int - Valid port number (1-65535) to use as a base for service port allocation.
- billing_
group_ strid - Billing group ID to assign to the project. It's required when moving projects between organizations.
- ca_
cert str - PEM encoded certificate.
- id str
- Resource ID, a composite of
organization_id
andproject_id
IDs. - organization_
id str - ID of an organization.
- parent_
id str - Link a project to an organization or organizational unit by using its ID. To set up proper dependencies please refer to this variable as a reference.
- project_
id str - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- technical_
emails Sequence[str] - The email addresses for project contacts, who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
- Sequence[Get
Organization Project Tag] - Tags are key-value pairs that allow you to categorize projects.
- timeouts
Get
Organization Project Timeouts
- base
Port Number - Valid port number (1-65535) to use as a base for service port allocation.
- billing
Group StringId - Billing group ID to assign to the project. It's required when moving projects between organizations.
- ca
Cert String - PEM encoded certificate.
- id String
- Resource ID, a composite of
organization_id
andproject_id
IDs. - organization
Id String - ID of an organization.
- parent
Id String - Link a project to an organization or organizational unit by using its ID. To set up proper dependencies please refer to this variable as a reference.
- project
Id String - The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
- technical
Emails List<String> - The email addresses for project contacts, who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
- List<Property Map>
- Tags are key-value pairs that allow you to categorize projects.
- timeouts Property Map
Supporting Types
GetOrganizationProjectTag
GetOrganizationProjectTimeouts
- 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
aiven
Terraform Provider.