1. Packages
  2. Packages
  3. Okta Provider
  4. API Docs
  5. getResourceOwner
Viewing docs for Okta v6.9.0
published on Wednesday, Jul 1, 2026 by Pulumi
okta logo
Viewing docs for Okta v6.9.0
published on Wednesday, Jul 1, 2026 by Pulumi

    Lists all resources with assigned owners for an app (the parent resource).

    Using getResourceOwner

    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 getResourceOwner(args: GetResourceOwnerArgs, opts?: InvokeOptions): Promise<GetResourceOwnerResult>
    function getResourceOwnerOutput(args: GetResourceOwnerOutputArgs, opts?: InvokeOptions): Output<GetResourceOwnerResult>
    def get_resource_owner(id: Optional[str] = None,
                           items: Optional[Sequence[GetResourceOwnerItem]] = None,
                           parent_resource_orn: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetResourceOwnerResult
    def get_resource_owner_output(id: pulumi.Input[Optional[str]] = None,
                           items: pulumi.Input[Optional[Sequence[pulumi.Input[GetResourceOwnerItemArgs]]]] = None,
                           parent_resource_orn: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetResourceOwnerResult]
    func LookupResourceOwner(ctx *Context, args *LookupResourceOwnerArgs, opts ...InvokeOption) (*LookupResourceOwnerResult, error)
    func LookupResourceOwnerOutput(ctx *Context, args *LookupResourceOwnerOutputArgs, opts ...InvokeOption) LookupResourceOwnerResultOutput

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

    public static class GetResourceOwner 
    {
        public static Task<GetResourceOwnerResult> InvokeAsync(GetResourceOwnerArgs args, InvokeOptions? opts = null)
        public static Output<GetResourceOwnerResult> Invoke(GetResourceOwnerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResourceOwnerResult> getResourceOwner(GetResourceOwnerArgs args, InvokeOptions options)
    public static Output<GetResourceOwnerResult> getResourceOwner(GetResourceOwnerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: okta:index/getResourceOwner:getResourceOwner
      arguments:
        # arguments dictionary
    data "okta_getresourceowner" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    The ID of the data source.
    Items List<GetResourceOwnerItem>
    ParentResourceOrn string
    The Okta resource, in ORN format format.
    Id string
    The ID of the data source.
    Items []GetResourceOwnerItem
    ParentResourceOrn string
    The Okta resource, in ORN format format.
    id string
    The ID of the data source.
    items list(object)
    parent_resource_orn string
    The Okta resource, in ORN format format.
    id String
    The ID of the data source.
    items List<GetResourceOwnerItem>
    parentResourceOrn String
    The Okta resource, in ORN format format.
    id string
    The ID of the data source.
    items GetResourceOwnerItem[]
    parentResourceOrn string
    The Okta resource, in ORN format format.
    id str
    The ID of the data source.
    items Sequence[GetResourceOwnerItem]
    parent_resource_orn str
    The Okta resource, in ORN format format.
    id String
    The ID of the data source.
    items List<Property Map>
    parentResourceOrn String
    The Okta resource, in ORN format format.

    getResourceOwner Result

    The following output properties are available:

    Id string
    The ID of the data source.
    Items List<GetResourceOwnerItem>
    ParentResourceOrn string
    The Okta resource, in ORN format format.
    Id string
    The ID of the data source.
    Items []GetResourceOwnerItem
    ParentResourceOrn string
    The Okta resource, in ORN format format.
    id string
    The ID of the data source.
    items list(object)
    parent_resource_orn string
    The Okta resource, in ORN format format.
    id String
    The ID of the data source.
    items List<GetResourceOwnerItem>
    parentResourceOrn String
    The Okta resource, in ORN format format.
    id string
    The ID of the data source.
    items GetResourceOwnerItem[]
    parentResourceOrn string
    The Okta resource, in ORN format format.
    id str
    The ID of the data source.
    items Sequence[GetResourceOwnerItem]
    parent_resource_orn str
    The Okta resource, in ORN format format.
    id String
    The ID of the data source.
    items List<Property Map>
    parentResourceOrn String
    The Okta resource, in ORN format format.

    Supporting Types

    GetResourceOwnerItem

    Id string
    The ID of the data source.
    ParentResourceOrn string
    The Okta resource, in ORN format format.
    Id string
    The ID of the data source.
    ParentResourceOrn string
    The Okta resource, in ORN format format.
    id string
    The ID of the data source.
    parent_resource_orn string
    The Okta resource, in ORN format format.
    id String
    The ID of the data source.
    parentResourceOrn String
    The Okta resource, in ORN format format.
    id string
    The ID of the data source.
    parentResourceOrn string
    The Okta resource, in ORN format format.
    id str
    The ID of the data source.
    parent_resource_orn str
    The Okta resource, in ORN format format.
    id String
    The ID of the data source.
    parentResourceOrn String
    The Okta resource, in ORN format format.

    Package Details

    Repository
    Okta pulumi/pulumi-okta
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the okta Terraform Provider.
    okta logo
    Viewing docs for Okta v6.9.0
    published on Wednesday, Jul 1, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial