InfluxDB v1.2.0 published on Tuesday, Apr 16, 2024 by komminarlabs
influxdb.getOrganization
Explore with Pulumi AI
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>
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]
func LookupOrganization(ctx *Context, args *LookupOrganizationArgs, opts ...InvokeOption) (*LookupOrganizationResult, error)
func LookupOrganizationOutput(ctx *Context, args *LookupOrganizationOutputArgs, opts ...InvokeOption) LookupOrganizationResultOutput
> 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)
}
public static CompletableFuture<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: influxdb:index/getOrganization:getOrganization
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the organization.
- Name string
- The name of the organization.
- name String
- The name of the organization.
- name string
- The name of the organization.
- name str
- The name of the organization.
- name String
- The name of the organization.
getOrganization Result
The following output properties are available:
- Created
At string - Organization creation date.
- Description string
- The description of the organization.
- Id string
- An organization ID.
- Name string
- The name of the organization.
- Updated
At string - Last Organization update date.
- Created
At string - Organization creation date.
- Description string
- The description of the organization.
- Id string
- An organization ID.
- Name string
- The name of the organization.
- Updated
At string - Last Organization update date.
- created
At String - Organization creation date.
- description String
- The description of the organization.
- id String
- An organization ID.
- name String
- The name of the organization.
- updated
At String - Last Organization update date.
- created
At string - Organization creation date.
- description string
- The description of the organization.
- id string
- An organization ID.
- name string
- The name of the organization.
- updated
At 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.
- created
At String - Organization creation date.
- description String
- The description of the organization.
- id String
- An organization ID.
- name String
- The name of the organization.
- updated
At 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.