Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Identity.getIdpGroupMappings
Explore with Pulumi AI
This data source provides the list of Idp Group Mappings in Oracle Cloud Infrastructure Identity service.
Deprecated. For more information, see Deprecated IAM Service APIs.
Lists the group mappings for the specified identity provider.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testIdpGroupMappings = oci.Identity.getIdpGroupMappings({
    identityProviderId: testIdentityProvider.id,
});
import pulumi
import pulumi_oci as oci
test_idp_group_mappings = oci.Identity.get_idp_group_mappings(identity_provider_id=test_identity_provider["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/identity"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identity.GetIdpGroupMappings(ctx, &identity.GetIdpGroupMappingsArgs{
			IdentityProviderId: testIdentityProvider.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testIdpGroupMappings = Oci.Identity.GetIdpGroupMappings.Invoke(new()
    {
        IdentityProviderId = testIdentityProvider.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Identity.IdentityFunctions;
import com.pulumi.oci.Identity.inputs.GetIdpGroupMappingsArgs;
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 testIdpGroupMappings = IdentityFunctions.getIdpGroupMappings(GetIdpGroupMappingsArgs.builder()
            .identityProviderId(testIdentityProvider.id())
            .build());
    }
}
variables:
  testIdpGroupMappings:
    fn::invoke:
      function: oci:Identity:getIdpGroupMappings
      arguments:
        identityProviderId: ${testIdentityProvider.id}
Using getIdpGroupMappings
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 getIdpGroupMappings(args: GetIdpGroupMappingsArgs, opts?: InvokeOptions): Promise<GetIdpGroupMappingsResult>
function getIdpGroupMappingsOutput(args: GetIdpGroupMappingsOutputArgs, opts?: InvokeOptions): Output<GetIdpGroupMappingsResult>def get_idp_group_mappings(filters: Optional[Sequence[GetIdpGroupMappingsFilter]] = None,
                           identity_provider_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetIdpGroupMappingsResult
def get_idp_group_mappings_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetIdpGroupMappingsFilterArgs]]]] = None,
                           identity_provider_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetIdpGroupMappingsResult]func GetIdpGroupMappings(ctx *Context, args *GetIdpGroupMappingsArgs, opts ...InvokeOption) (*GetIdpGroupMappingsResult, error)
