1. Packages
  2. Ibm Provider
  3. API Docs
  4. getOrg
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getOrg

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Using getOrg

    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 getOrg(args: GetOrgArgs, opts?: InvokeOptions): Promise<GetOrgResult>
    function getOrgOutput(args: GetOrgOutputArgs, opts?: InvokeOptions): Output<GetOrgResult>
    def get_org(id: Optional[str] = None,
                name: Optional[str] = None,
                org: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetOrgResult
    def get_org_output(id: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                org: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetOrgResult]
    func LookupOrg(ctx *Context, args *LookupOrgArgs, opts ...InvokeOption) (*LookupOrgResult, error)
    func LookupOrgOutput(ctx *Context, args *LookupOrgOutputArgs, opts ...InvokeOption) LookupOrgResultOutput

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

    public static class GetOrg 
    {
        public static Task<GetOrgResult> InvokeAsync(GetOrgArgs args, InvokeOptions? opts = null)
        public static Output<GetOrgResult> Invoke(GetOrgInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrgResult> getOrg(GetOrgArgs args, InvokeOptions options)
    public static Output<GetOrgResult> getOrg(GetOrgArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getOrg:getOrg
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Org string

    Deprecated: Deprecated

    Id string
    Name string
    Org string

    Deprecated: Deprecated

    id String
    name String
    org String

    Deprecated: Deprecated

    id string
    name string
    org string

    Deprecated: Deprecated

    id str
    name str
    org str

    Deprecated: Deprecated

    id String
    name String
    org String

    Deprecated: Deprecated

    getOrg Result

    The following output properties are available:

    Id string
    Name string
    Org string

    Deprecated: Deprecated

    Id string
    Name string
    Org string

    Deprecated: Deprecated

    id String
    name String
    org String

    Deprecated: Deprecated

    id string
    name string
    org string

    Deprecated: Deprecated

    id str
    name str
    org str

    Deprecated: Deprecated

    id String
    name String
    org String

    Deprecated: Deprecated

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud