Class AccountTeamProject
The account team project is intended to link and existing project to the existing account team. It is important to note
that the project should have an account_id property set and equal to account team you are trying to link this project.
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var project1 = new Aiven.Project("project1", new Aiven.ProjectArgs
{
AccountId = aiven_account_team.Developers.Account_id,
Project = "project-1",
});
var accountTeamProject1 = new Aiven.AccountTeamProject("accountTeamProject1", new Aiven.AccountTeamProjectArgs
{
AccountId = aiven_account_team.Developers.Account_id,
ProjectName = project1.ProjectName,
TeamId = aiven_account_team.Developers.Team_id,
TeamType = "admin",
});
}
}
Inherited Members
Namespace: Pulumi.Aiven
Assembly: Pulumi.Aiven.dll
Syntax
public class AccountTeamProject : CustomResource
Constructors
View SourceAccountTeamProject(String, AccountTeamProjectArgs, CustomResourceOptions)
Create a AccountTeamProject resource with the given unique name, arguments, and options.
Declaration
public AccountTeamProject(string name, AccountTeamProjectArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AccountTeamProjectArgs | 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> |
ProjectName
Account team project name
Declaration
public Output<string> ProjectName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TeamId
Account team id
Declaration
public Output<string> TeamId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TeamType
Account team project type, can one of the following values: admin, developer, operator and read_only
Declaration
public Output<string> TeamType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, AccountTeamProjectState, CustomResourceOptions)
Get an existing AccountTeamProject resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static AccountTeamProject Get(string name, Input<string> id, AccountTeamProjectState 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. |
| AccountTeamProjectState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| AccountTeamProject |