func GetIdpGroupMappingsOutput(ctx *Context, args *GetIdpGroupMappingsOutputArgs, opts ...InvokeOption) GetIdpGroupMappingsResultOutput> Note: This function is named GetIdpGroupMappings in the Go SDK.
public static class GetIdpGroupMappings 
{
    public static Task<GetIdpGroupMappingsResult> InvokeAsync(GetIdpGroupMappingsArgs args, InvokeOptions? opts = null)
    public static Output<GetIdpGroupMappingsResult> Invoke(GetIdpGroupMappingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdpGroupMappingsResult> getIdpGroupMappings(GetIdpGroupMappingsArgs args, InvokeOptions options)
public static Output<GetIdpGroupMappingsResult> getIdpGroupMappings(GetIdpGroupMappingsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Identity/getIdpGroupMappings:getIdpGroupMappings
  arguments:
    # arguments dictionaryThe following arguments are supported:
- IdentityProvider stringId 
- The OCID of the identity provider.
- Filters
List<GetIdp Group Mappings Filter> 
- IdentityProvider stringId 
- The OCID of the identity provider.
- Filters
[]GetIdp Group Mappings Filter 
- identityProvider StringId 
- The OCID of the identity provider.
- filters
List<GetIdp Group Mappings Filter> 
- identityProvider stringId 
- The OCID of the identity provider.
- filters
GetIdp Group Mappings Filter[] 
- identity_provider_ strid 
- The OCID of the identity provider.
- filters
Sequence[GetIdp Group Mappings Filter] 
- identityProvider StringId 
- The OCID of the identity provider.
- filters List<Property Map>
getIdpGroupMappings Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- IdentityProvider stringId 
- The OCID of the IdentityProviderthis mapping belongs to.
- IdpGroup List<GetMappings Idp Group Mappings Idp Group Mapping> 
- The list of idp_group_mappings.
- Filters
List<GetIdp Group Mappings Filter> 
- Id string
- The provider-assigned unique ID for this managed resource.
- IdentityProvider stringId 
- The OCID of the IdentityProviderthis mapping belongs to.
- IdpGroup []GetMappings Idp Group Mappings Idp Group Mapping 
- The list of idp_group_mappings.
- Filters
[]GetIdp Group Mappings Filter 
- id String
- The provider-assigned unique ID for this managed resource.
- identityProvider StringId 
- The OCID of the IdentityProviderthis mapping belongs to.
- idpGroup List<GetMappings Idp Group Mappings Idp Group Mapping> 
- The list of idp_group_mappings.
- filters
List<GetIdp Group Mappings Filter> 
- id string
- The provider-assigned unique ID for this managed resource.
- identityProvider stringId 
- The OCID of the IdentityProviderthis mapping belongs to.
- idpGroup GetMappings Idp Group Mappings Idp Group Mapping[] 
- The list of idp_group_mappings.
- filters
GetIdp Group Mappings Filter[] 
- id str
- The provider-assigned unique ID for this managed resource.
- identity_provider_ strid 
- The OCID of the IdentityProviderthis mapping belongs to.
- idp_group_ Sequence[Getmappings Idp Group Mappings Idp Group Mapping] 
- The list of idp_group_mappings.
- filters
Sequence[GetIdp Group Mappings Filter] 
- id String
- The provider-assigned unique ID for this managed resource.
- identityProvider StringId 
- The OCID of the IdentityProviderthis mapping belongs to.
- idpGroup List<Property Map>Mappings 
- The list of idp_group_mappings.
- filters List<Property Map>
Supporting Types
GetIdpGroupMappingsFilter    
GetIdpGroupMappingsIdpGroupMapping      
- CompartmentId string
- The OCID of the tenancy containing the IdentityProvider.
- GroupId string
- The OCID of the IAM Service group that is mapped to the IdP group.
- Id string
- The OCID of the IdpGroupMapping.
- IdentityProvider stringId 
- The OCID of the identity provider.
- IdpGroup stringName 
- The name of the IdP group that is mapped to the IAM Service group.
- InactiveState string
- The detailed status of INACTIVE lifecycleState.
- State string
- The mapping's current state.
- TimeCreated string
- Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- CompartmentId string
- The OCID of the tenancy containing the IdentityProvider.
- GroupId string
- The OCID of the IAM Service group that is mapped to the IdP group.
- Id string
- The OCID of the IdpGroupMapping.
- IdentityProvider stringId 
- The OCID of the identity provider.
- IdpGroup stringName 
- The name of the IdP group that is mapped to the IAM Service group.
- InactiveState string
- The detailed status of INACTIVE lifecycleState.
- State string
- The mapping's current state.
- TimeCreated string
- Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- compartmentId String
- The OCID of the tenancy containing the IdentityProvider.
- groupId String
- The OCID of the IAM Service group that is mapped to the IdP group.
- id String
- The OCID of the IdpGroupMapping.
- identityProvider StringId 
- The OCID of the identity provider.
- idpGroup StringName 
- The name of the IdP group that is mapped to the IAM Service group.
- inactiveState String
- The detailed status of INACTIVE lifecycleState.
- state String
- The mapping's current state.
- timeCreated String
- Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- compartmentId string
- The OCID of the tenancy containing the IdentityProvider.
- groupId string
- The OCID of the IAM Service group that is mapped to the IdP group.
- id string
- The OCID of the IdpGroupMapping.
- identityProvider stringId 
- The OCID of the identity provider.
- idpGroup stringName 
- The name of the IdP group that is mapped to the IAM Service group.
- inactiveState string
- The detailed status of INACTIVE lifecycleState.
- state string
- The mapping's current state.
- timeCreated string
- Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- compartment_id str
- The OCID of the tenancy containing the IdentityProvider.
- group_id str
- The OCID of the IAM Service group that is mapped to the IdP group.
- id str
- The OCID of the IdpGroupMapping.
- identity_provider_ strid 
- The OCID of the identity provider.
- idp_group_ strname 
- The name of the IdP group that is mapped to the IAM Service group.
- inactive_state str
- The detailed status of INACTIVE lifecycleState.
- state str
- The mapping's current state.
- time_created str
- Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- compartmentId String
- The OCID of the tenancy containing the IdentityProvider.
- groupId String
- The OCID of the IAM Service group that is mapped to the IdP group.
- id String
- The OCID of the IdpGroupMapping.
- identityProvider StringId 
- The OCID of the identity provider.
- idpGroup StringName 
- The name of the IdP group that is mapped to the IAM Service group.
- inactiveState String
- The detailed status of INACTIVE lifecycleState.
- state String
- The mapping's current state.
- timeCreated String
- Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.