harness.platform.Organization

Resource for creating a Harness organization.

Example Usage

Coming soon!

Coming soon!

Coming soon!

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";

const thisOrganization = new harness.Organization("this", {
    description: "An example organization",
    identifier: "MyOrg",
    name: "My Otganization",
    tags: [
        "foo:bar",
        "baz:qux",
    ],
});

Coming soon!

Create Organization Resource

new Organization(name: string, args: OrganizationArgs, opts?: CustomResourceOptions);
@overload
def Organization(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 description: Optional[str] = None,
                 identifier: Optional[str] = None,
                 name: Optional[str] = None,
                 tags: Optional[Sequence[str]] = None)
@overload
def Organization(resource_name: str,
                 args: OrganizationArgs,
                 opts: Optional[ResourceOptions] = None)
func NewOrganization(ctx *Context, name string, args OrganizationArgs, opts ...ResourceOption) (*Organization, error)
public Organization(string name, OrganizationArgs args, CustomResourceOptions? opts = null)
public Organization(String name, OrganizationArgs args)
public Organization(String name, OrganizationArgs args, CustomResourceOptions options)
type: harness:platform:Organization
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args OrganizationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control 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.
name String
The unique name of the resource.
args OrganizationArgs
The arguments to resource properties.
options 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 Architecture and Concepts docs.

Inputs

The Organization resource accepts the following input properties:

Identifier string

Unique identifier of the resource.

Description string

Description of the resource.

Name string

Name of the resource.

Tags List<string>

Tags to associate with the resource. Tags should be in the form name:value.

Identifier string

Unique identifier of the resource.

Description string

Description of the resource.

Name string

Name of the resource.

Tags []string

Tags to associate with the resource. Tags should be in the form name:value.

identifier String

Unique identifier of the resource.

description String

Description of the resource.

name String

Name of the resource.

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

identifier string

Unique identifier of the resource.

description string

Description of the resource.

name string

Name of the resource.

tags string[]

Tags to associate with the resource. Tags should be in the form name:value.

identifier str

Unique identifier of the resource.

description str

Description of the resource.

name str

Name of the resource.

tags Sequence[str]

Tags to associate with the resource. Tags should be in the form name:value.

identifier String

Unique identifier of the resource.

description String

Description of the resource.

name String

Name of the resource.

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

Outputs

All input properties are implicitly available as output properties. Additionally, the Organization resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up 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): Organization
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        identifier: Optional[str] = None,
        name: Optional[str] = None,
        tags: Optional[Sequence[str]] = None) -> Organization
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)
public static Organization get(String name, Output<String> id, OrganizationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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:
Description string

Description of the resource.

Identifier string

Unique identifier of the resource.

Name string

Name of the resource.

Tags List<string>

Tags to associate with the resource. Tags should be in the form name:value.

Description string

Description of the resource.

Identifier string

Unique identifier of the resource.

Name string

Name of the resource.

Tags []string

Tags to associate with the resource. Tags should be in the form name:value.

description String

Description of the resource.

identifier String

Unique identifier of the resource.

name String

Name of the resource.

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

description string

Description of the resource.

identifier string

Unique identifier of the resource.

name string

Name of the resource.

tags string[]

Tags to associate with the resource. Tags should be in the form name:value.

description str

Description of the resource.

identifier str

Unique identifier of the resource.

name str

Name of the resource.

tags Sequence[str]

Tags to associate with the resource. Tags should be in the form name:value.

description String

Description of the resource.

identifier String

Unique identifier of the resource.

name String

Name of the resource.

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

Import

Import using organization id

 $ pulumi import harness:platform/organization:Organization example <organization_id>

Package Details

Repository
harness lbrlabs/pulumi-harness
License
Apache-2.0
Notes

This Pulumi package is based on the harness Terraform Provider.