1. Packages
  2. Okta Provider
  3. API Docs
  4. user
  5. getUserProfileMappingSource
Okta v4.16.0 published on Wednesday, Apr 9, 2025 by Pulumi

okta.user.getUserProfileMappingSource

Explore with Pulumi AI

Get the base user Profile Mapping source or target from Okta.

NOTE: If using this resource with OAuth2 scopes, this resource requires okta.profileMappings.read scope.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";

const example = okta.user.getUserProfileMappingSource({});
Copy
import pulumi
import pulumi_okta as okta

example = okta.user.get_user_profile_mapping_source()
Copy
package main

import (
	"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := user.GetUserProfileMappingSource(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;

return await Deployment.RunAsync(() => 
{
    var example = Okta.User.GetUserProfileMappingSource.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.user.UserFunctions;
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 example = UserFunctions.getUserProfileMappingSource();

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: okta:user:getUserProfileMappingSource
      arguments: {}
Copy

Using getUserProfileMappingSource

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 getUserProfileMappingSource(opts?: InvokeOptions): Promise<GetUserProfileMappingSourceResult>
function getUserProfileMappingSourceOutput(opts?: InvokeOptions): Output<GetUserProfileMappingSourceResult>
Copy
def get_user_profile_mapping_source(opts: Optional[InvokeOptions] = None) -> GetUserProfileMappingSourceResult
def get_user_profile_mapping_source_output(opts: Optional[InvokeOptions] = None) -> Output[GetUserProfileMappingSourceResult]
Copy
func GetUserProfileMappingSource(ctx *Context, opts ...InvokeOption) (*GetUserProfileMappingSourceResult, error)
func GetUserProfileMappingSourceOutput(ctx *Context, opts ...InvokeOption) GetUserProfileMappingSourceResultOutput
Copy

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

public static class GetUserProfileMappingSource 
{
    public static Task<GetUserProfileMappingSourceResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetUserProfileMappingSourceResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetUserProfileMappingSourceResult> getUserProfileMappingSource(InvokeOptions options)
public static Output<GetUserProfileMappingSourceResult> getUserProfileMappingSource(InvokeOptions options)
Copy
fn::invoke:
  function: okta:user/getUserProfileMappingSource:getUserProfileMappingSource
  arguments:
    # arguments dictionary
Copy

getUserProfileMappingSource Result

The following output properties are available:

Id string
ID of the source
Name string
Name of source.
Type string
Type of source.
Id string
ID of the source
Name string
Name of source.
Type string
Type of source.
id String
ID of the source
name String
Name of source.
type String
Type of source.
id string
ID of the source
name string
Name of source.
type string
Type of source.
id str
ID of the source
name str
Name of source.
type str
Type of source.
id String
ID of the source
name String
Name of source.
type String
Type of source.

Package Details

Repository
Okta pulumi/pulumi-okta
License
Apache-2.0
Notes
This Pulumi package is based on the okta Terraform Provider.