Class Project
Inherited Members
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.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 = null, 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 SourceCreatedAt
the date and time when the project was created, (ISO8601)
Declaration
public Output<string> CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
the description of the project
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Environment
the environment of the project's resources. The possible values are: Development, Staging, Production)
Declaration
public Output<string> Environment { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IsDefault
Declaration
public Output<bool> IsDefault { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Name
The name of the Project
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OwnerId
the id of the project owner.
Declaration
public Output<int> OwnerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
OwnerUuid
the unique universal identifier of the project owner.
Declaration
public Output<string> OwnerUuid { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Purpose
the purpose of the project, (Default: "Web Application")
Declaration
public Output<string> Purpose { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Resources
a list of uniform resource names (URNs) for the resources associated with the project
Declaration
public Output<ImmutableArray<string>> Resources { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
UpdatedAt
the date and time when the project was last updated, (ISO8601)
Declaration
public Output<string> UpdatedAt { get; }
Property Value
| Type | Description |
|---|---|
| Output<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 |