Class Organization
Provides a resource to manage organization resource in Packet.
Example Usage
using Pulumi;
using Packet = Pulumi.Packet;
class MyStack : Stack
{
public MyStack()
{
// Create a new Project
var tfOrganization1 = new Packet.Organization("tfOrganization1", new Packet.OrganizationArgs
{
Description = "quux",
Name = "foobar",
});
}
}
Inherited Members
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.Packet
Assembly: Pulumi.Packet.dll
Syntax
public class Organization : CustomResource
Constructors
View SourceOrganization(String, OrganizationArgs, CustomResourceOptions)
Create a Organization resource with the given unique name, arguments, and options.
Declaration
public Organization(string name, OrganizationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| OrganizationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCreated
Declaration
public Output<string> Created { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Description string.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Logo
Logo URL.
Declaration
public Output<string> Logo { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the Organization.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Twitter handle.
Declaration
public Output<string> Twitter { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Updated
Declaration
public Output<string> Updated { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Website
Website link.
Declaration
public Output<string> Website { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, OrganizationState, CustomResourceOptions)
Get an existing Organization resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Organization Get(string name, Input<string> id, OrganizationState 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. |
| OrganizationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Organization |