Aiven
getProject
The Project data source provides information about the existing Aiven Project.
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var myproject = Output.Create(Aiven.GetProject.InvokeAsync(new Aiven.GetProjectArgs
{
Project = "<PROJECT_NAME>",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v4/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupProject(ctx, &GetProjectArgs{
Project: "<PROJECT_NAME>",
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aiven as aiven
myproject = aiven.get_project(project="<PROJECT_NAME>")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const myproject = pulumi.output(aiven.getProject({
project: "<PROJECT_NAME>",
}));
Coming soon!
Using getProject
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 getProject(args: GetProjectArgs, opts?: InvokeOptions): Promise<GetProjectResult>
function getProjectOutput(args: GetProjectOutputArgs, opts?: InvokeOptions): Output<GetProjectResult>
def get_project(project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectResult
def get_project_output(project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectResult]
func LookupProject(ctx *Context, args *LookupProjectArgs, opts ...InvokeOption) (*LookupProjectResult, error)
func LookupProjectOutput(ctx *Context, args *LookupProjectOutputArgs, opts ...InvokeOption) LookupProjectResultOutput
> Note: This function is named LookupProject
in the Go SDK.
public static class GetProject
{
public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions? opts = null)
public static Output<GetProjectResult> Invoke(GetProjectInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: aiven:index/getProject:getProject
Arguments:
# Arguments dictionary
The following arguments are supported:
- Project string
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- Project string
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- project String
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- project string
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- project str
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- project String
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
getProject Result
The following output properties are available:
- Account
Id string An optional property to link a project to already an existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
- Add
Account boolOwners Admin Access If account_id is set, grant account owner team admin access to the new project. The default value is
true
.- Available
Credits string The amount of platform credits available to the project. This could be your free trial or other promotional credits.
- Billing
Address string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing name and address of the project.
- Billing
Currency string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing currency.
- Billing
Emails List<string> DEPRECATED Please use aivenbillinggroup resource to set this value. Billing contact emails of the project.
- Billing
Extra stringText DEPRECATED Please use aivenbillinggroup resource to set this value. Extra text to be included in all project invoices, e.g. purchase order or cost center number.
- Billing
Group string The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
- Ca
Cert string The CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka.
- Card
Id string DEPRECATED Please use aivenbillinggroup resource to set this value. Either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if
copy_from_project
is used to copy billing info from another project.- Copy
From stringProject is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
- Country
Code string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing country code of the project.
- Default
Cloud string Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
- Estimated
Balance string The current accumulated bill for this project in the current billing period.
- Id string
The provider-assigned unique ID for this managed resource.
- Payment
Method string The method of invoicing used for payments for this project, e.g.
card
.- Project string
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- Technical
Emails List<string> Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
- Use
Source boolProject Billing Group Use the same billing group that is used in source project.
- Vat
Id string DEPRECATED Please use aivenbillinggroup resource to set this value. EU VAT Identification Number.
- Account
Id string An optional property to link a project to already an existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
- Add
Account boolOwners Admin Access If account_id is set, grant account owner team admin access to the new project. The default value is
true
.- Available
Credits string The amount of platform credits available to the project. This could be your free trial or other promotional credits.
- Billing
Address string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing name and address of the project.
- Billing
Currency string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing currency.
- Billing
Emails []string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing contact emails of the project.
- Billing
Extra stringText DEPRECATED Please use aivenbillinggroup resource to set this value. Extra text to be included in all project invoices, e.g. purchase order or cost center number.
- Billing
Group string The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
- Ca
Cert string The CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka.
- Card
Id string DEPRECATED Please use aivenbillinggroup resource to set this value. Either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if
copy_from_project
is used to copy billing info from another project.- Copy
From stringProject is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
- Country
Code string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing country code of the project.
- Default
Cloud string Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
- Estimated
Balance string The current accumulated bill for this project in the current billing period.
- Id string
The provider-assigned unique ID for this managed resource.
- Payment
Method string The method of invoicing used for payments for this project, e.g.
card
.- Project string
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- Technical
Emails []string Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
- Use
Source boolProject Billing Group Use the same billing group that is used in source project.
- Vat
Id string DEPRECATED Please use aivenbillinggroup resource to set this value. EU VAT Identification Number.
- account
Id String An optional property to link a project to already an existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
- add
Account BooleanOwners Admin Access If account_id is set, grant account owner team admin access to the new project. The default value is
true
.- available
Credits String The amount of platform credits available to the project. This could be your free trial or other promotional credits.
- billing
Address String DEPRECATED Please use aivenbillinggroup resource to set this value. Billing name and address of the project.
- billing
Currency String DEPRECATED Please use aivenbillinggroup resource to set this value. Billing currency.
- billing
Emails List<String> DEPRECATED Please use aivenbillinggroup resource to set this value. Billing contact emails of the project.
- billing
Extra StringText DEPRECATED Please use aivenbillinggroup resource to set this value. Extra text to be included in all project invoices, e.g. purchase order or cost center number.
- billing
Group String The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
- ca
Cert String The CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka.
- card
Id String DEPRECATED Please use aivenbillinggroup resource to set this value. Either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if
copy_from_project
is used to copy billing info from another project.- copy
From StringProject is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
- country
Code String DEPRECATED Please use aivenbillinggroup resource to set this value. Billing country code of the project.
- default
Cloud String Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
- estimated
Balance String The current accumulated bill for this project in the current billing period.
- id String
The provider-assigned unique ID for this managed resource.
- payment
Method String The method of invoicing used for payments for this project, e.g.
card
.- project String
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- technical
Emails List<String> Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
- use
Source BooleanProject Billing Group Use the same billing group that is used in source project.
- vat
Id String DEPRECATED Please use aivenbillinggroup resource to set this value. EU VAT Identification Number.
- account
Id string An optional property to link a project to already an existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
- add
Account booleanOwners Admin Access If account_id is set, grant account owner team admin access to the new project. The default value is
true
.- available
Credits string The amount of platform credits available to the project. This could be your free trial or other promotional credits.
- billing
Address string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing name and address of the project.
- billing
Currency string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing currency.
- billing
Emails string[] DEPRECATED Please use aivenbillinggroup resource to set this value. Billing contact emails of the project.
- billing
Extra stringText DEPRECATED Please use aivenbillinggroup resource to set this value. Extra text to be included in all project invoices, e.g. purchase order or cost center number.
- billing
Group string The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
- ca
Cert string The CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka.
- card
Id string DEPRECATED Please use aivenbillinggroup resource to set this value. Either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if
copy_from_project
is used to copy billing info from another project.- copy
From stringProject is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
- country
Code string DEPRECATED Please use aivenbillinggroup resource to set this value. Billing country code of the project.
- default
Cloud string Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
- estimated
Balance string The current accumulated bill for this project in the current billing period.
- id string
The provider-assigned unique ID for this managed resource.
- payment
Method string The method of invoicing used for payments for this project, e.g.
card
.- project string
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- technical
Emails string[] Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
- use
Source booleanProject Billing Group Use the same billing group that is used in source project.
- vat
Id string DEPRECATED Please use aivenbillinggroup resource to set this value. EU VAT Identification Number.
- account_
id str An optional property to link a project to already an existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
- add_
account_ boolowners_ admin_ access If account_id is set, grant account owner team admin access to the new project. The default value is
true
.- available_
credits str The amount of platform credits available to the project. This could be your free trial or other promotional credits.
- billing_
address str DEPRECATED Please use aivenbillinggroup resource to set this value. Billing name and address of the project.
- billing_
currency str DEPRECATED Please use aivenbillinggroup resource to set this value. Billing currency.
- billing_
emails Sequence[str] DEPRECATED Please use aivenbillinggroup resource to set this value. Billing contact emails of the project.
- billing_
extra_ strtext DEPRECATED Please use aivenbillinggroup resource to set this value. Extra text to be included in all project invoices, e.g. purchase order or cost center number.
- billing_
group str The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
- ca_
cert str The CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka.
- card_
id str DEPRECATED Please use aivenbillinggroup resource to set this value. Either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if
copy_from_project
is used to copy billing info from another project.- copy_
from_ strproject is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
- country_
code str DEPRECATED Please use aivenbillinggroup resource to set this value. Billing country code of the project.
- default_
cloud str Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
- estimated_
balance str The current accumulated bill for this project in the current billing period.
- id str
The provider-assigned unique ID for this managed resource.
- payment_
method str The method of invoicing used for payments for this project, e.g.
card
.- project str
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- technical_
emails Sequence[str] Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
- use_
source_ boolproject_ billing_ group Use the same billing group that is used in source project.
- vat_
id str DEPRECATED Please use aivenbillinggroup resource to set this value. EU VAT Identification Number.
- account
Id String An optional property to link a project to already an existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
- add
Account BooleanOwners Admin Access If account_id is set, grant account owner team admin access to the new project. The default value is
true
.- available
Credits String The amount of platform credits available to the project. This could be your free trial or other promotional credits.
- billing
Address String DEPRECATED Please use aivenbillinggroup resource to set this value. Billing name and address of the project.
- billing
Currency String DEPRECATED Please use aivenbillinggroup resource to set this value. Billing currency.
- billing
Emails List<String> DEPRECATED Please use aivenbillinggroup resource to set this value. Billing contact emails of the project.
- billing
Extra StringText DEPRECATED Please use aivenbillinggroup resource to set this value. Extra text to be included in all project invoices, e.g. purchase order or cost center number.
- billing
Group String The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
- ca
Cert String The CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka.
- card
Id String DEPRECATED Please use aivenbillinggroup resource to set this value. Either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if
copy_from_project
is used to copy billing info from another project.- copy
From StringProject is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
- country
Code String DEPRECATED Please use aivenbillinggroup resource to set this value. Billing country code of the project.
- default
Cloud String Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
- estimated
Balance String The current accumulated bill for this project in the current billing period.
- id String
The provider-assigned unique ID for this managed resource.
- payment
Method String The method of invoicing used for payments for this project, e.g.
card
.- project String
Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
- technical
Emails List<String> Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
- use
Source BooleanProject Billing Group Use the same billing group that is used in source project.
- vat
Id String DEPRECATED Please use aivenbillinggroup resource to set this value. EU VAT Identification Number.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aiven
Terraform Provider.