Gets information about an organizational unit.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
exampleUnit:
fn::invoke:
function: aiven:getOrganizationalUnit
arguments:
name: Example organizational unit
parentId: ${main.id}
Using getOrganizationalUnit
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 getOrganizationalUnit(args: GetOrganizationalUnitArgs, opts?: InvokeOptions): Promise<GetOrganizationalUnitResult>
function getOrganizationalUnitOutput(args: GetOrganizationalUnitOutputArgs, opts?: InvokeOptions): Output<GetOrganizationalUnitResult>def get_organizational_unit(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationalUnitResult
def get_organizational_unit_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationalUnitResult]func LookupOrganizationalUnit(ctx *Context, args *LookupOrganizationalUnitArgs, opts ...InvokeOption) (*LookupOrganizationalUnitResult, error)
func LookupOrganizationalUnitOutput(ctx *Context, args *LookupOrganizationalUnitOutputArgs, opts ...InvokeOption) LookupOrganizationalUnitResultOutput> Note: This function is named LookupOrganizationalUnit in the Go SDK.
public static class GetOrganizationalUnit
{
public static Task<GetOrganizationalUnitResult> InvokeAsync(GetOrganizationalUnitArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationalUnitResult> Invoke(GetOrganizationalUnitInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrganizationalUnitResult> getOrganizationalUnit(GetOrganizationalUnitArgs args, InvokeOptions options)
public static Output<GetOrganizationalUnitResult> getOrganizationalUnit(GetOrganizationalUnitArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getOrganizationalUnit:getOrganizationalUnit
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the organizational unit.
- Name string
- The name of the organizational unit.
- name String
- The name of the organizational unit.
- name string
- The name of the organizational unit.
- name str
- The name of the organizational unit.
- name String
- The name of the organizational unit.
getOrganizationalUnit Result
The following output properties are available:
- Create
Time string - Time of creation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the organizational unit.
- Parent
Id string - The ID of the organization that the unit is created in.
- Tenant
Id string - Tenant ID.
- Update
Time string - Time of last update.
- Create
Time string - Time of creation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the organizational unit.
- Parent
Id string - The ID of the organization that the unit is created in.
- Tenant
Id string - Tenant ID.
- Update
Time string - Time of last update.
- create
Time String - Time of creation.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the organizational unit.
- parent
Id String - The ID of the organization that the unit is created in.
- tenant
Id String - Tenant ID.
- update
Time String - Time of last update.
- create
Time string - Time of creation.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the organizational unit.
- parent
Id string - The ID of the organization that the unit is created in.
- tenant
Id string - Tenant ID.
- update
Time string - Time of last update.
- create_
time str - Time of creation.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the organizational unit.
- parent_
id str - The ID of the organization that the unit is created in.
- tenant_
id str - Tenant ID.
- update_
time str - Time of last update.
- create
Time String - Time of creation.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the organizational unit.
- parent
Id String - The ID of the organization that the unit is created in.
- tenant
Id String - Tenant ID.
- update
Time String - Time of last update.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
