1. Packages
  2. Okta Provider
  3. API Docs
  4. user
  5. getUserProfileMappingSource
Okta v4.11.3 published on Monday, Oct 21, 2024 by Pulumi

okta.user.getUserProfileMappingSource

Explore with Pulumi AI

okta logo
Okta v4.11.3 published on Monday, Oct 21, 2024 by Pulumi

    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({});
    
    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, map[string]interface{}{}, 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.11.3 published on Monday, Oct 21, 2024 by Pulumi