Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

getOrganization

Provides a Packet organization datasource.

Using getOrganization

function getOrganization(args: GetOrganizationArgs, opts?: InvokeOptions): Promise<GetOrganizationResult>
def get_organization(name: Optional[str] = None, organization_id: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetOrganizationResult
func LookupOrganization(ctx *Context, args *LookupOrganizationArgs, opts ...InvokeOption) (*LookupOrganizationResult, error)

Note: This function is named LookupOrganization in the Go SDK.

public static class GetOrganization {
    public static Task<GetOrganizationResult> InvokeAsync(GetOrganizationArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The organization name

OrganizationId string

The UUID of the organization resource

Name string

The organization name

OrganizationId string

The UUID of the organization resource

name string

The organization name

organizationId string

The UUID of the organization resource

name str

The organization name

organization_id str

The UUID of the organization resource

getOrganization Result

The following output properties are available:

Description string

Description string

Id string

The provider-assigned unique ID for this managed resource.

Logo string

Logo URL

Name string
OrganizationId string
ProjectIds List<string>

UUIDs of project resources which belong to this organization

Twitter string

Twitter handle

Website string

Website link

Description string

Description string

Id string

The provider-assigned unique ID for this managed resource.

Logo string

Logo URL

Name string
OrganizationId string
ProjectIds []string

UUIDs of project resources which belong to this organization

Twitter string

Twitter handle

Website string

Website link

description string

Description string

id string

The provider-assigned unique ID for this managed resource.

logo string

Logo URL

name string
organizationId string
projectIds string[]

UUIDs of project resources which belong to this organization

twitter string

Twitter handle

website string

Website link

description str

Description string

id str

The provider-assigned unique ID for this managed resource.

logo str

Logo URL

name str
organization_id str
project_ids Sequence[str]

UUIDs of project resources which belong to this organization

twitter str

Twitter handle

website str

Website link

Package Details

Repository
https://github.com/pulumi/pulumi-packet
License
Apache-2.0
Notes
This Pulumi package is based on the packet Terraform Provider.