Show / Hide Table of Contents

Class Project

Inheritance
System.Object
Resource
CustomResource
Project
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public class Project : CustomResource

Constructors

View Source

Project(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 Source

CreatedAt

the date and time when the project was created, (ISO8601)

Declaration
public Output<string> CreatedAt { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

the description of the project

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

IsDefault

Declaration
public Output<bool> IsDefault { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

Name

The name of the Project

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

OwnerId

the id of the project owner.

Declaration
public Output<int> OwnerId { get; }
Property Value
Type Description
Output<System.Int32>
View Source

OwnerUuid

the unique universal identifier of the project owner.

Declaration
public Output<string> OwnerUuid { get; }
Property Value
Type Description
Output<System.String>
View Source

Purpose

the purpose of the project, (Default: "Web Application")

Declaration
public Output<string> Purpose { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.