Viewing docs for MongoDB Atlas v4.5.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for MongoDB Atlas v4.5.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 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/overview/.
NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.
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.LookupFederatedQueryLimits(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.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 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
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: Optional[pulumi.Input[str]] = None,
tenant_name: Optional[pulumi.Input[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 dictionaryThe following arguments are supported:
- Project
Id string - The unique ID for the project to create a Federated Database Instance.
- Tenant
Name string - Name of the Atlas Federated Database Instance.
- Project
Id string - The unique ID for the project to create a Federated Database Instance.
- Tenant
Name string - Name of the Atlas Federated Database Instance.
- project
Id String - The unique ID for the project to create a Federated Database Instance.
- tenant
Name String - Name of the Atlas Federated Database Instance.
- project
Id string - The unique ID for the project to create a Federated Database Instance.
- tenant
Name string - Name of the Atlas Federated Database Instance.
- project_
id str - The unique ID for the project to create a Federated Database Instance.
- tenant_
name str - Name of the Atlas Federated Database Instance.
- project
Id String - The unique ID for the project to create a Federated Database Instance.
- tenant
Name 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.
- Project
Id string - Results
List<Get
Federated Query Limits Result> - 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.
- Project
Id string - Results
[]Get
Federated Query Limits Result - 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.
- project
Id String - results
List<Get
Federated Query Limits Result> - 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.
- project
Id string - results
Get
Federated Query Limits Result[] - Includes Federated Database instance query limits for each item detailed in the results array section.
- tenant
Name string
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - results
Sequence[Get
Federated Query Limits Result] - 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.
- project
Id String - results List<Property Map>
- Includes Federated Database instance query limits for each item detailed in the results array section.
- tenant
Name String
Supporting Types
GetFederatedQueryLimitsResult
- Current
Usage int - Amount that indicates the current usage of the limit.
- Default
Limit int - Default value of the limit.
lastModifiedDate- 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.maximumLimit- Maximum value of the limit.
- Last
Modified stringDate - Limit
Name string - Maximum
Limit int - Overrun
Policy string - Project
Id string - The unique ID for the project to create a Federated Database Instance.
- Tenant
Name string - Name of the Atlas Federated Database Instance.
- Value int
- Current
Usage int - Amount that indicates the current usage of the limit.
- Default
Limit int - Default value of the limit.
lastModifiedDate- 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.maximumLimit- Maximum value of the limit.
- Last
Modified stringDate - Limit
Name string - Maximum
Limit int - Overrun
Policy string - Project
Id string - The unique ID for the project to create a Federated Database Instance.
- Tenant
Name string - Name of the Atlas Federated Database Instance.
- Value int
- current
Usage Integer - Amount that indicates the current usage of the limit.
- default
Limit Integer - Default value of the limit.
lastModifiedDate- 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.maximumLimit- Maximum value of the limit.
- last
Modified StringDate - limit
Name String - maximum
Limit Integer - overrun
Policy String - project
Id String - The unique ID for the project to create a Federated Database Instance.
- tenant
Name String - Name of the Atlas Federated Database Instance.
- value Integer
- current
Usage number - Amount that indicates the current usage of the limit.
- default
Limit number - Default value of the limit.
lastModifiedDate- 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.maximumLimit- Maximum value of the limit.
- last
Modified stringDate - limit
Name string - maximum
Limit number - overrun
Policy string - project
Id string - The unique ID for the project to create a Federated Database Instance.
- tenant
Name string - Name of the Atlas Federated Database Instance.
- value number
- current_
usage int - Amount that indicates the current usage of the limit.
- default_
limit int - Default value of the limit.
lastModifiedDate- 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.maximumLimit- Maximum value of the limit.
- last_
modified_ strdate - limit_
name str - maximum_
limit int - overrun_
policy str - project_
id str - The unique ID for the project to create a Federated Database Instance.
- tenant_
name str - Name of the Atlas Federated Database Instance.
- value int
- current
Usage Number - Amount that indicates the current usage of the limit.
- default
Limit Number - Default value of the limit.
lastModifiedDate- 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.maximumLimit- Maximum value of the limit.
- last
Modified StringDate - limit
Name String - maximum
Limit Number - overrun
Policy String - project
Id String - The unique ID for the project to create a Federated Database Instance.
- tenant
Name String - Name of the Atlas Federated Database Instance.
- value Number
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.
Viewing docs for MongoDB Atlas v4.5.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
