Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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[_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:
- Identity
Provider stringId - The OCID of the identity provider.
- Filters
List<Get
Idp Group Mappings Filter>
- Identity
Provider stringId - The OCID of the identity provider.
- Filters
[]Get
Idp Group Mappings Filter
- identity
Provider StringId - The OCID of the identity provider.
- filters
List<Get
Idp Group Mappings Filter>
- identity
Provider stringId - The OCID of the identity provider.
- filters
Get
Idp Group Mappings Filter[]
- identity_
provider_ strid - The OCID of the identity provider.
- filters
Sequence[identity.
Get Idp Group Mappings Filter]
- identity
Provider 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.
- Identity
Provider stringId - The OCID of the
IdentityProvider
this mapping belongs to. - Idp
Group List<GetMappings Idp Group Mappings Idp Group Mapping> - The list of idp_group_mappings.
- Filters
List<Get
Idp Group Mappings Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Identity
Provider stringId - The OCID of the
IdentityProvider
this mapping belongs to. - Idp
Group []GetMappings Idp Group Mappings Idp Group Mapping - The list of idp_group_mappings.
- Filters
[]Get
Idp Group Mappings Filter
- id String
- The provider-assigned unique ID for this managed resource.
- identity
Provider StringId - The OCID of the
IdentityProvider
this mapping belongs to. - idp
Group List<GetMappings Idp Group Mappings Idp Group Mapping> - The list of idp_group_mappings.
- filters
List<Get
Idp Group Mappings Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- identity
Provider stringId - The OCID of the
IdentityProvider
this mapping belongs to. - idp
Group GetMappings Idp Group Mappings Idp Group Mapping[] - The list of idp_group_mappings.
- filters
Get
Idp Group Mappings Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- identity_
provider_ strid - The OCID of the
IdentityProvider
this mapping belongs to. - idp_
group_ Sequence[identity.mappings Get Idp Group Mappings Idp Group Mapping] - The list of idp_group_mappings.
- filters
Sequence[identity.
Get Idp Group Mappings Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- identity
Provider StringId - The OCID of the
IdentityProvider
this mapping belongs to. - idp
Group List<Property Map>Mappings - The list of idp_group_mappings.
- filters List<Property Map>
Supporting Types
GetIdpGroupMappingsFilter
GetIdpGroupMappingsIdpGroupMapping
- Compartment
Id string - The OCID of the tenancy containing the
IdentityProvider
. - Group
Id string - The OCID of the IAM Service group that is mapped to the IdP group.
- Id string
- The OCID of the
IdpGroupMapping
. - Identity
Provider stringId - The OCID of the identity provider.
- Idp
Group stringName - The name of the IdP group that is mapped to the IAM Service group.
- Inactive
State string - The detailed status of INACTIVE lifecycleState.
- State string
- The mapping's current state.
- Time
Created string - Date and time the mapping was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The OCID of the tenancy containing the
IdentityProvider
. - Group
Id string - The OCID of the IAM Service group that is mapped to the IdP group.
- Id string
- The OCID of the
IdpGroupMapping
. - Identity
Provider stringId - The OCID of the identity provider.
- Idp
Group stringName - The name of the IdP group that is mapped to the IAM Service group.
- Inactive
State string - The detailed status of INACTIVE lifecycleState.
- State string
- The mapping's current state.
- Time
Created string - Date and time the mapping was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the tenancy containing the
IdentityProvider
. - group
Id String - The OCID of the IAM Service group that is mapped to the IdP group.
- id String
- The OCID of the
IdpGroupMapping
. - identity
Provider StringId - The OCID of the identity provider.
- idp
Group StringName - The name of the IdP group that is mapped to the IAM Service group.
- inactive
State String - The detailed status of INACTIVE lifecycleState.
- state String
- The mapping's current state.
- time
Created String - Date and time the mapping was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The OCID of the tenancy containing the
IdentityProvider
. - group
Id string - The OCID of the IAM Service group that is mapped to the IdP group.
- id string
- The OCID of the
IdpGroupMapping
. - identity
Provider stringId - The OCID of the identity provider.
- idp
Group stringName - The name of the IdP group that is mapped to the IAM Service group.
- inactive
State string - The detailed status of INACTIVE lifecycleState.
- state string
- The mapping's current state.
- time
Created 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
- compartment
Id String - The OCID of the tenancy containing the
IdentityProvider
. - group
Id String - The OCID of the IAM Service group that is mapped to the IdP group.
- id String
- The OCID of the
IdpGroupMapping
. - identity
Provider StringId - The OCID of the identity provider.
- idp
Group StringName - The name of the IdP group that is mapped to the IAM Service group.
- inactive
State String - The detailed status of INACTIVE lifecycleState.
- state String
- The mapping's current state.
- time
Created 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.