1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Identity
  5. getIdpGroupMappings
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi

oci.Identity.getIdpGroupMappings

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 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,
    });
    
    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[_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]
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Identity/getIdpGroupMappings:getIdpGroupMappings
      arguments:
        # arguments dictionary

    The following arguments are supported:

    IdentityProviderId string
    The OCID of the identity provider.
    Filters List<GetIdpGroupMappingsFilter>
    IdentityProviderId string
    The OCID of the identity provider.
    Filters []GetIdpGroupMappingsFilter
    identityProviderId String
    The OCID of the identity provider.
    filters List<GetIdpGroupMappingsFilter>
    identityProviderId string
    The OCID of the identity provider.
    filters GetIdpGroupMappingsFilter[]
    identityProviderId String
    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.
    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 string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    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.
    IdentityProviderId string
    The OCID of the identity provider.
    IdpGroupName string
    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.
    IdentityProviderId string
    The OCID of the identity provider.
    IdpGroupName string
    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.
    identityProviderId String
    The OCID of the identity provider.
    idpGroupName String
    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.
    identityProviderId string
    The OCID of the identity provider.
    idpGroupName string
    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_id str
    The OCID of the identity provider.
    idp_group_name str
    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.
    identityProviderId String
    The OCID of the identity provider.
    idpGroupName String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi