import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Idp Group Mapping resource in Oracle Cloud Infrastructure Identity service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/identity/latest/IdpGroupMapping * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/identity * * **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). * * Creates a single mapping between an IdP group and an IAM Service * [group](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/Group/). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIdpGroupMapping = new oci.identity.IdpGroupMapping("test_idp_group_mapping", { * groupId: testGroup.id, * identityProviderId: testIdentityProvider.id, * idpGroupName: idpGroupMappingIdpGroupName, * }); * ``` * * ## Import * * IdpGroupMappings can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Identity/idpGroupMapping:IdpGroupMapping test_idp_group_mapping "identityProviders/{identityProviderId}/groupMappings/{mappingId}" * ``` */ export declare class IdpGroupMapping extends pulumi.CustomResource { /** * Get an existing IdpGroupMapping resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: IdpGroupMappingState, opts?: pulumi.CustomResourceOptions): IdpGroupMapping; /** * Returns true if the given object is an instance of IdpGroupMapping. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is IdpGroupMapping; /** * The OCID of the tenancy containing the `IdentityProvider`. */ readonly compartmentId: pulumi.Output; /** * (Updatable) The OCID of the IAM Service [group](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/Group/) you want to map to the IdP group. */ readonly groupId: pulumi.Output; /** * The OCID of the identity provider. */ readonly identityProviderId: pulumi.Output; /** * (Updatable) The name of the IdP group you want to map. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly idpGroupName: pulumi.Output; /** * The detailed status of INACTIVE lifecycleState. */ readonly inactiveState: pulumi.Output; /** * The mapping's current state. */ readonly state: pulumi.Output; /** * Date and time the mapping was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * Create a IdpGroupMapping resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: IdpGroupMappingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IdpGroupMapping resources. */ export interface IdpGroupMappingState { /** * The OCID of the tenancy containing the `IdentityProvider`. */ compartmentId?: pulumi.Input; /** * (Updatable) The OCID of the IAM Service [group](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/Group/) you want to map to the IdP group. */ groupId?: pulumi.Input; /** * The OCID of the identity provider. */ identityProviderId?: pulumi.Input; /** * (Updatable) The name of the IdP group you want to map. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ idpGroupName?: pulumi.Input; /** * The detailed status of INACTIVE lifecycleState. */ inactiveState?: pulumi.Input; /** * The mapping's current state. */ state?: pulumi.Input; /** * Date and time the mapping was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` */ timeCreated?: pulumi.Input; } /** * The set of arguments for constructing a IdpGroupMapping resource. */ export interface IdpGroupMappingArgs { /** * (Updatable) The OCID of the IAM Service [group](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/Group/) you want to map to the IdP group. */ groupId: pulumi.Input; /** * The OCID of the identity provider. */ identityProviderId: pulumi.Input; /** * (Updatable) The name of the IdP group you want to map. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ idpGroupName: pulumi.Input; } //# sourceMappingURL=idpGroupMapping.d.ts.map