Class 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>",
});
}
}
Inherited Members
Namespace: Pulumi.Aiven
Assembly: Pulumi.Aiven.dll
Syntax
public class Project : CustomResource
Constructors
View SourceProject(String, ProjectArgs, CustomResourceOptions)
Create a Project resource with the given unique name, arguments, and options.
Declaration
public Project(string name, ProjectArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ProjectArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccountId
Account ID
Declaration
public Output<string> AccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
BillingAddress
Billing name and address of the project
Declaration
public Output<string> BillingAddress { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
BillingEmails
Billing contact emails of the project
Declaration
public Output<ImmutableArray<string>> BillingEmails { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
CaCert
Project root CA. This is used by some services like Kafka to sign service certificate
Declaration
public Output<string> CaCert { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CardId
Credit card ID
Declaration
public Output<string> CardId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CopyFromProject
Copy properties from another project. Only has effect when a new project is created.
Declaration
public Output<string> CopyFromProject { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CountryCode
Billing country code of the project
Declaration
public Output<string> CountryCode { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProjectName
Project name
Declaration
public Output<string> ProjectName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TechnicalEmails
Technical contact emails of the project
Declaration
public Output<ImmutableArray<string>> TechnicalEmails { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Methods
View SourceGet(String, Input<String>, ProjectState, CustomResourceOptions)
Get an existing Project resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Project Get(string name, Input<string> id, ProjectState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ProjectState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Project |