hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
hsdp.getIamOrg
Explore with Pulumi AI
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
Retrieve details of an existing organization
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const myOrg = hsdp.getIamOrg({
organizationId: _var.my_org_id,
});
import pulumi
import pulumi_hsdp as hsdp
my_org = hsdp.get_iam_org(organization_id=var["my_org_id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hsdp.LookupIamOrg(ctx, &hsdp.LookupIamOrgArgs{
OrganizationId: _var.My_org_id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;
return await Deployment.RunAsync(() =>
{
var myOrg = Hsdp.GetIamOrg.Invoke(new()
{
OrganizationId = @var.My_org_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.HsdpFunctions;
import com.pulumi.hsdp.inputs.GetIamOrgArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myOrg = HsdpFunctions.getIamOrg(GetIamOrgArgs.builder()
.organizationId(var_.my_org_id())
.build());
}
}
variables:
myOrg:
fn::invoke:
function: hsdp:getIamOrg
arguments:
organizationId: ${var.my_org_id}
import * as pulumi from "@pulumi/pulumi";
export const myOrgName = data.hsdp_iam_org.name;
import pulumi
pulumi.export("myOrgName", data["hsdp_iam_org"]["name"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("myOrgName", data.Hsdp_iam_org.Name)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["myOrgName"] = data.Hsdp_iam_org.Name,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
ctx.export("myOrgName", data.hsdp_iam_org().name());
}
}
outputs:
myOrgName: ${data.hsdp_iam_org.name}
Using getIamOrg
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 getIamOrg(args: GetIamOrgArgs, opts?: InvokeOptions): Promise<GetIamOrgResult>
function getIamOrgOutput(args: GetIamOrgOutputArgs, opts?: InvokeOptions): Output<GetIamOrgResult>
def get_iam_org(id: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIamOrgResult
def get_iam_org_output(id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIamOrgResult]
func LookupIamOrg(ctx *Context, args *LookupIamOrgArgs, opts ...InvokeOption) (*LookupIamOrgResult, error)
func LookupIamOrgOutput(ctx *Context, args *LookupIamOrgOutputArgs, opts ...InvokeOption) LookupIamOrgResultOutput
> Note: This function is named LookupIamOrg
in the Go SDK.
public static class GetIamOrg
{
public static Task<GetIamOrgResult> InvokeAsync(GetIamOrgArgs args, InvokeOptions? opts = null)
public static Output<GetIamOrgResult> Invoke(GetIamOrgInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIamOrgResult> getIamOrg(GetIamOrgArgs args, InvokeOptions options)
public static Output<GetIamOrgResult> getIamOrg(GetIamOrgArgs args, InvokeOptions options)
fn::invoke:
function: hsdp:index/getIamOrg:getIamOrg
arguments:
# arguments dictionary
The following arguments are supported:
- Organization
Id string - the UUID of the organization to look up
- Id string
- Organization
Id string - the UUID of the organization to look up
- Id string
- organization
Id String - the UUID of the organization to look up
- id String
- organization
Id string - the UUID of the organization to look up
- id string
- organization_
id str - the UUID of the organization to look up
- id str
- organization
Id String - the UUID of the organization to look up
- id String
getIamOrg Result
The following output properties are available:
- Active bool
- Indicates the administrative status of an organization
- Description string
- The description of the organization
- Display
Name string - The name of the organization suitable for display.
- External
Id string - External ID defined by client that identifies the organization at client side.
- Id string
- Name string
- The name of the organization
- Organization
Id string - Parent
Org stringId - Type string
- The organization type e.g.
hospital
- Active bool
- Indicates the administrative status of an organization
- Description string
- The description of the organization
- Display
Name string - The name of the organization suitable for display.
- External
Id string - External ID defined by client that identifies the organization at client side.
- Id string
- Name string
- The name of the organization
- Organization
Id string - Parent
Org stringId - Type string
- The organization type e.g.
hospital
- active Boolean
- Indicates the administrative status of an organization
- description String
- The description of the organization
- display
Name String - The name of the organization suitable for display.
- external
Id String - External ID defined by client that identifies the organization at client side.
- id String
- name String
- The name of the organization
- organization
Id String - parent
Org StringId - type String
- The organization type e.g.
hospital
- active boolean
- Indicates the administrative status of an organization
- description string
- The description of the organization
- display
Name string - The name of the organization suitable for display.
- external
Id string - External ID defined by client that identifies the organization at client side.
- id string
- name string
- The name of the organization
- organization
Id string - parent
Org stringId - type string
- The organization type e.g.
hospital
- active bool
- Indicates the administrative status of an organization
- description str
- The description of the organization
- display_
name str - The name of the organization suitable for display.
- external_
id str - External ID defined by client that identifies the organization at client side.
- id str
- name str
- The name of the organization
- organization_
id str - parent_
org_ strid - type str
- The organization type e.g.
hospital
- active Boolean
- Indicates the administrative status of an organization
- description String
- The description of the organization
- display
Name String - The name of the organization suitable for display.
- external
Id String - External ID defined by client that identifies the organization at client side.
- id String
- name String
- The name of the organization
- organization
Id String - parent
Org StringId - type String
- The organization type e.g.
hospital
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software