1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Identity
  5. getIdpGroupMappings
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.Identity.getIdpGroupMappings

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

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,
});
Copy
import pulumi
import pulumi_oci as oci

test_idp_group_mappings = oci.Identity.get_idp_group_mappings(identity_provider_id=test_identity_provider["id"])
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testIdpGroupMappings:
    fn::invoke:
      function: oci:Identity:getIdpGroupMappings
      arguments:
        identityProviderId: ${testIdentityProvider.id}
Copy

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>
Copy
def get_idp_group_mappings(filters: Optional[Sequence[_identity.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[_identity.GetIdpGroupMappingsFilterArgs]]]] = None,
                           identity_provider_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetIdpGroupMappingsResult]
Copy
func GetIdpGroupMappings(ctx *Context, args *GetIdpGroupMappingsArgs, opts ...InvokeOption) (*GetIdpGroupMappingsResult, error)
func GetIdpGroupMappingsOutput(ctx *Context, args *GetIdpGroupMappingsOutputArgs, opts ...InvokeOption) GetIdpGroupMappingsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetIdpGroupMappingsResult> getIdpGroupMappings(GetIdpGroupMappingsArgs args, InvokeOptions options)
public static Output<GetIdpGroupMappingsResult> getIdpGroupMappings(GetIdpGroupMappingsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Identity/getIdpGroupMappings:getIdpGroupMappings
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

IdentityProviderId This property is required. string
The OCID of the identity provider.
Filters Changes to this property will trigger replacement. List<GetIdpGroupMappingsFilter>
IdentityProviderId This property is required. string
The OCID of the identity provider.
Filters Changes to this property will trigger replacement. []GetIdpGroupMappingsFilter
identityProviderId This property is required. String
The OCID of the identity provider.
filters Changes to this property will trigger replacement. List<GetIdpGroupMappingsFilter>
identityProviderId This property is required. string
The OCID of the identity provider.
filters Changes to this property will trigger replacement. GetIdpGroupMappingsFilter[]
identity_provider_id This property is required. str
The OCID of the identity provider.
filters Changes to this property will trigger replacement. Sequence[identity.GetIdpGroupMappingsFilter]
identityProviderId This property is required. String
The OCID of the identity provider.
filters Changes to this property will trigger replacement. List<Property Map>

getIdpGroupMappings Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
IdentityProviderId string
The OCID of the IdentityProvider this mapping belongs to.
IdpGroupMappings List<GetIdpGroupMappingsIdpGroupMapping>
The list of idp_group_mappings.
Filters List<GetIdpGroupMappingsFilter>
Id string
The provider-assigned unique ID for this managed resource.
IdentityProviderId string
The OCID of the IdentityProvider this mapping belongs to.
IdpGroupMappings []GetIdpGroupMappingsIdpGroupMapping
The list of idp_group_mappings.
Filters []GetIdpGroupMappingsFilter
id String
The provider-assigned unique ID for this managed resource.
identityProviderId String
The OCID of the IdentityProvider this mapping belongs to.
idpGroupMappings List<GetIdpGroupMappingsIdpGroupMapping>
The list of idp_group_mappings.
filters List<GetIdpGroupMappingsFilter>
id string
The provider-assigned unique ID for this managed resource.
identityProviderId string
The OCID of the IdentityProvider this mapping belongs to.
idpGroupMappings GetIdpGroupMappingsIdpGroupMapping[]
The list of idp_group_mappings.
filters GetIdpGroupMappingsFilter[]
id str
The provider-assigned unique ID for this managed resource.
identity_provider_id str
The OCID of the IdentityProvider this mapping belongs to.
idp_group_mappings Sequence[identity.GetIdpGroupMappingsIdpGroupMapping]
The list of idp_group_mappings.
filters Sequence[identity.GetIdpGroupMappingsFilter]
id String
The provider-assigned unique ID for this managed resource.
identityProviderId String
The OCID of the IdentityProvider this mapping belongs to.
idpGroupMappings List<Property Map>
The list of idp_group_mappings.
filters List<Property Map>

Supporting Types

GetIdpGroupMappingsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetIdpGroupMappingsIdpGroupMapping

CompartmentId This property is required. string
The OCID of the tenancy containing the IdentityProvider.
GroupId This property is required. string
The OCID of the IAM Service group that is mapped to the IdP group.
Id This property is required. string
The OCID of the IdpGroupMapping.
IdentityProviderId This property is required. string
The OCID of the identity provider.
IdpGroupName This property is required. string
The name of the IdP group that is mapped to the IAM Service group.
InactiveState This property is required. string
The detailed status of INACTIVE lifecycleState.
State This property is required. string
The mapping's current state.
TimeCreated This property is required. string
Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
CompartmentId This property is required. string
The OCID of the tenancy containing the IdentityProvider.
GroupId This property is required. string
The OCID of the IAM Service group that is mapped to the IdP group.
Id This property is required. string
The OCID of the IdpGroupMapping.
IdentityProviderId This property is required. string
The OCID of the identity provider.
IdpGroupName This property is required. string
The name of the IdP group that is mapped to the IAM Service group.
InactiveState This property is required. string
The detailed status of INACTIVE lifecycleState.
State This property is required. string
The mapping's current state.
TimeCreated This property is required. string
Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartmentId This property is required. String
The OCID of the tenancy containing the IdentityProvider.
groupId This property is required. String
The OCID of the IAM Service group that is mapped to the IdP group.
id This property is required. String
The OCID of the IdpGroupMapping.
identityProviderId This property is required. String
The OCID of the identity provider.
idpGroupName This property is required. String
The name of the IdP group that is mapped to the IAM Service group.
inactiveState This property is required. String
The detailed status of INACTIVE lifecycleState.
state This property is required. String
The mapping's current state.
timeCreated This property is required. String
Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartmentId This property is required. string
The OCID of the tenancy containing the IdentityProvider.
groupId This property is required. string
The OCID of the IAM Service group that is mapped to the IdP group.
id This property is required. string
The OCID of the IdpGroupMapping.
identityProviderId This property is required. string
The OCID of the identity provider.
idpGroupName This property is required. string
The name of the IdP group that is mapped to the IAM Service group.
inactiveState This property is required. string
The detailed status of INACTIVE lifecycleState.
state This property is required. string
The mapping's current state.
timeCreated This property is required. string
Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartment_id This property is required. str
The OCID of the tenancy containing the IdentityProvider.
group_id This property is required. str
The OCID of the IAM Service group that is mapped to the IdP group.
id This property is required. str
The OCID of the IdpGroupMapping.
identity_provider_id This property is required. str
The OCID of the identity provider.
idp_group_name This property is required. str
The name of the IdP group that is mapped to the IAM Service group.
inactive_state This property is required. str
The detailed status of INACTIVE lifecycleState.
state This property is required. str
The mapping's current state.
time_created This property is required. str
Date and time the mapping was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartmentId This property is required. String
The OCID of the tenancy containing the IdentityProvider.
groupId This property is required. String
The OCID of the IAM Service group that is mapped to the IdP group.
id This property is required. String
The OCID of the IdpGroupMapping.
identityProviderId This property is required. String
The OCID of the identity provider.
idpGroupName This property is required. String
The name of the IdP group that is mapped to the IAM Service group.
inactiveState This property is required. String
The detailed status of INACTIVE lifecycleState.
state This property is required. String
The mapping's current state.
timeCreated This property is required. 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 oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi