1. Packages
  2. Packages
  3. Mongodbatlas Provider
  4. API Docs
  5. getFederatedQueryLimits
Viewing docs for MongoDB Atlas v4.11.0
published on Wednesday, Jul 1, 2026 by Pulumi
mongodbatlas logo
Viewing docs for MongoDB Atlas v4.11.0
published on Wednesday, Jul 1, 2026 by Pulumi

    mongodbatlas.getFederatedQueryLimits provides a Federated Database Instance Query Limits data source. To learn more about Atlas Data Federation see https://www.mongodb.com/docs/atlas/data-federation/adf-overview/overview/.

    Example Usage

    S

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const test = mongodbatlas.getFederatedQueryLimits({
        projectId: "PROJECT_ID",
        tenantName: "FEDERATED_DATABASE_INSTANCE_NAME",
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    test = mongodbatlas.get_federated_query_limits(project_id="PROJECT_ID",
        tenant_name="FEDERATED_DATABASE_INSTANCE_NAME")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v4/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mongodbatlas.GetFederatedQueryLimits(ctx, &mongodbatlas.LookupFederatedQueryLimitsArgs{
    			ProjectId:  "PROJECT_ID",
    			TenantName: "FEDERATED_DATABASE_INSTANCE_NAME",
    		}, 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 test = Mongodbatlas.GetFederatedQueryLimits.Invoke(new()
        {
            ProjectId = "PROJECT_ID",
            TenantName = "FEDERATED_DATABASE_INSTANCE_NAME",
        });
    
    });
    
    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.GetFederatedQueryLimitsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 test = MongodbatlasFunctions.getFederatedQueryLimits(GetFederatedQueryLimitsArgs.builder()
                .projectId("PROJECT_ID")
                .tenantName("FEDERATED_DATABASE_INSTANCE_NAME")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: mongodbatlas:getFederatedQueryLimits
          arguments:
            projectId: PROJECT_ID
            tenantName: FEDERATED_DATABASE_INSTANCE_NAME
    
    pulumi {
      required_providers {
        mongodbatlas = {
          source = "pulumi/mongodbatlas"
        }
      }
    }
    
    data "mongodbatlas_getfederatedquerylimits" "test" {
      project_id  = "PROJECT_ID"
      tenant_name = "FEDERATED_DATABASE_INSTANCE_NAME"
    }
    

    Using getFederatedQueryLimits

    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 getFederatedQueryLimits(args: GetFederatedQueryLimitsArgs, opts?: InvokeOptions): Promise<GetFederatedQueryLimitsResult>
    function getFederatedQueryLimitsOutput(args: GetFederatedQueryLimitsOutputArgs, opts?: InvokeOptions): Output<GetFederatedQueryLimitsResult>
    def get_federated_query_limits(project_id: Optional[str] = None,
                                   tenant_name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetFederatedQueryLimitsResult
    def get_federated_query_limits_output(project_id: pulumi.Input[Optional[str]] = None,
                                   tenant_name: pulumi.Input[Optional[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetFederatedQueryLimitsResult]
    func LookupFederatedQueryLimits(ctx *Context, args *LookupFederatedQueryLimitsArgs, opts ...InvokeOption) (*LookupFederatedQueryLimitsResult, error)
    func LookupFederatedQueryLimitsOutput(ctx *Context, args *LookupFederatedQueryLimitsOutputArgs, opts ...InvokeOption) LookupFederatedQueryLimitsResultOutput

    > Note: This function is named LookupFederatedQueryLimits in the Go SDK.

    public static class GetFederatedQueryLimits 
    {
        public static Task<GetFederatedQueryLimitsResult> InvokeAsync(GetFederatedQueryLimitsArgs args, InvokeOptions? opts = null)
        public static Output<GetFederatedQueryLimitsResult> Invoke(GetFederatedQueryLimitsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFederatedQueryLimitsResult> getFederatedQueryLimits(GetFederatedQueryLimitsArgs args, InvokeOptions options)
    public static Output<GetFederatedQueryLimitsResult> getFederatedQueryLimits(GetFederatedQueryLimitsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: mongodbatlas:index/getFederatedQueryLimits:getFederatedQueryLimits
      arguments:
        # arguments dictionary
    data "mongodbatlas_getfederatedquerylimits" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    TenantName string
    Name of the Atlas Federated Database Instance.
    ProjectId string
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    TenantName string
    Name of the Atlas Federated Database Instance.
    project_id string
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenant_name string
    Name of the Atlas Federated Database Instance.
    projectId String
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenantName String
    Name of the Atlas Federated Database Instance.
    projectId string
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenantName string
    Name of the Atlas Federated Database Instance.
    project_id str
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenant_name str
    Name of the Atlas Federated Database Instance.
    projectId String
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenantName String
    Name of the Atlas Federated Database Instance.

    getFederatedQueryLimits Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Results List<GetFederatedQueryLimitsResult>
    Includes Federated Database instance query limits for each item detailed in the results array section.
    TenantName string
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Results []GetFederatedQueryLimitsResult
    Includes Federated Database instance query limits for each item detailed in the results array section.
    TenantName string
    id string
    The provider-assigned unique ID for this managed resource.
    project_id string
    results list(object)
    Includes Federated Database instance query limits for each item detailed in the results array section.
    tenant_name string
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    results List<GetFederatedQueryLimitsResult>
    Includes Federated Database instance query limits for each item detailed in the results array section.
    tenantName String
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    results GetFederatedQueryLimitsResult[]
    Includes Federated Database instance query limits for each item detailed in the results array section.
    tenantName string
    id str
    The provider-assigned unique ID for this managed resource.
    project_id str
    results Sequence[GetFederatedQueryLimitsResult]
    Includes Federated Database instance query limits for each item detailed in the results array section.
    tenant_name str
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    results List<Property Map>
    Includes Federated Database instance query limits for each item detailed in the results array section.
    tenantName String

    Supporting Types

    GetFederatedQueryLimitsResult

    CurrentUsage int
    Amount that indicates the current usage of the limit.
    DefaultLimit int
    Default value of the limit.
    LastModifiedDate string
    Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC.
    LimitName string
    MaximumLimit int
    Maximum value of the limit.
    OverrunPolicy string
    String enum that identifies action to take when the usage limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit.
    ProjectId string
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    TenantName string
    Name of the Atlas Federated Database Instance.
    Value int
    Amount to set the limit to.
    CurrentUsage int
    Amount that indicates the current usage of the limit.
    DefaultLimit int
    Default value of the limit.
    LastModifiedDate string
    Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC.
    LimitName string
    MaximumLimit int
    Maximum value of the limit.
    OverrunPolicy string
    String enum that identifies action to take when the usage limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit.
    ProjectId string
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    TenantName string
    Name of the Atlas Federated Database Instance.
    Value int
    Amount to set the limit to.
    current_usage number
    Amount that indicates the current usage of the limit.
    default_limit number
    Default value of the limit.
    last_modified_date string
    Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC.
    limit_name string
    maximum_limit number
    Maximum value of the limit.
    overrun_policy string
    String enum that identifies action to take when the usage limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit.
    project_id string
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenant_name string
    Name of the Atlas Federated Database Instance.
    value number
    Amount to set the limit to.
    currentUsage Integer
    Amount that indicates the current usage of the limit.
    defaultLimit Integer
    Default value of the limit.
    lastModifiedDate String
    Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC.
    limitName String
    maximumLimit Integer
    Maximum value of the limit.
    overrunPolicy String
    String enum that identifies action to take when the usage limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit.
    projectId String
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenantName String
    Name of the Atlas Federated Database Instance.
    value Integer
    Amount to set the limit to.
    currentUsage number
    Amount that indicates the current usage of the limit.
    defaultLimit number
    Default value of the limit.
    lastModifiedDate string
    Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC.
    limitName string
    maximumLimit number
    Maximum value of the limit.
    overrunPolicy string
    String enum that identifies action to take when the usage limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit.
    projectId string
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenantName string
    Name of the Atlas Federated Database Instance.
    value number
    Amount to set the limit to.
    current_usage int
    Amount that indicates the current usage of the limit.
    default_limit int
    Default value of the limit.
    last_modified_date str
    Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC.
    limit_name str
    maximum_limit int
    Maximum value of the limit.
    overrun_policy str
    String enum that identifies action to take when the usage limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit.
    project_id str
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenant_name str
    Name of the Atlas Federated Database Instance.
    value int
    Amount to set the limit to.
    currentUsage Number
    Amount that indicates the current usage of the limit.
    defaultLimit Number
    Default value of the limit.
    lastModifiedDate String
    Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC.
    limitName String
    maximumLimit Number
    Maximum value of the limit.
    overrunPolicy String
    String enum that identifies action to take when the usage limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit.
    projectId String
    The unique ID for the project to create a Federated Database Instance, also known as groupId in the official documentation.
    tenantName String
    Name of the Atlas Federated Database Instance.
    value Number
    Amount to set the limit to.

    Package Details

    Repository
    MongoDB Atlas pulumi/pulumi-mongodbatlas
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mongodbatlas Terraform Provider.
    mongodbatlas logo
    Viewing docs for MongoDB Atlas v4.11.0
    published on Wednesday, Jul 1, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial