MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi
mongodbatlas.getFederatedSettingsOrgRoleMappings
Explore with Pulumi AI
# Data Source: mongodbatlas.getFederatedSettingsOrgRoleMappings
mongodbatlas.getFederatedSettingsOrgRoleMappings
provides an Federated Settings Org Role Mapping datasource. Atlas Cloud Federated Settings Org Role Mapping provides federated settings outputs for the configured Org Role Mapping.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
orgGroupRoleMappingImport:
type: mongodbatlas:FederatedSettingsOrgRoleMapping
name: org_group_role_mapping_import
properties:
federationSettingsId:
orgId: 627a9683e7f7f7ff7fe306f14
groupId: 628aa20d7f7f7f7f7098b81b8
externalGroupName: myGrouptest
organizationRoles:
- ORG_OWNER
- ORG_MEMBER
- ORG_BILLING_ADMIN
- ORG_GROUP_CREATOR
- ORG_READ_ONLY
groupRoles:
- GROUP_OWNER
- GROUP_CLUSTER_MANAGER
- GROUP_DATA_ACCESS_ADMIN
- GROUP_DATA_ACCESS_READ_WRITE
- GROUP_SEARCH_INDEX_EDITOR
- GROUP_DATA_ACCESS_READ_ONLY
- GROUP_READ_ONLY
variables:
roleMappings:
fn::invoke:
Function: mongodbatlas:getFederatedSettingsOrgRoleMappings
Arguments:
federationSettingsId: ${orgGroupRoleMappingImport.id}
orgId: 627a9683e7f7f7ff7fe306f14
pageNum: 1
itemsPerPage: 5
Using getFederatedSettingsOrgRoleMappings
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 getFederatedSettingsOrgRoleMappings(args: GetFederatedSettingsOrgRoleMappingsArgs, opts?: InvokeOptions): Promise<GetFederatedSettingsOrgRoleMappingsResult>
function getFederatedSettingsOrgRoleMappingsOutput(args: GetFederatedSettingsOrgRoleMappingsOutputArgs, opts?: InvokeOptions): Output<GetFederatedSettingsOrgRoleMappingsResult>
def get_federated_settings_org_role_mappings(federation_settings_id: Optional[str] = None,
items_per_page: Optional[int] = None,
org_id: Optional[str] = None,
page_num: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetFederatedSettingsOrgRoleMappingsResult
def get_federated_settings_org_role_mappings_output(federation_settings_id: Optional[pulumi.Input[str]] = None,
items_per_page: Optional[pulumi.Input[int]] = None,
org_id: Optional[pulumi.Input[str]] = None,
page_num: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFederatedSettingsOrgRoleMappingsResult]
func LookupFederatedSettingsOrgRoleMappings(ctx *Context, args *LookupFederatedSettingsOrgRoleMappingsArgs, opts ...InvokeOption) (*LookupFederatedSettingsOrgRoleMappingsResult, error)
func LookupFederatedSettingsOrgRoleMappingsOutput(ctx *Context, args *LookupFederatedSettingsOrgRoleMappingsOutputArgs, opts ...InvokeOption) LookupFederatedSettingsOrgRoleMappingsResultOutput
> Note: This function is named LookupFederatedSettingsOrgRoleMappings
in the Go SDK.
public static class GetFederatedSettingsOrgRoleMappings
{
public static Task<GetFederatedSettingsOrgRoleMappingsResult> InvokeAsync(GetFederatedSettingsOrgRoleMappingsArgs args, InvokeOptions? opts = null)
public static Output<GetFederatedSettingsOrgRoleMappingsResult> Invoke(GetFederatedSettingsOrgRoleMappingsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFederatedSettingsOrgRoleMappingsResult> getFederatedSettingsOrgRoleMappings(GetFederatedSettingsOrgRoleMappingsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getFederatedSettingsOrgRoleMappings:getFederatedSettingsOrgRoleMappings
arguments:
# arguments dictionary
The following arguments are supported:
- Federation
Settings stringId - Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Items
Per intPage - Number of items to return per page, up to a maximum of 500. Defaults to
100
. - Page
Num int - The page to return. Defaults to
1
.
- Federation
Settings stringId - Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Items
Per intPage - Number of items to return per page, up to a maximum of 500. Defaults to
100
. - Page
Num int - The page to return. Defaults to
1
.
- federation
Settings StringId - Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- items
Per IntegerPage - Number of items to return per page, up to a maximum of 500. Defaults to
100
. - page
Num Integer - The page to return. Defaults to
1
.
- federation
Settings stringId - Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- items
Per numberPage - Number of items to return per page, up to a maximum of 500. Defaults to
100
. - page
Num number - The page to return. Defaults to
1
.
- federation_
settings_ strid - Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- items_
per_ intpage - Number of items to return per page, up to a maximum of 500. Defaults to
100
. - page_
num int - The page to return. Defaults to
1
.
- federation
Settings StringId - Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- items
Per NumberPage - Number of items to return per page, up to a maximum of 500. Defaults to
100
. - page
Num Number - The page to return. Defaults to
1
.
getFederatedSettingsOrgRoleMappings Result
The following output properties are available:
- Federation
Settings stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Results
List<Get
Federated Settings Org Role Mappings Result> - Includes cloudProviderSnapshot object for each item detailed in the results array section.
totalCount
- Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
- Items
Per intPage - Page
Num int
- Federation
Settings stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Results
[]Get
Federated Settings Org Role Mappings Result - Includes cloudProviderSnapshot object for each item detailed in the results array section.
totalCount
- Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
- Items
Per intPage - Page
Num int
- federation
Settings StringId - id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - results
List<Get
Federated Settings Org Role Mappings Result> - Includes cloudProviderSnapshot object for each item detailed in the results array section.
totalCount
- Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
- items
Per IntegerPage - page
Num Integer
- federation
Settings stringId - id string
- The provider-assigned unique ID for this managed resource.
- org
Id string - results
Get
Federated Settings Org Role Mappings Result[] - Includes cloudProviderSnapshot object for each item detailed in the results array section.
totalCount
- Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
- items
Per numberPage - page
Num number
- federation_
settings_ strid - id str
- The provider-assigned unique ID for this managed resource.
- org_
id str - results
Sequence[Get
Federated Settings Org Role Mappings Result] - Includes cloudProviderSnapshot object for each item detailed in the results array section.
totalCount
- Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
- items_
per_ intpage - page_
num int
- federation
Settings StringId - id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - results List<Property Map>
- Includes cloudProviderSnapshot object for each item detailed in the results array section.
totalCount
- Count of the total number of items in the result set. It may be greater than the number of objects in the results array if the entire result set is paginated.
- items
Per NumberPage - page
Num Number
Supporting Types
GetFederatedSettingsOrgRoleMappingsResult
- External
Group stringName - Unique human-readable label that identifies the identity provider group to which this role mapping applies.
- Id string
- Unique 24-hexadecimal digit string that identifies this role mapping.
- Role
Assignments List<GetFederated Settings Org Role Mappings Result Role Assignment> - Atlas roles and the unique identifiers of the groups and organizations associated with each role.
- External
Group stringName - Unique human-readable label that identifies the identity provider group to which this role mapping applies.
- Id string
- Unique 24-hexadecimal digit string that identifies this role mapping.
- Role
Assignments []GetFederated Settings Org Role Mappings Result Role Assignment - Atlas roles and the unique identifiers of the groups and organizations associated with each role.
- external
Group StringName - Unique human-readable label that identifies the identity provider group to which this role mapping applies.
- id String
- Unique 24-hexadecimal digit string that identifies this role mapping.
- role
Assignments List<GetFederated Settings Org Role Mappings Result Role Assignment> - Atlas roles and the unique identifiers of the groups and organizations associated with each role.
- external
Group stringName - Unique human-readable label that identifies the identity provider group to which this role mapping applies.
- id string
- Unique 24-hexadecimal digit string that identifies this role mapping.
- role
Assignments GetFederated Settings Org Role Mappings Result Role Assignment[] - Atlas roles and the unique identifiers of the groups and organizations associated with each role.
- external_
group_ strname - Unique human-readable label that identifies the identity provider group to which this role mapping applies.
- id str
- Unique 24-hexadecimal digit string that identifies this role mapping.
- role_
assignments Sequence[GetFederated Settings Org Role Mappings Result Role Assignment] - Atlas roles and the unique identifiers of the groups and organizations associated with each role.
- external
Group StringName - Unique human-readable label that identifies the identity provider group to which this role mapping applies.
- id String
- Unique 24-hexadecimal digit string that identifies this role mapping.
- role
Assignments List<Property Map> - Atlas roles and the unique identifiers of the groups and organizations associated with each role.
GetFederatedSettingsOrgRoleMappingsResultRoleAssignment
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.