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:
- Project
Name string Project name
- Account
Id string Account ID
- Billing
Address string Billing name and address of the project
- Billing
Emails List<string> Billing contact emails of the project
- Ca
Cert string Project root CA. This is used by some services like Kafka to sign service certificate
- Card
Id string Credit card ID
- Copy
From stringProject Copy properties from another project. Only has effect when a new project is created.
- Country
Code string Billing country code of the project
- Technical
Emails List<string> Technical contact emails of the project
- Project string
Project name
- Account
Id string Account ID
- Billing
Address string Billing name and address of the project
- Billing
Emails []string Billing contact emails of the project
- Ca
Cert string Project root CA. This is used by some services like Kafka to sign service certificate
- Card
Id string Credit card ID
- Copy
From stringProject Copy properties from another project. Only has effect when a new project is created.
- Country
Code string Billing country code of the project
- Technical
Emails []string Technical contact emails of the project
- project string
Project name
- account
Id string Account ID
- billing
Address string Billing name and address of the project
- billing
Emails string[] Billing contact emails of the project
- ca
Cert string Project root CA. This is used by some services like Kafka to sign service certificate
- card
Id string Credit card ID
- copy
From stringProject Copy properties from another project. Only has effect when a new project is created.
- country
Code string Billing country code of the project
- technical
Emails 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_ strproject 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:
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): Projectstatic 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:
- Account
Id string Account ID
- Billing
Address string Billing name and address of the project
- Billing
Emails List<string> Billing contact emails of the project
- Ca
Cert string Project root CA. This is used by some services like Kafka to sign service certificate
- Card
Id string Credit card ID
- Copy
From stringProject Copy properties from another project. Only has effect when a new project is created.
- Country
Code string Billing country code of the project
- Project
Name string Project name
- Technical
Emails List<string> Technical contact emails of the project
- Account
Id string Account ID
- Billing
Address string Billing name and address of the project
- Billing
Emails []string Billing contact emails of the project
- Ca
Cert string Project root CA. This is used by some services like Kafka to sign service certificate
- Card
Id string Credit card ID
- Copy
From stringProject Copy properties from another project. Only has effect when a new project is created.
- Country
Code string Billing country code of the project
- Project string
Project name
- Technical
Emails []string Technical contact emails of the project
- account
Id string Account ID
- billing
Address string Billing name and address of the project
- billing
Emails string[] Billing contact emails of the project
- ca
Cert string Project root CA. This is used by some services like Kafka to sign service certificate
- card
Id string Credit card ID
- copy
From stringProject Copy properties from another project. Only has effect when a new project is created.
- country
Code string Billing country code of the project
- project string
Project name
- technical
Emails 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_ strproject 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
aivenTerraform Provider.