MongoDB Atlas v3.16.3 published on Friday, Jun 28, 2024 by Pulumi
mongodbatlas.getFederatedSettings
Explore with Pulumi AI
mongodbatlas.getFederatedSettings provides a federated settings data source. Atlas Cloud federated settings provides federated settings outputs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const settings = mongodbatlas.getFederatedSettings({
    orgId: "627a9683e7f7f7ff7fe306f14",
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
settings = mongodbatlas.get_federated_settings(org_id="627a9683e7f7f7ff7fe306f14")
package main
import (
	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.GetFederatedSettings(ctx, &mongodbatlas.GetFederatedSettingsArgs{
			OrgId: "627a9683e7f7f7ff7fe306f14",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() => 
{
    var settings = Mongodbatlas.GetFederatedSettings.Invoke(new()
    {
        OrgId = "627a9683e7f7f7ff7fe306f14",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetFederatedSettingsArgs;
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 settings = MongodbatlasFunctions.getFederatedSettings(GetFederatedSettingsArgs.builder()
            .orgId("627a9683e7f7f7ff7fe306f14")
            .build());
    }
}
variables:
  settings:
    fn::invoke:
      Function: mongodbatlas:getFederatedSettings
      Arguments:
        orgId: 627a9683e7f7f7ff7fe306f14
Using getFederatedSettings
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 getFederatedSettings(args: GetFederatedSettingsArgs, opts?: InvokeOptions): Promise<GetFederatedSettingsResult>
function getFederatedSettingsOutput(args: GetFederatedSettingsOutputArgs, opts?: InvokeOptions): Output<GetFederatedSettingsResult>def get_federated_settings(org_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetFederatedSettingsResult
def get_federated_settings_output(org_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetFederatedSettingsResult]func GetFederatedSettings(ctx *Context, args *GetFederatedSettingsArgs, opts ...InvokeOption) (*GetFederatedSettingsResult, error)
func GetFederatedSettingsOutput(ctx *Context, args *GetFederatedSettingsOutputArgs, opts ...InvokeOption) GetFederatedSettingsResultOutput> Note: This function is named GetFederatedSettings in the Go SDK.
public static class GetFederatedSettings 
{
    public static Task<GetFederatedSettingsResult> InvokeAsync(GetFederatedSettingsArgs args, InvokeOptions? opts = null)
    public static Output<GetFederatedSettingsResult> Invoke(GetFederatedSettingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFederatedSettingsResult> getFederatedSettings(GetFederatedSettingsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: mongodbatlas:index/getFederatedSettings:getFederatedSettings
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
 
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
 
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
 
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
 
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
 
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
 
getFederatedSettings Result
The following output properties are available:
- Federated
Domains List<string> - List that contains the domains associated with the organization's identity provider.
 - Has
Role boolMappings  - Flag that indicates whether this organization has role mappings configured.
 - Id string
 - Unique 24-hexadecimal digit string that identifies this federation.
 - Identity
Provider stringId  - Unique 20-hexadecimal digit string that identifies the identity provider connected to this organization.
 - Identity
Provider stringStatus  - Value that indicates whether the identity provider is active. Atlas returns ACTIVE if the identity provider is active and INACTIVE if the identity provider is inactive.
 - Org
Id string 
- Federated
Domains []string - List that contains the domains associated with the organization's identity provider.
 - Has
Role boolMappings  - Flag that indicates whether this organization has role mappings configured.
 - Id string
 - Unique 24-hexadecimal digit string that identifies this federation.
 - Identity
Provider stringId  - Unique 20-hexadecimal digit string that identifies the identity provider connected to this organization.
 - Identity
Provider stringStatus  - Value that indicates whether the identity provider is active. Atlas returns ACTIVE if the identity provider is active and INACTIVE if the identity provider is inactive.
 - Org
Id string 
- federated
Domains List<String> - List that contains the domains associated with the organization's identity provider.
 - has
Role BooleanMappings  - Flag that indicates whether this organization has role mappings configured.
 - id String
 - Unique 24-hexadecimal digit string that identifies this federation.
 - identity
Provider StringId  - Unique 20-hexadecimal digit string that identifies the identity provider connected to this organization.
 - identity
Provider StringStatus  - Value that indicates whether the identity provider is active. Atlas returns ACTIVE if the identity provider is active and INACTIVE if the identity provider is inactive.
 - org
Id String 
- federated
Domains string[] - List that contains the domains associated with the organization's identity provider.
 - has
Role booleanMappings  - Flag that indicates whether this organization has role mappings configured.
 - id string
 - Unique 24-hexadecimal digit string that identifies this federation.
 - identity
Provider stringId  - Unique 20-hexadecimal digit string that identifies the identity provider connected to this organization.
 - identity
Provider stringStatus  - Value that indicates whether the identity provider is active. Atlas returns ACTIVE if the identity provider is active and INACTIVE if the identity provider is inactive.
 - org
Id string 
- federated_
domains Sequence[str] - List that contains the domains associated with the organization's identity provider.
 - has_
role_ boolmappings  - Flag that indicates whether this organization has role mappings configured.
 - id str
 - Unique 24-hexadecimal digit string that identifies this federation.
 - identity_
provider_ strid  - Unique 20-hexadecimal digit string that identifies the identity provider connected to this organization.
 - identity_
provider_ strstatus  - Value that indicates whether the identity provider is active. Atlas returns ACTIVE if the identity provider is active and INACTIVE if the identity provider is inactive.
 - org_
id str 
- federated
Domains List<String> - List that contains the domains associated with the organization's identity provider.
 - has
Role BooleanMappings  - Flag that indicates whether this organization has role mappings configured.
 - id String
 - Unique 24-hexadecimal digit string that identifies this federation.
 - identity
Provider StringId  - Unique 20-hexadecimal digit string that identifies the identity provider connected to this organization.
 - identity
Provider StringStatus  - Value that indicates whether the identity provider is active. Atlas returns ACTIVE if the identity provider is active and INACTIVE if the identity provider is inactive.
 - org
Id String 
Package Details
- Repository
 - MongoDB Atlas pulumi/pulumi-mongodbatlas
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
mongodbatlasTerraform Provider.