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",
});
}
}
Coming soon!
import pulumi
import pulumi_packet as packet
# Create a new Project
tf_organization1 = packet.Organization("tfOrganization1",
description="quux",
name="foobar")import * as pulumi from "@pulumi/pulumi";
import * as packet from "@pulumi/packet";
// Create a new Project
const tfOrganization1 = new packet.Organization("tf_organization_1", {
description: "quux",
name: "foobar",
});Create a Organization Resource
new Organization(name: string, args: OrganizationArgs, opts?: CustomResourceOptions);def Organization(resource_name, opts=None, description=None, logo=None, name=None, twitter=None, website=None, __props__=None);func NewOrganization(ctx *Context, name string, args OrganizationArgs, opts ...ResourceOption) (*Organization, error)public Organization(string name, OrganizationArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Organization Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Organization resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Organization resource produces the following output properties:
Look up an Existing Organization Resource
Get an existing Organization resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OrganizationState, opts?: CustomResourceOptions): Organizationstatic get(resource_name, id, opts=None, created=None, description=None, logo=None, name=None, twitter=None, updated=None, website=None, __props__=None);func GetOrganization(ctx *Context, name string, id IDInput, state *OrganizationState, opts ...ResourceOption) (*Organization, error)public static Organization Get(string name, Input<string> id, OrganizationState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
Package Details
- Repository
- https://github.com/pulumi/pulumi-packet
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
packetTerraform Provider.