Project

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var myproject = new Aiven.Project("myproject", new Aiven.ProjectArgs
        {
            CardId = "<FULL_CARD_ID/LAST4_DIGITS>",
            Project = "<PROJECT_NAME>",
        });
    }

}

Coming soon!

import pulumi
import pulumi_aiven as aiven

myproject = aiven.Project("myproject",
    card_id="<FULL_CARD_ID/LAST4_DIGITS>",
    project="<PROJECT_NAME>")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const myproject = new aiven.Project("myproject", {
    cardId: "<FULL_CARD_ID/LAST4_DIGITS>",
    project: "<PROJECT_NAME>",
});

Create a Project Resource

new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
def Project(resource_name, opts=None, account_id=None, billing_address=None, billing_emails=None, ca_cert=None, card_id=None, copy_from_project=None, country_code=None, project=None, technical_emails=None, __props__=None);
func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProjectArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Project Resource Properties

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

Inputs

The Project resource accepts the following input properties:

ProjectName string

Project name

AccountId string

Account ID

BillingAddress string

Billing name and address of the project

BillingEmails List<string>

Billing contact emails of the project

CaCert string

Project root CA. This is used by some services like Kafka to sign service certificate

CardId string

Credit card ID

CopyFromProject string

Copy properties from another project. Only has effect when a new project is created.

CountryCode string

Billing country code of the project

TechnicalEmails List<string>

Technical contact emails of the project

Project string

Project name

AccountId string

Account ID

BillingAddress string

Billing name and address of the project

BillingEmails []string

Billing contact emails of the project

CaCert string

Project root CA. This is used by some services like Kafka to sign service certificate

CardId string

Credit card ID

CopyFromProject string

Copy properties from another project. Only has effect when a new project is created.

CountryCode string

Billing country code of the project

TechnicalEmails []string

Technical contact emails of the project

project string

Project name

accountId string

Account ID

billingAddress string

Billing name and address of the project

billingEmails string[]

Billing contact emails of the project

caCert string

Project root CA. This is used by some services like Kafka to sign service certificate

cardId string

Credit card ID

copyFromProject string

Copy properties from another project. Only has effect when a new project is created.

countryCode string

Billing country code of the project

technicalEmails string[]

Technical contact emails of the project

project str

Project name

account_id str

Account ID

billing_address str

Billing name and address of the project

billing_emails List[str]

Billing contact emails of the project

ca_cert str

Project root CA. This is used by some services like Kafka to sign service certificate

card_id str

Credit card ID

copy_from_project str

Copy properties from another project. Only has effect when a new project is created.

country_code str

Billing country code of the project

technical_emails List[str]

Technical contact emails of the project

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Project Resource

Get an existing Project 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?: ProjectState, opts?: CustomResourceOptions): Project
static get(resource_name, id, opts=None, account_id=None, billing_address=None, billing_emails=None, ca_cert=None, card_id=None, copy_from_project=None, country_code=None, project=None, technical_emails=None, __props__=None);
func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)
public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
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:

AccountId string

Account ID

BillingAddress string

Billing name and address of the project

BillingEmails List<string>

Billing contact emails of the project

CaCert string

Project root CA. This is used by some services like Kafka to sign service certificate

CardId string

Credit card ID

CopyFromProject string

Copy properties from another project. Only has effect when a new project is created.

CountryCode string

Billing country code of the project

ProjectName string

Project name

TechnicalEmails List<string>

Technical contact emails of the project

AccountId string

Account ID

BillingAddress string

Billing name and address of the project

BillingEmails []string

Billing contact emails of the project

CaCert string

Project root CA. This is used by some services like Kafka to sign service certificate

CardId string

Credit card ID

CopyFromProject string

Copy properties from another project. Only has effect when a new project is created.

CountryCode string

Billing country code of the project

Project string

Project name

TechnicalEmails []string

Technical contact emails of the project

accountId string

Account ID

billingAddress string

Billing name and address of the project

billingEmails string[]

Billing contact emails of the project

caCert string

Project root CA. This is used by some services like Kafka to sign service certificate

cardId string

Credit card ID

copyFromProject string

Copy properties from another project. Only has effect when a new project is created.

countryCode string

Billing country code of the project

project string

Project name

technicalEmails string[]

Technical contact emails of the project

account_id str

Account ID

billing_address str

Billing name and address of the project

billing_emails List[str]

Billing contact emails of the project

ca_cert str

Project root CA. This is used by some services like Kafka to sign service certificate

card_id str

Credit card ID

copy_from_project str

Copy properties from another project. Only has effect when a new project is created.

country_code str

Billing country code of the project

project str

Project name

technical_emails List[str]

Technical contact emails of the project

Package Details

Repository
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.