1. Packages
  2. InfluxDB
  3. API Docs
  4. getOrganization
InfluxDB v1.2.2 published on Thursday, Sep 12, 2024 by komminarlabs

influxdb.getOrganization

Explore with Pulumi AI

InfluxDB v1.2.2 published on Thursday, Sep 12, 2024 by komminarlabs

Retrieves an organization. Use this data source to retrieve information for a specific organization.

Using getOrganization

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getOrganization(args: GetOrganizationArgs, opts?: InvokeOptions): Promise<GetOrganizationResult>
function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: InvokeOptions): Output<GetOrganizationResult>
Copy
def get_organization(name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetOrganizationResult
def get_organization_output(name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationResult]
Copy
func LookupOrganization(ctx *Context, args *LookupOrganizationArgs, opts ...InvokeOption) (*LookupOrganizationResult, error)
func LookupOrganizationOutput(ctx *Context, args *LookupOrganizationOutputArgs, opts ...InvokeOption) LookupOrganizationResultOutput
Copy

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

public static class GetOrganization 
{
    public static Task<GetOrganizationResult> InvokeAsync(GetOrganizationArgs args, InvokeOptions? opts = null)
    public static Output<GetOrganizationResult> Invoke(GetOrganizationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Copy
fn::invoke:
  function: influxdb:index/getOrganization:getOrganization
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the organization.
Name This property is required. string
The name of the organization.
name This property is required. String
The name of the organization.
name This property is required. string
The name of the organization.
name This property is required. str
The name of the organization.
name This property is required. String
The name of the organization.

getOrganization Result

The following output properties are available:

CreatedAt string
Organization creation date.
Description string
The description of the organization.
Id string
An organization ID.
Name string
The name of the organization.
UpdatedAt string
Last Organization update date.
CreatedAt string
Organization creation date.
Description string
The description of the organization.
Id string
An organization ID.
Name string
The name of the organization.
UpdatedAt string
Last Organization update date.
createdAt String
Organization creation date.
description String
The description of the organization.
id String
An organization ID.
name String
The name of the organization.
updatedAt String
Last Organization update date.
createdAt string
Organization creation date.
description string
The description of the organization.
id string
An organization ID.
name string
The name of the organization.
updatedAt string
Last Organization update date.
created_at str
Organization creation date.
description str
The description of the organization.
id str
An organization ID.
name str
The name of the organization.
updated_at str
Last Organization update date.
createdAt String
Organization creation date.
description String
The description of the organization.
id String
An organization ID.
name String
The name of the organization.
updatedAt String
Last Organization update date.

Package Details

Repository
influxdb komminarlabs/pulumi-influxdb
License
Apache-2.0
Notes
This Pulumi package is based on the influxdb Terraform Provider.
InfluxDB v1.2.2 published on Thursday, Sep 12, 2024 by komminarlabs