1. Packages
  2. Okta
  3. API Docs
  4. user
  5. getUserProfileMappingSource
Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi

okta.user.getUserProfileMappingSource

Explore with Pulumi AI

okta logo
Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi

    Use this data source to retrieve 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({});
    
    import pulumi
    import pulumi_okta as okta
    
    example = okta.user.get_user_profile_mapping_source()
    
    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, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Okta = Pulumi.Okta;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Okta.User.GetUserProfileMappingSource.Invoke();
    
    });
    
    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();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: okta:user:getUserProfileMappingSource
          Arguments: {}
    

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

    > 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)
    }
    public static CompletableFuture<GetUserProfileMappingSourceResult> getUserProfileMappingSource(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: okta:user/getUserProfileMappingSource:getUserProfileMappingSource
      arguments:
        # arguments dictionary

    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.
    okta logo
    Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi